Partilhar via


SpatialAnchorsAccountResource.RegenerateKeysAsync Método

Definição

Regenerar a chave especificada de uma conta de âncoras espaciais

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys
  • Operação 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))

Parâmetros

content
MixedRealityAccountKeyRegenerateContent

Informações necessárias para regeneração de chave.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a