public class DraftsStub extends com.vmware.vapi.internal.bindings.Stub implements Drafts
Drafts
API service.
WARNING: Internal class, subject to change in future versions.
DraftsTypes._VAPI_OPERATIONS, DraftsTypes.ApplyResult, DraftsTypes.ApplySpec, DraftsTypes.ChangeDetails, DraftsTypes.ChangedProperty, DraftsTypes.ChangesResult, DraftsTypes.ConflictDetails, DraftsTypes.ConflictPropertyInfo, DraftsTypes.CreateSpec, DraftsTypes.DeletionInfo, DraftsTypes.Info, DraftsTypes.Metadata, DraftsTypes.ModificationInfo, DraftsTypes.State, DraftsTypes.UpdateSpec, DraftsTypes.ValidationDetails, DraftsTypes.ValidationErrorsapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
DraftsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
DraftsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
DraftsTypes.ApplyResult |
apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec)
Commit this draft and make it the new desired configuration for the cluster.
|
void |
apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ApplyResult> asyncCallback)
Commit this draft and make it the new desired configuration for the cluster.
|
void |
apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ApplyResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Commit this draft and make it the new desired configuration for the cluster.
|
DraftsTypes.ApplyResult |
apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Commit this draft and make it the new desired configuration for the cluster.
|
java.lang.String |
checkCompliance_Task(java.lang.String cluster,
java.lang.String draft)
Check all the hosts in the cluster for compliance with the configuration
specified in the draft.
|
void |
checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Check all the hosts in the cluster for compliance with the configuration
specified in the draft.
|
void |
checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
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 configuration
specified in the draft.
|
java.lang.String |
checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Check all the hosts in the cluster for compliance with the configuration
specified in the draft.
|
java.lang.String |
create(java.lang.String cluster,
DraftsTypes.CreateSpec spec)
Create a new draft with the given values.
|
void |
create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Create a new draft with the given values.
|
void |
create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new draft with the given values.
|
java.lang.String |
create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new draft with the given values.
|
void |
delete(java.lang.String cluster,
java.lang.String draft)
Delete this draft.
|
void |
delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete this draft.
|
void |
delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete this draft.
|
void |
delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete this draft.
|
ExportResult |
exportConfig(java.lang.String cluster,
java.lang.String draft)
This API will export the draft configuration associated with the cluster.
|
void |
exportConfig(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback)
This API will export the draft configuration associated with the cluster.
|
void |
exportConfig(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will export the draft configuration associated with the cluster.
|
ExportResult |
exportConfig(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will export the draft configuration associated with the cluster.
|
DraftsTypes.Info |
get(java.lang.String cluster,
java.lang.String draft)
Get the cluster configuration and related metadata from this draft.
|
void |
get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback)
Get the cluster configuration and related metadata from this draft.
|
void |
get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the cluster configuration and related metadata from this draft.
|
DraftsTypes.Info |
get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the cluster configuration and related metadata from this draft.
|
SchemaResult |
getSchema(java.lang.String cluster,
java.lang.String draft)
Returns the configuration schema associated with this draft.
|
void |
getSchema(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<SchemaResult> asyncCallback)
Returns the configuration schema associated with this draft.
|
void |
getSchema(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<SchemaResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the configuration schema associated with this draft.
|
SchemaResult |
getSchema(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the configuration schema associated with this draft.
|
java.lang.String |
importFromHost_Task(java.lang.String cluster,
java.lang.String draft,
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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The API imports the desired configuration from a reference host in the cluster.
|
java.util.Map<java.lang.String,DraftsTypes.Metadata> |
list(java.lang.String cluster)
Get the active drafts for this cluster.
|
void |
list(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Metadata>> asyncCallback)
Get the active drafts for this cluster.
|
void |
list(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Metadata>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the active drafts for this cluster.
|
java.util.Map<java.lang.String,DraftsTypes.Metadata> |
list(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the active drafts for this cluster.
|
java.lang.String |
precheck_Task(java.lang.String cluster,
java.lang.String draft)
This API will perform impact analysis of the configuration specified in the
draft on each of the hosts in the cluster.
|
void |
precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
This API will perform impact analysis of the configuration specified in the
draft on each of the hosts in the cluster.
|
void |
precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will perform impact analysis of the configuration specified in the
draft on each of the hosts in the cluster.
|
java.lang.String |
precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will perform impact analysis of the configuration specified in the
draft on each of the hosts in the cluster.
|
DraftsTypes.ChangesResult |
showChanges(java.lang.String cluster,
java.lang.String draft)
Get the differences between this draft and the current desired state for the
cluster.
|
void |
showChanges(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ChangesResult> asyncCallback)
Get the differences between this draft and the current desired state for the
cluster.
|
void |
showChanges(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ChangesResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the differences between this draft and the current desired state for the
cluster.
|
DraftsTypes.ChangesResult |
showChanges(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the differences between this draft and the current desired state for the
cluster.
|
void |
update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec)
Replace the current configuration in this draft with the supplied one.
|
void |
update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Replace the current configuration in this draft with the supplied one.
|
void |
update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Replace the current configuration in this draft with the supplied one.
|
void |
update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Replace the current configuration in this draft with the supplied one.
|
public DraftsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public DraftsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.Map<java.lang.String,DraftsTypes.Metadata> list(java.lang.String cluster)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.public java.util.Map<java.lang.String,DraftsTypes.Metadata> list(java.lang.String cluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.public void list(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Metadata>> asyncCallback)
DraftsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Map of drafts keyed by their identifiers.
The key in the return value Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.
Operation Errors:
Error -
NotFound -
ServiceUnavailable -
Unauthenticated -
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. public void list(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Metadata>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Map of drafts keyed by their identifiers.
The key in the return value Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.
Operation Errors:
Error -
NotFound -
ServiceUnavailable -
Unauthenticated -
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. list in interface Draftscluster - 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 create(java.lang.String cluster,
DraftsTypes.CreateSpec spec)
DraftsDraftsTypes.Metadata.getOwner()
field will be set to the caller's user ID and the DraftsTypes.Metadata.getParentId()
will be set to the current commit ID for the cluster. This method was added in
vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.Metadata.getOwner()
field will be set to the caller's user ID and the DraftsTypes.Metadata.getParentId()
will be set to the current commit ID for the cluster. This method was added in
vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
DraftsDraftsTypes.Metadata.getOwner()
field will be set to the caller's user ID and the DraftsTypes.Metadata.getParentId()
will be set to the current commit ID for the cluster. This method was added in
vSphere API 8.0.2.0.
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.
AlreadyExists - If there is already a draft by this author for this cluster.
InvalidArgument - If the supplied configuration is not valid JSON.
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. create in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Options used when creating the new draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String cluster,
DraftsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.Metadata.getOwner()
field will be set to the caller's user ID and the DraftsTypes.Metadata.getParentId()
will be set to the current commit ID for the cluster. This method was added in
vSphere API 8.0.2.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
AlreadyExists - If there is already a draft by this author for this cluster.
InvalidArgument - If the supplied configuration is not valid JSON.
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. create in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Options used when creating the new draft.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 draft,
java.lang.String host)
DraftsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
importFromHost_Task in interface Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous 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 Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
DraftsAsynchronous 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 Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 draft,
java.lang.String host,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 Draftscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 SchemaResult getSchema(java.lang.String cluster, java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
getSchema in interface Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.SchemaResult containing the
schema document encoded as JSON.public SchemaResult getSchema(java.lang.String cluster, java.lang.String draft, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
getSchema in interface Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.SchemaResult containing the
schema document encoded as JSON.public void getSchema(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<SchemaResult> asyncCallback)
DraftsAsynchronous 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.
NotFound - If the cluster is not found in the system or no draft associated with draft in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
getSchema in interface Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void getSchema(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<SchemaResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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.
NotFound - If the cluster is not found in the system or no draft associated with draft in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
getSchema in interface Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DraftsTypes.Info get(java.lang.String cluster, java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public DraftsTypes.Info get(java.lang.String cluster, java.lang.String draft, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous 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 Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback)
DraftsAsynchronous 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 draft associated
with draft 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. get in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 draft associated
with draft 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. get in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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, java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
exportConfig in interface Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.com.vmware.esx.settings.clusters.Configuration#ExportResult contains the
configuration document encoded as JSON.public ExportResult exportConfig(java.lang.String cluster, java.lang.String draft, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous 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 Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.com.vmware.esx.settings.clusters.Configuration#ExportResult contains the
configuration document encoded as JSON.public void exportConfig(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback)
DraftsAsynchronous 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 there is no cluster associated with cluster or no draft associated
with draft 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 Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void exportConfig(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<ExportResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 there is no cluster associated with cluster or no draft associated
with draft 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 Draftscluster - Identifier of the cluster on which operation should be performed.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec)
DraftsDraftsTypes.Metadata.getPrecheckTask()
fields will be cleared. If an expected revision number is provided, it must
match the current revision of this draft or a ConcurrentChange exception will be
raised. If no expected revision number is provided, this check will be skipped
and the update will go through. This method was added in vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
update in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public void update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.Metadata.getPrecheckTask()
fields will be cleared. If an expected revision number is provided, it must
match the current revision of this draft or a ConcurrentChange exception will be
raised. If no expected revision number is provided, this check will be skipped
and the update will go through. This method was added in vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
DraftsDraftsTypes.Metadata.getPrecheckTask()
fields will be cleared. If an expected revision number is provided, it must
match the current revision of this draft or a ConcurrentChange exception will be
raised. If no expected revision number is provided, this check will be skipped
and the update will go through. This method was added in vSphere API 8.0.2.0.
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 draft associated
with draft in the system.
InvalidArgument - If the supplied configuration is not valid JSON.
NotAllowedInCurrentState -
ConcurrentChange - If the expectedRevision in the spec differs from the draft's current
revision.
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. update in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.Metadata.getPrecheckTask()
fields will be cleared. If an expected revision number is provided, it must
match the current revision of this draft or a ConcurrentChange exception will be
raised. If no expected revision number is provided, this check will be skipped
and the update will go through. This method was added in vSphere API 8.0.2.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
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 draft associated
with draft in the system.
InvalidArgument - If the supplied configuration is not valid JSON.
NotAllowedInCurrentState -
ConcurrentChange - If the expectedRevision in the spec differs from the draft's current
revision.
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. update in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DraftsTypes.ChangesResult showChanges(java.lang.String cluster, java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
showChanges in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public DraftsTypes.ChangesResult showChanges(java.lang.String cluster, java.lang.String draft, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
showChanges in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void showChanges(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ChangesResult> asyncCallback)
DraftsAsynchronous 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 draft associated
with draft 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. showChanges in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void showChanges(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ChangesResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 draft associated
with draft 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. showChanges in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String checkCompliance_Task(java.lang.String cluster,
java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
checkCompliance_Task in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public java.lang.String checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous 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.
checkCompliance_Task in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
DraftsAsynchronous 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.
NotAllowedInCurrentState -
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.
checkCompliance_Task in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void checkCompliance_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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.
NotAllowedInCurrentState -
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.
checkCompliance_Task in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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,
java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
precheck_Task in interface Draftscluster - The cluster on which to perform impact analysis.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public java.lang.String precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous 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 Draftscluster - The cluster on which to perform impact analysis.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
DraftsAsynchronous 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 -
NotAllowedInCurrentState -
NotFound -
ServiceUnavailable - If the service is not available.
TimedOut -
Unauthenticated - If the caller is not authenticated.
precheck_Task in interface Draftscluster - The cluster on which to perform impact analysis.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void precheck_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 -
NotAllowedInCurrentState -
NotFound -
ServiceUnavailable - If the service is not available.
TimedOut -
Unauthenticated - If the caller is not authenticated.
precheck_Task in interface Draftscluster - The cluster on which to perform impact analysis.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String cluster,
java.lang.String draft)
DraftsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.public void delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
DraftsAsynchronous 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 draft associated
with draft 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. delete in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsAsynchronous 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 draft associated
with draft 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. delete in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DraftsTypes.ApplyResult apply(java.lang.String cluster, java.lang.String draft, DraftsTypes.ApplySpec spec)
DraftsDraftsTypes.State.VALID state
for this method to succeed. A successful commit will result in the draft being
deleted. If the cluster is not empty, the Apply API will be called with the new
desired state. This method was added in vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
apply in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - Additional arguments for the operation.public DraftsTypes.ApplyResult apply(java.lang.String cluster, java.lang.String draft, DraftsTypes.ApplySpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.State.VALID state
for this method to succeed. A successful commit will result in the draft being
deleted. If the cluster is not empty, the Apply API will be called with the new
desired state. This method was added in vSphere API 8.0.2.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
apply in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - Additional arguments for the operation.invocationConfig - Configuration for the method invocation.public void apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ApplyResult> asyncCallback)
DraftsDraftsTypes.State.VALID state
for this method to succeed. A successful commit will result in the draft being
deleted. If the cluster is not empty, the Apply API will be called with the new
desired state. This method was added in vSphere API 8.0.2.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
A structure that contains the ID of the new commit and, if an ApplySpec was
supplied, the ID of the Apply task.
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 draft associated
with draft in the system.
NotAllowedInCurrentState - If the draft is not in the DraftsTypes.State.VALID state.
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.Remediate. ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.ClusterConfiguration.Remediate. apply in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - Additional arguments for the operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void apply(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.ApplySpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.ApplyResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsDraftsTypes.State.VALID state
for this method to succeed. A successful commit will result in the draft being
deleted. If the cluster is not empty, the Apply API will be called with the new
desired state. This method was added in vSphere API 8.0.2.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
A structure that contains the ID of the new commit and, if an ApplySpec was
supplied, the ID of the Apply task.
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 draft associated
with draft in the system.
NotAllowedInCurrentState - If the draft is not in the DraftsTypes.State.VALID state.
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.Remediate. ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.ClusterConfiguration.Remediate. apply in interface Draftscluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - Additional arguments for the operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.