Freigeben über


NamespaceTopicResource.GetSharedAccessKeys(CancellationToken) Methode

Definition

Listet die beiden Schlüssel auf, die zum Veröffentlichen in einem Namespacethema verwendet werden.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/listKeys
  • Vorgang IdNamespaceTopics_ListSharedAccessKeys
public virtual Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys> GetSharedAccessKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedAccessKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys>
override this.GetSharedAccessKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.TopicSharedAccessKeys>
Public Overridable Function GetSharedAccessKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of TopicSharedAccessKeys)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: