public class AddOnsStub extends com.vmware.vapi.internal.bindings.Stub implements AddOns
AddOns
API service.
WARNING: Internal class, subject to change in future versions.
AddOnsTypes.AddOnVersionSummary, AddOnsTypes.CategoryType, AddOnsTypes.FilterSpec, AddOnsTypes.Summary
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
AddOnsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AddOnsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AddOnsTypes.Summary> |
list(AddOnsTypes.FilterSpec filter)
Returns a list of currently available OEM add-ons in the depot.
|
void |
list(AddOnsTypes.FilterSpec filter,
AsyncCallback<java.util.List<AddOnsTypes.Summary>> asyncCallback)
Returns a list of currently available OEM add-ons in the depot.
|
void |
list(AddOnsTypes.FilterSpec filter,
AsyncCallback<java.util.List<AddOnsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of currently available OEM add-ons in the depot.
|
java.util.List<AddOnsTypes.Summary> |
list(AddOnsTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns a list of currently available OEM add-ons in the depot.
|
public AddOnsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AddOnsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<AddOnsTypes.Summary> list(AddOnsTypes.FilterSpec filter)
AddOns
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface AddOns
filter
- The specification of matching OEM add-ons.
If null
, the behavior is equivalent to a AddOnsTypes.FilterSpec
with all
properties null
, which means all OEM add-ons match the filter.public java.util.List<AddOnsTypes.Summary> list(AddOnsTypes.FilterSpec filter, InvocationConfig invocationConfig)
AddOns
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 AddOns
filter
- The specification of matching OEM add-ons.
If null
, the behavior is equivalent to a AddOnsTypes.FilterSpec
with all
properties null
, which means all OEM add-ons match the filter.invocationConfig
- Configuration for the method invocation.public void list(AddOnsTypes.FilterSpec filter, AsyncCallback<java.util.List<AddOnsTypes.Summary>> asyncCallback)
AddOns
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of OEM add-ons in the depot.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. list
in interface AddOns
filter
- The specification of matching OEM add-ons.
If null
, the behavior is equivalent to a AddOnsTypes.FilterSpec
with all
properties null
, which means all OEM add-ons match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AddOnsTypes.FilterSpec filter, AsyncCallback<java.util.List<AddOnsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
AddOns
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 OEM add-ons in the depot.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. list
in interface AddOns
filter
- The specification of matching OEM add-ons.
If null
, the behavior is equivalent to a AddOnsTypes.FilterSpec
with all
properties null
, which means all OEM add-ons match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.