Share via


AuthorizationPolicyResourceFormatResource.RegenerateSecondaryKey Method

Definition

Regenerates the secondary policy key of the specified authorization policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey
  • Operation Id: AuthorizationPolicies_RegenerateSecondaryKey
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy> RegenerateSecondaryKey (System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateSecondaryKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>
override this.RegenerateSecondaryKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>
Public Overridable Function RegenerateSecondaryKey (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AuthorizationPolicy)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to