public class AssociatedProductsStub extends com.vmware.vapi.internal.bindings.Stub implements AssociatedProducts
AssociatedProducts
API service.
WARNING: Internal class, subject to change in future versions.
AssociatedProductsTypes.CreateSpec, AssociatedProductsTypes.UpdateSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
AssociatedProductsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
AssociatedProductsStub(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 |
---|---|
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.
|
public AssociatedProductsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public AssociatedProductsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.List<Product> list()
AssociatedProducts
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface AssociatedProducts
public java.util.List<Product> list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
Synchronous 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 AssociatedProducts
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Product>> asyncCallback)
AssociatedProducts
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
. list
in interface AssociatedProducts
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Product>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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
. list
in interface AssociatedProducts
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create(AssociatedProductsTypes.CreateSpec spec)
AssociatedProducts
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface AssociatedProducts
spec
- Info creation specification.com.vmware.vcenter.lcm.product
.public java.lang.String create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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 AssociatedProducts
spec
- Info creation specification.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.lcm.product
.public void create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
AssociatedProducts
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
. create
in interface AssociatedProducts
spec
- Info creation specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(AssociatedProductsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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
. create
in interface AssociatedProducts
spec
- Info creation specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public Product get(java.lang.String product)
AssociatedProducts
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface AssociatedProducts
product
- An identifier of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.public Product get(java.lang.String product, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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 AssociatedProducts
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.public void get(java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<Product> asyncCallback)
AssociatedProducts
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
. get
in interface AssociatedProducts
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.public void get(java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<Product> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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
. get
in interface AssociatedProducts
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.public void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec)
AssociatedProducts
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface AssociatedProducts
product
- An id of the product to be modified.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.public void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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 AssociatedProducts
product
- An id 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.public void update(java.lang.String product, AssociatedProductsTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
AssociatedProducts
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
. update
in interface AssociatedProducts
product
- An id 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.public 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)
AssociatedProducts
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
. update
in interface AssociatedProducts
product
- An id 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.public void delete(java.lang.String product)
AssociatedProducts
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface AssociatedProducts
product
- An id of the product to be removed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.product
.public void delete(java.lang.String product, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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 AssociatedProducts
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.public void delete(java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
AssociatedProducts
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
. delete
in interface AssociatedProducts
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.public void delete(java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AssociatedProducts
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
. delete
in interface AssociatedProducts
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.