host_secret_slots
Creates, updates, deletes, gets or lists a host_secret_slots
resource.
Overview
Name | host_secret_slots |
Type | Resource |
Id | azure.app_service.host_secret_slots |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_or_update | INSERT | keyName, keyType, name, resourceGroupName, slot, subscriptionId | Description for Add or update a host level secret. |
delete | DELETE | keyName, keyType, name, resourceGroupName, slot, subscriptionId | Description for Delete a host level secret. |
INSERT
example
Use the following StackQL query and manifest file to create a new host_secret_slots
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.host_secret_slots (
keyName,
keyType,
name,
resourceGroupName,
slot,
subscriptionId,
name,
value
)
SELECT
'{{ keyName }}',
'{{ keyType }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ slot }}',
'{{ subscriptionId }}',
'{{ name }}',
'{{ value }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: value
value: string
DELETE
example
Deletes the specified host_secret_slots
resource.
/*+ delete */
DELETE FROM azure.app_service.host_secret_slots
WHERE keyName = '{{ keyName }}'
AND keyType = '{{ keyType }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';