Share via


MockableNetworkSubscriptionResource.GetFirewallPolicies Method

Definition

Gets all the Firewall Policies in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies
  • Operation Id: FirewallPolicies_ListAll
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.FirewallPolicyResource> GetFirewallPolicies (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFirewallPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.FirewallPolicyResource>
override this.GetFirewallPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.FirewallPolicyResource>
Public Overridable Function GetFirewallPolicies (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FirewallPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to