Freigeben über


SpatialAnchorsAccountResource.RegenerateKeysAsync Methode

Definition

Generieren des angegebenen Schlüssels eines Spatial Anchors-Kontos

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys
  • Vorgang IdSpatialAnchorsAccounts_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))

Parameter

content
MixedRealityAccountKeyRegenerateContent

Erforderliche Informationen für die Schlüsselregeneration.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: