LoadBalancers interface
Interface representing a LoadBalancers.
Methods
begin |
Creates or updates a load balancer. |
begin |
Creates or updates a load balancer. |
begin |
Deletes the specified load balancer. |
begin |
Deletes the specified load balancer. |
begin |
Updates a load balancer tags. |
begin |
Updates a load balancer tags. |
get(string, string, Load |
Gets the specified load balancer. |
list(string, Load |
Gets all the load balancers in a resource group. |
list |
Gets all the load balancers in a subscription. |
Method Details
beginCreateOrUpdate(string, string, LoadBalancer, LoadBalancersCreateOrUpdateOptionalParams)
Creates or updates a load balancer.
function beginCreateOrUpdate(resourceGroupName: string, loadBalancerName: string, parameters: LoadBalancer, options?: LoadBalancersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadBalancer>, LoadBalancer>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
- parameters
- LoadBalancer
Parameters supplied to the create or update load balancer operation.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<LoadBalancer>, LoadBalancer>>
beginCreateOrUpdateAndWait(string, string, LoadBalancer, LoadBalancersCreateOrUpdateOptionalParams)
Creates or updates a load balancer.
function beginCreateOrUpdateAndWait(resourceGroupName: string, loadBalancerName: string, parameters: LoadBalancer, options?: LoadBalancersCreateOrUpdateOptionalParams): Promise<LoadBalancer>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
- parameters
- LoadBalancer
Parameters supplied to the create or update load balancer operation.
The options parameters.
Returns
Promise<LoadBalancer>
beginDelete(string, string, LoadBalancersDeleteOptionalParams)
Deletes the specified load balancer.
function beginDelete(resourceGroupName: string, loadBalancerName: string, options?: LoadBalancersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, LoadBalancersDeleteOptionalParams)
Deletes the specified load balancer.
function beginDeleteAndWait(resourceGroupName: string, loadBalancerName: string, options?: LoadBalancersDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
The options parameters.
Returns
Promise<void>
beginUpdateTags(string, string, TagsObject, LoadBalancersUpdateTagsOptionalParams)
Updates a load balancer tags.
function beginUpdateTags(resourceGroupName: string, loadBalancerName: string, parameters: TagsObject, options?: LoadBalancersUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<LoadBalancer>, LoadBalancer>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
- parameters
- TagsObject
Parameters supplied to update load balancer tags.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<LoadBalancer>, LoadBalancer>>
beginUpdateTagsAndWait(string, string, TagsObject, LoadBalancersUpdateTagsOptionalParams)
Updates a load balancer tags.
function beginUpdateTagsAndWait(resourceGroupName: string, loadBalancerName: string, parameters: TagsObject, options?: LoadBalancersUpdateTagsOptionalParams): Promise<LoadBalancer>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
- parameters
- TagsObject
Parameters supplied to update load balancer tags.
The options parameters.
Returns
Promise<LoadBalancer>
get(string, string, LoadBalancersGetOptionalParams)
Gets the specified load balancer.
function get(resourceGroupName: string, loadBalancerName: string, options?: LoadBalancersGetOptionalParams): Promise<LoadBalancer>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- loadBalancerName
-
string
The name of the load balancer.
- options
- LoadBalancersGetOptionalParams
The options parameters.
Returns
Promise<LoadBalancer>
list(string, LoadBalancersListOptionalParams)
Gets all the load balancers in a resource group.
function list(resourceGroupName: string, options?: LoadBalancersListOptionalParams): PagedAsyncIterableIterator<LoadBalancer, LoadBalancer[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- options
- LoadBalancersListOptionalParams
The options parameters.
Returns
listAll(LoadBalancersListAllOptionalParams)
Gets all the load balancers in a subscription.
function listAll(options?: LoadBalancersListAllOptionalParams): PagedAsyncIterableIterator<LoadBalancer, LoadBalancer[], PageSettings>
Parameters
The options parameters.