Delen via


ServiceOperationsExtensions.ValidateInputsByResourceGroupAsync Method

Definition

This method does all necessary pre-job creation validation under resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.ValidationResponse> ValidateInputsByResourceGroupAsync (this Microsoft.Azure.Management.DataBox.IServiceOperations operations, string resourceGroupName, string location, Microsoft.Azure.Management.DataBox.Models.ValidationRequest validationRequest, System.Threading.CancellationToken cancellationToken = default);
static member ValidateInputsByResourceGroupAsync : Microsoft.Azure.Management.DataBox.IServiceOperations * string * string * Microsoft.Azure.Management.DataBox.Models.ValidationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.ValidationResponse>
<Extension()>
Public Function ValidateInputsByResourceGroupAsync (operations As IServiceOperations, resourceGroupName As String, location As String, validationRequest As ValidationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidationResponse)

Parameters

operations
IServiceOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name

location
String

The location of the resource

validationRequest
ValidationRequest

Inputs of the customer.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to