Dela via


NamespacesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets the available namespaces within a resource group. https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx

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

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