Share via


ClustersOperationsExtensions.ListNamespacesAsync Method

Definition

List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.EHNamespaceIdListResult> ListNamespacesAsync (this Microsoft.Azure.Management.EventHub.IClustersOperations operations, string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default);
static member ListNamespacesAsync : Microsoft.Azure.Management.EventHub.IClustersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.EHNamespaceIdListResult>
<Extension()>
Public Function ListNamespacesAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EHNamespaceIdListResult)

Parameters

operations
IClustersOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

clusterName
String

The name of the Event Hubs Cluster.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to