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.UpdateSpecapiProvider, 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()
AssociatedProductsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface AssociatedProductspublic java.util.List<Product> list(InvocationConfig invocationConfig)
AssociatedProductsSynchronous 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 AssociatedProductsinvocationConfig - Configuration for the method invocation.public void list(AsyncCallback<java.util.List<Product>> asyncCallback)
AssociatedProductsAsynchronous 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 AssociatedProductsasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<Product>> asyncCallback, InvocationConfig invocationConfig)
AssociatedProductsAsynchronous 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 AssociatedProductsasyncCallback - 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)
AssociatedProductsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface AssociatedProductsspec - Info creation specification.com.vmware.vcenter.lcm.product.public java.lang.String create(AssociatedProductsTypes.CreateSpec spec, InvocationConfig invocationConfig)
AssociatedProductsSynchronous 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 AssociatedProductsspec - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsspec - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsspec - 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)
AssociatedProductsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface AssociatedProductsproduct - 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)
AssociatedProductsSynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface AssociatedProductsproduct - 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)
AssociatedProductsSynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface AssociatedProductsproduct - 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)
AssociatedProductsSynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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)
AssociatedProductsAsynchronous 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 AssociatedProductsproduct - 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.