共用方式為


BackendAddressPoolCollection Class

Definition

A class representing a collection of BackendAddressPoolResource and their operations. Each BackendAddressPoolResource in the collection will belong to the same instance of LoadBalancerResource. To get a BackendAddressPoolCollection instance call the GetBackendAddressPools method from an instance of LoadBalancerResource.

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

Constructors

BackendAddressPoolCollection()

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

Creates or updates a load balancer backend address pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
CreateOrUpdateAsync(WaitUntil, String, BackendAddressPoolData, CancellationToken)

Creates or updates a load balancer backend address pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
Get(String, CancellationToken)

Gets load balancer backend address pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
GetAll(CancellationToken)

Gets all the load balancer backed address pools.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools
  • Operation Id: LoadBalancerBackendAddressPools_List
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
GetAllAsync(CancellationToken)

Gets all the load balancer backed address pools.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools
  • Operation Id: LoadBalancerBackendAddressPools_List
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
GetAsync(String, CancellationToken)

Gets load balancer backend address pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}
  • Operation Id: LoadBalancerBackendAddressPools_Get
  • Default Api Version: 2024-03-01
  • Resource: BackendAddressPoolResource
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<BackendAddressPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BackendAddressPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to