public class FloppyStub extends com.vmware.vapi.internal.bindings.Stub implements Floppy
Floppy
API service.
WARNING: Internal class, subject to change in future versions.
FloppyTypes.BackingInfo, FloppyTypes.BackingSpec, FloppyTypes.BackingType, FloppyTypes.CreateSpec, FloppyTypes.Info, FloppyTypes.Summary, FloppyTypes.UpdateSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
FloppyStub(ApiProvider apiProvider,
StubConfigurationBase config) |
FloppyStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
connect(java.lang.String vm,
java.lang.String floppy)
Connects a virtual floppy drive of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback)
Connects a virtual floppy drive of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Connects a virtual floppy drive of a powered-on virtual machine to its backing.
|
void |
connect(java.lang.String vm,
java.lang.String floppy,
InvocationConfig invocationConfig)
Connects a virtual floppy drive of a powered-on virtual machine to its backing.
|
java.lang.String |
create(java.lang.String vm,
FloppyTypes.CreateSpec spec)
Adds a virtual floppy drive to the virtual machine.
|
void |
create(java.lang.String vm,
FloppyTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Adds a virtual floppy drive to the virtual machine.
|
void |
create(java.lang.String vm,
FloppyTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Adds a virtual floppy drive to the virtual machine.
|
java.lang.String |
create(java.lang.String vm,
FloppyTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Adds a virtual floppy drive to the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String floppy)
Removes a virtual floppy drive from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a virtual floppy drive from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes a virtual floppy drive from the virtual machine.
|
void |
delete(java.lang.String vm,
java.lang.String floppy,
InvocationConfig invocationConfig)
Removes a virtual floppy drive from the virtual machine.
|
void |
disconnect(java.lang.String vm,
java.lang.String floppy)
Disconnects a virtual floppy drive of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback)
Disconnects a virtual floppy drive of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Disconnects a virtual floppy drive of a powered-on virtual machine from its
backing.
|
void |
disconnect(java.lang.String vm,
java.lang.String floppy,
InvocationConfig invocationConfig)
Disconnects a virtual floppy drive of a powered-on virtual machine from its
backing.
|
FloppyTypes.Info |
get(java.lang.String vm,
java.lang.String floppy)
Returns information about a virtual floppy drive.
|
void |
get(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<FloppyTypes.Info> asyncCallback)
Returns information about a virtual floppy drive.
|
void |
get(java.lang.String vm,
java.lang.String floppy,
AsyncCallback<FloppyTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a virtual floppy drive.
|
FloppyTypes.Info |
get(java.lang.String vm,
java.lang.String floppy,
InvocationConfig invocationConfig)
Returns information about a virtual floppy drive.
|
java.util.List<FloppyTypes.Summary> |
list(java.lang.String vm)
Returns commonly used information about the virtual floppy drives belonging to
the virtual machine.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<FloppyTypes.Summary>> asyncCallback)
Returns commonly used information about the virtual floppy drives belonging to
the virtual machine.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<FloppyTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns commonly used information about the virtual floppy drives belonging to
the virtual machine.
|
java.util.List<FloppyTypes.Summary> |
list(java.lang.String vm,
InvocationConfig invocationConfig)
Returns commonly used information about the virtual floppy drives belonging to
the virtual machine.
|
void |
update(java.lang.String vm,
java.lang.String floppy,
FloppyTypes.UpdateSpec spec)
Updates the configuration of a virtual floppy drive.
|
void |
update(java.lang.String vm,
java.lang.String floppy,
FloppyTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates the configuration of a virtual floppy drive.
|
void |
update(java.lang.String vm,
java.lang.String floppy,
FloppyTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates the configuration of a virtual floppy drive.
|
void |
update(java.lang.String vm,
java.lang.String floppy,
FloppyTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates the configuration of a virtual floppy drive.
|
public FloppyStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public FloppyStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<FloppyTypes.Summary> list(java.lang.String vm)
Floppy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<FloppyTypes.Summary> list(java.lang.String vm, InvocationConfig invocationConfig)
Floppy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(java.lang.String vm, AsyncCallback<java.util.List<FloppyTypes.Summary>> asyncCallback)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of commonly used information about virtual floppy drives.
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.
public void list(java.lang.String vm, AsyncCallback<java.util.List<FloppyTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
List of commonly used information about virtual floppy drives.
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.
list
in interface Floppy
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.public FloppyTypes.Info get(java.lang.String vm, java.lang.String floppy)
Floppy
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.public FloppyTypes.Info get(java.lang.String vm, java.lang.String floppy, InvocationConfig invocationConfig)
Floppy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String vm, java.lang.String floppy, AsyncCallback<FloppyTypes.Info> asyncCallback)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the specified virtual floppy drive.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual floppy drive 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.
get
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String vm, java.lang.String floppy, AsyncCallback<FloppyTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information about the specified virtual floppy drive.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine or virtual floppy drive 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.
get
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create(java.lang.String vm, FloppyTypes.CreateSpec spec)
Floppy
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual floppy drive.com.vmware.vcenter.vm.hardware.Floppy
.public java.lang.String create(java.lang.String vm, FloppyTypes.CreateSpec spec, InvocationConfig invocationConfig)
Floppy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual floppy drive.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.vm.hardware.Floppy
.public void create(java.lang.String vm, FloppyTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Virtual floppy drive identifier.
The return value will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.
Operation Errors:
Error
- if the system reported that the floppy 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 floppy
drives.
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.
create
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual floppy drive.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String vm, FloppyTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Floppy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Virtual floppy drive identifier.
The return value will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.
Operation Errors:
Error
- if the system reported that the floppy 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 floppy
drives.
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.
create
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.spec
- Specification for the new virtual floppy drive.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String vm, java.lang.String floppy, FloppyTypes.UpdateSpec spec)
Floppy
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.spec
- Specification for updating the virtual floppy drive.public void update(java.lang.String vm, java.lang.String floppy, FloppyTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Floppy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.spec
- Specification for updating the virtual floppy drive.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String vm, java.lang.String floppy, FloppyTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Floppy
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 floppy drive 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 floppy drive.
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.
update
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.spec
- Specification for updating the virtual floppy drive.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String vm, java.lang.String floppy, FloppyTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Floppy
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 floppy drive 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 floppy drive.
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.
update
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.spec
- Specification for updating the virtual floppy drive.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String vm, java.lang.String floppy)
Floppy
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.public void delete(java.lang.String vm, java.lang.String floppy, InvocationConfig invocationConfig)
Floppy
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback)
Floppy
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 floppy drive 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.
delete
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Floppy
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 floppy drive 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.
delete
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void connect(java.lang.String vm, java.lang.String floppy)
Floppy
For a powered-off virtual machine, the
Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be used to
configure the virtual floppy drive 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.
connect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.public void connect(java.lang.String vm, java.lang.String floppy, InvocationConfig invocationConfig)
Floppy
For a powered-off virtual machine, the
Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be used to
configure the virtual floppy drive 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.
connect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.invocationConfig
- Configuration for the method invocation.public void connect(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback)
Floppy
For a powered-off virtual machine, the
Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be used to
configure the virtual floppy drive 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 floppy drive is not found.
AlreadyInDesiredState
- if the virtual floppy drive 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.
connect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void connect(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Floppy
For a powered-off virtual machine, the
Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be used to
configure the virtual floppy drive 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 floppy drive is not found.
AlreadyInDesiredState
- if the virtual floppy drive 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.
connect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void disconnect(java.lang.String vm, java.lang.String floppy)
Floppy
For a powered-off virtual
machine, the Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be
used to configure the virtual floppy floppy 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.
disconnect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.public void disconnect(java.lang.String vm, java.lang.String floppy, InvocationConfig invocationConfig)
Floppy
For a powered-off virtual
machine, the Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be
used to configure the virtual floppy floppy 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.
disconnect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.invocationConfig
- Configuration for the method invocation.public void disconnect(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback)
Floppy
For a powered-off virtual
machine, the Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be
used to configure the virtual floppy floppy 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 floppy drive is not found.
AlreadyInDesiredState
- if the virtual floppy drive 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.
disconnect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void disconnect(java.lang.String vm, java.lang.String floppy, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Floppy
For a powered-off virtual
machine, the Floppy.update(java.lang.String, java.lang.String, com.vmware.vcenter.vm.hardware.FloppyTypes.UpdateSpec)
method may be
used to configure the virtual floppy floppy 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 floppy drive is not found.
AlreadyInDesiredState
- if the virtual floppy drive 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.
disconnect
in interface Floppy
vm
- Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine
.floppy
- Virtual floppy drive identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Floppy
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.