domain_ownership_identifiers
Creates, updates, deletes, gets or lists a domain_ownership_identifiers
resource.
Overview
Name | domain_ownership_identifiers |
Type | Resource |
Id | azure.app_service.domain_ownership_identifiers |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | Identifier resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | domainOwnershipIdentifierName, name, resourceGroupName, subscriptionId | Description for Get domain ownership identifier for web app. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Lists ownership identifiers for domain associated with web app. |
create_or_update | INSERT | domainOwnershipIdentifierName, name, resourceGroupName, subscriptionId | Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. |
delete | DELETE | domainOwnershipIdentifierName, name, resourceGroupName, subscriptionId | Description for Deletes a domain ownership identifier for a web app. |
update | UPDATE | domainOwnershipIdentifierName, name, resourceGroupName, subscriptionId | Description 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.domain_ownership_identifiers (
domainOwnershipIdentifierName,
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ domainOwnershipIdentifierName }}',
'{{ 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: id
value: string
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 }}';