public class CustomizationSpecsStub extends com.vmware.vapi.internal.bindings.Stub implements CustomizationSpecs
CustomizationSpecs
API service.
WARNING: Internal class, subject to change in future versions.
CustomizationSpecsTypes.FilterSpec, CustomizationSpecsTypes.OsType, CustomizationSpecsTypes.Summary
apiProvider, converter, ifaceId, securityContext
RESOURCE_TYPE
Constructor and Description |
---|
CustomizationSpecsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CustomizationSpecsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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 . |
public CustomizationSpecsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CustomizationSpecsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<CustomizationSpecsTypes.Summary> list(CustomizationSpecsTypes.FilterSpec filter)
CustomizationSpecs
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.
list
in interface CustomizationSpecs
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
.public java.util.List<CustomizationSpecsTypes.Summary> list(CustomizationSpecsTypes.FilterSpec filter, InvocationConfig invocationConfig)
CustomizationSpecs
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.
list
in interface CustomizationSpecs
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
.public void list(CustomizationSpecsTypes.FilterSpec filter, AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback)
CustomizationSpecs
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.
list
in interface CustomizationSpecs
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.public void list(CustomizationSpecsTypes.FilterSpec filter, AsyncCallback<java.util.List<CustomizationSpecsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
CustomizationSpecs
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.
list
in interface CustomizationSpecs
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.