Share via


ZoneInner Class

Definition

Describes a DNS zone.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ZoneInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ZoneInner = class
    inherit Resource
Public Class ZoneInner
Inherits Resource
Inheritance
Attributes

Constructors

ZoneInner()

Initializes a new instance of the ZoneInner class.

ZoneInner(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 ZoneInner class.

Properties

Etag

Gets or sets the etag of the zone.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

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

Resource name

(Inherited from ProxyResource)
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

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
ZoneType

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

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to