configuration_snapshot_slots
Creates, updates, deletes, gets or lists a configuration_snapshot_slots resource.
Overview
| Name | configuration_snapshot_slots |
| Type | Resource |
| Id | azure.app_service.configuration_snapshot_slots |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | Core resource properties |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, name, snapshotId, slot, subscriptionId | Description for Gets a snapshot of the configuration of an app at a previous point in time. |
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 |
|---|---|---|
name | string | Name of the app. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
slot | string | Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. |
snapshotId | string | The ID of the snapshot to read. |
subscriptionId | string | Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
SELECT examples
- get
Description for Gets a snapshot of the configuration of an app at a previous point in time.
SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.configuration_snapshot_slots
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND snapshotId = '{{ snapshotId }}' -- required
AND slot = '{{ slot }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;