Delen via


NamespacesOperationsExtensions.ListAsync Method

Definition

Lists the available namespaces within a resourceGroup.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.NotificationHubs.Models.NamespaceResource>> ListAsync (this Microsoft.Azure.Management.NotificationHubs.INamespacesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.NotificationHubs.INamespacesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.NotificationHubs.Models.NamespaceResource>>
<Extension()>
Public Function ListAsync (operations As INamespacesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of NamespaceResource))

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. If resourceGroupName value is null the method lists all the namespaces within subscription

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to