Condividi tramite


Zone Class

Definition

Describes a DNS zone.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Zone : Microsoft.Azure.Management.Dns.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Zone = class
    inherit Resource
Public Class Zone
Inherits Resource
Inheritance
Attributes

Constructors

Zone()

Initializes a new instance of the Zone class.

Zone(String, String, String, String, IDictionary<String,String>, String, Nullable<Int64>, Nullable<Int64>, IList<String>, Nullable<ZoneType>, IList<SubResource>, IList<SubResource>)

Initializes a new instance of the Zone class.

Properties

Etag

Gets or sets the etag of the zone.

Id

Gets resource ID.

(Inherited from Resource)
Location

Gets or sets resource location.

(Inherited from Resource)
MaxNumberOfRecordSets

Gets 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.

Name

Gets resource name.

(Inherited from Resource)
NameServers

Gets the name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfRecordSets

Gets 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.

RegistrationVirtualNetworks

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

ResolutionVirtualNetworks

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

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
ZoneType

Gets or sets the type of this DNS zone (Public or Private). Possible values include: 'Public', 'Private'

Methods

Validate()

Validate the object.

Applies to