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.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
apiProvider, 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)
SupervisorServices
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.
checkContent
in interface SupervisorServices
spec
- Specification for the content to be checked.public SupervisorServicesTypes.CheckResult checkContent(SupervisorServicesTypes.ContentCheckSpec spec, InvocationConfig invocationConfig)
SupervisorServices
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.
checkContent
in interface SupervisorServices
spec
- Specification for the content to be checked.invocationConfig
- Configuration for the method invocation.public void checkContent(SupervisorServicesTypes.ContentCheckSpec spec, AsyncCallback<SupervisorServicesTypes.CheckResult> asyncCallback)
SupervisorServices
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.
checkContent
in interface SupervisorServices
spec
- 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)
SupervisorServices
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.
checkContent
in interface SupervisorServices
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.public void create(SupervisorServicesTypes.CreateSpec spec)
SupervisorServices
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.
create
in interface SupervisorServices
spec
- Specification for the Supervisor Service with version definition.public void create(SupervisorServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
SupervisorServices
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.
create
in interface SupervisorServices
spec
- 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)
SupervisorServices
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.
create
in interface SupervisorServices
spec
- 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)
SupervisorServices
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.
create
in interface SupervisorServices
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.public void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec spec)
SupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface SupervisorServices
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.public void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec spec, InvocationConfig invocationConfig)
SupervisorServices
Synchronous 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 SupervisorServices
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.public void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServices
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.
update
in interface SupervisorServices
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.public void update(java.lang.String supervisorService, SupervisorServicesTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
update
in interface SupervisorServices
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.public void deactivate(java.lang.String supervisorService)
SupervisorServices
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.
deactivate
in interface SupervisorServices
supervisorService
- 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)
SupervisorServices
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.
deactivate
in interface SupervisorServices
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 deactivate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServices
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.
deactivate
in interface SupervisorServices
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 deactivate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
deactivate
in interface SupervisorServices
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 activate(java.lang.String supervisorService)
SupervisorServices
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.
activate
in interface SupervisorServices
supervisorService
- 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)
SupervisorServices
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.
activate
in interface SupervisorServices
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 activate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServices
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.
activate
in interface SupervisorServices
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 activate(java.lang.String supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
activate
in interface SupervisorServices
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 java.util.List<SupervisorServicesTypes.Summary> list()
SupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface SupervisorServices
public java.util.List<SupervisorServicesTypes.Summary> list(InvocationConfig invocationConfig)
SupervisorServices
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 SupervisorServices
invocationConfig
- Configuration for the method invocation.public void list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback)
SupervisorServices
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.
list
in interface SupervisorServices
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<SupervisorServicesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
list
in interface SupervisorServices
asyncCallback
- 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)
SupervisorServices
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface SupervisorServices
supervisorService
- 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)
SupervisorServices
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 SupervisorServices
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 supervisorService, AsyncCallback<SupervisorServicesTypes.Info> asyncCallback)
SupervisorServices
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.
get
in interface SupervisorServices
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 supervisorService, AsyncCallback<SupervisorServicesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
get
in interface SupervisorServices
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 supervisorService)
SupervisorServices
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.
delete
in interface SupervisorServices
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 supervisorService, InvocationConfig invocationConfig)
SupervisorServices
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.
delete
in interface SupervisorServices
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 supervisorService, AsyncCallback<java.lang.Void> asyncCallback)
SupervisorServices
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.
delete
in interface SupervisorServices
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 supervisorService, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SupervisorServices
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.
delete
in interface SupervisorServices
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.