Udostępnij za pośrednictwem


MongoClusterFirewallRuleCollection.GetAll(CancellationToken) Method

Definition

List all the firewall rules in a given mongo cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules
  • Operation Id: FirewallRule_ListByMongoCluster
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterFirewallRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.MongoCluster.MongoClusterFirewallRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MongoCluster.MongoClusterFirewallRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MongoCluster.MongoClusterFirewallRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MongoClusterFirewallRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to