Dela via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to