Megosztás a következőn keresztül:


ServiceBusTopicAuthorizationRuleResource.GetKeys(CancellationToken) Method

Definition

Gets the primary and secondary connection strings for the topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/ListKeys
  • Operation Id: TopicAuthorizationRules_ListKeys
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
public virtual Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceBusAccessKeys)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to