static_site_custom_domains
Creates, updates, deletes, gets or lists a static_site_custom_domains
resource.
Overview
Name | static_site_custom_domains |
Type | Resource |
Id | azure.app_service.static_site_custom_domains |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | StaticSiteCustomDomainOverviewARMResource resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | domainName, name, resourceGroupName, subscriptionId | Description for Gets an existing custom domain for a particular static site. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Gets all static site custom domains for a particular static site. |
create_or_update | INSERT | domainName, name, resourceGroupName, subscriptionId | Description for Creates a new static site custom domain in an existing resource group and static site. |
delete | DELETE | domainName, name, resourceGroupName, subscriptionId | Description for Deletes a custom domain. |
SELECT
examples
Description for Gets all static site custom domains for a particular static site.
SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.static_site_custom_domains
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new static_site_custom_domains
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.static_site_custom_domains (
domainName,
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ domainName }}',
'{{ 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: validationMethod
value: string
DELETE
example
Deletes the specified static_site_custom_domains
resource.
/*+ delete */
DELETE FROM azure.app_service.static_site_custom_domains
WHERE domainName = '{{ domainName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';