Udostępnij za pośrednictwem


ArmDnsModelFactory.DnsSrvRecordData Method

Definition

Initializes a new instance of DnsSrvRecordData.

public static Azure.ResourceManager.Dns.DnsSrvRecordData DnsSrvRecordData (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.DnsSrvRecordInfo> srvRecords = default);
static member DnsSrvRecordData : 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.DnsSrvRecordInfo> -> Azure.ResourceManager.Dns.DnsSrvRecordData
Public Shared Function DnsSrvRecordData (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 srvRecords As IList(Of DnsSrvRecordInfo) = Nothing) As DnsSrvRecordData

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.

srvRecords
IList<DnsSrvRecordInfo>

The list of Srv records in the record set.

Returns

A new DnsSrvRecordData instance for mocking.

Applies to