Partilhar via


AuthorizationPolicyResourceFormatResource.RegenerateSecondaryKeyAsync Método

Definição

Regenera a chave de política secundária da política de autorização especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey
  • IdAuthorizationPolicies_RegenerateSecondaryKey de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>> RegenerateSecondaryKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateSecondaryKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>>
override this.RegenerateSecondaryKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>>
Public Overridable Function RegenerateSecondaryKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AuthorizationPolicy))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a