Interface LoadBalancersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<LoadBalancerInner>,InnerSupportsListing<LoadBalancerInner>
public interface LoadBalancersClient
extends InnerSupportsGet<LoadBalancerInner>, InnerSupportsListing<LoadBalancerInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in LoadBalancersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.beginDelete(String resourceGroupName, String loadBalancerName) Deletes the specified load balancer.beginDelete(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context) Deletes the specified load balancer.beginDeleteAsync(String resourceGroupName, String loadBalancerName) Deletes the specified load balancer.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>, BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>, BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context) List of inbound NAT rule port mappings.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>, BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context) Swaps VIPs between two load balancers.beginSwapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters) Creates or updates a load balancer.createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context) Creates or updates a load balancer.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.voidDeletes the specified load balancer.voidDeletes the specified load balancer.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.getByResourceGroup(String resourceGroupName, String loadBalancerName) Gets the specified load balancer.getByResourceGroupAsync(String resourceGroupName, String loadBalancerName) 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> 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.listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context) List of inbound NAT rule port mappings.listInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listInboundNatRulePortMappingsWithResponseAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.migrateToIpBased(String groupName, String loadBalancerName) Migrate load balancer to IP Based.migrateToIpBasedAsync(String groupName, String loadBalancerName) Migrate load balancer to IP Based.com.azure.core.http.rest.Response<MigratedPoolsInner> migrateToIpBasedWithResponse(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters, com.azure.core.util.Context context) Migrate load balancer to IP Based.Mono<com.azure.core.http.rest.Response<MigratedPoolsInner>> migrateToIpBasedWithResponseAsync(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters) Migrate load balancer to IP Based.voidswapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.voidswapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context) Swaps VIPs between two load balancers.swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> swapPublicIpAddressesWithResponseAsync(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.updateTags(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.updateTagsAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.com.azure.core.http.rest.Response<LoadBalancerInner> updateTagsWithResponse(String resourceGroupName, String loadBalancerName, TagsObject parameters, com.azure.core.util.Context context) Updates a load balancer tags.Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> updateTagsWithResponseAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName) Deletes the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the
Responseon successful completion ofMono. - Throws:
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName) Deletes the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String loadBalancerName) Deletes the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginDelete
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.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
deleteAsync
Deletes the specified load balancer.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
delete
Deletes the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Throws:
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.
-
delete
Deletes the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.context- The context to associate with this operation.- Throws:
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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String loadBalancerName, String expand) Gets the specified load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.expand- Expands referenced resources.- Returns:
- the specified load balancer along with
Responseon successful completion ofMono. - Throws:
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.
-
getByResourceGroupAsync
Gets the specified load balancer.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<LoadBalancerInner>- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the specified load balancer on successful completion of
Mono. - Throws:
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.
-
getByResourceGroupWithResponse
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.- Parameters:
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.- Returns:
- the specified load balancer along with
Response. - Throws:
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.
-
getByResourceGroup
Gets the specified load balancer.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<LoadBalancerInner>- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the specified load balancer.
- Throws:
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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters) Creates or updates a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.- Returns:
- loadBalancer resource along with
Responseon successful completion ofMono. - Throws:
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.
-
beginCreateOrUpdateAsync
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.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.- Returns:
- the
PollerFluxfor polling of loadBalancer resource. - Throws:
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.
-
beginCreateOrUpdate
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.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.- Returns:
- the
SyncPollerfor polling of loadBalancer resource. - Throws:
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.
-
beginCreateOrUpdate
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.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of loadBalancer resource. - Throws:
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.
-
createOrUpdateAsync
Mono<LoadBalancerInner> createOrUpdateAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters) Creates or updates a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.- Returns:
- loadBalancer resource on successful completion of
Mono. - Throws:
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.
-
createOrUpdate
LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters) Creates or updates a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.- Returns:
- loadBalancer resource.
- Throws:
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.
-
createOrUpdate
LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context) Creates or updates a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the create or update load balancer operation.context- The context to associate with this operation.- Returns:
- loadBalancer resource.
- Throws:
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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<LoadBalancerInner>> updateTagsWithResponseAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to update load balancer tags.- Returns:
- loadBalancer resource along with
Responseon successful completion ofMono. - Throws:
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.
-
updateTagsAsync
Mono<LoadBalancerInner> updateTagsAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to update load balancer tags.- Returns:
- loadBalancer resource on successful completion of
Mono. - Throws:
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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<LoadBalancerInner> updateTagsWithResponse(String resourceGroupName, String loadBalancerName, TagsObject parameters, com.azure.core.util.Context context) Updates a load balancer tags.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to update load balancer tags.context- The context to associate with this operation.- Returns:
- loadBalancer resource along with
Response. - Throws:
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.
-
updateTags
LoadBalancerInner updateTags(String resourceGroupName, String loadBalancerName, TagsObject parameters) Updates a load balancer tags.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to update load balancer tags.- Returns:
- loadBalancer resource.
- Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listAsync()Gets all the load balancers in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<LoadBalancerInner>- Returns:
- all the load balancers in a subscription as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> list()Gets all the load balancers in a subscription.- Specified by:
listin interfaceInnerSupportsListing<LoadBalancerInner>- Returns:
- all the load balancers in a subscription as paginated response with
PagedIterable. - Throws:
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.
-
list
Gets all the load balancers in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the load balancers in a subscription as paginated response with
PagedIterable. - Throws:
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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listByResourceGroupAsync(String resourceGroupName) Gets all the load balancers in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<LoadBalancerInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the load balancers in a resource group as paginated response with
PagedFlux. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<LoadBalancerInner> listByResourceGroup(String resourceGroupName) Gets all the load balancers in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<LoadBalancerInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the load balancers in a resource group as paginated response with
PagedIterable. - Throws:
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.
-
listByResourceGroup
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.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all the load balancers in a resource group as paginated response with
PagedIterable. - Throws:
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.
-
swapPublicIpAddressesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> swapPublicIpAddressesWithResponseAsync(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.- Returns:
- the
Responseon successful completion ofMono. - Throws:
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.
-
beginSwapPublicIpAddressesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginSwapPublicIpAddresses
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters) Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginSwapPublicIpAddresses
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context) Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
swapPublicIpAddressesAsync
Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
swapPublicIpAddresses
Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.- Throws:
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.
-
swapPublicIpAddresses
void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context) Swaps VIPs between two load balancers.- Parameters:
location- The region where load balancers are located at.parameters- Parameters that define which VIPs should be swapped.context- The context to associate with this operation.- Throws:
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.
-
listInboundNatRulePortMappingsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listInboundNatRulePortMappingsWithResponseAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.- Returns:
- the response for a QueryInboundNatRulePortMapping API along with
Responseon successful completion ofMono. - Throws:
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.
-
beginListInboundNatRulePortMappingsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.- Returns:
- the
PollerFluxfor polling of the response for a QueryInboundNatRulePortMapping API. - Throws:
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.
-
beginListInboundNatRulePortMappings
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.- Returns:
- the
SyncPollerfor polling of the response for a QueryInboundNatRulePortMapping API. - Throws:
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.
-
beginListInboundNatRulePortMappings
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the response for a QueryInboundNatRulePortMapping API. - Throws:
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.
-
listInboundNatRulePortMappingsAsync
Mono<BackendAddressInboundNatRulePortMappingsInner> listInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.- Returns:
- the response for a QueryInboundNatRulePortMapping API on successful completion of
Mono. - Throws:
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.
-
listInboundNatRulePortMappings
BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.- Returns:
- the response for a QueryInboundNatRulePortMapping API.
- Throws:
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.
-
listInboundNatRulePortMappings
BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context) List of inbound NAT rule port mappings.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.backendPoolName- The name of the load balancer backend address pool.parameters- Query inbound NAT rule port mapping request.context- The context to associate with this operation.- Returns:
- the response for a QueryInboundNatRulePortMapping API.
- Throws:
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.
-
migrateToIpBasedWithResponseAsync
Mono<com.azure.core.http.rest.Response<MigratedPoolsInner>> migrateToIpBasedWithResponseAsync(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters) Migrate load balancer to IP Based.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the migrateToIpBased Api.- Returns:
- the response for a migrateToIpBased API along with
Responseon successful completion ofMono. - Throws:
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.
-
migrateToIpBasedAsync
Migrate load balancer to IP Based.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the response for a migrateToIpBased API on successful completion of
Mono. - Throws:
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.
-
migrateToIpBasedWithResponse
com.azure.core.http.rest.Response<MigratedPoolsInner> migrateToIpBasedWithResponse(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters, com.azure.core.util.Context context) Migrate load balancer to IP Based.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.parameters- Parameters supplied to the migrateToIpBased Api.context- The context to associate with this operation.- Returns:
- the response for a migrateToIpBased API along with
Response. - Throws:
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.
-
migrateToIpBased
Migrate load balancer to IP Based.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- the response for a migrateToIpBased API.
- Throws:
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.
-