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.CreateSpec, CustomizationSpecsTypes.FilterSpec, CustomizationSpecsTypes.Format, CustomizationSpecsTypes.Info, CustomizationSpecsTypes.Metadata, CustomizationSpecsTypes.OsType, CustomizationSpecsTypes.Spec, CustomizationSpecsTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, 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.lang.String |
create(CustomizationSpecsTypes.CreateSpec spec)
Creates a customization specification.
|
void |
create(CustomizationSpecsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a customization specification.
|
void |
create(CustomizationSpecsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a customization specification.
|
java.lang.String |
create(CustomizationSpecsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a customization specification.
|
void |
delete(java.lang.String name)
Deletes a customization specification with the specified identifier.
|
void |
delete(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes a customization specification with the specified identifier.
|
void |
delete(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes a customization specification with the specified identifier.
|
void |
delete(java.lang.String name,
InvocationConfig invocationConfig)
Deletes a customization specification with the specified identifier.
|
java.lang.String |
export(java.lang.String name,
CustomizationSpecsTypes.Format format)
Returns the content of the customization specification in the specified format.
|
void |
export(java.lang.String name,
CustomizationSpecsTypes.Format format,
AsyncCallback<java.lang.String> asyncCallback)
Returns the content of the customization specification in the specified format.
|
void |
export(java.lang.String name,
CustomizationSpecsTypes.Format format,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns the content of the customization specification in the specified format.
|
java.lang.String |
export(java.lang.String name,
CustomizationSpecsTypes.Format format,
InvocationConfig invocationConfig)
Returns the content of the customization specification in the specified format.
|
CustomizationSpecsTypes.Info |
get(java.lang.String name)
Returns the guest customization specification from vCenter with the specified
identifier.
|
void |
get(java.lang.String name,
AsyncCallback<CustomizationSpecsTypes.Info> asyncCallback)
Returns the guest customization specification from vCenter with the specified
identifier.
|
void |
get(java.lang.String name,
AsyncCallback<CustomizationSpecsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the guest customization specification from vCenter with the specified
identifier.
|
CustomizationSpecsTypes.Info |
get(java.lang.String name,
InvocationConfig invocationConfig)
Returns the guest customization specification from vCenter with the specified
identifier.
|
CustomizationSpecsTypes.CreateSpec |
importSpecification(java.lang.String customizationSpec)
Converts a well formatted string to a
CustomizationSpecsTypes.CreateSpec. |
void |
importSpecification(java.lang.String customizationSpec,
AsyncCallback<CustomizationSpecsTypes.CreateSpec> asyncCallback)
Converts a well formatted string to a
CustomizationSpecsTypes.CreateSpec. |
void |
importSpecification(java.lang.String customizationSpec,
AsyncCallback<CustomizationSpecsTypes.CreateSpec> asyncCallback,
InvocationConfig invocationConfig)
Converts a well formatted string to a
CustomizationSpecsTypes.CreateSpec. |
CustomizationSpecsTypes.CreateSpec |
importSpecification(java.lang.String customizationSpec,
InvocationConfig invocationConfig)
Converts a well formatted string to a
CustomizationSpecsTypes.CreateSpec. |
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. |
void |
set(java.lang.String name,
CustomizationSpecsTypes.Spec spec)
Sets an existing specification, possibly after retrieving (by using
CustomizationSpecs.get(java.lang.String)) and editing it. |
void |
set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Sets an existing specification, possibly after retrieving (by using
CustomizationSpecs.get(java.lang.String)) and editing it. |
void |
set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Sets an existing specification, possibly after retrieving (by using
CustomizationSpecs.get(java.lang.String)) and editing it. |
void |
set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
InvocationConfig invocationConfig)
Sets an existing specification, possibly after retrieving (by using
CustomizationSpecs.get(java.lang.String)) and editing it. |
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)
CustomizationSpecsCustomizationSpecsTypes.FilterSpec. This method was
added in vSphere API 6.7.1.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list in interface CustomizationSpecsfilter - 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)
CustomizationSpecsCustomizationSpecsTypes.FilterSpec. This method was
added in vSphere API 6.7.1.
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 CustomizationSpecsfilter - 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)
CustomizationSpecsCustomizationSpecsTypes.FilterSpec. This method was
added in vSphere API 6.7.1.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation 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 CustomizationSpecsfilter - 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)
CustomizationSpecsCustomizationSpecsTypes.FilterSpec. This method was
added in vSphere API 6.7.1.
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:
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 CustomizationSpecsfilter - 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.public java.lang.String create(CustomizationSpecsTypes.CreateSpec spec)
CustomizationSpecsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface CustomizationSpecsspec - The information i.e. name, description and the settings i.e hostname, ip address
etc for the new customization specification that needs to be created.com.vmware.vcenter.guest.CustomizationSpec.public java.lang.String create(CustomizationSpecsTypes.CreateSpec spec, InvocationConfig invocationConfig)
CustomizationSpecsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface CustomizationSpecsspec - The information i.e. name, description and the settings i.e hostname, ip address
etc for the new customization specification that needs to be created.invocationConfig - Configuration for the method invocation.com.vmware.vcenter.guest.CustomizationSpec.public void create(CustomizationSpecsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The name of the customization specification that is created.
The return value will be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.
Operation Errors:
AlreadyExists - if a customization specification is already present with the same name.
InvalidArgument - if the specified specification is not a valid one.
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.
create in interface CustomizationSpecsspec - The information i.e. name, description and the settings i.e hostname, ip address
etc for the new customization specification that needs to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(CustomizationSpecsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
The name of the customization specification that is created.
The return value will be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.
Operation Errors:
AlreadyExists - if a customization specification is already present with the same name.
InvalidArgument - if the specified specification is not a valid one.
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.
create in interface CustomizationSpecsspec - The information i.e. name, description and the settings i.e hostname, ip address
etc for the new customization specification that needs to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public CustomizationSpecsTypes.Info get(java.lang.String name)
CustomizationSpecsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface CustomizationSpecsname - The name of the customization specification.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.public CustomizationSpecsTypes.Info get(java.lang.String name, InvocationConfig invocationConfig)
CustomizationSpecsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface CustomizationSpecsname - The name of the customization specification.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.invocationConfig - Configuration for the method invocation.public void get(java.lang.String name,
AsyncCallback<CustomizationSpecsTypes.Info> asyncCallback)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
A customization spec with the specified identifier.
Operation Errors:
NotFound - if a customization specification is not found.
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.
get in interface CustomizationSpecsname - The name of the customization specification.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String name,
AsyncCallback<CustomizationSpecsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
A customization spec with the specified identifier.
Operation Errors:
NotFound - if a customization specification is not found.
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.
get in interface CustomizationSpecsname - The name of the customization specification.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void set(java.lang.String name,
CustomizationSpecsTypes.Spec spec)
CustomizationSpecsCustomizationSpecs.get(java.lang.String)) and editing it. This method
was added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
set in interface CustomizationSpecsname - The name of the customization specification that needs to be set.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.spec - The new specification that will overwrite the existing specification.public void set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
InvocationConfig invocationConfig)
CustomizationSpecsCustomizationSpecs.get(java.lang.String)) and editing it. This method
was added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
set in interface CustomizationSpecsname - The name of the customization specification that needs to be set.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.spec - The new specification that will overwrite the existing specification.invocationConfig - Configuration for the method invocation.public void set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback)
CustomizationSpecsCustomizationSpecs.get(java.lang.String)) and editing it. This method
was added in vSphere API 7.0.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidArgument - If, based on the item's fingerprint value, the set process detects that the
specification has changed since its retrieval, then the method throws
InvalidArgument exception to warn the client that he might overwrite another
client's change.
InvalidArgument - If the settings in spec are not valid.
NotFound - if a customization specification is not found.
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.
set in interface CustomizationSpecsname - The name of the customization specification that needs to be set.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.spec - The new specification that will overwrite the existing specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void set(java.lang.String name,
CustomizationSpecsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
CustomizationSpecsCustomizationSpecs.get(java.lang.String)) and editing it. This method
was added in vSphere API 7.0.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidArgument - If, based on the item's fingerprint value, the set process detects that the
specification has changed since its retrieval, then the method throws
InvalidArgument exception to warn the client that he might overwrite another
client's change.
InvalidArgument - If the settings in spec are not valid.
NotFound - if a customization specification is not found.
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.
set in interface CustomizationSpecsname - The name of the customization specification that needs to be set.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.spec - The new specification that will overwrite the existing specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String name)
CustomizationSpecsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface CustomizationSpecsname - The name of the customization specification that needs to be deleted.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.public void delete(java.lang.String name,
InvocationConfig invocationConfig)
CustomizationSpecsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface CustomizationSpecsname - The name of the customization specification that needs to be deleted.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - if a customization specification is not found.
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.
delete in interface CustomizationSpecsname - The name of the customization specification that needs to be deleted.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - if a customization specification is not found.
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.
delete in interface CustomizationSpecsname - The name of the customization specification that needs to be deleted.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String export(java.lang.String name,
CustomizationSpecsTypes.Format format)
CustomizationSpecsSynchronous method overload. Result of the invocation will be reported as a method return value.
export in interface CustomizationSpecsname - The name of the customization specification that has to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.format - The format in which the customization specification has to be returned.public java.lang.String export(java.lang.String name,
CustomizationSpecsTypes.Format format,
InvocationConfig invocationConfig)
CustomizationSpecsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
export in interface CustomizationSpecsname - The name of the customization specification that has to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.format - The format in which the customization specification has to be returned.invocationConfig - Configuration for the method invocation.public void export(java.lang.String name,
CustomizationSpecsTypes.Format format,
AsyncCallback<java.lang.String> asyncCallback)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The string representation of the customization specification in the specified
format.
Operation Errors:
InvalidArgument - If value of format is not valid.
NotFound - if the customization specification is not found.
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.
export in interface CustomizationSpecsname - The name of the customization specification that has to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.format - The format in which the customization specification has to be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void export(java.lang.String name,
CustomizationSpecsTypes.Format format,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
CustomizationSpecsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
The string representation of the customization specification in the specified
format.
Operation Errors:
InvalidArgument - If value of format is not valid.
NotFound - if the customization specification is not found.
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.
export in interface CustomizationSpecsname - The name of the customization specification that has to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.guest.CustomizationSpec.format - The format in which the customization specification has to be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public CustomizationSpecsTypes.CreateSpec importSpecification(java.lang.String customizationSpec)
CustomizationSpecsCustomizationSpecsTypes.CreateSpec. The resulting
object can be passed to CustomizationSpecs.create(com.vmware.vcenter.guest.CustomizationSpecsTypes.CreateSpec) method. This method was
added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
importSpecification in interface CustomizationSpecscustomizationSpec - content to be converted to the spec.CustomizationSpecsTypes.CreateSpecpublic CustomizationSpecsTypes.CreateSpec importSpecification(java.lang.String customizationSpec, InvocationConfig invocationConfig)
CustomizationSpecsCustomizationSpecsTypes.CreateSpec. The resulting
object can be passed to CustomizationSpecs.create(com.vmware.vcenter.guest.CustomizationSpecsTypes.CreateSpec) method. This method was
added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
importSpecification in interface CustomizationSpecscustomizationSpec - content to be converted to the spec.invocationConfig - Configuration for the method invocation.CustomizationSpecsTypes.CreateSpecpublic void importSpecification(java.lang.String customizationSpec,
AsyncCallback<CustomizationSpecsTypes.CreateSpec> asyncCallback)
CustomizationSpecsCustomizationSpecsTypes.CreateSpec. The resulting
object can be passed to CustomizationSpecs.create(com.vmware.vcenter.guest.CustomizationSpecsTypes.CreateSpec) method. This method was
added in vSphere API 7.0.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
A proper specification of type CustomizationSpecsTypes.CreateSpec
Operation Errors:
InvalidArgument - if the specified content cannot be properly converted into a proper valid CustomizationSpecsTypes.CreateSpec object.
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.
importSpecification in interface CustomizationSpecscustomizationSpec - content to be converted to the spec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void importSpecification(java.lang.String customizationSpec,
AsyncCallback<CustomizationSpecsTypes.CreateSpec> asyncCallback,
InvocationConfig invocationConfig)
CustomizationSpecsCustomizationSpecsTypes.CreateSpec. The resulting
object can be passed to CustomizationSpecs.create(com.vmware.vcenter.guest.CustomizationSpecsTypes.CreateSpec) method. This method was
added in vSphere API 7.0.0.0.
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:
A proper specification of type CustomizationSpecsTypes.CreateSpec
Operation Errors:
InvalidArgument - if the specified content cannot be properly converted into a proper valid CustomizationSpecsTypes.CreateSpec object.
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.
importSpecification in interface CustomizationSpecscustomizationSpec - content to be converted to the spec.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.