Dela via


NamespacesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all the available namespaces within the ResourceGroup.

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

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to