Udostępnij za pośrednictwem


NetworkExtensions.GetApplicationGateways Method

Definition

Overloads

GetApplicationGateways(ResourceGroupResource)

Gets a collection of ApplicationGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationGateways() instead.

GetApplicationGateways(SubscriptionResource, CancellationToken)

Gets all the application gateways in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways
  • Operation Id: ApplicationGateways_ListAll
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource

GetApplicationGateways(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of ApplicationGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationGateways() instead.

public static Azure.ResourceManager.Network.ApplicationGatewayCollection GetApplicationGateways (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetApplicationGateways : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.ApplicationGatewayCollection
<Extension()>
Public Function GetApplicationGateways (resourceGroupResource As ResourceGroupResource) As ApplicationGatewayCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ApplicationGatewayResources and their operations over a ApplicationGatewayResource.

Exceptions

resourceGroupResource is null.

Applies to

GetApplicationGateways(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets all the application gateways in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways
  • Operation Id: ApplicationGateways_ListAll
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
public static Azure.Pageable<Azure.ResourceManager.Network.ApplicationGatewayResource> GetApplicationGateways (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetApplicationGateways : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ApplicationGatewayResource>
<Extension()>
Public Function GetApplicationGateways (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApplicationGatewayResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to