public class VirtualMachineOperationsImpl extends Object implements ServiceOperations<ComputeManagementClientImpl>, VirtualMachineOperations
| Modifier and Type | Method and Description |
|---|---|
OperationResponse |
beginCapturingOSImage(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureOSImageParameters parameters)
The Begin Capturing Role operation creates a copy of the operating system
virtual hard disk (VHD) that is deployed in the virtual machine, saves
the VHD copy in the same storage location as the operating system VHD,
and registers the copy as an image in your image gallery.
|
Future<OperationResponse> |
beginCapturingOSImageAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureOSImageParameters parameters)
The Begin Capturing Role operation creates a copy of the operating system
virtual hard disk (VHD) that is deployed in the virtual machine, saves
the VHD copy in the same storage location as the operating system VHD,
and registers the copy as an image in your image gallery.
|
OperationResponse |
beginCapturingVMImage(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureVMImageParameters parameters)
Begin capturing role as VM template.
|
Future<OperationResponse> |
beginCapturingVMImageAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureVMImageParameters parameters)
Begin capturing role as VM template.
|
OperationResponse |
beginCreating(String serviceName,
String deploymentName,
VirtualMachineCreateParameters parameters)
The Begin Creating Role operation adds a virtual machine to an existing
deployment.
|
Future<OperationResponse> |
beginCreatingAsync(String serviceName,
String deploymentName,
VirtualMachineCreateParameters parameters)
The Begin Creating Role operation adds a virtual machine to an existing
deployment.
|
OperationResponse |
beginCreatingDeployment(String serviceName,
VirtualMachineCreateDeploymentParameters parameters)
The Begin Creating Virtual Machine Deployment operation provisions a
virtual machine based on the supplied configuration.
|
Future<OperationResponse> |
beginCreatingDeploymentAsync(String serviceName,
VirtualMachineCreateDeploymentParameters parameters)
The Begin Creating Virtual Machine Deployment operation provisions a
virtual machine based on the supplied configuration.
|
OperationResponse |
beginDeleting(String serviceName,
String deploymentName,
String virtualMachineName,
boolean deleteFromStorage)
The Begin Deleting Role operation deletes the specified virtual machine.
|
Future<OperationResponse> |
beginDeletingAsync(String serviceName,
String deploymentName,
String virtualMachineName,
boolean deleteFromStorage)
The Begin Deleting Role operation deletes the specified virtual machine.
|
OperationResponse |
beginRestarting(String serviceName,
String deploymentName,
String virtualMachineName)
The Begin Restarting role operation restarts the specified virtual
machine.
|
Future<OperationResponse> |
beginRestartingAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Begin Restarting role operation restarts the specified virtual
machine.
|
OperationResponse |
beginShutdown(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineShutdownParameters parameters)
The Shutdown Role operation shuts down the specified virtual machine.
|
Future<OperationResponse> |
beginShutdownAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineShutdownParameters parameters)
The Shutdown Role operation shuts down the specified virtual machine.
|
OperationResponse |
beginShuttingDownRoles(String serviceName,
String deploymentName,
VirtualMachineShutdownRolesParameters parameters)
The Begin Shutting Down Roles operation stops the specified set of
virtual machines.
|
Future<OperationResponse> |
beginShuttingDownRolesAsync(String serviceName,
String deploymentName,
VirtualMachineShutdownRolesParameters parameters)
The Begin Shutting Down Roles operation stops the specified set of
virtual machines.
|
OperationResponse |
beginStarting(String serviceName,
String deploymentName,
String virtualMachineName)
The Begin Starting Role operation starts the specified virtual machine.
|
Future<OperationResponse> |
beginStartingAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Begin Starting Role operation starts the specified virtual machine.
|
OperationResponse |
beginStartingRoles(String serviceName,
String deploymentName,
VirtualMachineStartRolesParameters parameters)
The Begin Starting Roles operation starts the specified set of virtual
machines.
|
Future<OperationResponse> |
beginStartingRolesAsync(String serviceName,
String deploymentName,
VirtualMachineStartRolesParameters parameters)
The Begin Starting Roles operation starts the specified set of virtual
machines.
|
OperationResponse |
beginUpdating(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineUpdateParameters parameters)
The Begin Updating Role operation adds a virtual machine to an existing
deployment.
|
Future<OperationResponse> |
beginUpdatingAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineUpdateParameters parameters)
The Begin Updating Role operation adds a virtual machine to an existing
deployment.
|
OperationResponse |
beginUpdatingLoadBalancedEndpointSet(String serviceName,
String deploymentName,
VirtualMachineUpdateLoadBalancedSetParameters parameters)
The Begin Updating Load Balanced Endpoint Set operation changes the
specified load-balanced InputEndpoints on all the roles of an
Infrastructure as a Service deployment.
|
Future<OperationResponse> |
beginUpdatingLoadBalancedEndpointSetAsync(String serviceName,
String deploymentName,
VirtualMachineUpdateLoadBalancedSetParameters parameters)
The Begin Updating Load Balanced Endpoint Set operation changes the
specified load-balanced InputEndpoints on all the roles of an
Infrastructure as a Service deployment.
|
OperationStatusResponse |
captureOSImage(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureOSImageParameters parameters)
The Capture Role operation creates a copy of the operating system virtual
hard disk (VHD) that is deployed in the virtual machine, saves the VHD
copy in the same storage location as the operating system VHD, and
registers the copy as an image in your image gallery.
|
Future<OperationStatusResponse> |
captureOSImageAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureOSImageParameters parameters)
The Capture Role operation creates a copy of the operating system virtual
hard disk (VHD) that is deployed in the virtual machine, saves the VHD
copy in the same storage location as the operating system VHD, and
registers the copy as an image in your image gallery.
|
OperationStatusResponse |
captureVMImage(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureVMImageParameters parameters)
Capture role as VM template.
|
Future<OperationStatusResponse> |
captureVMImageAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineCaptureVMImageParameters parameters)
Capture role as VM template.
|
OperationStatusResponse |
create(String serviceName,
String deploymentName,
VirtualMachineCreateParameters parameters)
The Create Role operation adds a virtual machine to an existing
deployment.
|
Future<OperationStatusResponse> |
createAsync(String serviceName,
String deploymentName,
VirtualMachineCreateParameters parameters)
The Create Role operation adds a virtual machine to an existing
deployment.
|
OperationStatusResponse |
createDeployment(String serviceName,
VirtualMachineCreateDeploymentParameters parameters)
The Create Virtual Machine Deployment operation provisions a virtual
machine based on the supplied configuration.
|
Future<OperationStatusResponse> |
createDeploymentAsync(String serviceName,
VirtualMachineCreateDeploymentParameters parameters)
The Create Virtual Machine Deployment operation provisions a virtual
machine based on the supplied configuration.
|
OperationStatusResponse |
delete(String serviceName,
String deploymentName,
String virtualMachineName,
boolean deleteFromStorage)
The Delete Role operation deletes the specified virtual machine.
|
Future<OperationStatusResponse> |
deleteAsync(String serviceName,
String deploymentName,
String virtualMachineName,
boolean deleteFromStorage)
The Delete Role operation deletes the specified virtual machine.
|
VirtualMachineGetResponse |
get(String serviceName,
String deploymentName,
String virtualMachineName)
The Get Role operation retrieves information about the specified virtual
machine.
|
Future<VirtualMachineGetResponse> |
getAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Get Role operation retrieves information about the specified virtual
machine.
|
ComputeManagementClientImpl |
getClient()
Gets a reference to the
microsoft.windowsazure.management.compute.ComputeManagementClientImpl.
|
VirtualMachineGetRemoteDesktopFileResponse |
getRemoteDesktopFile(String serviceName,
String deploymentName,
String virtualMachineName)
The Download RDP file operation retrieves the Remote Desktop Protocol
configuration file from the specified virtual machine.
|
Future<VirtualMachineGetRemoteDesktopFileResponse> |
getRemoteDesktopFileAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Download RDP file operation retrieves the Remote Desktop Protocol
configuration file from the specified virtual machine.
|
OperationStatusResponse |
restart(String serviceName,
String deploymentName,
String virtualMachineName)
The Restart role operation restarts the specified virtual machine.
|
Future<OperationStatusResponse> |
restartAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Restart role operation restarts the specified virtual machine.
|
OperationStatusResponse |
shutdown(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineShutdownParameters parameters)
The Shutdown Role operation shuts down the specified virtual machine.
|
Future<OperationStatusResponse> |
shutdownAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineShutdownParameters parameters)
The Shutdown Role operation shuts down the specified virtual machine.
|
OperationStatusResponse |
shutdownRoles(String serviceName,
String deploymentName,
VirtualMachineShutdownRolesParameters parameters)
The Shutdown Roles operation stops the specified set of virtual machines.
|
Future<OperationStatusResponse> |
shutdownRolesAsync(String serviceName,
String deploymentName,
VirtualMachineShutdownRolesParameters parameters)
The Shutdown Roles operation stops the specified set of virtual machines.
|
OperationStatusResponse |
start(String serviceName,
String deploymentName,
String virtualMachineName)
The Start Role operation starts the specified virtual machine.
|
Future<OperationStatusResponse> |
startAsync(String serviceName,
String deploymentName,
String virtualMachineName)
The Start Role operation starts the specified virtual machine.
|
OperationStatusResponse |
startRoles(String serviceName,
String deploymentName,
VirtualMachineStartRolesParameters parameters)
The Start Roles operation starts the specified set of virtual machines.
|
Future<OperationStatusResponse> |
startRolesAsync(String serviceName,
String deploymentName,
VirtualMachineStartRolesParameters parameters)
The Start Roles operation starts the specified set of virtual machines.
|
OperationStatusResponse |
update(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineUpdateParameters parameters)
The Update Role operation adds a virtual machine to an existing
deployment.
|
Future<OperationStatusResponse> |
updateAsync(String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineUpdateParameters parameters)
The Update Role operation adds a virtual machine to an existing
deployment.
|
OperationStatusResponse |
updateLoadBalancedEndpointSet(String serviceName,
String deploymentName,
VirtualMachineUpdateLoadBalancedSetParameters parameters)
The Update Load Balanced Endpoint Set operation changes the specified
load-balanced InputEndpoints on all the roles of an Infrastructure as a
Service deployment.
|
Future<OperationStatusResponse> |
updateLoadBalancedEndpointSetAsync(String serviceName,
String deploymentName,
VirtualMachineUpdateLoadBalancedSetParameters parameters)
The Update Load Balanced Endpoint Set operation changes the specified
load-balanced InputEndpoints on all the roles of an Infrastructure as a
Service deployment.
|
public ComputeManagementClientImpl getClient()
getClient in interface ServiceOperations<ComputeManagementClientImpl>public Future<OperationResponse> beginCapturingOSImageAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureOSImageParameters parameters)
beginCapturingOSImageAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Begin Capturing
Virtual Machine operation.public OperationResponse beginCapturingOSImage(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureOSImageParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginCapturingOSImage in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Begin Capturing
Virtual Machine 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.public Future<OperationResponse> beginCapturingVMImageAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureVMImageParameters parameters)
beginCapturingVMImageAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine operation.public OperationResponse beginCapturingVMImage(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureVMImageParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginCapturingVMImage in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine 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.public Future<OperationResponse> beginCreatingAsync(String serviceName, String deploymentName, VirtualMachineCreateParameters parameters)
beginCreatingAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Begin Creating
Virtual Machine operation.public OperationResponse beginCreating(String serviceName, String deploymentName, VirtualMachineCreateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginCreating in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Begin Creating
Virtual Machine 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.public Future<OperationResponse> beginCreatingDeploymentAsync(String serviceName, VirtualMachineCreateDeploymentParameters parameters)
beginCreatingDeploymentAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.parameters - Required. Parameters supplied to the Begin Creating
Virtual Machine Deployment operation.public OperationResponse beginCreatingDeployment(String serviceName, VirtualMachineCreateDeploymentParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginCreatingDeployment in interface VirtualMachineOperationsserviceName - Required. The name of your service.parameters - Required. Parameters supplied to the Begin Creating
Virtual Machine Deployment 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.public Future<OperationResponse> beginDeletingAsync(String serviceName, String deploymentName, String virtualMachineName, boolean deleteFromStorage)
beginDeletingAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
delete.deleteFromStorage - Required. Specifies that the source blob(s) for
the virtual machine should also be deleted from storage.public OperationResponse beginDeleting(String serviceName, String deploymentName, String virtualMachineName, boolean deleteFromStorage) throws IOException, ServiceException
beginDeleting in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
delete.deleteFromStorage - Required. Specifies that the source blob(s) for
the virtual machine should also be deleted from storage.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.public Future<OperationResponse> beginRestartingAsync(String serviceName, String deploymentName, String virtualMachineName)
beginRestartingAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.public OperationResponse beginRestarting(String serviceName, String deploymentName, String virtualMachineName) throws IOException, ServiceException
beginRestarting in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.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.public Future<OperationResponse> beginShutdownAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineShutdownParameters parameters)
beginShutdownAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
shutdown.parameters - Required. The parameters for the shutdown vm operation.public OperationResponse beginShutdown(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineShutdownParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginShutdown in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
shutdown.parameters - Required. The parameters for the shutdown vm 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.public Future<OperationResponse> beginShuttingDownRolesAsync(String serviceName, String deploymentName, VirtualMachineShutdownRolesParameters parameters)
beginShuttingDownRolesAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Begin Shutting Down
Roles operation.public OperationResponse beginShuttingDownRoles(String serviceName, String deploymentName, VirtualMachineShutdownRolesParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginShuttingDownRoles in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Begin Shutting Down
Roles 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.public Future<OperationResponse> beginStartingAsync(String serviceName, String deploymentName, String virtualMachineName)
beginStartingAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
start.public OperationResponse beginStarting(String serviceName, String deploymentName, String virtualMachineName) throws IOException, ServiceException
beginStarting in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
start.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.public Future<OperationResponse> beginStartingRolesAsync(String serviceName, String deploymentName, VirtualMachineStartRolesParameters parameters)
beginStartingRolesAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Begin Starting
Roles operation.public OperationResponse beginStartingRoles(String serviceName, String deploymentName, VirtualMachineStartRolesParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginStartingRoles in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Begin Starting
Roles 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.public Future<OperationResponse> beginUpdatingAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineUpdateParameters parameters)
beginUpdatingAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of your virtual machine.parameters - Required. Parameters supplied to the Begin Updating
Virtual Machine operation.public OperationResponse beginUpdating(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineUpdateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginUpdating in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of your virtual machine.parameters - Required. Parameters supplied to the Begin Updating
Virtual Machine 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.public Future<OperationResponse> beginUpdatingLoadBalancedEndpointSetAsync(String serviceName, String deploymentName, VirtualMachineUpdateLoadBalancedSetParameters parameters)
beginUpdatingLoadBalancedEndpointSetAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Begin Updating
Load Balanced Endpoint Set operation.public OperationResponse beginUpdatingLoadBalancedEndpointSet(String serviceName, String deploymentName, VirtualMachineUpdateLoadBalancedSetParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginUpdatingLoadBalancedEndpointSet in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Begin Updating
Load Balanced Endpoint Set 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.public Future<OperationStatusResponse> captureOSImageAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureOSImageParameters parameters)
captureOSImageAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine operation.public OperationStatusResponse captureOSImage(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureOSImageParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
captureOSImage in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine 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.public Future<OperationStatusResponse> captureVMImageAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureVMImageParameters parameters)
captureVMImageAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine operation.public OperationStatusResponse captureVMImage(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineCaptureVMImageParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
captureVMImage in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.parameters - Required. Parameters supplied to the Capture Virtual
Machine 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.public Future<OperationStatusResponse> createAsync(String serviceName, String deploymentName, VirtualMachineCreateParameters parameters)
createAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Create Virtual
Machine operation.public OperationStatusResponse create(String serviceName, String deploymentName, VirtualMachineCreateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
create in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Create Virtual
Machine 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.public Future<OperationStatusResponse> createDeploymentAsync(String serviceName, VirtualMachineCreateDeploymentParameters parameters)
createDeploymentAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.parameters - Required. Parameters supplied to the Create Virtual
Machine Deployment operation.public OperationStatusResponse createDeployment(String serviceName, VirtualMachineCreateDeploymentParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
createDeployment in interface VirtualMachineOperationsserviceName - Required. The name of your service.parameters - Required. Parameters supplied to the Create Virtual
Machine Deployment 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.public Future<OperationStatusResponse> deleteAsync(String serviceName, String deploymentName, String virtualMachineName, boolean deleteFromStorage)
deleteAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
delete.deleteFromStorage - Required. Specifies that the source blob(s) for
the virtual machine should also be deleted from storage.public OperationStatusResponse delete(String serviceName, String deploymentName, String virtualMachineName, boolean deleteFromStorage) throws IOException, ServiceException, InterruptedException, ExecutionException
delete in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
delete.deleteFromStorage - Required. Specifies that the source blob(s) for
the virtual machine should also be deleted from storage.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.public Future<VirtualMachineGetResponse> getAsync(String serviceName, String deploymentName, String virtualMachineName)
getAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine.public VirtualMachineGetResponse get(String serviceName, String deploymentName, String virtualMachineName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
get in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public Future<VirtualMachineGetRemoteDesktopFileResponse> getRemoteDesktopFileAsync(String serviceName, String deploymentName, String virtualMachineName)
getRemoteDesktopFileAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine.public VirtualMachineGetRemoteDesktopFileResponse getRemoteDesktopFile(String serviceName, String deploymentName, String virtualMachineName) throws IOException, ServiceException
getRemoteDesktopFile in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine.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.public Future<OperationStatusResponse> restartAsync(String serviceName, String deploymentName, String virtualMachineName)
restartAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.public OperationStatusResponse restart(String serviceName, String deploymentName, String virtualMachineName) throws InterruptedException, ExecutionException, ServiceException, IOException
restart in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
restart.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.public Future<OperationStatusResponse> shutdownAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineShutdownParameters parameters)
shutdownAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
shutdown.parameters - Required. The parameters for the shutdown virtual
machine operation.public OperationStatusResponse shutdown(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineShutdownParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
shutdown in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
shutdown.parameters - Required. The parameters for the shutdown virtual
machine 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.public Future<OperationStatusResponse> shutdownRolesAsync(String serviceName, String deploymentName, VirtualMachineShutdownRolesParameters parameters)
shutdownRolesAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Shutdown Roles
operation.public OperationStatusResponse shutdownRoles(String serviceName, String deploymentName, VirtualMachineShutdownRolesParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
shutdownRoles in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Shutdown Roles
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.public Future<OperationStatusResponse> startAsync(String serviceName, String deploymentName, String virtualMachineName)
startAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
start.public OperationStatusResponse start(String serviceName, String deploymentName, String virtualMachineName) throws InterruptedException, ExecutionException, ServiceException, IOException
start in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of the virtual machine to
start.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.public Future<OperationStatusResponse> startRolesAsync(String serviceName, String deploymentName, VirtualMachineStartRolesParameters parameters)
startRolesAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Start Roles
operation.public OperationStatusResponse startRoles(String serviceName, String deploymentName, VirtualMachineStartRolesParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
startRoles in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters to pass to the Start Roles
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.public Future<OperationStatusResponse> updateAsync(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineUpdateParameters parameters)
updateAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of your virtual machine.parameters - Required. Parameters supplied to the Update Virtual
Machine operation.public OperationStatusResponse update(String serviceName, String deploymentName, String virtualMachineName, VirtualMachineUpdateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
update in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.virtualMachineName - Required. The name of your virtual machine.parameters - Required. Parameters supplied to the Update Virtual
Machine 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.public Future<OperationStatusResponse> updateLoadBalancedEndpointSetAsync(String serviceName, String deploymentName, VirtualMachineUpdateLoadBalancedSetParameters parameters)
updateLoadBalancedEndpointSetAsync in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Update Load
Balanced Endpoint Set operation.public OperationStatusResponse updateLoadBalancedEndpointSet(String serviceName, String deploymentName, VirtualMachineUpdateLoadBalancedSetParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
updateLoadBalancedEndpointSet in interface VirtualMachineOperationsserviceName - Required. The name of your service.deploymentName - Required. The name of your deployment.parameters - Required. Parameters supplied to the Update Load
Balanced Endpoint Set 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./**
* 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.
*/