Share via


MockableDataBoxSubscriptionResource.ValidateInputs Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputs
public virtual Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult> ValidateInputs (Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateInputs : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>
override this.ValidateInputs : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>
Public Overridable Function ValidateInputs (location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As 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