Freigeben über


EventGridNamespaceResource.GetNamespaceTopic Methode

Definition

Ruft Eigenschaften eines Namespacethemas ab.

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

Parameter

topicName
String

Name des Namespacethemas.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

topicName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

topicName ist NULL.

Gilt für: