public interface Parallel extends Service, ParallelTypes
Parallel
interface provides methods for configuring the virtual
parallel ports of a virtual machine.ParallelTypes.BackingInfo, ParallelTypes.BackingSpec, ParallelTypes.BackingType, ParallelTypes.CreateSpec, ParallelTypes.Info, ParallelTypes.Summary, ParallelTypes.UpdateSpec
RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
void |
connect(java.lang.String vm,
java.lang.String port)
Connects a virtual parallel port of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback)
Connects a virtual parallel port of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Connects a virtual parallel port of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String port,
InvocationConfig invocationConfig)
Connects a virtual parallel port of a powered-on virtual machine to its backing.
|
java.lang.String |
create(java.lang.String vm,
ParallelTypes.CreateSpec spec)
Adds a virtual parallel port to the virtual machine.
|
void |
create(java.lang.String vm,
ParallelTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Adds a virtual parallel port to the virtual machine.
|
void |
create(java.lang.String vm,
ParallelTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Adds a virtual parallel port to the virtual machine.
|
java.lang.String |
create(java.lang.String vm,
ParallelTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Adds a virtual parallel port to the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String port)
Removes a virtual parallel port from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a virtual parallel port from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes a virtual parallel port from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String port,
InvocationConfig invocationConfig)
Removes a virtual parallel port from the virtual machine.
|
void |
disconnect(java.lang.String vm,
java.lang.String port)
Disconnects a virtual parallel port of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback)
Disconnects a virtual parallel port of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String port,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Disconnects a virtual parallel port of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String port,
InvocationConfig invocationConfig)
Disconnects a virtual parallel port of a powered-on virtual machine from its
backing.
|
ParallelTypes.Info |
get(java.lang.String vm,
java.lang.String port)
Returns information about a virtual parallel port.
|
void |
get(java.lang.String vm,
java.lang.String port,
AsyncCallback<ParallelTypes.Info> asyncCallback)
Returns information about a virtual parallel port.
|
void |
get(java.lang.String vm,
java.lang.String port,
AsyncCallback<ParallelTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a virtual parallel port.
|
ParallelTypes.Info |
get(java.lang.String vm,
java.lang.String port,
InvocationConfig invocationConfig)
Returns information about a virtual parallel port.
|
java.util.List<ParallelTypes.Summary> |
list(java.lang.String vm)
Returns commonly used information about the virtual parallel ports belonging to
the virtual machine.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<ParallelTypes.Summary>> asyncCallback)
Returns commonly used information about the virtual parallel ports belonging to
the virtual machine.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<ParallelTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns commonly used information about the virtual parallel ports belonging to
the virtual machine.
|
java.util.List<ParallelTypes.Summary> |
list(java.lang.String vm,
InvocationConfig invocationConfig)
Returns commonly used information about the virtual parallel ports belonging to
the virtual machine.
|
void |
update(java.lang.String vm,
java.lang.String port,
ParallelTypes.UpdateSpec spec)
Updates the configuration of a virtual parallel port.
|
void |
update(java.lang.String vm,
java.lang.String port,
ParallelTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates the configuration of a virtual parallel port.
|
void |
update(java.lang.String vm,
java.lang.String port,
ParallelTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates the configuration of a virtual parallel port.
|
void |
update(java.lang.String vm,
java.lang.String port,
ParallelTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates the configuration of a virtual parallel port.
|
java.util.List<ParallelTypes.Summary> list(java.lang.String vm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine is not found.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.java.util.List<ParallelTypes.Summary> list(java.lang.String vm, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine is not found.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void list(java.lang.String vm, AsyncCallback<java.util.List<ParallelTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of commonly used information about virtual parallel ports.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String vm, AsyncCallback<java.util.List<ParallelTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
List of commonly used information about virtual parallel ports.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ParallelTypes.Info get(java.lang.String vm, java.lang.String port)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.ParallelTypes.Info get(java.lang.String vm, java.lang.String port, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void get(java.lang.String vm, java.lang.String port, AsyncCallback<ParallelTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Information about the specified virtual parallel port.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String vm, java.lang.String port, AsyncCallback<ParallelTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Information about the specified virtual parallel port.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String create(java.lang.String vm, ParallelTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual parallel port.com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reported that the parallel port device was created but was unable
to confirm the creation because the identifier of the new device could not be
determined.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine is not found.NotAllowedInCurrentState
- if the virtual machine is not powered off.UnableToAllocateResource
- if the virtual machine already has the maximum number of supported parallel
ports.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.java.lang.String create(java.lang.String vm, ParallelTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual parallel port.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reported that the parallel port device was created but was unable
to confirm the creation because the identifier of the new device could not be
determined.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine is not found.NotAllowedInCurrentState
- if the virtual machine is not powered off.UnableToAllocateResource
- if the virtual machine already has the maximum number of supported parallel
ports.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void create(java.lang.String vm, ParallelTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Virtual parallel port identifier.
The return value will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.
Operation Errors:
Error
- if the system reported that the parallel port device was created but was unable
to confirm the creation because the identifier of the new device could not be
determined.
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
NotAllowedInCurrentState
- if the virtual machine is not powered off.
UnableToAllocateResource
- if the virtual machine already has the maximum number of supported parallel
ports.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual parallel port.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String vm, ParallelTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Virtual parallel port identifier.
The return value will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.
Operation Errors:
Error
- if the system reported that the parallel port device was created but was unable
to confirm the creation because the identifier of the new device could not be
determined.
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
NotAllowedInCurrentState
- if the virtual machine is not powered off.
UnableToAllocateResource
- if the virtual machine already has the maximum number of supported parallel
ports.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual parallel port.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String vm, java.lang.String port, ParallelTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.spec
- Specification for updating the virtual parallel port.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.NotAllowedInCurrentState
- if one or more of the properties specified in the spec
parameter cannot
be modified due to the current power state of the virtual machine or the
connection state of the virtual parallel port.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void update(java.lang.String vm, java.lang.String port, ParallelTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.spec
- Specification for updating the virtual parallel port.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.NotAllowedInCurrentState
- if one or more of the properties specified in the spec
parameter cannot
be modified due to the current power state of the virtual machine or the
connection state of the virtual parallel port.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void update(java.lang.String vm, java.lang.String port, ParallelTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
NotAllowedInCurrentState
- if one or more of the properties specified in the spec
parameter cannot
be modified due to the current power state of the virtual machine or the
connection state of the virtual parallel port.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.spec
- Specification for updating the virtual parallel port.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String vm, java.lang.String port, ParallelTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
NotAllowedInCurrentState
- if one or more of the properties specified in the spec
parameter cannot
be modified due to the current power state of the virtual machine or the
connection state of the virtual parallel port.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.spec
- Specification for updating the virtual parallel port.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String vm, java.lang.String port)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.NotAllowedInCurrentState
- if the virtual machine is not powered off.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void delete(java.lang.String vm, java.lang.String port, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.NotAllowedInCurrentState
- if the virtual machine is not powered off.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void delete(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
NotAllowedInCurrentState
- if the virtual machine is not powered off.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
NotAllowedInCurrentState
- if the virtual machine is not powered off.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void connect(java.lang.String vm, java.lang.String port)
For a powered-off virtual machine, the
update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the connected state when the
virtual machine is powered on.
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.AlreadyInDesiredState
- if the virtual parallel port is already connected.NotAllowedInCurrentState
- if the virtual machine is not powered on.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void connect(java.lang.String vm, java.lang.String port, InvocationConfig invocationConfig)
For a powered-off virtual machine, the
update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the connected state when the
virtual machine is powered on.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.AlreadyInDesiredState
- if the virtual parallel port is already connected.NotAllowedInCurrentState
- if the virtual machine is not powered on.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void connect(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback)
For a powered-off virtual machine, the
update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the connected state when the
virtual machine is powered on.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
AlreadyInDesiredState
- if the virtual parallel port is already connected.
NotAllowedInCurrentState
- if the virtual machine is not powered on.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void connect(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
For a powered-off virtual machine, the
update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the connected state when the
virtual machine is powered on.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
AlreadyInDesiredState
- if the virtual parallel port is already connected.
NotAllowedInCurrentState
- if the virtual machine is not powered on.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void disconnect(java.lang.String vm, java.lang.String port)
For a powered-off virtual machine,
the update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the disconnected state when the
virtual machine is powered on.
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.AlreadyInDesiredState
- if the virtual parallel port is already disconnected.NotAllowedInCurrentState
- if the virtual machine is not powered on.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void disconnect(java.lang.String vm, java.lang.String port, InvocationConfig invocationConfig)
For a powered-off virtual machine,
the update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the disconnected state when the
virtual machine is powered on.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the virtual machine or virtual parallel port is not found.AlreadyInDesiredState
- if the virtual parallel port is already disconnected.NotAllowedInCurrentState
- if the virtual machine is not powered on.ResourceBusy
- if the virtual machine is busy performing another operation.ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void disconnect(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback)
For a powered-off virtual machine,
the update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the disconnected state when the
virtual machine is powered on.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
AlreadyInDesiredState
- if the virtual parallel port is already disconnected.
NotAllowedInCurrentState
- if the virtual machine is not powered on.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void disconnect(java.lang.String vm, java.lang.String port, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
For a powered-off virtual machine,
the update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.ParallelTypes.UpdateSpec)
method may be used to
configure the virtual parallel port to start in the disconnected state when the
virtual machine is powered on.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual parallel port is not found.
AlreadyInDesiredState
- if the virtual parallel port is already disconnected.
NotAllowedInCurrentState
- if the virtual machine is not powered on.
ResourceBusy
- if the virtual machine is busy performing another operation.
ResourceInaccessible
- if the virtual machine's configuration state cannot be accessed.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.port
- Virtual parallel port identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ParallelPort
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.