MockableHciResourceGroupResource.ValidateAsync 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.
Validates ownership vouchers.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/locations/{location}/validateOwnershipVouchers.
- Operation Id. : OwnershipVouchers_Validate.
- Default Api Version. : 2026-04-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersResult>> ValidateAsync(Azure.Core.AzureLocation location, Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersResult>>
override this.ValidateAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersResult>>
Public Overridable Function ValidateAsync (location As AzureLocation, content As ValidateOwnershipVouchersContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ValidateOwnershipVouchersResult))
Parameters
- location
- AzureLocation
The name of the Azure region.
- content
- ValidateOwnershipVouchersContent
Ownership vouchers to be validated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.