Compartir a través de


AppServiceExtensions.ValidateAsync Método

Definición

Descripción para Validar si se puede crear un recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate
  • Operation IdValidate
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceValidateResult>> ValidateAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.AppService.Models.AppServiceValidateContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.AppService.Models.AppServiceValidateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceValidateResult>>
<Extension()>
Public Function ValidateAsync (resourceGroupResource As ResourceGroupResource, content As AppServiceValidateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceValidateResult))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

content
AppServiceValidateContent

Solicite con los recursos que se van a validar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a