Share via


EventHubResource.Get(CancellationToken) Method

Definition

Gets an Event Hubs description for the specified Event Hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}
  • Operation Id: EventHubs_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubResource
public virtual Azure.Response<Azure.ResourceManager.EventHubs.EventHubResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to