public class SupervisorServicesStub extends com.vmware.vapi.internal.bindings.Stub implements SupervisorServices
SupervisorServices
API service.
WARNING: Internal class, subject to change in future versions.
SupervisorServicesTypes.CheckResult, SupervisorServicesTypes.ContentCheckSpec, SupervisorServicesTypes.CreateSpec, SupervisorServicesTypes.CustomCreateSpec, SupervisorServicesTypes.Info, SupervisorServicesTypes.State, SupervisorServicesTypes.Summary, SupervisorServicesTypes.UpdateSpec, SupervisorServicesTypes.ValidationStatus, SupervisorServicesTypes.VsphereAppsCheckResult, SupervisorServicesTypes.VsphereCreateSpecapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SupervisorServicesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SupervisorServicesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public SupervisorServicesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SupervisorServicesStub(ApiProvider apiProvider, StubConfigurationBase config)
public SupervisorServicesTypes.CheckResult checkContent(SupervisorServicesTypes.ContentCheckSpec spec)
SupervisorServicesspec. 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
applications validation can return multiple status. 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.
checkContent in interface SupervisorServicesspec - Specification for the content to be checked.public SupervisorServicesTypes.CheckResult checkContent(SupervisorServicesTypes.ContentCheckSpec spec, InvocationConfig invocationConfig)
SupervisorServicesspec. 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
applications validation can return multiple status. 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.
checkContent in interface SupervisorServicesspec - Specification for the content to be checked.invocationConfig - Configuration for the method invocation.public void checkContent(SupervisorServicesTypes.ContentCheckSpec spec, AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback)
SupervisorServicesspec. 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
applications validation can return multiple status. 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 ContentCheckSpec#content is empty or not base64 encoded.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the System.Read privilege.
checkContent in interface SupervisorServicesspec - Specification for the content to be checked.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void checkContent(SupervisorServicesTypes.ContentCheckSpec spec, AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback, InvocationConfig invocationConfig)
SupervisorServicesspec. 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
applications validation can return multiple status. 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 ContentCheckSpec#content is empty or not base64 encoded.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the System.Read privilege.
checkContent in interface SupervisorServicesspec - 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.public void create(SupervisorServicesTypes.CreateSpec spec)
SupervisorServicesspec,
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.
create in interface SupervisorServicesspec - Specification for the Supervisor Service with version definition.public void create(SupervisorServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
SupervisorServicesspec,
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.
create in interface SupervisorServicesspec - Specification for the Supervisor Service with version definition.invocationConfig - Configuration for the method invocation.public void create(SupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServicesspec,
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.
create in interface SupervisorServicesspec - Specification for the Supervisor Service with version definition.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(SupervisorServicesTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SupervisorServicesspec,
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.
create in interface SupervisorServicesspec - 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.public void update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec)
SupervisorServicesSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface SupervisorServicessupervisorService - 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.public void update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
SupervisorServicesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface SupervisorServicessupervisorService - 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.public void update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServicesAsynchronous 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.
update in interface SupervisorServicessupervisorService - 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.public void update(java.lang.String supervisorService,
SupervisorServicesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
SupervisorServicesAsynchronous 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.
update in interface SupervisorServicessupervisorService - 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.public void deactivate(java.lang.String supervisorService)
SupervisorServicesState 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.
deactivate in interface SupervisorServicessupervisorService - Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService.public void deactivate(java.lang.String supervisorService,
InvocationConfig invocationConfig)
SupervisorServicesState 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.
deactivate in interface SupervisorServicessupervisorService - 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 deactivate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServicesState 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.
deactivate in interface SupervisorServicessupervisorService - 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 deactivate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
SupervisorServicesState 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.
deactivate in interface SupervisorServicessupervisorService - 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 activate(java.lang.String supervisorService)
SupervisorServicesState 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.
activate in interface SupervisorServicessupervisorService - Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService.public void activate(java.lang.String supervisorService,
InvocationConfig invocationConfig)
SupervisorServicesState 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.
activate in interface SupervisorServicessupervisorService - 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 activate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServicesState 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.
activate in interface SupervisorServicessupervisorService - 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 activate(java.lang.String supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
SupervisorServicesState 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.
activate in interface SupervisorServicessupervisorService - 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 java.util.List<SupervisorServicesTypes.Summary> list()
SupervisorServicesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface SupervisorServicespublic java.util.List<SupervisorServicesTypes.Summary> list(InvocationConfig invocationConfig)
SupervisorServicesSynchronous 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 SupervisorServicesinvocationConfig - Configuration for the method invocation.public void list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback)
SupervisorServicesAsynchronous 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.
list in interface SupervisorServicesasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
SupervisorServicesAsynchronous 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.
list in interface SupervisorServicesasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SupervisorServicesTypes.Info get(java.lang.String supervisorService)
SupervisorServicesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface SupervisorServicessupervisorService - Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService.public SupervisorServicesTypes.Info get(java.lang.String supervisorService, InvocationConfig invocationConfig)
SupervisorServicesSynchronous 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 SupervisorServicessupervisorService - 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 supervisorService,
AsyncCallback<SupervisorServicesTypes.Info> asyncCallback)
SupervisorServicesAsynchronous 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.
get in interface SupervisorServicessupervisorService - 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 supervisorService,
AsyncCallback<SupervisorServicesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
SupervisorServicesAsynchronous 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.
get in interface SupervisorServicessupervisorService - 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 supervisorService)
SupervisorServicesDEACTIVATED state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
SupervisorService#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.
delete in interface SupervisorServicessupervisorService - 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 supervisorService,
InvocationConfig invocationConfig)
SupervisorServicesDEACTIVATED state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
SupervisorService#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.
delete in interface SupervisorServicessupervisorService - 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 supervisorService,
AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServicesDEACTIVATED state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
SupervisorService#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.
delete in interface SupervisorServicessupervisorService - 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 supervisorService,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
SupervisorServicesDEACTIVATED state, and all
versions of the Supervisor Service are removed from vCenter. Note that the
SupervisorService#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.
delete in interface SupervisorServicessupervisorService - 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.