MockableNetworkSubscriptionResource.GetFirewallPoliciesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.