public interface Configuration extends com.vmware.vapi.bindings.Service, ConfigurationTypes
Configuration
interface provides methods to manage desired
configuration of an ESX cluster. This interface was added in vSphere API
8.0.1.0.ConfigurationTypes._VAPI_OPERATIONS, ConfigurationTypes.ApplyResult, ConfigurationTypes.ApplySpec, ConfigurationTypes.ImportSpec, ConfigurationTypes.Info, ConfigurationTypes.Metadata
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply_Task(java.lang.String cluster,
ConfigurationTypes.ApplySpec spec)
Applies the cluster configuration associated with the cluster on the hosts
associated with the cluster.
|
void |
apply_Task(java.lang.String cluster,
ConfigurationTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Applies the cluster configuration associated with the cluster on the hosts
associated with the cluster.
|
void |
apply_Task(java.lang.String cluster,
ConfigurationTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Applies the cluster configuration associated with the cluster on the hosts
associated with the cluster.
|
java.lang.String |
apply_Task(java.lang.String cluster,
ConfigurationTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Applies the cluster configuration associated with the cluster on the hosts
associated with the cluster.
|
java.lang.String |
checkCompliance_Task(java.lang.String cluster)
Check all the hosts in the cluster for compliance with the desired document.
|
void |
checkCompliance_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Check all the hosts in the cluster for compliance with the desired document.
|
void |
checkCompliance_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Check all the hosts in the cluster for compliance with the desired document.
|
java.lang.String |
checkCompliance_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Check all the hosts in the cluster for compliance with the desired document.
|
ExportResult |
exportConfig(java.lang.String cluster)
This API will export the configuration associated with the cluster.
|
void |
exportConfig(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback)
This API will export the configuration associated with the cluster.
|
void |
exportConfig(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will export the configuration associated with the cluster.
|
ExportResult |
exportConfig(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will export the configuration associated with the cluster.
|
ConfigurationTypes.Info |
get(java.lang.String cluster,
java.lang.String commit,
DocumentStructure docStructure)
Get the cluster configuration and related metadata.
|
void |
get(java.lang.String cluster,
java.lang.String commit,
DocumentStructure docStructure,
com.vmware.vapi.bindings.client.AsyncCallback<ConfigurationTypes.Info> asyncCallback)
Get the cluster configuration and related metadata.
|
void |
get(java.lang.String cluster,
java.lang.String commit,
DocumentStructure docStructure,
com.vmware.vapi.bindings.client.AsyncCallback<ConfigurationTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the cluster configuration and related metadata.
|
ConfigurationTypes.Info |
get(java.lang.String cluster,
java.lang.String commit,
DocumentStructure docStructure,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the cluster configuration and related metadata.
|
java.lang.String |
importConfig_Task(java.lang.String cluster,
ConfigurationTypes.ImportSpec spec)
Deprecated.
As of release vSphere API 8.0.2.0. Use
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead. |
void |
importConfig_Task(java.lang.String cluster,
ConfigurationTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Deprecated.
As of release vSphere API 8.0.2.0. Use
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.
Invocation Result: Operation Errors: |
void |
importConfig_Task(java.lang.String cluster,
ConfigurationTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.2.0. Use
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.
Invocation Result: Operation Errors: |
java.lang.String |
importConfig_Task(java.lang.String cluster,
ConfigurationTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.2.0. Use
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead. |
java.lang.String |
precheck_Task(java.lang.String cluster)
This API will perform precheck of the desired cluster configuration on each of
the hosts in the cluster.
|
void |
precheck_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
This API will perform precheck of the desired cluster configuration on each of
the hosts in the cluster.
|
void |
precheck_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will perform precheck of the desired cluster configuration on each of
the hosts in the cluster.
|
java.lang.String |
precheck_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will perform precheck of the desired cluster configuration on each of
the hosts in the cluster.
|
java.lang.String |
validate_Task(java.lang.String cluster)
Deprecated.
As of release vSphere API 8.0.2.0. The desired cluster configuration is validated as part of
com.vmware.esx.settings.clusters.Configuration#checkCompliance com.vmware.esx.settings.clusters.Configuration#precheck APIs. |
void |
validate_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Deprecated.
As of release vSphere API 8.0.2.0. The desired cluster configuration is validated as part of
com.vmware.esx.settings.clusters.Configuration#checkCompliance com.vmware.esx.settings.clusters.Configuration#precheck APIs.
Invocation Result: Operation Errors: |
void |
validate_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.2.0. The desired cluster configuration is validated as part of
com.vmware.esx.settings.clusters.Configuration#checkCompliance com.vmware.esx.settings.clusters.Configuration#precheck APIs.
Invocation Result: Operation Errors: |
java.lang.String |
validate_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.2.0. The desired cluster configuration is validated as part of
com.vmware.esx.settings.clusters.Configuration#checkCompliance com.vmware.esx.settings.clusters.Configuration#precheck APIs. |
ConfigurationTypes.Info get(java.lang.String cluster, java.lang.String commit, DocumentStructure docStructure)
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
.commit
- Identifier of the commit to get.
The parameter must be an identifier for the resource type: ClusterComputeResource
.docStructure
- 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
or no commit associated
with commit
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
. ConfigurationTypes.Info get(java.lang.String cluster, java.lang.String commit, DocumentStructure docStructure, com.vmware.vapi.bindings.client.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
.commit
- Identifier of the commit to get.
The parameter must be an identifier for the resource type: ClusterComputeResource
.docStructure
- 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
or no commit associated
with commit
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, java.lang.String commit, DocumentStructure docStructure, com.vmware.vapi.bindings.client.AsyncCallback<ConfigurationTypes.Info> asyncCallback)
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.
NotFound
- If there is no cluster associated with cluster
or no commit associated
with commit
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
.commit
- Identifier of the commit to get.
The parameter must be an identifier for the resource type: ClusterComputeResource
.docStructure
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, java.lang.String commit, DocumentStructure docStructure, com.vmware.vapi.bindings.client.AsyncCallback<ConfigurationTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- If 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
or no commit associated
with commit
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
.commit
- Identifier of the commit to get.
The parameter must be an identifier for the resource type: ClusterComputeResource
.docStructure
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String apply_Task(java.lang.String cluster, ConfigurationTypes.ApplySpec spec)
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
.spec
- The Apply specification.AlreadyInDesiredState
- If the cluster is already at the specified commit as described in the apply
specification.Error
- If there is an unknown internal error. The accompanying error message will give
more details about the failure.InvalidArgument
- If the ConfigurationTypes.ApplySpec.getCommit()
property of spec
specifies an invalid commit, or the ConfigurationTypes.ApplySpec.getHosts()
property
of spec
specifies an invalid host or a host that is not part of the
cluster, or the cluster
is not managed with a configuration
specification. Also thrown if the specified cluster
is empty.NotFound
- If there is no cluster
found in the inventory or no ConfigurationTypes.ApplySpec.getCommit()
associated with cluster
.ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.java.lang.String apply_Task(java.lang.String cluster, ConfigurationTypes.ApplySpec spec, com.vmware.vapi.bindings.client.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
.spec
- The Apply specification.invocationConfig
- Configuration for the method invocation.AlreadyInDesiredState
- If the cluster is already at the specified commit as described in the apply
specification.Error
- If there is an unknown internal error. The accompanying error message will give
more details about the failure.InvalidArgument
- If the ConfigurationTypes.ApplySpec.getCommit()
property of spec
specifies an invalid commit, or the ConfigurationTypes.ApplySpec.getHosts()
property
of spec
specifies an invalid host or a host that is not part of the
cluster, or the cluster
is not managed with a configuration
specification. Also thrown if the specified cluster
is empty.NotFound
- If there is no cluster
found in the inventory or no ConfigurationTypes.ApplySpec.getCommit()
associated with cluster
.ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.void apply_Task(java.lang.String cluster, ConfigurationTypes.ApplySpec spec, com.vmware.vapi.bindings.client.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:
AlreadyInDesiredState
- If the cluster is already at the specified commit as described in the apply
specification.
Error
- If there is an unknown internal error. The accompanying error message will give
more details about the failure.
InvalidArgument
- If the ConfigurationTypes.ApplySpec.getCommit()
property of spec
specifies an invalid commit, or the ConfigurationTypes.ApplySpec.getHosts()
property
of spec
specifies an invalid host or a host that is not part of the
cluster, or the cluster
is not managed with a configuration
specification. Also thrown if the specified cluster
is empty.
NotFound
- If there is no cluster
found in the inventory or no ConfigurationTypes.ApplySpec.getCommit()
associated with cluster
.
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The Apply specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void apply_Task(java.lang.String cluster, ConfigurationTypes.ApplySpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.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:
AlreadyInDesiredState
- If the cluster is already at the specified commit as described in the apply
specification.
Error
- If there is an unknown internal error. The accompanying error message will give
more details about the failure.
InvalidArgument
- If the ConfigurationTypes.ApplySpec.getCommit()
property of spec
specifies an invalid commit, or the ConfigurationTypes.ApplySpec.getHosts()
property
of spec
specifies an invalid host or a host that is not part of the
cluster, or the cluster
is not managed with a configuration
specification. Also thrown if the specified cluster
is empty.
NotFound
- If there is no cluster
found in the inventory or no ConfigurationTypes.ApplySpec.getCommit()
associated with cluster
.
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The Apply specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String checkCompliance_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 an internal error occurred. The accompanying error message will give more
details about the failure.InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.java.lang.String checkCompliance_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.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 an internal error occurred. The accompanying error message will give more
details about the failure.InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.void checkCompliance_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.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 an internal error occurred. The accompanying error message will give more
details about the failure.
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
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 checkCompliance_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.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 an internal error occurred. The accompanying error message will give more
details about the failure.
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
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.@Deprecated java.lang.String validate_Task(java.lang.String cluster)
com.vmware.esx.settings.clusters.Configuration#checkCompliance
com.vmware.esx.settings.clusters.Configuration#precheck
APIs.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 an internal error occurred. The accompanying error message will give more
details about the failure.InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.@Deprecated java.lang.String validate_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
com.vmware.esx.settings.clusters.Configuration#checkCompliance
com.vmware.esx.settings.clusters.Configuration#precheck
APIs.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 an internal error occurred. The accompanying error message will give more
details about the failure.InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.@Deprecated void validate_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
com.vmware.esx.settings.clusters.Configuration#checkCompliance
com.vmware.esx.settings.clusters.Configuration#precheck
APIs.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If an internal error occurred. The accompanying error message will give more
details about the failure.
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
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.@Deprecated void validate_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
com.vmware.esx.settings.clusters.Configuration#checkCompliance
com.vmware.esx.settings.clusters.Configuration#precheck
APIs.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If an internal error occurred. The accompanying error message will give more
details about the failure.
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If there is no cluster associated with cluster
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
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.
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
- The cluster on which to perform precheck.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.java.lang.String precheck_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.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
- The cluster on which to perform precheck.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.TimedOut
- If the API timed out before completion.Unauthenticated
- If the caller is not authenticated.void precheck_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.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
-
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
cluster
- The cluster on which to perform precheck.
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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.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
-
InvalidArgument
- If API is called on a cluster that is not managed by desired configuration
management platform.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
TimedOut
- If the API timed out before completion.
Unauthenticated
- If the caller is not authenticated.
cluster
- The cluster on which to perform precheck.
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.@Deprecated java.lang.String importConfig_Task(java.lang.String cluster, ConfigurationTypes.ImportSpec spec)
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The cluster on which this operation must be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- An ImportSpec
that contains the new desired configuration for the
cluster.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.@Deprecated java.lang.String importConfig_Task(java.lang.String cluster, ConfigurationTypes.ImportSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.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
- The cluster on which this operation must be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- An ImportSpec
that contains the new desired configuration for the
cluster.invocationConfig
- Configuration for the method invocation.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.@Deprecated void importConfig_Task(java.lang.String cluster, ConfigurationTypes.ImportSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
cluster
- The cluster on which this operation must be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- An ImportSpec
that contains the new desired configuration for the
cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void importConfig_Task(java.lang.String cluster, ConfigurationTypes.ImportSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
com.vmware.esx.settings.clusters.configuration.Drafts#Create
instead.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
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.
cluster
- The cluster on which this operation must be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- An ImportSpec
that contains the new desired configuration for the
cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ExportResult exportConfig(java.lang.String cluster)
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
.com.vmware.esx.settings.clusters.Configuration#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.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.TimedOut
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, com.vmware.vapi.bindings.client.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 on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.com.vmware.esx.settings.clusters.Configuration#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.NotFound
- If the cluster is not found in the system.ServiceUnavailable
- If the service is not available.TimedOut
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, com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
This output structure of type com.vmware.esx.settings.clusters.Configuration#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.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
TimedOut
-
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, com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback, com.vmware.vapi.bindings.client.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:
This output structure of type com.vmware.esx.settings.clusters.Configuration#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.
NotFound
- If the cluster is not found in the system.
ServiceUnavailable
- If the service is not available.
TimedOut
-
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.