Share via


MySqlFlexibleServerFirewallRuleCollection.GetAll(CancellationToken) Method

Definition

List all the firewall rules in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules
  • Operation Id: FirewallRules_ListByServer
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerFirewallRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerFirewallRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerFirewallRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerFirewallRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MySqlFlexibleServerFirewallRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MySqlFlexibleServerFirewallRuleResource that may take multiple service requests to iterate over.

Applies to