public interface Versions extends Service, VersionsTypes
Versions
interface provides methods to manage a version object of a
Supervisor Service. A Supervisor Service version can be enabled on the vSphere
Supervisor. This interface was added in vSphere API 7.0.3.0.VersionsTypes.CarvelCreateSpec, VersionsTypes.ContentType, VersionsTypes.CreateSpec, VersionsTypes.CustomCreateSpec, VersionsTypes.Info, VersionsTypes.State, VersionsTypes.Summary, VersionsTypes.VsphereCreateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
activate(java.lang.String supervisorService,
java.lang.String version)
Activate a Supervisor Service version.
|
void |
activate(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback)
Activate a Supervisor Service version.
|
void |
activate(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Activate a Supervisor Service version.
|
void |
activate(java.lang.String supervisorService,
java.lang.String version,
InvocationConfig invocationConfig)
Activate a Supervisor Service version.
|
void |
create(java.lang.String supervisorService,
VersionsTypes.CreateSpec spec)
Create a Supervisor Service version based on the provided service definition
information for the version.
|
void |
create(java.lang.String supervisorService,
VersionsTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Create a Supervisor Service version based on the provided service definition
information for the version.
|
void |
create(java.lang.String supervisorService,
VersionsTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create a Supervisor Service version based on the provided service definition
information for the version.
|
void |
create(java.lang.String supervisorService,
VersionsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Create a Supervisor Service version based on the provided service definition
information for the version.
|
void |
deactivate(java.lang.String supervisorService,
java.lang.String version)
Deactivate a Supervisor Service version.
|
void |
deactivate(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback)
Deactivate a Supervisor Service version.
|
void |
deactivate(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deactivate a Supervisor Service version.
|
void |
deactivate(java.lang.String supervisorService,
java.lang.String version,
InvocationConfig invocationConfig)
Deactivate a Supervisor Service version.
|
void |
delete(java.lang.String supervisorService,
java.lang.String version)
Delete a Supervisor Service version.
|
void |
delete(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback)
Delete a Supervisor Service version.
|
void |
delete(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a Supervisor Service version.
|
void |
delete(java.lang.String supervisorService,
java.lang.String version,
InvocationConfig invocationConfig)
Delete a Supervisor Service version.
|
VersionsTypes.Info |
get(java.lang.String supervisorService,
java.lang.String version)
Return the information for the specified Supervisor Service version.
|
void |
get(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<VersionsTypes.Info> asyncCallback)
Return the information for the specified Supervisor Service version.
|
void |
get(java.lang.String supervisorService,
java.lang.String version,
AsyncCallback<VersionsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return the information for the specified Supervisor Service version.
|
VersionsTypes.Info |
get(java.lang.String supervisorService,
java.lang.String version,
InvocationConfig invocationConfig)
Return the information for the specified Supervisor Service version.
|
java.util.List<VersionsTypes.Summary> |
list(java.lang.String supervisorService)
Return the information about all versions of the Supervisor Service.
|
void |
list(java.lang.String supervisorService,
AsyncCallback<java.util.List<VersionsTypes.Summary>> asyncCallback)
Return the information about all versions of the Supervisor Service.
|
void |
list(java.lang.String supervisorService,
AsyncCallback<java.util.List<VersionsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Return the information about all versions of the Supervisor Service.
|
java.util.List<VersionsTypes.Summary> |
list(java.lang.String supervisorService,
InvocationConfig invocationConfig)
Return the information about all versions of the Supervisor Service.
|
void create(java.lang.String supervisorService, VersionsTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.spec
- Specification for the Supervisor Service version to be created.AlreadyExists
- if a Supervisor Service version with the same identifier already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if an invalid field in spec
is specified or if it contains any errors.
For example, when the field trusted is set to be true, but no signature is
provided or it is invalid or when a EULA is specified but not accepted.NotAllowedInCurrentState
- if the Supervisor Service version cannot be created in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
could not be
located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void create(java.lang.String supervisorService, VersionsTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.spec
- Specification for the Supervisor Service version to be created.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a Supervisor Service version with the same identifier already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if an invalid field in spec
is specified or if it contains any errors.
For example, when the field trusted is set to be true, but no signature is
provided or it is invalid or when a EULA is specified but not accepted.NotAllowedInCurrentState
- if the Supervisor Service version cannot be created in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
could not be
located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void create(java.lang.String supervisorService, VersionsTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if a Supervisor Service version with the same identifier already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if an invalid field in spec
is specified or if it contains any errors.
For example, when the field trusted is set to be true, but no signature is
provided or it is invalid or when a EULA is specified but not accepted.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be created in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
could not be
located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.spec
- Specification for the Supervisor Service version to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String supervisorService, VersionsTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists
- if a Supervisor Service version with the same identifier already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if an invalid field in spec
is specified or if it contains any errors.
For example, when the field trusted is set to be true, but no signature is
provided or it is invalid or when a EULA is specified but not accepted.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be created in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
could not be
located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.spec
- Specification for the Supervisor Service version to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void deactivate(java.lang.String supervisorService, java.lang.String version)
State
of the version to DEACTIVATED
state, which will make sure the
version cannot be created on any Supervisor cluster. Note that this method
should be called before deleting the version. This method was added in vSphere
API 7.0.3.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service version cannot be deactivated in the current state,
for example, the Supervisor Service is in ACTIVATED
state and this
version is the last version of the Supervisor Service in ACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID version
could not be located.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.void deactivate(java.lang.String supervisorService, java.lang.String version, InvocationConfig invocationConfig)
State
of the version to DEACTIVATED
state, which will make sure the
version cannot be created on any Supervisor cluster. Note that this method
should be called before deleting the version. This method was added in vSphere
API 7.0.3.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.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service version cannot be deactivated in the current state,
for example, the Supervisor Service is in ACTIVATED
state and this
version is the last version of the Supervisor Service in ACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID version
could not be located.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.void deactivate(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback)
State
of the version to DEACTIVATED
state, which will make sure the
version cannot be created on any Supervisor cluster. Note that this method
should be called before deleting the version. This method was added in vSphere
API 7.0.3.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be deactivated in the current state,
for example, the Supervisor Service is in ACTIVATED
state and this
version is the last version of the Supervisor Service in ACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID version
could not be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void deactivate(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
State
of the version to DEACTIVATED
state, which will make sure the
version cannot be created on any Supervisor cluster. Note that this method
should be called before deleting the version. This method was added in vSphere
API 7.0.3.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 the system reports an error while responding to the request.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be deactivated in the current state,
for example, the Supervisor Service is in ACTIVATED
state and this
version is the last version of the Supervisor Service in ACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID version
could not be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void activate(java.lang.String supervisorService, java.lang.String version)
State
of the version to ACTIVATED
state. This method was added in vSphere API
7.0.3.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service version cannot be activated in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.void activate(java.lang.String supervisorService, java.lang.String version, InvocationConfig invocationConfig)
State
of the version to ACTIVATED
state. This method was added in vSphere API
7.0.3.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.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service version cannot be activated in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.void activate(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback)
State
of the version to ACTIVATED
state. This method was added in vSphere API
7.0.3.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be activated in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void activate(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
State
of the version to ACTIVATED
state. This method was added in vSphere API
7.0.3.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 the system reports an error while responding to the request.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be activated in the current state, for
example, the Supervisor Service is in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege.
supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<VersionsTypes.Summary> list(java.lang.String supervisorService)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.Error
- if the system reports an error while responding to the request.NotFound
- if service with the ID supervisorService
could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.java.util.List<VersionsTypes.Summary> list(java.lang.String supervisorService, 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.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if service with the ID supervisorService
could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.void list(java.lang.String supervisorService, AsyncCallback<java.util.List<VersionsTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of summary of all service versions of the Supervisor Service.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if service with the ID supervisorService
could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String supervisorService, AsyncCallback<java.util.List<VersionsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
The list of summary of all service versions of the Supervisor Service.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if service with the ID supervisorService
could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.VersionsTypes.Info get(java.lang.String supervisorService, java.lang.String version)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.Error
- if the system reports an error while responding to the request.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.VersionsTypes.Info get(java.lang.String supervisorService, java.lang.String version, 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.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.void get(java.lang.String supervisorService, java.lang.String version, AsyncCallback<VersionsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information for the specified Supervisor Service version.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String supervisorService, java.lang.String version, AsyncCallback<VersionsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information for the specified Supervisor Service version.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String supervisorService, java.lang.String version)
DEACTIVATED
state and
all instances of the version are removed from all Supervisors. Note that the
deactivate()
method should be called to deactivate the version before
the version can be deleted.
Note that deleting the last version of the
supervisorService
does not delete the supervisorService
instance
automatically.
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.Error
- if the system reports an error while responding to the request, e.g. if it is
unable to reach a vSphere Supervisor that has the version enabled.NotAllowedInCurrentState
- if the Supervisor Service version cannot be deleted in the current state, e.g.
the version is not in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void delete(java.lang.String supervisorService, java.lang.String version, InvocationConfig invocationConfig)
DEACTIVATED
state and
all instances of the version are removed from all Supervisors. Note that the
deactivate()
method should be called to deactivate the version before
the version can be deleted.
Note that deleting the last version of the
supervisorService
does not delete the supervisorService
instance
automatically.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request, e.g. if it is
unable to reach a vSphere Supervisor that has the version enabled.NotAllowedInCurrentState
- if the Supervisor Service version cannot be deleted in the current state, e.g.
the version is not in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void delete(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback)
DEACTIVATED
state and
all instances of the version are removed from all Supervisors. Note that the
deactivate()
method should be called to deactivate the version before
the version can be deleted.
Note that deleting the last version of the
supervisorService
does not delete the supervisorService
instance
automatically.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request, e.g. if it is
unable to reach a vSphere Supervisor that has the version enabled.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be deleted in the current state, e.g.
the version is not in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String supervisorService, java.lang.String version, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DEACTIVATED
state and
all instances of the version are removed from all Supervisors. Note that the
deactivate()
method should be called to deactivate the version before
the version can be deleted.
Note that deleting the last version of the
supervisorService
does not delete the supervisorService
instance
automatically.
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 the system reports an error while responding to the request, e.g. if it is
unable to reach a vSphere Supervisor that has the version enabled.
NotAllowedInCurrentState
- if the Supervisor Service version cannot be deleted in the current state, e.g.
the version is not in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
or version with the
ID {param.name version} could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
supervisorService
- Identifier of the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.version
- Identifier of the version.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.