Sdílet prostřednictvím


DataBoxExtensions.ValidateInputs Method

Definition

Overloads

ValidateInputs(ResourceGroupResource, AzureLocation, DataBoxValidationContent, CancellationToken)

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
ValidateInputs(SubscriptionResource, AzureLocation, DataBoxValidationContent, CancellationToken)

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

ValidateInputs(ResourceGroupResource, AzureLocation, DataBoxValidationContent, CancellationToken)

Source:
DataBoxExtensions.cs

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 static Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult> ValidateInputs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateInputs : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>
<Extension()>
Public Function ValidateInputs (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataBoxValidationResult)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

location
AzureLocation

The location of the resource.

content
DataBoxValidationContent

Inputs of the customer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or content is null.

Applies to

ValidateInputs(SubscriptionResource, AzureLocation, DataBoxValidationContent, CancellationToken)

Source:
DataBoxExtensions.cs

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 static Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult> ValidateInputs (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateInputs : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>
<Extension()>
Public Function ValidateInputs (subscriptionResource As SubscriptionResource, location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataBoxValidationResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The location of the resource.

content
DataBoxValidationContent

Inputs of the customer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or content is null.

Applies to