Skip to main content

domain_ownership_identifier_slots

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

Overview

Namedomain_ownership_identifier_slots
TypeResource
Idazure.app_service.domain_ownership_identifier_slots

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTdomainOwnershipIdentifierName, name, resourceGroupName, slot, subscriptionIdDescription for Get domain ownership identifier for web app.
listSELECTname, resourceGroupName, slot, subscriptionIdDescription for Lists ownership identifiers for domain associated with web app.
create_or_updateINSERTdomainOwnershipIdentifierName, name, resourceGroupName, slot, subscriptionIdDescription for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.
deleteDELETEdomainOwnershipIdentifierName, name, resourceGroupName, slot, subscriptionIdDescription for Deletes a domain ownership identifier for a web app.
updateUPDATEdomainOwnershipIdentifierName, name, resourceGroupName, slot, 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_identifier_slots
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a domain_ownership_identifier_slots resource.

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

DELETE example

Deletes the specified domain_ownership_identifier_slots resource.

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