Share via


ZoneProperties Class

Definition

Represents the properties of the zone.

[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ZonePropertiesTypeConverter))]
public class ZoneProperties : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.IZoneProperties
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.ZonePropertiesTypeConverter))>]
type ZoneProperties = class
    interface IZoneProperties
    interface IJsonSerializable
Public Class ZoneProperties
Implements IZoneProperties
Inheritance
ZoneProperties
Attributes
Implements

Constructors

ZoneProperties()

Creates an new ZoneProperties instance.

Properties

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.

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.

SigningKey

The list of signing keys.

ZoneType

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ZoneProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ZoneProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ZoneProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to