LoadBalancers interface
Interface representing a LoadBalancers.
Methods
| begin |
Deletes a load balancer in the specified managed cluster. |
| begin |
Deletes a load balancer in the specified managed cluster. |
| create |
Creates or updates a load balancer in the specified managed cluster. |
| get(string, string, string, Load |
Gets the specified load balancer. |
| list |
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.
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.
The options parameters.
Returns
Promise<LoadBalancersDeleteHeaders>
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.
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.
The options parameters.