WebSiteManagementClientExtensions.ValidateAsync(IWebSiteManagementClient, String, ValidateRequestInner, CancellationToken) Method

Definition

Validate if a resource can be created.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner> ValidateAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequestInner validateRequest, System.Threading.CancellationToken cancellationToken = null);
static member ValidateAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequestInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner>

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

validateRequest
ValidateRequestInner

Request with the resources to validate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<ValidateResponseInner>

Remarks

Validate if a resource can be created.

Applies to