public interface Drafts extends com.vmware.vapi.bindings.Service, DraftsTypes
Drafts interface provides methods to manage working copy of software
documents.DraftsTypes._VAPI_OPERATIONS, DraftsTypes.CommitSpec, DraftsTypes.FilterSpec, DraftsTypes.ImportSpec, DraftsTypes.Info, DraftsTypes.Metadata, DraftsTypes.SourceType, DraftsTypes.StatusType, DraftsTypes.Summary, DraftsTypes.ValidateResult_VAPI_SERVICE_ID, RESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec spec)
Commits the specified draft as the desired state document.
|
void |
commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Commits the specified draft as the desired state document.
|
void |
commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Commits the specified draft as the desired state document.
|
java.lang.String |
commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Commits the specified draft as the desired state document.
|
java.lang.String |
create(java.lang.String cluster)
Creates a new software draft from the desired document.
|
void |
create(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Creates a new software draft from the desired document.
|
void |
create(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new software draft from the desired document.
|
java.lang.String |
create(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new software draft from the desired document.
|
void |
delete(java.lang.String cluster,
java.lang.String draft)
Deletes the software draft.
|
void |
delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the software 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)
Deletes the software draft.
|
void |
delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the software draft.
|
DraftsTypes.Info |
get(java.lang.String cluster,
java.lang.String draft)
Returns the information about given software draft.
|
void |
get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback)
Returns the information about given software 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)
Returns the information about given software draft.
|
DraftsTypes.Info |
get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the information about given software draft.
|
java.lang.String |
importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec)
Imports the desired software specification as a new draft.
|
void |
importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Imports the desired software specification as a new draft.
|
void |
importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports the desired software specification as a new draft.
|
java.lang.String |
importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports the desired software specification as a new draft.
|
java.util.Map<java.lang.String,DraftsTypes.Summary> |
list(java.lang.String cluster,
DraftsTypes.FilterSpec filter)
Returns information about the software drafts for the specified cluster that
match the
DraftsTypes.FilterSpec. |
void |
list(java.lang.String cluster,
DraftsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Summary>> asyncCallback)
Returns information about the software drafts for the specified cluster that
match the
DraftsTypes.FilterSpec. |
void |
list(java.lang.String cluster,
DraftsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Summary>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the software drafts for the specified cluster that
match the
DraftsTypes.FilterSpec. |
java.util.Map<java.lang.String,DraftsTypes.Summary> |
list(java.lang.String cluster,
DraftsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the software drafts for the specified cluster that
match the
DraftsTypes.FilterSpec. |
java.lang.String |
scan_Task(java.lang.String cluster,
java.lang.String draft)
Scans all the hosts in the cluster against the software draft.
|
void |
scan_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Scans all the hosts in the cluster against the software draft.
|
void |
scan_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)
Scans all the hosts in the cluster against the software draft.
|
java.lang.String |
scan_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Scans all the hosts in the cluster against the software draft.
|
java.lang.String |
validate_Task(java.lang.String cluster,
java.lang.String draft)
Validates the software draft.
|
void |
validate_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Validates the software draft.
|
void |
validate_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)
Validates the software draft.
|
java.lang.String |
validate_Task(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Validates the software draft.
|
java.lang.String commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec 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.draft - Identifier of the draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - The spec to be used to create the commit.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 there is another operation in progress.InvalidArgument - If validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in DraftsTypes.ValidateResult.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.java.lang.String commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec 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.draft - Identifier of the draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - The spec to be used to create the commit.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 draft associated
with draft in the system.NotAllowedInCurrentState - If there is another operation in progress.InvalidArgument - If validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in DraftsTypes.ValidateResult.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.void commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec 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:
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 there is another operation in progress.
InvalidArgument - If validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in DraftsTypes.ValidateResult.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - The spec to be used to create the commit.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void commit_Task(java.lang.String cluster,
java.lang.String draft,
DraftsTypes.CommitSpec 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:
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 there is another operation in progress.
InvalidArgument - If validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in DraftsTypes.ValidateResult.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.spec - The spec to be used to create the commit.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String create(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.com.vmware.esx.settings.draft.AlreadyExists - If there is already a draft created by this user.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no cluster associated with cluster in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. java.lang.String create(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
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.com.vmware.esx.settings.draft.AlreadyExists - If there is already a draft created by this user.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no cluster associated with cluster in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. void create(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Identifier of the working copy of the document.
The return value will be an identifier for the resource type: com.vmware.esx.settings.draft.
Operation Errors:
AlreadyExists - If there is already a draft created by this user.
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. 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 create(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 will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Identifier of the working copy of the document.
The return value will be an identifier for the resource type: com.vmware.esx.settings.draft.
Operation Errors:
AlreadyExists - If there is already a draft created by this user.
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. cluster - Identifier of the cluster
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void delete(java.lang.String cluster,
java.lang.String draft)
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.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. void delete(java.lang.String cluster,
java.lang.String draft,
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.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.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.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. void delete(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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 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.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. cluster - 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.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)
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.
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.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. cluster - 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.DraftsTypes.Info get(java.lang.String cluster, java.lang.String draft)
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.draft - Identifier of the software draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. DraftsTypes.Info get(java.lang.String cluster, java.lang.String draft, 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.draft - Identifier of the software draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 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.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. void get(java.lang.String cluster,
java.lang.String draft,
com.vmware.vapi.bindings.client.AsyncCallback<DraftsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the Software Draft.
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.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the software draft.
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.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)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Information about the Software Draft.
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.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the software draft.
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.java.util.Map<java.lang.String,DraftsTypes.Summary> list(java.lang.String cluster, DraftsTypes.FilterSpec filter)
DraftsTypes.FilterSpec.
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.filter - Filter to be applied while returning drafts.
If null, all drafts will be returned.Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no cluster associated with cluster in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. java.util.Map<java.lang.String,DraftsTypes.Summary> list(java.lang.String cluster, DraftsTypes.FilterSpec filter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsTypes.FilterSpec.
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.filter - Filter to be applied while returning drafts.
If null, all drafts will be returned.invocationConfig - Configuration for the method invocation.Map will be an identifier for the
resource type: com.vmware.esx.settings.draft.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no cluster associated with cluster in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. void list(java.lang.String cluster,
DraftsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Summary>> asyncCallback)
DraftsTypes.FilterSpec.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Map of software 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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Filter to be applied while returning drafts.
If null, all drafts will be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster,
DraftsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.Map<java.lang.String,DraftsTypes.Summary>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsTypes.FilterSpec.
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:
Map of software 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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Filter to be applied while returning drafts.
If null, all drafts will be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String validate_Task(java.lang.String cluster,
java.lang.String draft)
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.draft - Identifier of the software draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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.java.lang.String validate_Task(java.lang.String cluster,
java.lang.String draft,
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.draft - Identifier of the software draft.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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 draft associated
with draft in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.void validate_Task(java.lang.String cluster,
java.lang.String draft,
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 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.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the software draft.
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.void validate_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)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster or no draft associated
with draft in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.draft - Identifier of the software draft.
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.java.lang.String scan_Task(java.lang.String cluster,
java.lang.String draft)
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.draft - Identifier of the working copy of the document.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.draft.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.java.lang.String scan_Task(java.lang.String cluster,
java.lang.String draft,
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.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.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.void scan_Task(java.lang.String cluster,
java.lang.String draft,
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 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.
cluster - 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.void scan_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)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no cluster associated with cluster or no draft associated
with draft in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.java.lang.String importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec)
DraftsTypes.SourceType.LATEST_RECOMMENDATION
or DraftsTypes.SourceType.CURRENT_SERIES_RECOMMENDATION,
then NotFound error is reported. In addition,
the exisiting draft will be overwritten when the source type is of either LATEST_RECOMMENDATION or CURRENT_SERIES_RECOMMENDATION.
Warning: Using HTTP is not secure. Please use HTTPS URLs instead.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification to import desired software specification.com.vmware.esx.settings.draft.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 or if the
source type of import specification is of either LATEST_RECOMMENDATION
or CURRENT_SERIES_RECOMMENDATION, and a recommendation does not exist
for the cluster. It was either never generated or deleted due to changes in
cluster state such as a new desired image spec being committed.ServiceUnavailable - If the service is not available.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. java.lang.String importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsTypes.SourceType.LATEST_RECOMMENDATION
or DraftsTypes.SourceType.CURRENT_SERIES_RECOMMENDATION,
then NotFound error is reported. In addition,
the exisiting draft will be overwritten when the source type is of either LATEST_RECOMMENDATION or CURRENT_SERIES_RECOMMENDATION.
Warning: Using HTTP is not secure. Please use HTTPS URLs instead.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification to import desired software specification.invocationConfig - Configuration for the method invocation.com.vmware.esx.settings.draft.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 or if the
source type of import specification is of either LATEST_RECOMMENDATION
or CURRENT_SERIES_RECOMMENDATION, and a recommendation does not exist
for the cluster. It was either never generated or deleted due to changes in
cluster state such as a new desired image spec being committed.ServiceUnavailable - If the service is not available.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. void importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
DraftsTypes.SourceType.LATEST_RECOMMENDATION
or DraftsTypes.SourceType.CURRENT_SERIES_RECOMMENDATION,
then NotFound error is reported. In addition,
the exisiting draft will be overwritten when the source type is of either LATEST_RECOMMENDATION or CURRENT_SERIES_RECOMMENDATION.
Warning: Using HTTP is not secure. Please use HTTPS URLs instead.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Identifier of the software draft.
The return value will be an identifier for the resource type: com.vmware.esx.settings.draft.
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 or if the
source type of import specification is of either LATEST_RECOMMENDATION
or CURRENT_SERIES_RECOMMENDATION, and a recommendation does not exist
for the cluster. It was either never generated or deleted due to changes in
cluster state such as a new desired image spec being committed.
ServiceUnavailable - If the service is not available.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification to import desired software specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void importSoftwareSpec(java.lang.String cluster,
DraftsTypes.ImportSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DraftsTypes.SourceType.LATEST_RECOMMENDATION
or DraftsTypes.SourceType.CURRENT_SERIES_RECOMMENDATION,
then NotFound error is reported. In addition,
the exisiting draft will be overwritten when the source type is of either LATEST_RECOMMENDATION or CURRENT_SERIES_RECOMMENDATION.
Warning: Using HTTP is not secure. Please use HTTPS URLs instead.
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:
Identifier of the software draft.
The return value will be an identifier for the resource type: com.vmware.esx.settings.draft.
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 or if the
source type of import specification is of either LATEST_RECOMMENDATION
or CURRENT_SERIES_RECOMMENDATION, and a recommendation does not exist
for the cluster. It was either never generated or deleted due to changes in
cluster state such as a new desired image spec being committed.
ServiceUnavailable - If the service is not available.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Write.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Write. cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification to import desired software specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.