Zone Class

Definition

Describes a DNS zone.

[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ZoneTypeConverter))]
public class Zone : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.IZone, Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ZoneTypeConverter))>]
type Zone = class
    interface IZone
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Zone
Implements IValidates, IZone
Inheritance
Zone
Attributes
Implements

Constructors

Zone()

Creates an new Zone instance.

Properties

Etag

The etag of the zone.

Id

Resource ID.

Location

Resource location.

MaxNumberOfRecordSet

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.

Name

Resource name.

NameServer

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

NumberOfRecordSet

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.

RegistrationVirtualNetwork

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

ResolutionVirtualNetwork

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

ResourceGroupName

Gets the resource group name

SigningKey

The list of signing keys.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

Resource type.

ZoneType

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Zone.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Zone.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.IZone.

FromJsonString(String)

Creates a new instance of Zone, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Zone into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to