domain_ownership_identifier_slots
Creates, updates, deletes, gets or lists a domain_ownership_identifier_slots
resource.
Overview
Name | domain_ownership_identifier_slots |
Type | Resource |
Id | azure.app_service.domain_ownership_identifier_slots |
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, slot, subscriptionId | Description for Get domain ownership identifier for web app. |
list | SELECT | name, resourceGroupName, slot, subscriptionId | Description for Lists ownership identifiers for domain associated with web app. |
create_or_update | INSERT | domainOwnershipIdentifierName, name, resourceGroupName, slot, subscriptionId | Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. |
delete | DELETE | domainOwnershipIdentifierName, name, resourceGroupName, slot, subscriptionId | Description for Deletes a domain ownership identifier for a web app. |
update | UPDATE | domainOwnershipIdentifierName, name, resourceGroupName, slot, 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_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.
- All Properties
- Manifest
/*+ 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 }}'
;
- 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_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 }}';