Compartir a través de


AppConfigurationStoreResource.RegenerateKeyAsync Método

Definición

Regenera una clave de acceso para el almacén de configuración especificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey
  • IdConfigurationStores_RegenerateKey de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey>> RegenerateKeyAsync (Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey>>
override this.RegenerateKeyAsync : Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey>>
Public Overridable Function RegenerateKeyAsync (content As AppConfigurationRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppConfigurationStoreApiKey))

Parámetros

content
AppConfigurationRegenerateKeyContent

Parámetros para regenerar una clave de acceso.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a