snapshots
Creates, updates, deletes, gets or lists a snapshots
resource.
Overview
Name | snapshots |
Type | Resource |
Id | azure.app_configuration.snapshots |
Fields
- vw_snapshots
- snapshots
Name | Datatype | Description |
---|---|---|
id | text | The resource ID. |
name | text | The name of the snapshot. |
composition_type | text | field from the properties object |
configStoreName | text | field from the properties object |
created | text | field from the properties object |
etag | text | field from the properties object |
expires | text | field from the properties object |
filters | text | field from the properties object |
items_count | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
retention_period | text | field from the properties object |
size | text | field from the properties object |
snapshotName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | field from the properties object |
type | text | The type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | The resource ID. |
name | string | The name of the snapshot. |
properties | object | All snapshot properties. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configStoreName, resourceGroupName, snapshotName, subscriptionId | Gets the properties of the specified snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead. |
create | INSERT | configStoreName, resourceGroupName, snapshotName, subscriptionId | Creates a snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead. |
SELECT
examples
Gets the properties of the specified snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.
- vw_snapshots
- snapshots
SELECT
id,
name,
composition_type,
configStoreName,
created,
etag,
expires,
filters,
items_count,
provisioning_state,
resourceGroupName,
retention_period,
size,
snapshotName,
status,
subscriptionId,
tags,
type
FROM azure.app_configuration.vw_snapshots
WHERE configStoreName = '{{ configStoreName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND snapshotName = '{{ snapshotName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.app_configuration.snapshots
WHERE configStoreName = '{{ configStoreName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND snapshotName = '{{ snapshotName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new snapshots
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_configuration.snapshots (
configStoreName,
resourceGroupName,
snapshotName,
subscriptionId,
properties
)
SELECT
'{{ configStoreName }}',
'{{ resourceGroupName }}',
'{{ snapshotName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: status
value: string
- name: filters
value:
- - name: key
value: string
- name: label
value: string
- name: compositionType
value: string
- name: created
value: string
- name: expires
value: string
- name: retentionPeriod
value: integer
- name: size
value: integer
- name: itemsCount
value: integer
- name: tags
value: object
- name: etag
value: string