Compartir a través de


AppPlatformAppResource.ValidateDomainAsync Método

Definición

Compruebe que el nombre del recurso es válido, así como no está en uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain
  • IdApps_ValidateDomain de operaciones
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))

Parámetros

content
AppPlatformCustomDomainValidateContent

Carga de dominio personalizada que se va a validar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a