HciExtensions.Validate 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. <item> Mocking. To mock this method, please mock Validate(AzureLocation, ValidateOwnershipVouchersContent, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersResult> Validate(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersContent content, System.Threading.CancellationToken cancellationToken = default);
static member Validate : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.Models.ValidateOwnershipVouchersResult>
<Extension()>
Public Function Validate (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As ValidateOwnershipVouchersContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ValidateOwnershipVouchersResult)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
- location
- AzureLocation
The name of the Azure region.
- content
- ValidateOwnershipVouchersContent
Ownership vouchers to be validated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource is null.