共用方式為


OutboundFirewallRuleCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all outbound firewall rules on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules
  • Operation Id: OutboundFirewallRules_ListByServer
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.OutboundFirewallRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OutboundFirewallRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of OutboundFirewallRuleResource that may take multiple service requests to iterate over.

Applies to