Dela via


ArmDnsModelFactory.DnsCnameRecordData Method

Definition

Initializes a new instance of DnsCnameRecordData.

public static Azure.ResourceManager.Dns.DnsCnameRecordData DnsCnameRecordData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, System.Collections.Generic.IDictionary<string,string> metadata = default, long? ttl = default, string fqdn = default, string provisioningState = default, Azure.ResourceManager.Resources.Models.WritableSubResource targetResource = default, string CnameRecordName = default);
static member DnsCnameRecordData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * System.Collections.Generic.IDictionary<string, string> * Nullable<int64> * string * string * Azure.ResourceManager.Resources.Models.WritableSubResource * string -> Azure.ResourceManager.Dns.DnsCnameRecordData
Public Shared Function DnsCnameRecordData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional ttl As Nullable(Of Long) = Nothing, Optional fqdn As String = Nothing, Optional provisioningState As String = Nothing, Optional targetResource As WritableSubResource = Nothing, Optional CnameRecordName As String = Nothing) As DnsCnameRecordData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

The etag of the record set.

metadata
IDictionary<String,String>

The metadata attached to the record set.

ttl
Nullable<Int64>

The Ttl (time-to-live) of the records in the record set.

fqdn
String

Fully qualified domain name of the record set.

provisioningState
String

provisioning State of the record set.

targetResource
WritableSubResource

A reference to an azure resource from where the dns resource value is taken.

CnameRecordName
String

The canonical name for this CNAME record.

Returns

A new DnsCnameRecordData instance for mocking.

Applies to