public interface SupervisorServices extends Service, SupervisorServicesTypes
SupervisorServices
interface provides methods to manage a Supervisor
Service object. Supervisor services can be extensions to the vSphere Supervisor
and provide services to applications running in vSphere Supervisor. They are
often provided by 3rd party vendors. This interface was added in vSphere API
7.0.3.0.SupervisorServicesTypes.CarvelAppsCheckResult, SupervisorServicesTypes.CarvelCreateSpec, SupervisorServicesTypes.CheckResult, SupervisorServicesTypes.ContentCheckSpec, SupervisorServicesTypes.CreateSpec, SupervisorServicesTypes.CustomCreateSpec, SupervisorServicesTypes.Info, SupervisorServicesTypes.State, SupervisorServicesTypes.Summary, SupervisorServicesTypes.UpdateSpec, SupervisorServicesTypes.ValidationStatus, SupervisorServicesTypes.VsphereAppsCheckResult, SupervisorServicesTypes.VsphereCreateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
activate(java.lang.String supervisorService)
Activate a Supervisor Service.
|
void |
activate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
Activate a Supervisor Service.
|
void |
activate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Activate a Supervisor Service.
|
void |
activate(java.lang.String supervisorService,
InvocationConfig invocationConfig)
Activate a Supervisor Service.
|
SupervisorServicesTypes.CheckResult |
checkContent(SupervisorServicesTypes.ContentCheckSpec spec)
Perform validation checks on the content of a Supervisor Service version defined
in the
spec . |
void |
checkContent(SupervisorServicesTypes.ContentCheckSpec spec,
AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback)
Perform validation checks on the content of a Supervisor Service version defined
in the
spec . |
void |
checkContent(SupervisorServicesTypes.ContentCheckSpec spec,
AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback,
InvocationConfig invocationConfig)
Perform validation checks on the content of a Supervisor Service version defined
in the
spec . |
SupervisorServicesTypes.CheckResult |
checkContent(SupervisorServicesTypes.ContentCheckSpec spec,
InvocationConfig invocationConfig)
Perform validation checks on the content of a Supervisor Service version defined
in the
spec . |
void |
create(SupervisorServicesTypes.CreateSpec spec)
Create a Supervisor Service.
|
void |
create(SupervisorServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Create a Supervisor Service.
|
void |
create(SupervisorServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create a Supervisor Service.
|
void |
create(SupervisorServicesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Create a Supervisor Service.
|
void |
deactivate(java.lang.String supervisorService)
Deactivate a Supervisor Service.
|
void |
deactivate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
Deactivate a Supervisor Service.
|
void |
deactivate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deactivate a Supervisor Service.
|
void |
deactivate(java.lang.String supervisorService,
InvocationConfig invocationConfig)
Deactivate a Supervisor Service.
|
void |
delete(java.lang.String supervisorService)
Delete a Supervisor Service.
|
void |
delete(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
Delete a Supervisor Service.
|
void |
delete(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a Supervisor Service.
|
void |
delete(java.lang.String supervisorService,
InvocationConfig invocationConfig)
Delete a Supervisor Service.
|
SupervisorServicesTypes.Info |
get(java.lang.String supervisorService)
Return the information for the specified Supervisor Service.
|
void |
get(java.lang.String supervisorService,
AsyncCallback<SupervisorServicesTypes.Info> asyncCallback)
Return the information for the specified Supervisor Service.
|
void |
get(java.lang.String supervisorService,
AsyncCallback<SupervisorServicesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return the information for the specified Supervisor Service.
|
SupervisorServicesTypes.Info |
get(java.lang.String supervisorService,
InvocationConfig invocationConfig)
Return the information for the specified Supervisor Service.
|
java.util.List<SupervisorServicesTypes.Summary> |
list()
Return the information about all Supervisor Services on this vCenter.
|
void |
list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback)
Return the information about all Supervisor Services on this vCenter.
|
void |
list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Return the information about all Supervisor Services on this vCenter.
|
java.util.List<SupervisorServicesTypes.Summary> |
list(InvocationConfig invocationConfig)
Return the information about all Supervisor Services on this vCenter.
|
void |
update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec)
Update a Supervisor Service.
|
void |
update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Update a Supervisor Service.
|
void |
update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update a Supervisor Service.
|
void |
update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update a Supervisor Service.
|
SupervisorServicesTypes.CheckResult checkContent(SupervisorServicesTypes.ContentCheckSpec spec)
spec
. The method returns the validation status and relevant
Supervisor Service version information that are available in the content. A
custom format will always return a VALID
status. Only vSphere and Carvel
packages can return multiple validation statuses. 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.
spec
- Specification for the content to be checked.Error
- if the system reports an error while responding to the request.InvalidArgument
- if the provided spec
is invalid. For example, the provided SupervisorServicesTypes.ContentCheckSpec.getContent()
is empty or not base64 encoded.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege.SupervisorServicesTypes.CheckResult checkContent(SupervisorServicesTypes.ContentCheckSpec spec, InvocationConfig invocationConfig)
spec
. The method returns the validation status and relevant
Supervisor Service version information that are available in the content. A
custom format will always return a VALID
status. Only vSphere and Carvel
packages can return multiple validation statuses. 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.
spec
- Specification for the content to be checked.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if the provided spec
is invalid. For example, the provided SupervisorServicesTypes.ContentCheckSpec.getContent()
is empty or not base64 encoded.Unauthenticated
- if the user cannot be authenticated.Unauthorized
- if the user does not have the System.Read privilege.void checkContent(SupervisorServicesTypes.ContentCheckSpec spec, AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback)
spec
. The method returns the validation status and relevant
Supervisor Service version information that are available in the content. A
custom format will always return a VALID
status. Only vSphere and Carvel
packages can return multiple validation statuses. 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
.
Invocation Result:
A check result containing validation status and relevant Supervisor Service
version information from the provided content, if the content is valid. In case
of invalid content, it will return a list of error messages.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if the provided spec
is invalid. For example, the provided SupervisorServicesTypes.ContentCheckSpec.getContent()
is empty or not base64 encoded.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
spec
- Specification for the content to be checked.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void checkContent(SupervisorServicesTypes.ContentCheckSpec spec, AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback, InvocationConfig invocationConfig)
spec
. The method returns the validation status and relevant
Supervisor Service version information that are available in the content. A
custom format will always return a VALID
status. Only vSphere and Carvel
packages can return multiple validation statuses. 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.
Invocation Result:
A check result containing validation status and relevant Supervisor Service
version information from the provided content, if the content is valid. In case
of invalid content, it will return a list of error messages.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if the provided spec
is invalid. For example, the provided SupervisorServicesTypes.ContentCheckSpec.getContent()
is empty or not base64 encoded.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
spec
- Specification for the content to be checked.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void create(SupervisorServicesTypes.CreateSpec spec)
spec
,
new Supervisor Service versions will be created as part of the operation. 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.
spec
- Specification for the Supervisor Service with version definition.AlreadyExists
- if a Supervisor Service with the same identifier already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contain any errors or if an invalid name is specified. For
example, when the service is from a trusted provider, but no signature is
provided or it is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void create(SupervisorServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
spec
,
new Supervisor Service versions will be created as part of the operation. 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.
spec
- Specification for the Supervisor Service with version definition.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a Supervisor Service with the same identifier already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contain any errors or if an invalid name is specified. For
example, when the service is from a trusted provider, but no signature is
provided or it is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.void create(SupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
spec
,
new Supervisor Service versions will be created as part of the operation. 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:
AlreadyExists
- if a Supervisor Service with the same identifier already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if spec
contain any errors or if an invalid name is specified. For
example, when the service is from a trusted provider, but no signature is
provided or it is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
spec
- Specification for the Supervisor Service with version definition.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(SupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
spec
,
new Supervisor Service versions will be created as part of the operation. 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:
AlreadyExists
- if a Supervisor Service with the same identifier already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if spec
contain any errors or if an invalid name is specified. For
example, when the service is from a trusted provider, but no signature is
provided or it is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the SupervisorServices.Manage privilege.
spec
- Specification for the Supervisor Service with version definition.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec spec)
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
.spec
- Specification for the Supervisor Service metadata to be updated.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contain any errors or if an invalid name is specified.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 update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec 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 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 metadata to be updated.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contain any errors or if an invalid name is specified.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 update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec 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
contain any errors or if an invalid name is specified.
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 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 metadata to be updated.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec 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
contain any errors or if an invalid name is specified.
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 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 metadata to be updated.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void deactivate(java.lang.String supervisorService)
State
of
the supervisor service to DEACTIVATED
state, and deactivate all versions
of the supervisor service. Note that this method should be called before
deleting the Supervisor Service. 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
.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service is already in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
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, InvocationConfig invocationConfig)
State
of
the supervisor service to DEACTIVATED
state, and deactivate all versions
of the supervisor service. Note that this method should be called before
deleting the Supervisor Service. 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
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service is already in DEACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
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, AsyncCallback<java.lang.Void> asyncCallback)
State
of
the supervisor service to DEACTIVATED
state, and deactivate all versions
of the supervisor service. Note that this method should be called before
deleting the Supervisor Service. 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 is already in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
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
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void deactivate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
State
of
the supervisor service to DEACTIVATED
state, and deactivate all versions
of the supervisor service. Note that this method should be called before
deleting the Supervisor Service. 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 is already in DEACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
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
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void activate(java.lang.String supervisorService)
State
of the
supervisor service to in ACTIVATED
state, and activate all versions of
the supervisor service. 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
.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service is already in ACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
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, InvocationConfig invocationConfig)
State
of the
supervisor service to in ACTIVATED
state, and activate all versions of
the supervisor service. 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
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service is already in ACTIVATED
state.NotFound
- if Supervisor Service with the ID supervisorService
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, AsyncCallback<java.lang.Void> asyncCallback)
State
of the
supervisor service to in ACTIVATED
state, and activate all versions of
the supervisor service. 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 is already in ACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
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
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void activate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
State
of the
supervisor service to in ACTIVATED
state, and activate all versions of
the supervisor service. 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 is already in ACTIVATED
state.
NotFound
- if Supervisor Service with the ID supervisorService
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
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<SupervisorServicesTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.java.util.List<SupervisorServicesTypes.Summary> list(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.
invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the System.Read privilege.void list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of summary of all Supervisor Services.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<SupervisorServicesTypes.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 Supervisor Services.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the System.Read privilege.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SupervisorServicesTypes.Info get(java.lang.String supervisorService)
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
.Error
- if the system reports an error while responding to the request.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 System.Read privilege.SupervisorServicesTypes.Info get(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 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 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 get(java.lang.String supervisorService, AsyncCallback<SupervisorServicesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information for the specified Supervisor Service.
Operation Errors:
Error
- if the system reports an error while responding to the request.
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 System.Read privilege.
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 supervisorService, AsyncCallback<SupervisorServicesTypes.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.
Operation Errors:
Error
- if the system reports an error while responding to the request.
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 System.Read privilege.
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 supervisorService)
DEACTIVATED
state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
deactivate()
method should be called to deactivate the Supervisor
Service before the Supervisor Service can be deleted. 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
.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service cannot be deleted in the current state, e.g. a version
of the Supervisor Service is not 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 delete(java.lang.String supervisorService, InvocationConfig invocationConfig)
DEACTIVATED
state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
deactivate()
method should be called to deactivate the Supervisor
Service before the Supervisor Service can be deleted. 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
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotAllowedInCurrentState
- if the Supervisor Service cannot be deleted in the current state, e.g. a version
of the Supervisor Service is not 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 delete(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
DEACTIVATED
state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
deactivate()
method should be called to deactivate the Supervisor
Service before the Supervisor Service can be deleted. 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 cannot be deleted in the current state, e.g. a version
of the Supervisor Service is not 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 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 supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DEACTIVATED
state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
deactivate()
method should be called to deactivate the Supervisor
Service before the Supervisor Service can be deleted. 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 cannot be deleted in the current state, e.g. a version
of the Supervisor Service is not 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 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.