image_store_contents
Creates, updates, deletes, gets or lists an image_store_contents resource.
Overview
| Name | image_store_contents |
| Type | Resource |
| Id | azure.service_fabric_dataplane.image_store_contents |
Fields
The following fields are returned by SELECT queries:
- get_image_store_content
| Name | Datatype | Description |
|---|---|---|
StoreFiles | array | |
StoreFolders | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_image_store_content | select | content_path, endpoint | timeout | 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. |
delete_image_store_content | delete | content_path, endpoint | timeout | 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. |
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_content
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
- delete_image_store_content
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 }}'
;