public interface ClusterSupervisorServices extends Service, ClusterSupervisorServicesTypes
ClusterSupervisorServices
interface provides methods to manage a
Supervisor Service on the vSphere Supervisor clusters. This interface was added
in vSphere API 7.0.3.0.ClusterSupervisorServicesTypes.ConfigStatus, ClusterSupervisorServicesTypes.CreateSpec, ClusterSupervisorServicesTypes.Info, ClusterSupervisorServicesTypes.Message, ClusterSupervisorServicesTypes.SetSpec, ClusterSupervisorServicesTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String cluster,
ClusterSupervisorServicesTypes.CreateSpec spec)
Create a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
create(java.lang.String cluster,
ClusterSupervisorServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Create a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
create(java.lang.String cluster,
ClusterSupervisorServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
create(java.lang.String cluster,
ClusterSupervisorServicesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Create a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String supervisorService)
Delete a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
Delete a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a Supervisor Service on the specified vSphere Supervisor cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String supervisorService,
InvocationConfig invocationConfig)
Delete a Supervisor Service on the specified vSphere Supervisor cluster.
|
ClusterSupervisorServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String supervisorService)
Return information about the specific Supervisor Service on the specified
vSphere Supervisor cluster.
|
void |
get(java.lang.String cluster,
java.lang.String supervisorService,
AsyncCallback<ClusterSupervisorServicesTypes.Info> asyncCallback)
Return information about the specific Supervisor Service on the specified
vSphere Supervisor cluster.
|
void |
get(java.lang.String cluster,
java.lang.String supervisorService,
AsyncCallback<ClusterSupervisorServicesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return information about the specific Supervisor Service on the specified
vSphere Supervisor cluster.
|
ClusterSupervisorServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String supervisorService,
InvocationConfig invocationConfig)
Return information about the specific Supervisor Service on the specified
vSphere Supervisor cluster.
|
java.util.List<ClusterSupervisorServicesTypes.Summary> |
list(java.lang.String cluster)
Return the summaries about all Supervisor Services on the specified vSphere
Supervisor cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.Summary>> asyncCallback)
Return the summaries about all Supervisor Services on the specified vSphere
Supervisor cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Return the summaries about all Supervisor Services on the specified vSphere
Supervisor cluster.
|
java.util.List<ClusterSupervisorServicesTypes.Summary> |
list(java.lang.String cluster,
InvocationConfig invocationConfig)
Return the summaries about all Supervisor Services on the specified vSphere
Supervisor cluster.
|
void |
set(java.lang.String cluster,
java.lang.String supervisorService,
ClusterSupervisorServicesTypes.SetSpec spec)
Set a new configuration to the specified Supervisor Service on the specified
vSphere Supervisor cluster.
|
void |
set(java.lang.String cluster,
java.lang.String supervisorService,
ClusterSupervisorServicesTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Set a new configuration to the specified Supervisor Service on the specified
vSphere Supervisor cluster.
|
void |
set(java.lang.String cluster,
java.lang.String supervisorService,
ClusterSupervisorServicesTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set a new configuration to the specified Supervisor Service on the specified
vSphere Supervisor cluster.
|
void |
set(java.lang.String cluster,
java.lang.String supervisorService,
ClusterSupervisorServicesTypes.SetSpec spec,
InvocationConfig invocationConfig)
Set a new configuration to the specified Supervisor Service on the specified
vSphere Supervisor cluster.
|
void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec)
State#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.
cluster
- Identifier for the Supervisor cluster on which to create the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Specification for the Supervisor Service on the cluster.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.AlreadyExists
- if a Supervisor Service with the ID supervisorService
exists on the
Supervisor clusterNotFound
- if the specified cluster with ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services, or if the
Supervisor Service cannot be created in the current state, e.g. the supervisor
service version is in the State#DEACTIVATED
state.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
State#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.
cluster
- Identifier for the Supervisor cluster on which to create the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Specification for the Supervisor Service on the cluster.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.AlreadyExists
- if a Supervisor Service with the ID supervisorService
exists on the
Supervisor clusterNotFound
- if the specified cluster with ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services, or if the
Supervisor Service cannot be created in the current state, e.g. the supervisor
service version is in the State#DEACTIVATED
state.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
State#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.
InvalidArgument
- if spec
contains any errors.
AlreadyExists
- if a Supervisor Service with the ID supervisorService
exists on the
Supervisor cluster
NotFound
- if the specified cluster with ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services, or if the
Supervisor Service cannot be created in the current state, e.g. the supervisor
service version is in the State#DEACTIVATED
state.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster on which to create the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Specification for the Supervisor Service on the cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
State#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.
InvalidArgument
- if spec
contains any errors.
AlreadyExists
- if a Supervisor Service with the ID supervisorService
exists on the
Supervisor cluster
NotFound
- if the specified cluster with ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services, or if the
Supervisor Service cannot be created in the current state, e.g. the supervisor
service version is in the State#DEACTIVATED
state.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster on which to create the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Specification for the Supervisor Service on the cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<ClusterSupervisorServicesTypes.Summary> list(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster on which to list the services.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- if the system reports an error while responding to the request.NotFound
- if Supervisor cluster with the ID cluster
could not be located.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.java.util.List<ClusterSupervisorServicesTypes.Summary> list(java.lang.String cluster, 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 for the cluster on which to list the services.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if Supervisor cluster with the ID cluster
could not be located.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.void list(java.lang.String cluster, AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of summaries of all Supervisor Services on the cluster.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor cluster with the ID cluster
could not be located.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.
cluster
- Identifier for the cluster on which to list the services.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster, AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.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 summaries of all Supervisor Services on the cluster.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor cluster with the ID cluster
could not be located.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.
cluster
- Identifier for the cluster on which to list the services.
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.ClusterSupervisorServicesTypes.Info get(java.lang.String cluster, java.lang.String supervisorService)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster on which to get the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.ClusterSupervisorServicesTypes.Info get(java.lang.String cluster, 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.
cluster
- Identifier for the cluster on which to get the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.void get(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<ClusterSupervisorServicesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The information for the specified Supervisor Service on the specified cluster.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.
cluster
- Identifier for the cluster on which to get the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 get(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<ClusterSupervisorServicesTypes.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:
The information for the specified Supervisor Service on the specified cluster.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege on the specified cluster.
cluster
- Identifier for the cluster on which to get the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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.void delete(java.lang.String cluster, java.lang.String supervisorService)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void delete(java.lang.String cluster, 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.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void delete(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
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.
NotFound
- if Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 delete(java.lang.String cluster, java.lang.String supervisorService, 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:
Error
- if the system reports an error while responding to the request.
NotFound
- if Supervisor cluster with the ID cluster
or the Supervisor Service does
not exist on the Supervisor cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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.void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 on the cluster.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotFound
- if Supervisor cluster with the ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located, or the Supervisor Service does not exist on the Supervisor
cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services or the specified
version is not in the State#ACTIVATED
state.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec 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.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 on the cluster.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotFound
- if Supervisor cluster with the ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located, or the Supervisor Service does not exist on the Supervisor
cluster.NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services or the specified
version is not in the State#ACTIVATED
state.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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.
InvalidArgument
- if spec
contains any errors.
NotFound
- if Supervisor cluster with the ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located, or the Supervisor Service does not exist on the Supervisor
cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services or the specified
version is not in the State#ACTIVATED
state.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 on the cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec 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:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if spec
contains any errors.
NotFound
- if Supervisor cluster with the ID cluster
or Supervisor Service with the
ID supervisorService
or version with the ID {param.name version} could
not be located, or the Supervisor Service does not exist on the Supervisor
cluster.
NotAllowedInCurrentState
- if the Supervisor cluster doesn't support Supervisor Services or the specified
version is not in the State#ACTIVATED
state.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Manage privilege on the
specified cluster.
cluster
- Identifier for the Supervisor cluster from which to delete the service.
The parameter must be an identifier for the resource type: ClusterComputeResource
.supervisorService
- Identifier for 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 on the cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.