Skip to main content

image_store_contents

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

Overview

Nameimage_store_contents
TypeResource
Idazure.service_fabric_dataplane.image_store_contents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
StoreFilesarray
StoreFoldersarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_image_store_contentselectcontent_path, endpointtimeoutGets the image store content information. Returns the information about the image store content at the specified contentPath. The contentPath is relative to the root of the image store.
delete_image_store_contentdeletecontent_path, endpointtimeoutDeletes existing image store content. Deletes existing image store content being found within the given image store relative path. This command can be used to delete uploaded application packages once they are provisioned.

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: )
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

Gets the image store content information. Returns the information about the image store content at the specified contentPath. The contentPath is relative to the root of the image store.

SELECT
StoreFiles,
StoreFolders
FROM azure.service_fabric_dataplane.image_store_contents
WHERE content_path = '{{ content_path }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;

DELETE examples

Deletes existing image store content. Deletes existing image store content being found within the given image store relative path. This command can be used to delete uploaded application packages once they are provisioned.

DELETE FROM azure.service_fabric_dataplane.image_store_contents
WHERE content_path = '{{ content_path }}' --required
AND endpoint = '{{ endpoint }}' --required
AND timeout = '{{ timeout }}'
;