Dela via


NamespacesOperationsExtensions.ListAsync Method

Definition

Lists all the available namespaces within the subscription irrespective of the resourceGroups.

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

Parameters

operations
INamespacesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to