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(ApiProvider apiProvider,
StubConfigurationBase config) |
AssociatedProductsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
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,
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.
|
public AssociatedProductsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AssociatedProductsStub(ApiProvider apiProvider, 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(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(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.
list
in interface AssociatedProducts
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<Product>> asyncCallback, 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.
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, 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, 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.
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, AsyncCallback<java.lang.String> asyncCallback, 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.
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, 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, 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.
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, AsyncCallback<Product> asyncCallback, 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.
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, 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, 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.
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, AsyncCallback<java.lang.Void> asyncCallback, 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.
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, 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, 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.
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, AsyncCallback<java.lang.Void> asyncCallback, 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.
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.