Share via


AppConfigurationStoreResource.RegenerateKey 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 Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey> RegenerateKey (Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKey : Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey>
override this.RegenerateKey : Azure.ResourceManager.AppConfiguration.Models.AppConfigurationRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey>
Public Overridable Function RegenerateKey (content As AppConfigurationRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As 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