Freigeben über


EventHubsNamespaceResource.GetEventHubsSchemaGroupAsync Methode

Definition

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Vorgang IdSchemaRegistry_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsSchemaGroupResource>> GetEventHubsSchemaGroupAsync (string schemaGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventHubsSchemaGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsSchemaGroupResource>>
override this.GetEventHubsSchemaGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.EventHubsSchemaGroupResource>>
Public Overridable Function GetEventHubsSchemaGroupAsync (schemaGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventHubsSchemaGroupResource))

Parameter

schemaGroupName
String

Der Name der Schemagruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

schemaGroupName ist NULL.

Gilt für: