Compartilhar via


ConnectedClusterBgpPeerCollection Class

Definition

A class representing a collection of ConnectedClusterBgpPeerResource and their operations. Each ConnectedClusterBgpPeerResource in the collection will belong to the same instance of ArmResource. To get a ConnectedClusterBgpPeerCollection instance call the GetConnectedClusterBgpPeers method from an instance of ArmResource.

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

Constructors

ConnectedClusterBgpPeerCollection()

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

Create a BgpPeer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
CreateOrUpdateAsync(WaitUntil, String, ConnectedClusterBgpPeerData, CancellationToken)

Create a BgpPeer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
Get(String, CancellationToken)

Get a BgpPeer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
GetAll(CancellationToken)

List BgpPeer resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers
  • Operation Id: BgpPeer_List
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
GetAllAsync(CancellationToken)

List BgpPeer resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers
  • Operation Id: BgpPeer_List
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
GetAsync(String, CancellationToken)

Get a BgpPeer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}
  • Operation Id: BgpPeer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterBgpPeerResource
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<ConnectedClusterBgpPeerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConnectedClusterBgpPeerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to