Share via


NamespacesOperationsExtensions.ListNetworkRuleSetsAsync Method

Definition

Gets list of NetworkRuleSet for a Namespace.

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

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to