public interface Transition extends Service, TransitionTypes
Transition
interface provides methods to manage transition of an
existing cluster to a desired configuration managed cluster. Warning:
This interface is available as Technology Preview. These are early access APIs
provided to test, automate and provide feedback on the feature. Since this can
change based on feedback, VMware does not guarantee backwards compatibility and
recommends against using them in production environments. Some Technology
Preview APIs might only be applicable to specific environments.TransitionTypes._VAPI_OPERATIONS, TransitionTypes.EligibilityResult, TransitionTypes.EnableResult, TransitionTypes.FileSpec, TransitionTypes.Info, TransitionTypes.ReferenceHost, TransitionTypes.Source, TransitionTypes.State, TransitionTypes.ValidateResult
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.String cluster)
This API cancels the workflow to transition the cluster to desired configuration
platform.
|
void |
cancel(java.lang.String cluster,
AsyncCallback<java.lang.Void> asyncCallback)
This API cancels the workflow to transition the cluster to desired configuration
platform.
|
void |
cancel(java.lang.String cluster,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
This API cancels the workflow to transition the cluster to desired configuration
platform.
|
void |
cancel(java.lang.String cluster,
InvocationConfig invocationConfig)
This API cancels the workflow to transition the cluster to desired configuration
platform.
|
java.lang.String |
checkEligibility_Task(java.lang.String cluster)
The API performs eligibility checks on the cluster to see if it can be
transitioned to desired configuration management platform.
|
void |
checkEligibility_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
The API performs eligibility checks on the cluster to see if it can be
transitioned to desired configuration management platform.
|
void |
checkEligibility_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The API performs eligibility checks on the cluster to see if it can be
transitioned to desired configuration management platform.
|
java.lang.String |
checkEligibility_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
The API performs eligibility checks on the cluster to see if it can be
transitioned to desired configuration management platform.
|
java.lang.String |
enable_Task(java.lang.String cluster)
The API enables ConfigManager on the cluster.
|
void |
enable_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
The API enables ConfigManager on the cluster.
|
void |
enable_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The API enables ConfigManager on the cluster.
|
java.lang.String |
enable_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
The API enables ConfigManager on the cluster.
|
ExportResult |
exportConfig(java.lang.String cluster)
This API will export configuration associated with the cluster generated as part
of the transition workflow.
|
void |
exportConfig(java.lang.String cluster,
AsyncCallback<ExportResult> asyncCallback)
This API will export configuration associated with the cluster generated as part
of the transition workflow.
|
void |
exportConfig(java.lang.String cluster,
AsyncCallback<ExportResult> asyncCallback,
InvocationConfig invocationConfig)
This API will export configuration associated with the cluster generated as part
of the transition workflow.
|
ExportResult |
exportConfig(java.lang.String cluster,
InvocationConfig invocationConfig)
This API will export configuration associated with the cluster generated as part
of the transition workflow.
|
SchemaResult |
exportSchema(java.lang.String cluster)
This API will export schema associated with the cluster.
|
void |
exportSchema(java.lang.String cluster,
AsyncCallback<SchemaResult> asyncCallback)
This API will export schema associated with the cluster.
|
void |
exportSchema(java.lang.String cluster,
AsyncCallback<SchemaResult> asyncCallback,
InvocationConfig invocationConfig)
This API will export schema associated with the cluster.
|
SchemaResult |
exportSchema(java.lang.String cluster,
InvocationConfig invocationConfig)
This API will export schema associated with the cluster.
|
TransitionTypes.Info |
get(java.lang.String cluster)
This API returns the current transition state of the cluster.
|
void |
get(java.lang.String cluster,
AsyncCallback<TransitionTypes.Info> asyncCallback)
This API returns the current transition state of the cluster.
|
void |
get(java.lang.String cluster,
AsyncCallback<TransitionTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
This API returns the current transition state of the cluster.
|
TransitionTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
This API returns the current transition state of the cluster.
|
DraftImportResult |
importFromFile(java.lang.String cluster,
TransitionTypes.FileSpec spec)
The API imports the desired configuration from a file.
|
void |
importFromFile(java.lang.String cluster,
TransitionTypes.FileSpec spec,
AsyncCallback<DraftImportResult> asyncCallback)
The API imports the desired configuration from a file.
|
void |
importFromFile(java.lang.String cluster,
TransitionTypes.FileSpec spec,
AsyncCallback<DraftImportResult> asyncCallback,
InvocationConfig invocationConfig)
The API imports the desired configuration from a file.
|
DraftImportResult |
importFromFile(java.lang.String cluster,
TransitionTypes.FileSpec spec,
InvocationConfig invocationConfig)
The API imports the desired configuration from a file.
|
java.lang.String |
importFromHost_Task(java.lang.String cluster,
java.lang.String host)
The API imports the desired configuration from a reference host in the cluster.
|
void |
importFromHost_Task(java.lang.String cluster,
java.lang.String host,
AsyncCallback<java.lang.String> asyncCallback)
The API imports the desired configuration from a reference host in the cluster.
|
void |
importFromHost_Task(java.lang.String cluster,
java.lang.String host,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The API imports the desired configuration from a reference host in the cluster.
|
java.lang.String |
importFromHost_Task(java.lang.String cluster,
java.lang.String host,
InvocationConfig invocationConfig)
The API imports the desired configuration from a reference host in the cluster.
|
java.lang.String |
precheck_Task(java.lang.String cluster)
The API computes impact of transitioning the cluster to be managed by desired
configuration platform.
|
void |
precheck_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
The API computes impact of transitioning the cluster to be managed by desired
configuration platform.
|
void |
precheck_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The API computes impact of transitioning the cluster to be managed by desired
configuration platform.
|
java.lang.String |
precheck_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
The API computes impact of transitioning the cluster to be managed by desired
configuration platform.
|
java.lang.String |
validateConfig_Task(java.lang.String cluster)
The API validates the imported desired configuration against the schema and on
the hosts with validation plugins.
|
void |
validateConfig_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
The API validates the imported desired configuration against the schema and on
the hosts with validation plugins.
|
void |
validateConfig_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The API validates the imported desired configuration against the schema and on
the hosts with validation plugins.
|
java.lang.String |
validateConfig_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
The API validates the imported desired configuration against the schema and on
the hosts with validation plugins.
|
TransitionTypes.Info get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. TransitionTypes.Info get(java.lang.String cluster, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. void get(java.lang.String cluster, AsyncCallback<TransitionTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The transition state of the cluster.
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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, AsyncCallback<TransitionTypes.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:
The transition state of the cluster.
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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String checkEligibility_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String checkEligibility_Task(java.lang.String cluster, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void checkEligibility_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void checkEligibility_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void cancel(java.lang.String cluster)
TransitionTypes.Info.Status.STARTED
,
the associated state information will be deleted. Otherwise, cancel will not be
allowed and the API will throw an error. Warning: This method is
available as Technology Preview. These are early access APIs provided to test,
automate and provide feedback on the feature. Since this can change based on
feedback, VMware does not guarantee backwards compatibility and recommends
against using them in production environments. Some Technology Preview APIs
might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. void cancel(java.lang.String cluster, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
,
the associated state information will be deleted. Otherwise, cancel will not be
allowed and the API will throw an error. Warning: This method is
available as Technology Preview. These are early access APIs provided to test,
automate and provide feedback on the feature. Since this can change based on
feedback, VMware does not guarantee backwards compatibility and recommends
against using them in production environments. Some Technology Preview APIs
might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. void cancel(java.lang.String cluster, AsyncCallback<java.lang.Void> asyncCallback)
TransitionTypes.Info.Status.STARTED
,
the associated state information will be deleted. Otherwise, cancel will not be
allowed and the API will throw an error. Warning: This method is
available as Technology Preview. These are early access APIs provided to test,
automate and provide feedback on the feature. Since this can change based on
feedback, VMware does not guarantee backwards compatibility and recommends
against using them in production environments. Some Technology Preview APIs
might only be applicable to specific environments.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(java.lang.String cluster, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
,
the associated state information will be deleted. Otherwise, cancel will not be
allowed and the API will throw an error. Warning: This method is
available as Technology Preview. These are early access APIs provided to test,
automate and provide feedback on the feature. Since this can change based on
feedback, VMware does not guarantee backwards compatibility and recommends
against using them in production environments. Some Technology Preview APIs
might only be applicable to specific environments.
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 there is unknown internal error. The accompanying error message will give
more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.DraftImportResult importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Input structure containing file information.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. DraftImportResult importFromFile(java.lang.String cluster, TransitionTypes.FileSpec 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Input structure containing file information.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. void importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec, AsyncCallback<DraftImportResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Output structure containing the status of the operation and error if any.
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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Input structure containing file information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec, AsyncCallback<DraftImportResult> 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:
Output structure containing the status of the operation and error if any.
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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Modify
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Input structure containing file information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String importFromHost_Task(java.lang.String cluster, java.lang.String host)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.host
- Identifier of the reference host
The parameter must be an identifier for the resource type: HostSystem
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String importFromHost_Task(java.lang.String cluster, java.lang.String host, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.host
- Identifier of the reference host
The parameter must be an identifier for the resource type: HostSystem
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void importFromHost_Task(java.lang.String cluster, java.lang.String host, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.host
- Identifier of the reference host
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void importFromHost_Task(java.lang.String cluster, java.lang.String host, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.host
- Identifier of the reference host
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ExportResult exportConfig(java.lang.String cluster)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.ExportResult
contains the
configuration document encoded as JSON.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. ExportResult exportConfig(java.lang.String cluster, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.ExportResult
contains the
configuration document encoded as JSON.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. void exportConfig(java.lang.String cluster, AsyncCallback<ExportResult> asyncCallback)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
This output structure of type ExportResult
contains the
configuration document encoded as JSON.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void exportConfig(java.lang.String cluster, AsyncCallback<ExportResult> asyncCallback, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
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:
This output structure of type ExportResult
contains the
configuration document encoded as JSON.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SchemaResult exportSchema(java.lang.String cluster)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.SchemaResult
containing the
schema document encoded as JSON.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. SchemaResult exportSchema(java.lang.String cluster, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.SchemaResult
containing the
schema document encoded as JSON.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. void exportSchema(java.lang.String cluster, AsyncCallback<SchemaResult> asyncCallback)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
This output structure of type SchemaResult
containing the
schema document encoded as JSON.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void exportSchema(java.lang.String cluster, AsyncCallback<SchemaResult> asyncCallback, InvocationConfig invocationConfig)
TransitionTypes.Info.Status.STARTED
.
Warning: This method is available as Technology Preview. These are early
access APIs provided to test, automate and provide feedback on the feature.
Since this can change based on feedback, VMware does not guarantee backwards
compatibility and recommends against using them in production environments. Some
Technology Preview APIs might only be applicable to specific environments.
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:
This output structure of type SchemaResult
containing the
schema document encoded as JSON.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotAllowedInCurrentState
- If the status of transition process is not TransitionTypes.Info.Status.STARTED
.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Export
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.Export
. cluster
- Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String validateConfig_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String validateConfig_Task(java.lang.String cluster, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void validateConfig_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void validateConfig_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String precheck_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String precheck_Task(java.lang.String cluster, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void precheck_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void precheck_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String enable_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String enable_Task(java.lang.String cluster, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void enable_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void enable_Task(java.lang.String cluster, 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 cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.