Share via


CosmosDBForPostgreSqlFirewallRuleCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlFirewallRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CosmosDBForPostgreSqlFirewallRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to