Skip to main content

image_store_folder_sizes

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

Overview

Nameimage_store_folder_sizes
TypeResource
Idazure.service_fabric_dataplane.image_store_folder_sizes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
FolderSizestring
StoreRelativePathstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_image_store_folder_sizeselectcontent_path, endpointtimeoutGet the size of a folder in image store. Gets the total size of file under a image store folder, specified by contentPath. The contentPath is relative to the root of the image store.

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

Get the size of a folder in image store. Gets the total size of file under a image store folder, specified by contentPath. The contentPath is relative to the root of the image store.

SELECT
FolderSize,
StoreRelativePath
FROM azure.service_fabric_dataplane.image_store_folder_sizes
WHERE content_path = '{{ content_path }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;