Sdílet prostřednictvím


SpatialAnchorsAccountsOperationsExtensions.RegenerateKeysAsync Method

Definition

Regenerate specified Key of a Spatial Anchors Account

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

Parameters

operations
ISpatialAnchorsAccountsOperations

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