public interface Config extends Service, ConfigTypes
Config interface provides methods to manage desired configuration
specification of vCenter.ConfigTypes._VAPI_OPERATIONS, ConfigTypes.CreateSpec, ConfigTypes.Info, ConfigTypes.ScanSpec_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
create(ConfigTypes.CreateSpec spec)
Creates a Profile.
|
void |
create(ConfigTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a Profile.
|
void |
create(ConfigTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a Profile.
|
java.lang.String |
create(ConfigTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a Profile.
|
void |
delete()
Deletes a profile.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback)
Deletes a profile.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes a profile.
|
void |
delete(InvocationConfig invocationConfig)
Deletes a profile.
|
ConfigTypes.Info |
get()
Returns information about a profile.
|
void |
get(AsyncCallback<ConfigTypes.Info> asyncCallback)
Returns information about a profile.
|
void |
get(AsyncCallback<ConfigTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a profile.
|
ConfigTypes.Info |
get(InvocationConfig invocationConfig)
Returns information about a profile.
|
java.lang.String |
scan_Task(java.lang.String version)
Scans all the components in the profiles against the applied profile.
|
void |
scan_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback)
Scans all the components in the profiles against the applied profile.
|
void |
scan_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Scans all the components in the profiles against the applied profile.
|
java.lang.String |
scan_Task(java.lang.String version,
InvocationConfig invocationConfig)
Scans all the components in the profiles against the applied profile.
|
java.lang.String |
scanDesiredState_Task(ConfigTypes.ScanSpec spec)
Scans all the components in the desired state against the applied profile.
|
void |
scanDesiredState_Task(ConfigTypes.ScanSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Scans all the components in the desired state against the applied profile.
|
void |
scanDesiredState_Task(ConfigTypes.ScanSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Scans all the components in the desired state against the applied profile.
|
java.lang.String |
scanDesiredState_Task(ConfigTypes.ScanSpec spec,
InvocationConfig invocationConfig)
Scans all the components in the desired state against the applied profile.
|
java.lang.String create(ConfigTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec - Specification of the profile to be created.com.vmware.appliance.vcenter.settings.v1.config.profile.AlreadyExists - if a profile with the specified name already exists.Error - if the system reports an error while responding to the request.InvalidArgument - if any of the specified parameters are invalid.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.java.lang.String create(ConfigTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
spec - Specification of the profile to be created.invocationConfig - Configuration for the method invocation.com.vmware.appliance.vcenter.settings.v1.config.profile.AlreadyExists - if a profile with the specified name already exists.Error - if the system reports an error while responding to the request.InvalidArgument - if any of the specified parameters are invalid.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.void create(ConfigTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
ID of newly-created profile.
The return value will be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.profile.
Operation Errors:
AlreadyExists - if a profile with the specified name already exists.
Error - if the system reports an error while responding to the request.
InvalidArgument - if any of the specified parameters are invalid.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
spec - Specification of the profile to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void create(ConfigTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
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:
ID of newly-created profile.
The return value will be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.profile.
Operation Errors:
AlreadyExists - if a profile with the specified name already exists.
Error - if the system reports an error while responding to the request.
InvalidArgument - if any of the specified parameters are invalid.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
spec - Specification of the profile to be created.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ConfigTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - if the system reports an error while responding to the request.InvalidArgument - If given version is different than the latest one.NotFound - If there is no profile or version associated with profile or version in the system.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.ConfigTypes.Info get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
invocationConfig - Configuration for the method invocation.Error - if the system reports an error while responding to the request.InvalidArgument - If given version is different than the latest one.NotFound - If there is no profile or version associated with profile or version in the system.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.void get(AsyncCallback<ConfigTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the specified profile.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - If given version is different than the latest one.
NotFound - If there is no profile or version associated with profile or version in the system.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<ConfigTypes.Info> asyncCallback, InvocationConfig invocationConfig)
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:
Information about the specified profile.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - If given version is different than the latest one.
NotFound - If there is no profile or version associated with profile or version in the system.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void delete()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - if the system reports an error while responding to the request.NotAllowedInCurrentState - if any other operation running on the same profile.NotFound - if the profile is not found.ServiceUnavailable - if the system is unable to communicate service to complete the request.Unauthenticated - if the user can not be authenticated.void delete(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
invocationConfig - Configuration for the method invocation.Error - if the system reports an error while responding to the request.NotAllowedInCurrentState - if any other operation running on the same profile.NotFound - if the profile is not found.ServiceUnavailable - if the system is unable to communicate service to complete the request.Unauthenticated - if the user can not be authenticated.void delete(AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotAllowedInCurrentState - if any other operation running on the same profile.
NotFound - if the profile is not found.
ServiceUnavailable - if the system is unable to communicate service to complete the request.
Unauthenticated - if the user can not be authenticated.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void delete(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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:
Error - if the system reports an error while responding to the request.
NotAllowedInCurrentState - if any other operation running on the same profile.
NotFound - if the profile is not found.
ServiceUnavailable - if the system is unable to communicate service to complete the request.
Unauthenticated - if the user can not be authenticated.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String scan_Task(java.lang.String version)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
version - version of the profile.
The parameter must be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.version.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no profile associated with profile in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.java.lang.String scan_Task(java.lang.String version,
InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
version - version of the profile.
The parameter must be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.version.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no profile associated with profile in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.void scan_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no profile associated with profile in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
version - version of the profile.
The parameter must be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.version.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void scan_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no profile associated with profile in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
version - version of the profile.
The parameter must be an identifier for the resource type: com.vmware.appliance.vcenter.settings.v1.config.version.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String scanDesiredState_Task(ConfigTypes.ScanSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec - 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.java.lang.String scanDesiredState_Task(ConfigTypes.ScanSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
spec - invocationConfig - Configuration for the method invocation.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.void scanDesiredState_Task(ConfigTypes.ScanSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
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.
spec - asyncCallback - Receives the status (progress, result or error) of the operation invocation.void scanDesiredState_Task(ConfigTypes.ScanSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
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.
spec - asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.