Share via


ObjectAnchorsAccountsOperationsExtensions.RegenerateKeysAsync Method

Definition

Regenerate specified Key of an object anchors Account

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MixedReality.Models.AccountKeys> RegenerateKeysAsync (this Microsoft.Azure.Management.MixedReality.IObjectAnchorsAccountsOperations operations, string resourceGroupName, string accountName, int? serial = 1, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateKeysAsync : Microsoft.Azure.Management.MixedReality.IObjectAnchorsAccountsOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MixedReality.Models.AccountKeys>
<Extension()>
Public Function RegenerateKeysAsync (operations As IObjectAnchorsAccountsOperations, resourceGroupName As String, accountName As String, Optional serial As Nullable(Of Integer) = 1, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccountKeys)

Parameters

operations
IObjectAnchorsAccountsOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure resource group.

accountName
String

Name of an Mixed Reality Account.

serial
Nullable<Int32>

Serial of key to be regenerated

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to