Skip to main content

image_store_upload_sessions

Creates, updates, deletes, gets or lists an image_store_upload_sessions resource.

Overview

Nameimage_store_upload_sessions
TypeResource
Idazure.service_fabric_dataplane.image_store_upload_sessions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
UploadSessionsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_image_store_upload_session_by_idselectsession-id, endpointtimeoutGet the image store upload session by ID. Gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading. .
get_image_store_upload_session_by_pathselectcontent_path, endpointtimeoutGet the image store upload session by relative path. Gets the image store upload session associated with the given image store relative path. User can query the upload session at any time during uploading. .
delete_image_store_upload_sessiondeletesession-id, endpointtimeoutCancels an image store upload session. The DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
content_pathstringRelative path to file or folder in the image store from its root.
endpointstringThe service endpoint host (no scheme). (default: )
session-idstringA GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed.
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

SELECT examples

Get the image store upload session by ID. Gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading. .

SELECT
UploadSessions
FROM azure.service_fabric_dataplane.image_store_upload_sessions
WHERE session-id = '{{ session-id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;

DELETE examples

Cancels an image store upload session. The DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.

DELETE FROM azure.service_fabric_dataplane.image_store_upload_sessions
WHERE session-id = '{{ session-id }}' --required
AND endpoint = '{{ endpoint }}' --required
AND timeout = '{{ timeout }}'
;