public interface CustomizationSpecs extends Service, CustomizationSpecsTypes
CustomizationSpecs
interface provides methods to manage guest
customization specifications in the vCenter Server. This interface was added in
vSphere API 6.7 U1.CustomizationSpecsTypes.FilterSpec, CustomizationSpecsTypes.OsType, CustomizationSpecsTypes.Summary
RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
java.util.List<CustomizationSpecsTypes.Summary> |
list(CustomizationSpecsTypes.FilterSpec filter)
Returns information about at most 1000 visible (subject to permission checks)
guest customization specifications in vCenter matching the
CustomizationSpecsTypes.FilterSpec . |
void |
list(CustomizationSpecsTypes.FilterSpec filter,
AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback)
Returns information about at most 1000 visible (subject to permission checks)
guest customization specifications in vCenter matching the
CustomizationSpecsTypes.FilterSpec . |
void |
list(CustomizationSpecsTypes.FilterSpec filter,
AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
guest customization specifications in vCenter matching the
CustomizationSpecsTypes.FilterSpec . |
java.util.List<CustomizationSpecsTypes.Summary> |
list(CustomizationSpecsTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
guest customization specifications in vCenter matching the
CustomizationSpecsTypes.FilterSpec . |
java.util.List<CustomizationSpecsTypes.Summary> list(CustomizationSpecsTypes.FilterSpec filter)
CustomizationSpecsTypes.FilterSpec
. This method was
added in vSphere API 6.7 U1.
Synchronous method overload. Result of the invocation will be reported as a method return value.
filter
- Specification of matching guest customization specifications for which
information should be returned.
If null
, the behavior is equivalent to a CustomizationSpecsTypes.FilterSpec
with all properties
null
which means all guest customization specifications match the
filter.CustomizationSpecsTypes.FilterSpec
.InvalidArgument
- if the CustomizationSpecsTypes.FilterSpec.getOSType()
property
contains a value that is not supported by the server.UnableToAllocateResource
- if more than 1000 guest customization specifications match the CustomizationSpecsTypes.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<CustomizationSpecsTypes.Summary> list(CustomizationSpecsTypes.FilterSpec filter, InvocationConfig invocationConfig)
CustomizationSpecsTypes.FilterSpec
. This method was
added in vSphere API 6.7 U1.
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 guest customization specifications for which
information should be returned.
If null
, the behavior is equivalent to a CustomizationSpecsTypes.FilterSpec
with all properties
null
which means all guest customization specifications match the
filter.invocationConfig
- Configuration for the method invocation.CustomizationSpecsTypes.FilterSpec
.InvalidArgument
- if the CustomizationSpecsTypes.FilterSpec.getOSType()
property
contains a value that is not supported by the server.UnableToAllocateResource
- if more than 1000 guest customization specifications match the CustomizationSpecsTypes.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(CustomizationSpecsTypes.FilterSpec filter, AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback)
CustomizationSpecsTypes.FilterSpec
. This method was
added in vSphere API 6.7 U1.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Commonly used information about the guest customization specifications matching
the CustomizationSpecsTypes.FilterSpec
.
Operation Errors:
InvalidArgument
- if the CustomizationSpecsTypes.FilterSpec.getOSType()
property
contains a value that is not supported by the server.
UnableToAllocateResource
- if more than 1000 guest customization specifications match the CustomizationSpecsTypes.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 guest customization specifications for which
information should be returned.
If null
, the behavior is equivalent to a CustomizationSpecsTypes.FilterSpec
with all properties
null
which means all guest customization specifications match the
filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(CustomizationSpecsTypes.FilterSpec filter, AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
CustomizationSpecsTypes.FilterSpec
. This method was
added in vSphere API 6.7 U1.
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 guest customization specifications matching
the CustomizationSpecsTypes.FilterSpec
.
Operation Errors:
InvalidArgument
- if the CustomizationSpecsTypes.FilterSpec.getOSType()
property
contains a value that is not supported by the server.
UnableToAllocateResource
- if more than 1000 guest customization specifications match the CustomizationSpecsTypes.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 guest customization specifications for which
information should be returned.
If null
, the behavior is equivalent to a CustomizationSpecsTypes.FilterSpec
with all properties
null
which means all guest customization specifications match the
filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.