ObjectAnchorsAccountsOperationsExtensions.RegenerateKeysAsync(IObjectAnchorsAccountsOperations, String, String, Nullable<Int32>, CancellationToken) 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
System.String

Name of an Azure resource group.

accountName
System.String

Name of an Mixed Reality Account.

serial
System.Nullable<System.Int32>

Serial of key to be regenerated

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<AccountKeys>

Applies to