Freigeben über


AuthorizationPolicyResourceFormatResource.RegenerateSecondaryKeyAsync Methode

Definition

Generiert den sekundären Richtlinienschlüssel der angegebenen Autorisierungsrichtlinie.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey
  • Vorgang IdAuthorizationPolicies_RegenerateSecondaryKey
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))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: