Share via


CosmosDBForPostgreSqlFirewallRuleCollection.GetAll(CancellationToken) Method

Definition

Lists all the firewall rules on cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules
  • Operation Id: FirewallRules_ListByCluster
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBForPostgreSqlFirewallRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to