Share via


BgpConnectionCollection Class

Definition

A class representing a collection of BgpConnectionResource and their operations. Each BgpConnectionResource in the collection will belong to the same instance of VirtualHubResource. To get a BgpConnectionCollection instance call the GetBgpConnections method from an instance of VirtualHubResource.

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

Constructors

BgpConnectionCollection()

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

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
CreateOrUpdateAsync(WaitUntil, String, BgpConnectionData, CancellationToken)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
Get(String, CancellationToken)

Retrieves the details of a Virtual Hub Bgp Connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
GetAll(CancellationToken)

Retrieves the details of all VirtualHubBgpConnections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections
  • Operation Id: VirtualHubBgpConnections_List
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
GetAllAsync(CancellationToken)

Retrieves the details of all VirtualHubBgpConnections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections
  • Operation Id: VirtualHubBgpConnections_List
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
GetAsync(String, CancellationToken)

Retrieves the details of a Virtual Hub Bgp Connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}
  • Operation Id: VirtualHubBgpConnection_Get
  • Default Api Version: 2024-03-01
  • Resource: BgpConnectionResource
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<BgpConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BgpConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to