public interface LoadBalancersClient extends InnerSupportsGet<LoadBalancerInner>, InnerSupportsListing<LoadBalancerInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> |
beginCreateOrUpdate(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters)
Creates or updates a load balancer.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> |
beginCreateOrUpdate(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters,
com.azure.core.util.Context context)
Creates or updates a load balancer.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters)
Creates or updates a load balancer.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String loadBalancerName)
Deletes the specified load balancer.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String loadBalancerName,
com.azure.core.util.Context context)
Deletes the specified load balancer.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String loadBalancerName)
Deletes the specified load balancer.
|
LoadBalancerInner |
createOrUpdate(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters)
Creates or updates a load balancer.
|
LoadBalancerInner |
createOrUpdate(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters,
com.azure.core.util.Context context)
Creates or updates a load balancer.
|
Mono<LoadBalancerInner> |
createOrUpdateAsync(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters)
Creates or updates a load balancer.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String loadBalancerName,
LoadBalancerInner parameters)
Creates or updates a load balancer.
|
void |
delete(String resourceGroupName,
String loadBalancerName)
Deletes the specified load balancer.
|
void |
delete(String resourceGroupName,
String loadBalancerName,
com.azure.core.util.Context context)
Deletes the specified load balancer.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String loadBalancerName)
Deletes the specified load balancer.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String loadBalancerName)
Deletes the specified load balancer.
|
LoadBalancerInner |
getByResourceGroup(String resourceGroupName,
String loadBalancerName)
Gets the specified load balancer.
|
Mono<LoadBalancerInner> |
getByResourceGroupAsync(String resourceGroupName,
String loadBalancerName)
Gets the specified load balancer.
|
Mono<LoadBalancerInner> |
getByResourceGroupAsync(String resourceGroupName,
String loadBalancerName,
String expand)
Gets the specified load balancer.
|
com.azure.core.http.rest.Response<LoadBalancerInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String loadBalancerName,
String expand,
com.azure.core.util.Context context)
Gets the specified load balancer.
|
Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String loadBalancerName,
String expand)
Gets the specified load balancer.
|
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> |
list()
Gets all the load balancers in a subscription.
|
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> |
list(com.azure.core.util.Context context)
Gets all the load balancers in a subscription.
|
com.azure.core.http.rest.PagedFlux<LoadBalancerInner> |
listAsync()
Gets all the load balancers in a subscription.
|
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> |
listByResourceGroup(String resourceGroupName)
Gets all the load balancers in a resource group.
|
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all the load balancers in a resource group.
|
com.azure.core.http.rest.PagedFlux<LoadBalancerInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all the load balancers in a resource group.
|
LoadBalancerInner |
updateTags(String resourceGroupName,
String loadBalancerName)
Updates a load balancer tags.
|
Mono<LoadBalancerInner> |
updateTagsAsync(String resourceGroupName,
String loadBalancerName)
Updates a load balancer tags.
|
Mono<LoadBalancerInner> |
updateTagsAsync(String resourceGroupName,
String loadBalancerName,
Map<String,String> tags)
Updates a load balancer tags.
|
com.azure.core.http.rest.Response<LoadBalancerInner> |
updateTagsWithResponse(String resourceGroupName,
String loadBalancerName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a load balancer tags.
|
Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String loadBalancerName,
Map<String,String> tags)
Updates a load balancer tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String loadBalancerName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String loadBalancerName, String expand)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.expand - Expands referenced resources.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LoadBalancerInner> getByResourceGroupAsync(String resourceGroupName, String loadBalancerName, String expand)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.expand - Expands referenced resources.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LoadBalancerInner> getByResourceGroupAsync(String resourceGroupName, String loadBalancerName)
getByResourceGroupAsync in interface InnerSupportsGet<LoadBalancerInner>resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LoadBalancerInner getByResourceGroup(String resourceGroupName, String loadBalancerName)
getByResourceGroup in interface InnerSupportsGet<LoadBalancerInner>resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LoadBalancerInner> getByResourceGroupWithResponse(String resourceGroupName, String loadBalancerName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.expand - Expands referenced resources.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdateAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LoadBalancerInner> createOrUpdateAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.parameters - LoadBalancer resource.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> updateTagsWithResponseAsync(String resourceGroupName, String loadBalancerName, Map<String,String> tags)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.tags - Resource tags.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LoadBalancerInner> updateTagsAsync(String resourceGroupName, String loadBalancerName, Map<String,String> tags)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.tags - Resource tags.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LoadBalancerInner> updateTagsAsync(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LoadBalancerInner updateTags(String resourceGroupName, String loadBalancerName)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LoadBalancerInner> updateTagsWithResponse(String resourceGroupName, String loadBalancerName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.loadBalancerName - The name of the load balancer.tags - Resource tags.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listAsync()
listAsync in interface InnerSupportsListing<LoadBalancerInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LoadBalancerInner> list()
list in interface InnerSupportsListing<LoadBalancerInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LoadBalancerInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<LoadBalancerInner>resourceGroupName - The name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LoadBalancerInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<LoadBalancerInner>resourceGroupName - The name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LoadBalancerInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.