다음을 통해 공유


SpatialAnchorsAccountResource.RegenerateKeysAsync Method

Definition

Regenerate specified Key of a Spatial Anchors Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys
  • Operation Id: SpatialAnchorsAccounts_RegenerateKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>> RegenerateKeysAsync (Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>>
override this.RegenerateKeysAsync : Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>>
Public Overridable Function RegenerateKeysAsync (content As MixedRealityAccountKeyRegenerateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MixedRealityAccountKeys))

Parameters

content
MixedRealityAccountKeyRegenerateContent

Required information for key regeneration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to