你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TopicsOperationsExtensions.RegenerateKeysAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为主题重新生成主连接字符串或辅助连接字符串。 https://msdn.microsoft.com/en-us/library/azure/mt720679.aspx
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.ResourceListKeysInner> RegenerateKeysAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.ITopicsOperations operations, string resourceGroupName, string namespaceName, string topicName, string authorizationRuleName, Microsoft.Azure.Management.ServiceBus.Fluent.Models.Policykey? policykey = default, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateKeysAsync : Microsoft.Azure.Management.ServiceBus.Fluent.ITopicsOperations * string * string * string * string * Nullable<Microsoft.Azure.Management.ServiceBus.Fluent.Models.Policykey> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.ResourceListKeysInner>
<Extension()>
Public Function RegenerateKeysAsync (operations As ITopicsOperations, resourceGroupName As String, namespaceName As String, topicName As String, authorizationRuleName As String, Optional policykey As Nullable(Of Policykey) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceListKeysInner)
参数
- operations
- ITopicsOperations
此扩展方法的操作组。
- resourceGroupName
- String
Azure 订阅中的资源组的名称。
- namespaceName
- String
命名空间名称
- topicName
- String
主题名称。
- authorizationRuleName
- String
authorizationrule 名称。
- cancellationToken
- CancellationToken
取消标记。