Freigeben über


NamespaceTopicResource.GetSharedAccessKeysAsync(CancellationToken) Methode

Definition

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

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

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: