MockableNetworkSubscriptionResource.GetApplicationGateways Method

Definition

Gets all the application gateways in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways.
  • Operation Id. : ApplicationGateways_ListAll.
  • Default Api Version. : 2025-07-01.
public virtual Azure.Pageable<Azure.ResourceManager.Network.ApplicationGatewayResource> GetApplicationGateways(System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicationGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ApplicationGatewayResource>
override this.GetApplicationGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ApplicationGatewayResource>
Public Overridable Function GetApplicationGateways (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApplicationGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to