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

Definition

Validate if a resource can be created.

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

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

validateRequest
ValidateRequest

Request with the resources to validate.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ValidateResponse>

Remarks

Validate if a resource can be created.

Applies to