Share via


AppConfigurationStoreResource.RegenerateKeyAsync Method

Definition

Regenerates an access key for the specified configuration store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey
  • Operation Id: ConfigurationStores_RegenerateKey
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationStoreResource
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))

Parameters

content
AppConfigurationRegenerateKeyContent

The parameters for regenerating an access key.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to