slot_configuration_names
Creates, updates, deletes, gets or lists a slot_configuration_names
resource.
Overview
Name | slot_configuration_names |
Type | Resource |
Id | azure.app_service.slot_configuration_names |
Fields
- vw_slot_configuration_names
- slot_configuration_names
Name | Datatype | Description |
---|---|---|
id | text | Resource Id. |
name | text | Resource Name. |
app_setting_names | text | field from the properties object |
azure_storage_config_names | text | field from the properties object |
connection_string_names | text | field from the properties object |
kind | text | Kind of resource. |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | Names for connection strings, application settings, and external Azure storage account configuration |
identifiers to be marked as sticky to the deployment slot and not moved during a swap operation.
This is valid for all deployment slots in an app. |
| type
| string
| Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | name, resourceGroupName, subscriptionId | Description for Gets the names of app settings and connection strings that stick to the slot (not swapped). |
update | REPLACE | name, resourceGroupName, subscriptionId | Description for Updates the names of application settings and connection string that remain with the slot during swap operation. |
SELECT
examples
Description for Gets the names of app settings and connection strings that stick to the slot (not swapped).
- vw_slot_configuration_names
- slot_configuration_names
SELECT
id,
name,
app_setting_names,
azure_storage_config_names,
connection_string_names,
kind,
resourceGroupName,
subscriptionId,
type
FROM azure.app_service.vw_slot_configuration_names
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.slot_configuration_names
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
REPLACE
example
Replaces all fields in the specified slot_configuration_names
resource.
/*+ update */
REPLACE azure.app_service.slot_configuration_names
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';