Skip to main content

DomainOwnershipIdentifier

Provides a DomainOwnershipIdentifier from the DomainRegistration group

Examples

Create App Service Domain OwnershipIdentifier

exports.createResources = () => [
{
type: "DomainOwnershipIdentifier",
group: "DomainRegistration",
name: "myDomainOwnershipIdentifier",
properties: () => ({ properties: { ownershipId: "SampleOwnershipId" } }),
dependencies: ({}) => ({
resourceGroup: "myResourceGroup",
domain: "myDomainOwnershipIdentifier",
}),
},
];

Dependencies

Swagger Schema

{
description: 'Domain ownership Identifier.',
type: 'object',
allOf: [
{
description: 'Azure proxy only resource. This resource is not tracked by Azure Resource Manager.',
type: 'object',
properties: {
id: { description: 'Resource Id.', type: 'string', readOnly: true },
name: {
description: 'Resource Name.',
type: 'string',
readOnly: true
},
kind: { description: 'Kind of resource.', type: 'string' },
type: {
description: 'Resource type.',
type: 'string',
readOnly: true
}
},
'x-ms-azure-resource': true
}
],
properties: {
properties: {
description: 'DomainOwnershipIdentifier resource specific properties',
type: 'object',
properties: { ownershipId: { description: 'Ownership Id.', type: 'string' } },
'x-ms-client-flatten': true
}
}
}

Misc

The resource version is 2022-03-01.

The Swagger schema used to generate this documentation can be found here.