Zone Constructors

Definition

Overloads

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.

Zone()

Initializes a new instance of the Zone class.

public Zone ();
Public Sub New ()

Applies to

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.

public Zone (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, long? maxNumberOfRecordSets = default, long? numberOfRecordSets = default, System.Collections.Generic.IList<string> nameServers = default, Microsoft.Azure.Management.Dns.Models.ZoneType? zoneType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> registrationVirtualNetworks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> resolutionVirtualNetworks = default);
new Microsoft.Azure.Management.Dns.Models.Zone : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<int64> * Nullable<int64> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.Dns.Models.ZoneType> * System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> -> Microsoft.Azure.Management.Dns.Models.Zone
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional maxNumberOfRecordSets As Nullable(Of Long) = Nothing, Optional numberOfRecordSets As Nullable(Of Long) = Nothing, Optional nameServers As IList(Of String) = Nothing, Optional zoneType As Nullable(Of ZoneType) = Nothing, Optional registrationVirtualNetworks As IList(Of SubResource) = Nothing, Optional resolutionVirtualNetworks As IList(Of SubResource) = Nothing)

Parameters

location
String

Resource location.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

etag
String

The etag of the zone.

maxNumberOfRecordSets
Nullable<Int64>

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.

numberOfRecordSets
Nullable<Int64>

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.

nameServers
IList<String>

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

zoneType
Nullable<ZoneType>

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

registrationVirtualNetworks
IList<SubResource>

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

resolutionVirtualNetworks
IList<SubResource>

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

Applies to