Share via


ExpressRouteGatewayCollection Class

Definition

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

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

Constructors

ExpressRouteGatewayCollection()

Initializes a new instance of the ExpressRouteGatewayCollection 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, ExpressRouteGatewayData, CancellationToken)

Creates or updates a ExpressRoute gateway in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRouteGatewayData, CancellationToken)

Creates or updates a ExpressRoute gateway in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
Get(String, CancellationToken)

Fetches the details of a ExpressRoute gateway in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
GetAll(CancellationToken)

Lists ExpressRoute gateways in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways
  • Operation Id: ExpressRouteGateways_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
GetAllAsync(CancellationToken)

Lists ExpressRoute gateways in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways
  • Operation Id: ExpressRouteGateways_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
GetAsync(String, CancellationToken)

Fetches the details of a ExpressRoute gateway in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • Operation Id: ExpressRouteGateways_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
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<ExpressRouteGatewayResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteGatewayResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to