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.Message, SupervisorServicesTypes.PrecheckResult, SupervisorServicesTypes.PrecheckSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SupervisorServicesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SupervisorServicesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
SupervisorServicesTypes.PrecheckResult |
getPrecheckResult(java.lang.String supervisor,
java.lang.String supervisorService,
java.lang.String targetVersion)
Get the result of the last valid
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. |
void |
getPrecheckResult(java.lang.String supervisor,
java.lang.String supervisorService,
java.lang.String targetVersion,
com.vmware.vapi.bindings.client.AsyncCallback<SupervisorServicesTypes.PrecheckResult> asyncCallback)
Get the result of the last valid
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. |
void |
getPrecheckResult(java.lang.String supervisor,
java.lang.String supervisorService,
java.lang.String targetVersion,
com.vmware.vapi.bindings.client.AsyncCallback<SupervisorServicesTypes.PrecheckResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the result of the last valid
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. |
SupervisorServicesTypes.PrecheckResult |
getPrecheckResult(java.lang.String supervisor,
java.lang.String supervisorService,
java.lang.String targetVersion,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the result of the last valid
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. |
java.lang.String |
precheck(java.lang.String supervisor,
java.lang.String supervisorService,
SupervisorServicesTypes.PrecheckSpec spec)
Initiates a pre-check for installing or upgrading to a Supervisor Service
version on the given Supervisor.
|
void |
precheck(java.lang.String supervisor,
java.lang.String supervisorService,
SupervisorServicesTypes.PrecheckSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Initiates a pre-check for installing or upgrading to a Supervisor Service
version on the given Supervisor.
|
void |
precheck(java.lang.String supervisor,
java.lang.String supervisorService,
SupervisorServicesTypes.PrecheckSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Initiates a pre-check for installing or upgrading to a Supervisor Service
version on the given Supervisor.
|
java.lang.String |
precheck(java.lang.String supervisor,
java.lang.String supervisorService,
SupervisorServicesTypes.PrecheckSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Initiates a pre-check for installing or upgrading to a Supervisor Service
version on the given Supervisor.
|
public SupervisorServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public SupervisorServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public java.lang.String precheck(java.lang.String supervisor, java.lang.String supervisorService, SupervisorServicesTypes.PrecheckSpec spec)
SupervisorServices
SupervisorServices.getPrecheckResult(java.lang.String, java.lang.String, java.lang.String)
method. This method was added in vSphere API 8.0.3.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
precheck
in interface SupervisorServices
supervisor
- Identifier for the Supervisor on which to initiate the pre-check.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier of 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 pre-check.com.vmware.cis.task
.public java.lang.String precheck(java.lang.String supervisor, java.lang.String supervisorService, SupervisorServicesTypes.PrecheckSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupervisorServices
SupervisorServices.getPrecheckResult(java.lang.String, java.lang.String, java.lang.String)
method. This method was added in vSphere API 8.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.
precheck
in interface SupervisorServices
supervisor
- Identifier for the Supervisor on which to initiate the pre-check.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier of 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 pre-check.invocationConfig
- Configuration for the method invocation.com.vmware.cis.task
.public void precheck(java.lang.String supervisor, java.lang.String supervisorService, SupervisorServicesTypes.PrecheckSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
SupervisorServices
SupervisorServices.getPrecheckResult(java.lang.String, java.lang.String, java.lang.String)
method. This method was added in vSphere API 8.0.3.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The task identifier for the precheck operation.
The return value will be an identifier for the resource type: com.vmware.cis.task
.
Operation Errors:
InvalidArgument
- if spec
contains any errors.
NotFound
- if Supervisor with the ID supervisor
or Supervisor Service with the ID
supervisorService
or the version defined in spec
could not be
located.
NotAllowedInCurrentState
- if the Supervisor is configuring or being removed.
Unsupported
- if the Supervisor doesn't support Supervisor Service or Supervisor Service
precheck.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Install privilege on the
specified Supervisor.
Error
- for any other error.
precheck
in interface SupervisorServices
supervisor
- Identifier for the Supervisor on which to initiate the pre-check.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier of 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 pre-check.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void precheck(java.lang.String supervisor, java.lang.String supervisorService, SupervisorServicesTypes.PrecheckSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupervisorServices
SupervisorServices.getPrecheckResult(java.lang.String, java.lang.String, java.lang.String)
method. This method was added in vSphere API 8.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:
The task identifier for the precheck operation.
The return value will be an identifier for the resource type: com.vmware.cis.task
.
Operation Errors:
InvalidArgument
- if spec
contains any errors.
NotFound
- if Supervisor with the ID supervisor
or Supervisor Service with the ID
supervisorService
or the version defined in spec
could not be
located.
NotAllowedInCurrentState
- if the Supervisor is configuring or being removed.
Unsupported
- if the Supervisor doesn't support Supervisor Service or Supervisor Service
precheck.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Install privilege on the
specified Supervisor.
Error
- for any other error.
precheck
in interface SupervisorServices
supervisor
- Identifier for the Supervisor on which to initiate the pre-check.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier of 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 pre-check.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public SupervisorServicesTypes.PrecheckResult getPrecheckResult(java.lang.String supervisor, java.lang.String supervisorService, java.lang.String targetVersion)
SupervisorServices
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. If the
Supervisor Service on the Supervisor has been installed, upgraded or deleted
since the last SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method, the stale result will be purged and the user should re-initiate a SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method. This method was added in vSphere API 8.0.3.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
getPrecheckResult
in interface SupervisorServices
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.targetVersion
- Identifier for the target version to run the pre-check with.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for the Supervisor Service version on the Supervisor.public SupervisorServicesTypes.PrecheckResult getPrecheckResult(java.lang.String supervisor, java.lang.String supervisorService, java.lang.String targetVersion, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupervisorServices
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. If the
Supervisor Service on the Supervisor has been installed, upgraded or deleted
since the last SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method, the stale result will be purged and the user should re-initiate a SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method. This method was added in vSphere API 8.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.
getPrecheckResult
in interface SupervisorServices
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.targetVersion
- Identifier for the target version to run the pre-check with.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.invocationConfig
- Configuration for the method invocation.SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for the Supervisor Service version on the Supervisor.public void getPrecheckResult(java.lang.String supervisor, java.lang.String supervisorService, java.lang.String targetVersion, com.vmware.vapi.bindings.client.AsyncCallback<SupervisorServicesTypes.PrecheckResult> asyncCallback)
SupervisorServices
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. If the
Supervisor Service on the Supervisor has been installed, upgraded or deleted
since the last SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method, the stale result will be purged and the user should re-initiate a SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method. This method was added in vSphere API 8.0.3.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The result of the last valid SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for the Supervisor Service version on the Supervisor.
Operation Errors:
NotFound
- if Supervisor with the ID supervisor
or Supervisor Service with the ID
supervisorService
or version with the ID targetVersion
could not
be located or there is no valid pre-check result available.
Unsupported
- if the Supervisor doesn't support Supervisor Service or Supervisor Service
precheck.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Install privilege on the
specified Supervisor.
Error
- for any other error.
getPrecheckResult
in interface SupervisorServices
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.targetVersion
- Identifier for the target version to run the pre-check with.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void getPrecheckResult(java.lang.String supervisor, java.lang.String supervisorService, java.lang.String targetVersion, com.vmware.vapi.bindings.client.AsyncCallback<SupervisorServicesTypes.PrecheckResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupervisorServices
SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for a specific Supervisor Service version on a Supervisor. If the
Supervisor Service on the Supervisor has been installed, upgraded or deleted
since the last SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method, the stale result will be purged and the user should re-initiate a SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method. This method was added in vSphere API 8.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:
The result of the last valid SupervisorServices.precheck(java.lang.String, java.lang.String, com.vmware.vcenter.namespace_management.supervisors.SupervisorServicesTypes.PrecheckSpec)
method for the Supervisor Service version on the Supervisor.
Operation Errors:
NotFound
- if Supervisor with the ID supervisor
or Supervisor Service with the ID
supervisorService
or version with the ID targetVersion
could not
be located or there is no valid pre-check result available.
Unsupported
- if the Supervisor doesn't support Supervisor Service or Supervisor Service
precheck.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have the SupervisorServices.Install privilege on the
specified Supervisor.
Error
- for any other error.
getPrecheckResult
in interface SupervisorServices
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.supervisorService
- Identifier for the Supervisor Service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService
.targetVersion
- Identifier for the target version to run the pre-check with.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor_services.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.