Share via


ArmDnsModelFactory.DnsARecordData Method

Definition

Initializes a new instance of DnsARecordData.

public static Azure.ResourceManager.Dns.DnsARecordData DnsARecordData (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, System.Collections.Generic.IList<Azure.ResourceManager.Dns.Models.DnsARecordInfo> aRecords = default);
static member DnsARecordData : 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 * System.Collections.Generic.IList<Azure.ResourceManager.Dns.Models.DnsARecordInfo> -> Azure.ResourceManager.Dns.DnsARecordData
Public Shared Function DnsARecordData (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 aRecords As IList(Of DnsARecordInfo) = Nothing) As DnsARecordData

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.

aRecords
IList<DnsARecordInfo>

The list of A records in the record set.

Returns

A new DnsARecordData instance for mocking.

Applies to