DataBoxExtensions.ValidateInputsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ValidateInputsAsync(ResourceGroupResource, AzureLocation, DataBoxValidationContent, CancellationToken) |
This method does all necessary pre-job creation validation under resource group.
|
ValidateInputsAsync(SubscriptionResource, AzureLocation, DataBoxValidationContent, CancellationToken) |
This method does all necessary pre-job creation validation under subscription.
|
ValidateInputsAsync(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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>> ValidateInputsAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateInputsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>>
<Extension()>
Public Function ValidateInputsAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
ValidateInputsAsync(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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>> ValidateInputsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateInputsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.DataBoxValidationResult>>
<Extension()>
Public Function ValidateInputsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As DataBoxValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.