共用方式為


ApplicationGatewayCollection Class

Definition

A class representing a collection of ApplicationGatewayResource and their operations. Each ApplicationGatewayResource in the collection will belong to the same instance of ResourceGroupResource. To get an ApplicationGatewayCollection instance call the GetApplicationGateways method from an instance of ResourceGroupResource.

public class ApplicationGatewayCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.ApplicationGatewayResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ApplicationGatewayResource>
type ApplicationGatewayCollection = class
    inherit ArmCollection
    interface seq<ApplicationGatewayResource>
    interface IEnumerable
    interface IAsyncEnumerable<ApplicationGatewayResource>
Public Class ApplicationGatewayCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ApplicationGatewayResource), IEnumerable(Of ApplicationGatewayResource)
Inheritance
ApplicationGatewayCollection
Implements

Constructors

ApplicationGatewayCollection()

Initializes a new instance of the ApplicationGatewayCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ApplicationGatewayData, CancellationToken)

Creates or updates the specified application gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
CreateOrUpdateAsync(WaitUntil, String, ApplicationGatewayData, CancellationToken)

Creates or updates the specified application gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
Get(String, CancellationToken)

Gets the specified application gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
GetAll(CancellationToken)

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
GetAllAsync(CancellationToken)

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
GetAsync(String, CancellationToken)

Gets the specified application gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}
  • Operation Id: ApplicationGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ApplicationGatewayResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApplicationGatewayResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to