Partilhar via


ArmCommunicationModelFactory.VerificationDnsRecord Method

Definition

Initializes a new instance of VerificationDnsRecord.

public static Azure.ResourceManager.Communication.Models.VerificationDnsRecord VerificationDnsRecord (string dnsRecordType = default, string name = default, string value = default, int? timeToLiveInSeconds = default);
static member VerificationDnsRecord : string * string * string * Nullable<int> -> Azure.ResourceManager.Communication.Models.VerificationDnsRecord
Public Shared Function VerificationDnsRecord (Optional dnsRecordType As String = Nothing, Optional name As String = Nothing, Optional value As String = Nothing, Optional timeToLiveInSeconds As Nullable(Of Integer) = Nothing) As VerificationDnsRecord

Parameters

dnsRecordType
String

Type of the DNS record. Example: TXT.

name
String

Name of the DNS record.

value
String

Value of the DNS record.

timeToLiveInSeconds
Nullable<Int32>

Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.

Returns

A new VerificationDnsRecord instance for mocking.

Applies to