MockableDataBoxResourceGroupResource.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET