IWebSiteManagementClient.ValidateWithHttpMessagesAsync(String, ValidateRequestInner, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Validate if a resource can be created.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner>> ValidateWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequestInner validateRequest, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ValidateWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequestInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner>>

Parameters

resourceGroupName
String

Name of the resource group to which the resource belongs.

validateRequest
ValidateRequestInner

Request with the resources to validate.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.AzureOperationResponse<ValidateResponseInner>>

Remarks

Validate if a resource can be created.

Applies to