public class VirtualMachineClassesStub extends com.vmware.vapi.internal.bindings.Stub implements VirtualMachineClasses
VirtualMachineClasses
API service.
WARNING: Internal class, subject to change in future versions.
VirtualMachineClassesTypes.ConfigStatus, VirtualMachineClassesTypes.CreateSpec, VirtualMachineClassesTypes.DynamicDirectPathIODevice, VirtualMachineClassesTypes.Info, VirtualMachineClassesTypes.InstanceStorage, VirtualMachineClassesTypes.InstanceStorageVolume, VirtualMachineClassesTypes.Message, VirtualMachineClassesTypes.UpdateSpec, VirtualMachineClassesTypes.VGPUDevice, VirtualMachineClassesTypes.VirtualDevicesapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
VirtualMachineClassesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VirtualMachineClassesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(VirtualMachineClassesTypes.CreateSpec spec)
Create a VM class object.
|
void |
create(VirtualMachineClassesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create a VM class object.
|
void |
create(VirtualMachineClassesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a VM class object.
|
void |
create(VirtualMachineClassesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a VM class object.
|
void |
delete(java.lang.String vmClass)
Delete the VM class object.
|
void |
delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the VM class object.
|
void |
delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the VM class object.
|
void |
delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the VM class object.
|
VirtualMachineClassesTypes.Info |
get(java.lang.String vmClass)
Return information about a VM class.
|
void |
get(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachineClassesTypes.Info> asyncCallback)
Return information about a VM class.
|
void |
get(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachineClassesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return information about a VM class.
|
VirtualMachineClassesTypes.Info |
get(java.lang.String vmClass,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return information about a VM class.
|
java.util.List<VirtualMachineClassesTypes.Info> |
list()
Return information about all VirtualMachine classes.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<VirtualMachineClassesTypes.Info>> asyncCallback)
Return information about all VirtualMachine classes.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<VirtualMachineClassesTypes.Info>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return information about all VirtualMachine classes.
|
java.util.List<VirtualMachineClassesTypes.Info> |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return information about all VirtualMachine classes.
|
void |
update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec)
Update the configuration of the VM class object.
|
void |
update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update the configuration of the VM class object.
|
void |
update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the configuration of the VM class object.
|
void |
update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the configuration of the VM class object.
|
public VirtualMachineClassesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public VirtualMachineClassesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void create(VirtualMachineClassesTypes.CreateSpec spec)
VirtualMachineClassesSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface VirtualMachineClassesspec - Information about the VM class object to be created.public void create(VirtualMachineClassesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesSynchronous 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 VirtualMachineClassesspec - Information about the VM class object to be created.invocationConfig - Configuration for the method invocation.public void create(VirtualMachineClassesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
AlreadyExists - if a VM class by the name as specified in the spec already exists in the
vCenter inventory.
Error - if the system reports an error while responding to the request.
InvalidArgument - if the input spec.instanceStorage.policy refers to an invalid storage
policy or if the input spec includes settings that are out of acceptable
bounds or a combination of settings that are not internally consistent with the
input spec.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
create in interface VirtualMachineClassesspec - Information about the VM class object to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(VirtualMachineClassesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists - if a VM class by the name as specified in the spec already exists in the
vCenter inventory.
Error - if the system reports an error while responding to the request.
InvalidArgument - if the input spec.instanceStorage.policy refers to an invalid storage
policy or if the input spec includes settings that are out of acceptable
bounds or a combination of settings that are not internally consistent with the
input spec.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
create in interface VirtualMachineClassesspec - Information about the VM class object to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec)
VirtualMachineClassesSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.spec - Information about the VM class object to be updated.public void update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesSynchronous 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 VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.spec - Information about the VM class object to be updated.invocationConfig - Configuration for the method invocation.public void update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
AlreadyExists - if a VM class by the name as specified in the spec already exists in the
vCenter inventory.
Error - if the system reports an error while responding to the request.
InvalidArgument - if the input spec.instanceStorage.policy refers to an invalid storage
policy or if the input spec includes settings that are out of acceptable
bounds or a combination of settings that are not internally consistent with the
input spec.
NotFound - if or the vmClass cannot be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
update in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.spec - Information about the VM class object to be updated.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String vmClass,
VirtualMachineClassesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists - if a VM class by the name as specified in the spec already exists in the
vCenter inventory.
Error - if the system reports an error while responding to the request.
InvalidArgument - if the input spec.instanceStorage.policy refers to an invalid storage
policy or if the input spec includes settings that are out of acceptable
bounds or a combination of settings that are not internally consistent with the
input spec.
NotFound - if or the vmClass cannot be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
update in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.spec - Information about the VM class object to be updated.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public VirtualMachineClassesTypes.Info get(java.lang.String vmClass)
VirtualMachineClassesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.public VirtualMachineClassesTypes.Info get(java.lang.String vmClass, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesSynchronous 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 VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.invocationConfig - Configuration for the method invocation.public void get(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachineClassesTypes.Info> asyncCallback)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the specified VM class.
Operation Errors:
NotFound - if VM class can not be found in the vCenter inventory.
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
get in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachineClassesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesAsynchronous 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 VM class.
Operation Errors:
NotFound - if VM class can not be found in the vCenter inventory.
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
get in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<VirtualMachineClassesTypes.Info> list()
VirtualMachineClassesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface VirtualMachineClassespublic java.util.List<VirtualMachineClassesTypes.Info> list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface VirtualMachineClassesinvocationConfig - Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<VirtualMachineClassesTypes.Info>> asyncCallback)
VirtualMachineClassesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of information about all VirtualMachine classes
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface VirtualMachineClassesasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<VirtualMachineClassesTypes.Info>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesAsynchronous 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 information about all VirtualMachine classes
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface VirtualMachineClassesasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String vmClass)
VirtualMachineClassesSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.public void delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesSynchronous 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 VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VirtualMachineClassesAsynchronous 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.
ResourceInUse - - TBD
NotFound - VM class could not be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
delete in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String vmClass,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachineClassesAsynchronous 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.
ResourceInUse - - TBD
NotFound - VM class could not be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have VirtualMachineClasses.Manage privilege.
delete in interface VirtualMachineClassesvmClass - Identifier for the VM class.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.