Skip to main content

static_site_custom_domains

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

Overview

Namestatic_site_custom_domains
TypeResource
Idazure.app_service.static_site_custom_domains

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTdomainName, name, resourceGroupName, subscriptionIdDescription for Gets an existing custom domain for a particular static site.
listSELECTname, resourceGroupName, subscriptionIdDescription for Gets all static site custom domains for a particular static site.
create_or_updateINSERTdomainName, name, resourceGroupName, subscriptionIdDescription for Creates a new static site custom domain in an existing resource group and static site.
deleteDELETEdomainName, name, resourceGroupName, subscriptionIdDescription 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.

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

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 }}';