public interface ResourcePool extends Service, ResourcePoolTypes
This interface does not include virtual appliances in the inventory of resource pools even though part of the behavior of a virtual appliance is to act like a resource pool.
ResourcePoolTypes.FilterSpec, ResourcePoolTypes.Info, ResourcePoolTypes.Summary
RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
ResourcePoolTypes.Info |
get(java.lang.String resourcePool)
Retrieves information about the resource pool indicated by
resourcePool . |
void |
get(java.lang.String resourcePool,
AsyncCallback<ResourcePoolTypes.Info> asyncCallback)
Retrieves information about the resource pool indicated by
resourcePool . |
void |
get(java.lang.String resourcePool,
AsyncCallback<ResourcePoolTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the resource pool indicated by
resourcePool . |
ResourcePoolTypes.Info |
get(java.lang.String resourcePool,
InvocationConfig invocationConfig)
Retrieves information about the resource pool indicated by
resourcePool . |
java.util.List<ResourcePoolTypes.Summary> |
list(ResourcePoolTypes.FilterSpec filter)
Returns information about at most 1000 visible (subject to permission checks)
resource pools in vCenter matching the
ResourcePoolTypes.FilterSpec . |
void |
list(ResourcePoolTypes.FilterSpec filter,
AsyncCallback<java.util.List<ResourcePoolTypes.Summary>> asyncCallback)
Returns information about at most 1000 visible (subject to permission checks)
resource pools in vCenter matching the
ResourcePoolTypes.FilterSpec . |
void |
list(ResourcePoolTypes.FilterSpec filter,
AsyncCallback<java.util.List<ResourcePoolTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
resource pools in vCenter matching the
ResourcePoolTypes.FilterSpec . |
java.util.List<ResourcePoolTypes.Summary> |
list(ResourcePoolTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
resource pools in vCenter matching the
ResourcePoolTypes.FilterSpec . |
ResourcePoolTypes.Info get(java.lang.String resourcePool)
resourcePool
.
Synchronous method overload. Result of the invocation will be reported as a method return value.
resourcePool
- Identifier of the resource pool for which information should be retrieved.
The parameter must be an identifier for the resource type: ResourcePool
.NotFound
- if the resource pool indicated by resourcePool
does not exist.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.ResourcePoolTypes.Info get(java.lang.String resourcePool, InvocationConfig invocationConfig)
resourcePool
.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
resourcePool
- Identifier of the resource pool for which information should be retrieved.
The parameter must be an identifier for the resource type: ResourcePool
.invocationConfig
- Configuration for the method invocation.NotFound
- if the resource pool indicated by resourcePool
does not exist.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void get(java.lang.String resourcePool, AsyncCallback<ResourcePoolTypes.Info> asyncCallback)
resourcePool
.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
information about the resource pool.
Operation Errors:
NotFound
- if the resource pool indicated by resourcePool
does not exist.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
resourcePool
- Identifier of the resource pool for which information should be retrieved.
The parameter must be an identifier for the resource type: ResourcePool
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String resourcePool, AsyncCallback<ResourcePoolTypes.Info> asyncCallback, InvocationConfig invocationConfig)
resourcePool
.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
information about the resource pool.
Operation Errors:
NotFound
- if the resource pool indicated by resourcePool
does not exist.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
resourcePool
- Identifier of the resource pool for which information should be retrieved.
The parameter must be an identifier for the resource type: ResourcePool
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<ResourcePoolTypes.Summary> list(ResourcePoolTypes.FilterSpec filter)
ResourcePoolTypes.FilterSpec
.
Synchronous method overload. Result of the invocation will be reported as a method return value.
filter
- Specification of matching resource pools for which information should be
returned.
If null
, the behavior is equivalent to a ResourcePoolTypes.FilterSpec
with all properties null
which means all resource pools match the filter.ResourcePoolTypes.FilterSpec
.UnableToAllocateResource
- if more than 1000 resource pools match the ResourcePoolTypes.FilterSpec
.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.java.util.List<ResourcePoolTypes.Summary> list(ResourcePoolTypes.FilterSpec filter, InvocationConfig invocationConfig)
ResourcePoolTypes.FilterSpec
.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
filter
- Specification of matching resource pools for which information should be
returned.
If null
, the behavior is equivalent to a ResourcePoolTypes.FilterSpec
with all properties null
which means all resource pools match the filter.invocationConfig
- Configuration for the method invocation.ResourcePoolTypes.FilterSpec
.UnableToAllocateResource
- if more than 1000 resource pools match the ResourcePoolTypes.FilterSpec
.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.void list(ResourcePoolTypes.FilterSpec filter, AsyncCallback<java.util.List<ResourcePoolTypes.Summary>> asyncCallback)
ResourcePoolTypes.FilterSpec
.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Commonly used information about the resource pools matching the ResourcePoolTypes.FilterSpec
.
Operation Errors:
UnableToAllocateResource
- if more than 1000 resource pools match the ResourcePoolTypes.FilterSpec
.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
filter
- Specification of matching resource pools for which information should be
returned.
If null
, the behavior is equivalent to a ResourcePoolTypes.FilterSpec
with all properties null
which means all resource pools match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(ResourcePoolTypes.FilterSpec filter, AsyncCallback<java.util.List<ResourcePoolTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ResourcePoolTypes.FilterSpec
.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Commonly used information about the resource pools matching the ResourcePoolTypes.FilterSpec
.
Operation Errors:
UnableToAllocateResource
- if more than 1000 resource pools match the ResourcePoolTypes.FilterSpec
.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
filter
- Specification of matching resource pools for which information should be
returned.
If null
, the behavior is equivalent to a ResourcePoolTypes.FilterSpec
with all properties null
which means all resource pools match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.