Partilhar via


ConnectedClusterLoadBalancerCollection Class

Definition

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

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

Constructors

ConnectedClusterLoadBalancerCollection()

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

Create a LoadBalancer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
CreateOrUpdateAsync(WaitUntil, String, ConnectedClusterLoadBalancerData, CancellationToken)

Create a LoadBalancer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
Get(String, CancellationToken)

Get a LoadBalancer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
GetAll(CancellationToken)

List LoadBalancer resources by parent

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

List LoadBalancer resources by parent

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

Get a LoadBalancer

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.KubernetesRuntime/loadBalancers/{loadBalancerName}
  • Operation Id: LoadBalancer_Get
  • Default Api Version: 2024-03-01
  • Resource: ConnectedClusterLoadBalancerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConnectedClusterLoadBalancerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to