共用方式為


AppsOperationsExtensions.ValidateDomainAsync Method

Definition

Check the resource name is valid as well as not in use.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CustomDomainValidateResult> ValidateDomainAsync (this Microsoft.Azure.Management.AppPlatform.IAppsOperations operations, string resourceGroupName, string serviceName, string appName, Microsoft.Azure.Management.AppPlatform.Models.CustomDomainValidatePayload validatePayload, System.Threading.CancellationToken cancellationToken = default);
static member ValidateDomainAsync : Microsoft.Azure.Management.AppPlatform.IAppsOperations * string * string * string * Microsoft.Azure.Management.AppPlatform.Models.CustomDomainValidatePayload * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CustomDomainValidateResult>
<Extension()>
Public Function ValidateDomainAsync (operations As IAppsOperations, resourceGroupName As String, serviceName As String, appName As String, validatePayload As CustomDomainValidatePayload, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CustomDomainValidateResult)

Parameters

operations
IAppsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

validatePayload
CustomDomainValidatePayload

Custom domain payload to be validated

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to