public interface AssociatedProducts extends com.vmware.vapi.bindings.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Associates a VMware product with vCenter Server manually.
|
void |
create(AssociatedProductsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Associates a VMware product with vCenter Server manually.
|
java.lang.String |
create(AssociatedProductsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes or dissociates a VMware product associated with vCenter Server which was
added manually.
|
void |
delete(java.lang.String product,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<Product> asyncCallback)
Returns the detailed information of a product associated with vCenter Server.
|
void |
get(java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<Product> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the detailed information of a product associated with vCenter Server.
|
Product |
get(java.lang.String product,
com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Product>> asyncCallback)
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Product>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieves a list of all associated VMware product deployments with vCenter
Server in the environment.
|
java.util.List<Product> |
list(com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies a VMware product associated with vCenter Server which was added
manually.
|
void |
update(java.lang.String product,
AssociatedProductsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. java.util.List<Product> list(com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void list(com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Product>> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. java.lang.String create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. spec
- Info creation specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. Product get(java.lang.String product, com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void get(java.lang.String product, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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, com.vmware.vapi.bindings.client.AsyncCallback<Product> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void delete(java.lang.String product, com.vmware.vapi.bindings.client.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.Unauthorized
- if you do not have all of the privileges described as follows: VcLifecycle.View
. void delete(java.lang.String product, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.