Partager via


AppPlatformAppResource.ValidateDomainAsync Méthode

Définition

Vérifiez que le nom de la ressource est valide et qu’il n’est pas utilisé.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain
  • IdApps_ValidateDomain d’opération
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))

Paramètres

content
AppPlatformCustomDomainValidateContent

Charge utile de domaine personnalisée à valider.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à