Share via


LoadBalancers interface

Interface representing a LoadBalancers.

Methods

beginDelete(string, string, string, LoadBalancersDeleteOptionalParams)

Deletes a load balancer in the specified managed cluster.

beginDeleteAndWait(string, string, string, LoadBalancersDeleteOptionalParams)

Deletes a load balancer in the specified managed cluster.

createOrUpdate(string, string, string, LoadBalancer, LoadBalancersCreateOrUpdateOptionalParams)

Creates or updates a load balancer in the specified managed cluster.

get(string, string, string, LoadBalancersGetOptionalParams)

Gets the specified load balancer.

listByManagedCluster(string, string, LoadBalancersListByManagedClusterOptionalParams)

Gets a list of load balancers in the specified managed cluster.

Method Details

beginDelete(string, string, string, LoadBalancersDeleteOptionalParams)

Deletes a load balancer in the specified managed cluster.

function beginDelete(resourceGroupName: string, resourceName: string, loadBalancerName: string, options?: LoadBalancersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<LoadBalancersDeleteHeaders>, LoadBalancersDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

loadBalancerName

string

The name of the load balancer.

options
LoadBalancersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LoadBalancersDeleteHeaders>, LoadBalancersDeleteHeaders>>

beginDeleteAndWait(string, string, string, LoadBalancersDeleteOptionalParams)

Deletes a load balancer in the specified managed cluster.

function beginDeleteAndWait(resourceGroupName: string, resourceName: string, loadBalancerName: string, options?: LoadBalancersDeleteOptionalParams): Promise<LoadBalancersDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

loadBalancerName

string

The name of the load balancer.

options
LoadBalancersDeleteOptionalParams

The options parameters.

Returns

createOrUpdate(string, string, string, LoadBalancer, LoadBalancersCreateOrUpdateOptionalParams)

Creates or updates a load balancer in the specified managed cluster.

function createOrUpdate(resourceGroupName: string, resourceName: string, loadBalancerName: string, parameters: LoadBalancer, options?: LoadBalancersCreateOrUpdateOptionalParams): Promise<LoadBalancer>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

loadBalancerName

string

The name of the load balancer.

parameters
LoadBalancer

The load balancer to create or update.

options
LoadBalancersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<LoadBalancer>

get(string, string, string, LoadBalancersGetOptionalParams)

Gets the specified load balancer.

function get(resourceGroupName: string, resourceName: string, loadBalancerName: string, options?: LoadBalancersGetOptionalParams): Promise<LoadBalancer>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

loadBalancerName

string

The name of the load balancer.

options
LoadBalancersGetOptionalParams

The options parameters.

Returns

Promise<LoadBalancer>

listByManagedCluster(string, string, LoadBalancersListByManagedClusterOptionalParams)

Gets a list of load balancers in the specified managed cluster.

function listByManagedCluster(resourceGroupName: string, resourceName: string, options?: LoadBalancersListByManagedClusterOptionalParams): PagedAsyncIterableIterator<LoadBalancer, LoadBalancer[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

options
LoadBalancersListByManagedClusterOptionalParams

The options parameters.

Returns