public class TransitionStub extends com.vmware.vapi.internal.bindings.Stub implements Transition
Transition
API service.
WARNING: Internal class, subject to change in future versions.
TransitionTypes._VAPI_OPERATIONS, TransitionTypes.EligibilityResult, TransitionTypes.EnableResult, TransitionTypes.FileSpec, TransitionTypes.Info, TransitionTypes.ReferenceHost, TransitionTypes.Source, TransitionTypes.State, TransitionTypes.ValidateResult
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TransitionStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TransitionStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public TransitionStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TransitionStub(ApiProvider apiProvider, StubConfigurationBase config)
public TransitionTypes.Info get(java.lang.String cluster)
Transition
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public TransitionTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
Synchronous 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 Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, AsyncCallback<TransitionTypes.Info> asyncCallback)
Transition
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
. get
in interface Transition
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.public void get(java.lang.String cluster, AsyncCallback<TransitionTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Transition
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
. get
in interface Transition
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.public java.lang.String checkEligibility_Task(java.lang.String cluster)
Transition
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
checkEligibility_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.lang.String checkEligibility_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
checkEligibility_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void checkEligibility_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Transition
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.
checkEligibility_Task
in interface Transition
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.public void checkEligibility_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Transition
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.
checkEligibility_Task
in interface Transition
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.public void cancel(java.lang.String cluster)
Transition
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.
cancel
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public void cancel(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
cancel
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void cancel(java.lang.String cluster, AsyncCallback<java.lang.Void> asyncCallback)
Transition
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
. cancel
in interface Transition
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.public void cancel(java.lang.String cluster, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Transition
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
. cancel
in interface Transition
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.public DraftImportResult importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec)
Transition
Synchronous method overload. Result of the invocation will be reported as a method return value.
importFromFile
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Input structure containing file information.public DraftImportResult importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec, InvocationConfig invocationConfig)
Transition
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
importFromFile
in interface Transition
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.public void importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec, AsyncCallback<DraftImportResult> asyncCallback)
Transition
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
. importFromFile
in interface Transition
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.public void importFromFile(java.lang.String cluster, TransitionTypes.FileSpec spec, AsyncCallback<DraftImportResult> asyncCallback, InvocationConfig invocationConfig)
Transition
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
. importFromFile
in interface Transition
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.public java.lang.String importFromHost_Task(java.lang.String cluster, java.lang.String host)
Transition
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
importFromHost_Task
in interface Transition
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
.public java.lang.String importFromHost_Task(java.lang.String cluster, java.lang.String host, InvocationConfig invocationConfig)
Transition
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.
importFromHost_Task
in interface Transition
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.public void importFromHost_Task(java.lang.String cluster, java.lang.String host, AsyncCallback<java.lang.String> asyncCallback)
Transition
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.
importFromHost_Task
in interface Transition
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.public void importFromHost_Task(java.lang.String cluster, java.lang.String host, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Transition
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.
importFromHost_Task
in interface Transition
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.public ExportResult exportConfig(java.lang.String cluster)
Transition
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.
exportConfig
in interface Transition
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.public ExportResult exportConfig(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
exportConfig
in interface Transition
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.public void exportConfig(java.lang.String cluster, AsyncCallback<ExportResult> asyncCallback)
Transition
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
. exportConfig
in interface Transition
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.public void exportConfig(java.lang.String cluster, AsyncCallback<ExportResult> asyncCallback, InvocationConfig invocationConfig)
Transition
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
. exportConfig
in interface Transition
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.public SchemaResult exportSchema(java.lang.String cluster)
Transition
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.
exportSchema
in interface Transition
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.public SchemaResult exportSchema(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
exportSchema
in interface Transition
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.public void exportSchema(java.lang.String cluster, AsyncCallback<SchemaResult> asyncCallback)
Transition
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
. exportSchema
in interface Transition
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.public void exportSchema(java.lang.String cluster, AsyncCallback<SchemaResult> asyncCallback, InvocationConfig invocationConfig)
Transition
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
. exportSchema
in interface Transition
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.public java.lang.String validateConfig_Task(java.lang.String cluster)
Transition
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
validateConfig_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.lang.String validateConfig_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
validateConfig_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void validateConfig_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Transition
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.
validateConfig_Task
in interface Transition
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.public void validateConfig_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Transition
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.
validateConfig_Task
in interface Transition
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.public java.lang.String precheck_Task(java.lang.String cluster)
Transition
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
precheck_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.lang.String precheck_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
precheck_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void precheck_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Transition
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.
precheck_Task
in interface Transition
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.public void precheck_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Transition
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.
precheck_Task
in interface Transition
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.public java.lang.String enable_Task(java.lang.String cluster)
Transition
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
enable_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.lang.String enable_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Transition
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.
enable_Task
in interface Transition
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void enable_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Transition
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.
enable_Task
in interface Transition
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.public void enable_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Transition
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.
enable_Task
in interface Transition
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.