image_store_folder_sizes
Creates, updates, deletes, gets or lists an image_store_folder_sizes resource.
Overview
| Name | image_store_folder_sizes |
| Type | Resource |
| Id | azure.service_fabric_dataplane.image_store_folder_sizes |
Fields
The following fields are returned by SELECT queries:
- get_image_store_folder_size
| Name | Datatype | Description |
|---|---|---|
FolderSize | string | |
StoreRelativePath | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_image_store_folder_size | select | content_path, endpoint | timeout | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
content_path | string | Relative path to file or folder in the image store from its root. |
endpoint | string | The service endpoint host (no scheme). (default: ) |
timeout | integer (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_image_store_folder_size
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 }}'
;