Skip to main content

domain_ownership_identifiers

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

Overview

Namedomain_ownership_identifiers
TypeResource
Idazure.app_service.domain_ownership_identifiers

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTdomainOwnershipIdentifierName, name, resourceGroupName, subscriptionIdDescription for Get domain ownership identifier for web app.
listSELECTname, resourceGroupName, subscriptionIdDescription for Lists ownership identifiers for domain associated with web app.
create_or_updateINSERTdomainOwnershipIdentifierName, name, resourceGroupName, subscriptionIdDescription for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.
deleteDELETEdomainOwnershipIdentifierName, name, resourceGroupName, subscriptionIdDescription for Deletes a domain ownership identifier for a web app.
updateUPDATEdomainOwnershipIdentifierName, name, resourceGroupName, subscriptionIdDescription for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

SELECT examples

Description for Lists ownership identifiers for domain associated with web app.

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

INSERT example

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

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

UPDATE example

Updates a domain_ownership_identifiers resource.

/*+ update */
UPDATE azure.app_service.domain_ownership_identifiers
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
domainOwnershipIdentifierName = '{{ domainOwnershipIdentifierName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified domain_ownership_identifiers resource.

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