public interface LoadBalancerOperations
| Modifier and Type | Method and Description |
|---|---|
OperationStatusResponse |
beginCreating(String serviceName,
String deploymentName,
LoadBalancerCreateParameters parameters)
Add an internal load balancer to a an existing deployment.
|
Future<OperationStatusResponse> |
beginCreatingAsync(String serviceName,
String deploymentName,
LoadBalancerCreateParameters parameters)
Add an internal load balancer to a an existing deployment.
|
OperationStatusResponse |
beginDeleting(String serviceName,
String deploymentName,
String loadBalancerName)
Delete an internal load balancer from the deployment.
|
Future<OperationStatusResponse> |
beginDeletingAsync(String serviceName,
String deploymentName,
String loadBalancerName)
Delete an internal load balancer from the deployment.
|
OperationStatusResponse |
beginUpdating(String serviceName,
String deploymentName,
String loadBalancerName,
LoadBalancerUpdateParameters parameters)
Updates an internal load balancer associated with an existing deployment.
|
Future<OperationStatusResponse> |
beginUpdatingAsync(String serviceName,
String deploymentName,
String loadBalancerName,
LoadBalancerUpdateParameters parameters)
Updates an internal load balancer associated with an existing deployment.
|
OperationStatusResponse |
create(String serviceName,
String deploymentName,
LoadBalancerCreateParameters parameters)
Add an internal load balancer to a an existing deployment.
|
Future<OperationStatusResponse> |
createAsync(String serviceName,
String deploymentName,
LoadBalancerCreateParameters parameters)
Add an internal load balancer to a an existing deployment.
|
OperationResponse |
delete(String serviceName,
String deploymentName,
String loadBalancerName)
Delete an internal load balancer from the deployment.
|
Future<OperationResponse> |
deleteAsync(String serviceName,
String deploymentName,
String loadBalancerName)
Delete an internal load balancer from the deployment.
|
OperationStatusResponse |
update(String serviceName,
String deploymentName,
String loadBalancerName,
LoadBalancerUpdateParameters parameters)
Updates an internal load balancer associated with an existing deployment.
|
Future<OperationStatusResponse> |
updateAsync(String serviceName,
String deploymentName,
String loadBalancerName,
LoadBalancerUpdateParameters parameters)
Updates an internal load balancer associated with an existing deployment.
|
OperationStatusResponse beginCreating(String serviceName, String deploymentName, LoadBalancerCreateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Create Load
Balancer operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationStatusResponse> beginCreatingAsync(String serviceName, String deploymentName, LoadBalancerCreateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Create Load
Balancer operation.OperationStatusResponse beginDeleting(String serviceName, String deploymentName, String loadBalancerName) throws IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the load balancer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationStatusResponse> beginDeletingAsync(String serviceName, String deploymentName, String loadBalancerName)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the load balancer.OperationStatusResponse beginUpdating(String serviceName, String deploymentName, String loadBalancerName, LoadBalancerUpdateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the loadBalancer.parameters - Required. Parameters supplied to the Update Load
Balancer operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationStatusResponse> beginUpdatingAsync(String serviceName, String deploymentName, String loadBalancerName, LoadBalancerUpdateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the loadBalancer.parameters - Required. Parameters supplied to the Update Load
Balancer operation.OperationStatusResponse create(String serviceName, String deploymentName, LoadBalancerCreateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Create Load
Balancer operation.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<OperationStatusResponse> createAsync(String serviceName, String deploymentName, LoadBalancerCreateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Create Load
Balancer operation.OperationResponse delete(String serviceName, String deploymentName, String loadBalancerName) throws IOException, ServiceException, InterruptedException, ExecutionException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the load balancer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.Future<OperationResponse> deleteAsync(String serviceName, String deploymentName, String loadBalancerName)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the load balancer.OperationStatusResponse update(String serviceName, String deploymentName, String loadBalancerName, LoadBalancerUpdateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the loadBalancer.parameters - Required. Parameters supplied to the Update Load
Balancer operation.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<OperationStatusResponse> updateAsync(String serviceName, String deploymentName, String loadBalancerName, LoadBalancerUpdateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.loadBalancerName - Required. The name of the loadBalancer.parameters - Required. Parameters supplied to the Update Load
Balancer operation./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/