public class ClusterSupervisorServicesStub extends com.vmware.vapi.internal.bindings.Stub implements ClusterSupervisorServices
ClusterSupervisorServices
API service.
WARNING: Internal class, subject to change in future versions.
ClusterSupervisorServicesTypes.ConfigStatus, ClusterSupervisorServicesTypes.CreateSpec, ClusterSupervisorServicesTypes.Info, ClusterSupervisorServicesTypes.Message, ClusterSupervisorServicesTypes.SetSpec, ClusterSupervisorServicesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ClusterSupervisorServicesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ClusterSupervisorServicesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public ClusterSupervisorServicesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ClusterSupervisorServicesStub(ApiProvider apiProvider, StubConfigurationBase config)
public void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec)
ClusterSupervisorServices
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.
create
in interface ClusterSupervisorServices
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.public void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
create
in interface ClusterSupervisorServices
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.public void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
ClusterSupervisorServices
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.
create
in interface ClusterSupervisorServices
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.public void create(java.lang.String cluster, ClusterSupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
create
in interface ClusterSupervisorServices
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.public java.util.List<ClusterSupervisorServicesTypes.Summary> list(java.lang.String cluster)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ClusterSupervisorServices
cluster
- Identifier for the cluster on which to list the services.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.util.List<ClusterSupervisorServicesTypes.Summary> list(java.lang.String cluster, InvocationConfig invocationConfig)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface ClusterSupervisorServices
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.public void list(java.lang.String cluster, AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.Summary>> asyncCallback)
ClusterSupervisorServices
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.
list
in interface ClusterSupervisorServices
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.public void list(java.lang.String cluster, AsyncCallback<java.util.List<ClusterSupervisorServicesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
list
in interface ClusterSupervisorServices
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.public ClusterSupervisorServicesTypes.Info get(java.lang.String cluster, java.lang.String supervisorService)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ClusterSupervisorServices
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
.public ClusterSupervisorServicesTypes.Info get(java.lang.String cluster, java.lang.String supervisorService, InvocationConfig invocationConfig)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ClusterSupervisorServices
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.public void get(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<ClusterSupervisorServicesTypes.Info> asyncCallback)
ClusterSupervisorServices
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.
get
in interface ClusterSupervisorServices
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.public void get(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<ClusterSupervisorServicesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
get
in interface ClusterSupervisorServices
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.public void delete(java.lang.String cluster, java.lang.String supervisorService)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ClusterSupervisorServices
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
.public void delete(java.lang.String cluster, java.lang.String supervisorService, InvocationConfig invocationConfig)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ClusterSupervisorServices
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.public void delete(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
ClusterSupervisorServices
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.
delete
in interface ClusterSupervisorServices
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.public void delete(java.lang.String cluster, java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
delete
in interface ClusterSupervisorServices
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.public void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
set
in interface ClusterSupervisorServices
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.public void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec, InvocationConfig invocationConfig)
ClusterSupervisorServices
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
set
in interface ClusterSupervisorServices
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.public void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
ClusterSupervisorServices
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.
set
in interface ClusterSupervisorServices
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.public void set(java.lang.String cluster, java.lang.String supervisorService, ClusterSupervisorServicesTypes.SetSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ClusterSupervisorServices
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.
set
in interface ClusterSupervisorServices
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.