共用方式為


ArmCdnModelFactory.DomainValidationProperties Method

Definition

Initializes a new instance of DomainValidationProperties.

public static Azure.ResourceManager.Cdn.Models.DomainValidationProperties DomainValidationProperties (string validationToken = default, DateTimeOffset? expiresOn = default);
static member DomainValidationProperties : string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Cdn.Models.DomainValidationProperties
Public Shared Function DomainValidationProperties (Optional validationToken As String = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing) As DomainValidationProperties

Parameters

validationToken
String

Challenge used for DNS TXT record or file based validation.

expiresOn
Nullable<DateTimeOffset>

The date time that the token expires.

Returns

A new DomainValidationProperties instance for mocking.

Applies to