location_cached_images
Creates, updates, deletes, gets or lists a location_cached_images resource.
Overview
| Name | location_cached_images |
| Type | Resource |
| Id | azure.container_instances.location_cached_images |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
image | string | The cached image name. |
osType | string | The OS type of the cached image. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, location | Get the list of cached images on specific OS type for a subscription in a region. |
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 |
|---|---|---|
location | string | The identifier for the physical azure location. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- list
Get the list of cached images on specific OS type for a subscription in a region.
SELECT
image,
osType
FROM azure.container_instances.location_cached_images
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;