Condividi tramite


PrivateZone Class

Definition

Describes a Private DNS zone.

[Microsoft.Rest.Serialization.JsonTransformation]
public class PrivateZone : Microsoft.Azure.Management.PrivateDns.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PrivateZone = class
    inherit TrackedResource
Public Class PrivateZone
Inherits TrackedResource
Inheritance
Attributes

Constructors

PrivateZone()

Initializes a new instance of the PrivateZone class.

PrivateZone(String, String, String, IDictionary<String,String>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String)

Initializes a new instance of the PrivateZone class.

Properties

Etag

Gets or sets the ETag of the zone.

Id

Gets fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.

(Inherited from Resource)
Location

Gets or sets the Azure Region where the resource lives

(Inherited from TrackedResource)
MaxNumberOfRecordSets

Gets the maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

MaxNumberOfVirtualNetworkLinks

Gets the maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

MaxNumberOfVirtualNetworkLinksWithRegistration

Gets the maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

Name

Gets the name of the resource

(Inherited from Resource)
NumberOfRecordSets

Gets the current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfVirtualNetworkLinks

Gets the current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfVirtualNetworkLinksWithRegistration

Gets the current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

ProvisioningState

Gets the provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

Gets the type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

(Inherited from Resource)

Applies to