Zone interface

Describes a DNS zone.

Extends

Properties

etag

The etag of the zone.

maxNumberOfRecordSets

The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

maxNumberOfRecordsPerRecordSet

The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. NOTE: This property will not be serialized. It can only be populated by the server.

nameServers

The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored. NOTE: This property will not be serialized. It can only be populated by the server.

numberOfRecordSets

The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

zoneType

The type of this DNS zone (Public or Private).

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

location

The geo-location where the resource lives

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

etag

The etag of the zone.

etag?: string

Property Value

string

maxNumberOfRecordSets

The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

maxNumberOfRecordSets?: number

Property Value

number

maxNumberOfRecordsPerRecordSet

The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. NOTE: This property will not be serialized. It can only be populated by the server.

maxNumberOfRecordsPerRecordSet?: number

Property Value

number

nameServers

The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored. NOTE: This property will not be serialized. It can only be populated by the server.

nameServers?: string[]

Property Value

string[]

numberOfRecordSets

The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

numberOfRecordSets?: number

Property Value

number

zoneType

The type of this DNS zone (Public or Private).

zoneType?: ZoneType

Property Value

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From TrackedResource.id

location

The geo-location where the resource lives

location: string

Property Value

string

Inherited From TrackedResource.location

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From TrackedResource.name

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From TrackedResource.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From TrackedResource.type