standby_container_group_pools
Creates, updates, deletes, gets or lists a standby_container_group_pools
resource.
Overview
Name | standby_container_group_pools |
Type | Resource |
Id | azure.standby_pools.standby_container_group_pools |
Fields
- vw_standby_container_group_pools
- standby_container_group_pools
Name | Datatype | Description |
---|---|---|
container_group_properties | text | field from the properties object |
elasticity_profile | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
standbyContainerGroupPoolName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Details of the StandbyContainerGroupPool. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, standbyContainerGroupPoolName, subscriptionId | Get a StandbyContainerGroupPoolResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List StandbyContainerGroupPoolResource resources by resource group |
list_by_subscription | SELECT | subscriptionId | List StandbyContainerGroupPoolResource resources by subscription ID |
create_or_update | INSERT | resourceGroupName, standbyContainerGroupPoolName, subscriptionId | Create a StandbyContainerGroupPoolResource |
delete | DELETE | resourceGroupName, standbyContainerGroupPoolName, subscriptionId | Delete a StandbyContainerGroupPoolResource |
update | UPDATE | resourceGroupName, standbyContainerGroupPoolName, subscriptionId | Update a StandbyContainerGroupPoolResource |
SELECT
examples
List StandbyContainerGroupPoolResource resources by subscription ID
- vw_standby_container_group_pools
- standby_container_group_pools
SELECT
container_group_properties,
elasticity_profile,
location,
provisioning_state,
resourceGroupName,
standbyContainerGroupPoolName,
subscriptionId,
tags
FROM azure.standby_pools.vw_standby_container_group_pools
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.standby_pools.standby_container_group_pools
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new standby_container_group_pools
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.standby_pools.standby_container_group_pools (
resourceGroupName,
standbyContainerGroupPoolName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ standbyContainerGroupPoolName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: elasticityProfile
value:
- name: maxReadyCapacity
value: integer
- name: refillPolicy
value: []
- name: containerGroupProperties
value:
- name: containerGroupProfile
value:
- name: id
value: string
- name: revision
value: integer
- name: subnetIds
value:
- - name: id
value: string
- name: provisioningState
value: []
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a standby_container_group_pools
resource.
/*+ update */
UPDATE azure.standby_pools.standby_container_group_pools
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND standbyContainerGroupPoolName = '{{ standbyContainerGroupPoolName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified standby_container_group_pools
resource.
/*+ delete */
DELETE FROM azure.standby_pools.standby_container_group_pools
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND standbyContainerGroupPoolName = '{{ standbyContainerGroupPoolName }}'
AND subscriptionId = '{{ subscriptionId }}';