Skip to main content

site_container_slots

Creates, updates, deletes, gets or lists a site_container_slots resource.

Overview

Namesite_container_slots
TypeResource
Idazure.app_service.site_container_slots

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectSiteContainer resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcontainerName, name, resourceGroupName, slot, subscriptionId
listSELECTname, resourceGroupName, slot, subscriptionId
create_or_updateINSERTcontainerName, name, resourceGroupName, slot, subscriptionId
deleteDELETEcontainerName, name, resourceGroupName, slot, subscriptionId

SELECT examples

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.site_container_slots
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new site_container_slots resource.

/*+ create */
INSERT INTO azure.app_service.site_container_slots (
containerName,
name,
resourceGroupName,
slot,
subscriptionId,
kind,
properties
)
SELECT
'{{ containerName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ slot }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;

DELETE example

Deletes the specified site_container_slots resource.

/*+ delete */
DELETE FROM azure.app_service.site_container_slots
WHERE containerName = '{{ containerName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';