public class BaseImagesStub extends com.vmware.vapi.internal.bindings.Stub implements BaseImages
BaseImages
API service.
WARNING: Internal class, subject to change in future versions.
BaseImagesTypes.CategoryType, BaseImagesTypes.FilterSpec, BaseImagesTypes.Summary
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
BaseImagesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
BaseImagesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BaseImagesTypes.Summary> |
list(BaseImagesTypes.FilterSpec filter)
Returns a list of currently available base-images in the depot.
|
void |
list(BaseImagesTypes.FilterSpec filter,
AsyncCallback<java.util.List<BaseImagesTypes.Summary>> asyncCallback)
Returns a list of currently available base-images in the depot.
|
void |
list(BaseImagesTypes.FilterSpec filter,
AsyncCallback<java.util.List<BaseImagesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of currently available base-images in the depot.
|
java.util.List<BaseImagesTypes.Summary> |
list(BaseImagesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns a list of currently available base-images in the depot.
|
public BaseImagesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public BaseImagesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<BaseImagesTypes.Summary> list(BaseImagesTypes.FilterSpec filter)
BaseImages
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface BaseImages
filter
- The specification of matching base-images.
If null
, the behavior is equivalent to a BaseImagesTypes.FilterSpec
with all
properties null
, which means all base-images match the filter.public java.util.List<BaseImagesTypes.Summary> list(BaseImagesTypes.FilterSpec filter, InvocationConfig invocationConfig)
BaseImages
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 BaseImages
filter
- The specification of matching base-images.
If null
, the behavior is equivalent to a BaseImagesTypes.FilterSpec
with all
properties null
, which means all base-images match the filter.invocationConfig
- Configuration for the method invocation.public void list(BaseImagesTypes.FilterSpec filter, AsyncCallback<java.util.List<BaseImagesTypes.Summary>> asyncCallback)
BaseImages
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of base-images in the depot. These will be sorted by the version of the
base-image.
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 BaseImages
filter
- The specification of matching base-images.
If null
, the behavior is equivalent to a BaseImagesTypes.FilterSpec
with all
properties null
, which means all base-images match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(BaseImagesTypes.FilterSpec filter, AsyncCallback<java.util.List<BaseImagesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
BaseImages
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 base-images in the depot. These will be sorted by the version of the
base-image.
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 BaseImages
filter
- The specification of matching base-images.
If null
, the behavior is equivalent to a BaseImagesTypes.FilterSpec
with all
properties null
, which means all base-images match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.