共用方式為


ApplicationGatewayCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all application gateways in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to