Share via


ServiceBusNetworkRuleSetResource.GetAsync(CancellationToken) Method

Definition

Gets NetworkRuleSet for a Namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/networkRuleSets/default
  • Operation Id: Namespaces_GetNetworkRuleSet
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusNetworkRuleSetResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceBusNetworkRuleSetResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to