Partager via


AuthorizationPolicyResourceFormatResource.RegenerateSecondaryKeyAsync Méthode

Définition

Régénère la clé de stratégie secondaire de la stratégie d’autorisation spécifiée.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey
  • IdAuthorizationPolicies_RegenerateSecondaryKey d’opération
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))

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à