Package version:

Interface Zone

Describes a DNS zone.

interface Zone {
    etag?: string;
    id?: string;
    location: string;
    maxNumberOfRecordSets?: number;
    maxNumberOfRecordsPerRecordSet?: number;
    name?: string;
    nameServers?: string[];
    numberOfRecordSets?: number;
    registrationVirtualNetworks?: SubResource[];
    resolutionVirtualNetworks?: SubResource[];
    signingKeys?: SigningKey[];
    systemData?: SystemData;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
    zoneType?: ZoneType;
}

Hierarchy (view full)

Properties

etag?: string

The etag of the zone.

id?: string

Resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

location: string

Resource location.

maxNumberOfRecordSets?: number

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. NOTE: This property will not be serialized. It can only be populated by the server.

maxNumberOfRecordsPerRecordSet?: number

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.

name?: string

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

nameServers?: string[]

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?: number

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. NOTE: This property will not be serialized. It can only be populated by the server.

registrationVirtualNetworks?: SubResource[]

A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.

resolutionVirtualNetworks?: SubResource[]

A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.

signingKeys?: SigningKey[]

The list of signing keys. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

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

Resource tags.

type?: string

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

zoneType?: ZoneType

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