public interface Services extends Service, ServicesTypes
Services
interface manages the Attestation Service instances a
Trusted Cluster is configured to use. This interface was added in vSphere API
7.0.0.0.ServicesTypes._VAPI_OPERATIONS, ServicesTypes.CreateSpec, ServicesTypes.FilterSpec, ServicesTypes.Info, ServicesTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec)
Configures the cluster to use a the given registered Attestation Service.
|
void |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Configures the cluster to use a the given registered Attestation Service.
|
void |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Configures the cluster to use a the given registered Attestation Service.
|
java.lang.String |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Configures the cluster to use a the given registered Attestation Service.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String service)
Removes the Attestation Service instance from the configuration of the given
cluster.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String service,
AsyncCallback<java.lang.String> asyncCallback)
Removes the Attestation Service instance from the configuration of the given
cluster.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String service,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Removes the Attestation Service instance from the configuration of the given
cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String service,
InvocationConfig invocationConfig)
Removes the Attestation Service instance from the configuration of the given
cluster.
|
ServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String service)
Returns detailed information about the given registered Attestation Service
instance that is configured for the given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String service,
AsyncCallback<ServicesTypes.Info> asyncCallback)
Returns detailed information about the given registered Attestation Service
instance that is configured for the given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String service,
AsyncCallback<ServicesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns detailed information about the given registered Attestation Service
instance that is configured for the given cluster.
|
ServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String service,
InvocationConfig invocationConfig)
Returns detailed information about the given registered Attestation Service
instance that is configured for the given cluster.
|
java.util.List<ServicesTypes.Summary> |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec)
Returns the basic information about all configured Attestation Service instances
used by this cluster.
|
void |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback)
Returns the basic information about all configured Attestation Service instances
used by this cluster.
|
void |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns the basic information about all configured Attestation Service instances
used by this cluster.
|
java.util.List<ServicesTypes.Summary> |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Returns the basic information about all configured Attestation Service instances
used by this cluster.
|
java.util.List<ServicesTypes.Summary> list(java.lang.String cluster, ServicesTypes.FilterSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Only return services matching the filters.
If return all services.Error
- if there is a generic error.NotFound
- if the cluster ID is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. java.util.List<ServicesTypes.Summary> list(java.lang.String cluster, ServicesTypes.FilterSpec 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.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Only return services matching the filters.
If return all services.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if the cluster ID is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. void list(java.lang.String cluster, ServicesTypes.FilterSpec spec, AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Basic information about all configured Attestation Service instances used by
this cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the cluster ID is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Only return services matching the filters.
If return all services.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster, ServicesTypes.FilterSpec spec, AsyncCallback<java.util.List<ServicesTypes.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:
Basic information about all configured Attestation Service instances used by
this cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the cluster ID is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Only return services matching the filters.
If return all services.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ServicesTypes.Info get(java.lang.String cluster, java.lang.String service)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- The ID of the service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.Error
- if there is a generic error.NotFound
- if the cluster or the service ID is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. ServicesTypes.Info get(java.lang.String cluster, java.lang.String service, 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.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- The ID of the service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if the cluster or the service ID is invalid.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. void get(java.lang.String cluster, java.lang.String service, AsyncCallback<ServicesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Detailed information about the specified Attestation Service configured for the
given cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the cluster or the service ID is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- The ID of the service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, java.lang.String service, AsyncCallback<ServicesTypes.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:
Detailed information about the specified Attestation Service configured for the
given cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the cluster or the service ID is invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. ClusterComputeResource
referenced by the parameter cluster
requires System.View
. cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- The ID of the service.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Describes the registered instance of the Attestation ServiceAlreadyExists
- if the Attestation Service is already configured for this clusterError
- for any other error.InvalidArgument
- if the CreateSpec is not valid.NotFound
- if the cluster ID is not valid.UnableToAllocateResource
- if all the hosts in the cluster do not have VMware vSphere Trust Authority
enabled license.Unauthenticated
- if the user can not be authenticated.java.lang.String create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Describes the registered instance of the Attestation ServiceinvocationConfig
- Configuration for the method invocation.AlreadyExists
- if the Attestation Service is already configured for this clusterError
- for any other error.InvalidArgument
- if the CreateSpec is not valid.NotFound
- if the cluster ID is not valid.UnableToAllocateResource
- if all the hosts in the cluster do not have VMware vSphere Trust Authority
enabled license.Unauthenticated
- if the user can not be authenticated.void create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
AlreadyExists
- if the Attestation Service is already configured for this cluster
Error
- for any other error.
InvalidArgument
- if the CreateSpec is not valid.
NotFound
- if the cluster ID is not valid.
UnableToAllocateResource
- if all the hosts in the cluster do not have VMware vSphere Trust Authority
enabled license.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Describes the registered instance of the Attestation ServiceasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
AlreadyExists
- if the Attestation Service is already configured for this cluster
Error
- for any other error.
InvalidArgument
- if the CreateSpec is not valid.
NotFound
- if the cluster ID is not valid.
UnableToAllocateResource
- if all the hosts in the cluster do not have VMware vSphere Trust Authority
enabled license.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Describes the registered instance of the Attestation ServiceasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String delete_Task(java.lang.String cluster, java.lang.String service)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- the unique ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- the registered Attestation Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.Error
- if there is a generic error.NotFound
- if the Attestation Service instance or the cluster are not found.Unauthenticated
- if the user can not be authenticated.java.lang.String delete_Task(java.lang.String cluster, java.lang.String service, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- the unique ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- the registered Attestation Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if the Attestation Service instance or the cluster are not found.Unauthenticated
- if the user can not be authenticated.void delete_Task(java.lang.String cluster, java.lang.String service, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the Attestation Service instance or the cluster are not found.
Unauthenticated
- if the user can not be authenticated.
cluster
- the unique ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- the registered Attestation Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete_Task(java.lang.String cluster, java.lang.String service, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if the Attestation Service instance or the cluster are not found.
Unauthenticated
- if the user can not be authenticated.
cluster
- the unique ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.service
- the registered Attestation Service instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.