public interface AssociatedProducts extends Service, AssociatedProductsTypes
AssociatedProducts
interface provides options to list, add, modify,
and delete VMware products associated with vCenter Server. Some products can be
auto-detected by the system while others can be added manually.AssociatedProductsTypes.CreateSpec, AssociatedProductsTypes.UpdateSpec
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(AssociatedProductsTypes.CreateSpec spec)
Associates a VMware product with vCenter Server manually.
|
void |
create(AssociatedProductsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Associates a VMware product with vCenter Server manually.
|
void |
create(AssociatedProductsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Associates a VMware product with vCenter Server manually.
|
java.lang.String |
create(AssociatedProductsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Associates a VMware product with vCenter Server manually.
|
void |
delete(java.lang.String product)
Deletes or dissociates a VMware product associated with vCenter Server which was
added manually.
|
void |
delete(java.lang.String product,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes or dissociates a VMware product associated with vCenter Server which was
added manually.
|
void |
delete(java.lang.String product,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes or dissociates a VMware product associated with vCenter Server which was
added manually.
|
void |
delete(java.lang.String product,
InvocationConfig invocationConfig)
Deletes or dissociates a VMware product associated with vCenter Server which was
added manually.
|
Product |
get(java.lang.String product)
Returns the detailed information of a product associated with vCenter Server.
|
void |
get(java.lang.String product,
AsyncCallback<Product> asyncCallback)
Returns the detailed information of a product associated with vCenter Server.
|
void |
get(java.lang.String product,
AsyncCallback<Product> asyncCallback,
InvocationConfig invocationConfig)
Returns the detailed information of a product associated with vCenter Server.
|
Product |
get(java.lang.String product,
InvocationConfig invocationConfig)
Returns the detailed information of a product associated with vCenter Server.
|
java.util.List<Product> |
list()
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
void |
list(AsyncCallback<java.util.List<Product>> asyncCallback)
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
void |
list(AsyncCallback<java.util.List<Product>> asyncCallback,
InvocationConfig invocationConfig)
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
java.util.List<Product> |
list(InvocationConfig invocationConfig)
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
void |
update(java.lang.String product,
AssociatedProductsTypes.UpdateSpec spec)
Modifies a VMware product associated with vCenter Server which was added
manually.
|
void |
update(java.lang.String product,
AssociatedProductsTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Modifies a VMware product associated with vCenter Server which was added
manually.
|
void |
update(java.lang.String product,
AssociatedProductsTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Modifies a VMware product associated with vCenter Server which was added
manually.
|
void |
update(java.lang.String product,
AssociatedProductsTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Modifies a VMware product associated with vCenter Server which was added
manually.
|
java.util.List<Product> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the user can not be authenticated.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.java.util.List<Product> list(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.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the user can not be authenticated.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void list(AsyncCallback<java.util.List<Product>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of all the registered products with vCenter.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<Product>> 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.
Invocation Result:
List of all the registered products with vCenter.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String create(AssociatedProductsTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Info creation specification.com.vmware.vcenter.lcm.product
.Unauthenticated
- if the user can not be authenticated.AlreadyExists
- if this version is already addedInvalidArgument
- if the spec argument is not allowedError
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.java.lang.String create(AssociatedProductsTypes.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.
spec
- Info creation specification.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.lcm.product
.Unauthenticated
- if the user can not be authenticated.AlreadyExists
- if this version is already addedInvalidArgument
- if the spec argument is not allowedError
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void create(AssociatedProductsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Identifier of the newly-added product.
The return value will be an identifier for the resource type: com.vmware.vcenter.lcm.product
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
AlreadyExists
- if this version is already added
InvalidArgument
- if the spec argument is not allowed
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
spec
- Info creation specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(AssociatedProductsTypes.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.
Invocation Result:
Identifier of the newly-added product.
The return value will be an identifier for the resource type: com.vmware.vcenter.lcm.product
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
AlreadyExists
- if this version is already added
InvalidArgument
- if the spec argument is not allowed
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
spec
- Info creation specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Product get(java.lang.String product)
Synchronous method overload. Result of the invocation will be reported as a method return value.
product
- An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.Unauthenticated
- if the user can not be authenticated.NotFound
- If there is no record associated with product
in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.Product get(java.lang.String product, 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.
product
- An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the user can not be authenticated.NotFound
- If there is no record associated with product
in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void get(java.lang.String product, AsyncCallback<Product> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Product details.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- If there is no record associated with product
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String product, AsyncCallback<Product> 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.
Invocation Result:
Product details.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- If there is no record associated with product
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
product
- An id of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.spec
- Unauthenticated
- if the user can not be authenticated.InvalidArgument
- if the spec argument is not allowedNotFound
- If there is no record associated with product
in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void update(java.lang.String product, AssociatedProductsTypes.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.
product
- An id of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.spec
- invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the user can not be authenticated.InvalidArgument
- if the spec argument is not allowedNotFound
- If there is no record associated with product
in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
InvalidArgument
- if the spec argument is not allowed
NotFound
- If there is no record associated with product
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An id of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.spec
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String product, AssociatedProductsTypes.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:
Unauthenticated
- if the user can not be authenticated.
InvalidArgument
- if the spec argument is not allowed
NotFound
- If there is no record associated with product
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An id of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.spec
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String product)
Synchronous method overload. Result of the invocation will be reported as a method return value.
product
- An id of the product to be removed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.Unauthenticated
- if the user can not be authenticated.NotFound
- If there is no record associated with product
in the system database.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void delete(java.lang.String product, 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.
product
- An id of the product to be removed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the user can not be authenticated.NotFound
- If there is no record associated with product
in the system database.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void delete(java.lang.String product, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- If there is no record associated with product
in the system database.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An id of the product to be removed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String product, 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:
Unauthenticated
- if the user can not be authenticated.
NotFound
- If there is no record associated with product
in the system database.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
product
- An id of the product to be removed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.