Compartir a través de


AppServiceExtensions.Validate 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 Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceValidateResult> Validate (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.AppService.Models.AppServiceValidateContent content, System.Threading.CancellationToken cancellationToken = default);
static member Validate : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.AppService.Models.AppServiceValidateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceValidateResult>
<Extension()>
Public Function Validate (resourceGroupResource As ResourceGroupResource, content As AppServiceValidateContent, Optional cancellationToken As CancellationToken = Nothing) As 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