MockableDataBoxResourceGroupResource.ValidateInputsAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputsByResourceGroup
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>> ValidateInputsAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateInputsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>>
override this.ValidateInputsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>>
Public Overridable Function ValidateInputsAsync (location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataBoxValidationResult))

Parameters

location
AzureLocation

The location of the resource.

content
DataBoxValidationContent

Inputs of the customer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to