Skip to main content

site_containers

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

Overview

Namesite_containers
TypeResource
Idazure.app_service.site_containers

Fields

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

Methods

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

SELECT examples

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

INSERT example

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

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

DELETE example

Deletes the specified site_containers resource.

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