Freigeben über


AppPlatformApiPortalResource.ValidateDomainAsync Methode

Definition

Überprüfen Sie, ob die Domänen gültig sind und nicht verwendet werden.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apiPortals/{apiPortalName}/validateDomain
  • Vorgangs-IdApiPortals_ValidateDomain
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateResult>> ValidateDomainAsync (Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateDomainAsync : Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateResult>>
override this.ValidateDomainAsync : Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformCustomDomainValidateResult>>
Public Overridable Function ValidateDomainAsync (content As AppPlatformCustomDomainValidateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformCustomDomainValidateResult))

Parameter

content
AppPlatformCustomDomainValidateContent

Zu überprüfende benutzerdefinierte Domänennutzlast.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: