Compartir a través de


MapsAccountResource.RegenerateKeys Método

Definición

Vuelva a generar la clave principal o secundaria para su uso con las API de Maps. La clave antigua dejará de funcionar inmediatamente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey
  • IdAccounts_RegenerateKeys de operaciones
public virtual Azure.Response<Azure.ResourceManager.Maps.Models.MapsAccountKeys> RegenerateKeys (Azure.ResourceManager.Maps.Models.MapsKeySpecification keySpecification, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeys : Azure.ResourceManager.Maps.Models.MapsKeySpecification * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maps.Models.MapsAccountKeys>
override this.RegenerateKeys : Azure.ResourceManager.Maps.Models.MapsKeySpecification * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maps.Models.MapsAccountKeys>
Public Overridable Function RegenerateKeys (keySpecification As MapsKeySpecification, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MapsAccountKeys)

Parámetros

keySpecification
MapsKeySpecification

Clave que se va a regenerar: principal o secundaria.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

keySpecification es null.

Se aplica a