site_containers
Creates, updates, deletes, gets or lists a site_containers
resource.
Overview
Name | site_containers |
Type | Resource |
Id | azure.app_service.site_containers |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | SiteContainer resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | containerName, name, resourceGroupName, subscriptionId | |
list | SELECT | name, resourceGroupName, subscriptionId | |
create_or_update | INSERT | containerName, name, resourceGroupName, subscriptionId | |
delete | DELETE | containerName, 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.site_containers (
containerName,
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ containerName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: image
value: string
- name: targetPort
value: string
- name: isMain
value: boolean
- name: startUpCommand
value: string
- name: authType
value: string
- name: userName
value: string
- name: passwordSecret
value: string
- name: userManagedIdentityClientId
value: string
- name: createdTime
value: string
- name: lastModifiedTime
value: string
- name: volumeMounts
value:
- - name: volumeSubPath
value: string
- name: containerMountPath
value: string
- name: data
value: string
- name: readOnly
value: boolean
- name: environmentVariables
value:
- - name: name
value: string
- name: value
value: string
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 }}';