你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuthorizationPolicyResourceFormatResource.RegeneratePrimaryKey 方法

定义

重新生成指定授权策略的主策略密钥。

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

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于