你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TopicsOperationsExtensions.RegenerateKey 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重新生成主题的密钥。
public static Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys RegenerateKey (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string topicName, string keyName);
static member RegenerateKey : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string * string -> Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys
<Extension()>
Public Function RegenerateKey (operations As ITopicsOperations, resourceGroupName As String, topicName As String, keyName As String) As TopicSharedAccessKeys
参数
- operations
- ITopicsOperations
此扩展方法的操作组。
- resourceGroupName
- String
用户订阅中的资源组的名称。
- topicName
- String
主题名称。
- keyName
- String
用于重新生成 key1 或 key2 的密钥名称
返回
注解
为主题重新生成共享访问密钥。