public interface Services extends Service, ServicesTypes
Services
interface contains information about the Services
instances a cluster uses. This interface was added in vSphere API 7.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 new
Services . |
void |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Configures the cluster to use a new
Services . |
void |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Configures the cluster to use a new
Services . |
java.lang.String |
create_Task(java.lang.String cluster,
ServicesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Configures the cluster to use a new
Services . |
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String service)
Marks the
Services so that it will no longer be used by the cluster. |
void |
delete_Task(java.lang.String cluster,
java.lang.String service,
AsyncCallback<java.lang.String> asyncCallback)
Marks the
Services so that it will no longer be used by the cluster. |
void |
delete_Task(java.lang.String cluster,
java.lang.String service,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Marks the
Services so that it will no longer be used by the cluster. |
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String service,
InvocationConfig invocationConfig)
Marks the
Services so that it will no longer be used by the cluster. |
ServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String service)
Returns detailed information for a
Services configured for a cluster. |
void |
get(java.lang.String cluster,
java.lang.String service,
AsyncCallback<ServicesTypes.Info> asyncCallback)
Returns detailed information for a
Services configured for a cluster. |
void |
get(java.lang.String cluster,
java.lang.String service,
AsyncCallback<ServicesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns detailed information for a
Services configured for a cluster. |
ServicesTypes.Info |
get(java.lang.String cluster,
java.lang.String service,
InvocationConfig invocationConfig)
Returns detailed information for a
Services configured for a cluster. |
java.util.List<ServicesTypes.Summary> |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec)
Returns the list of all
Services configured for a cluster. |
void |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback)
Returns the list of all
Services configured for a cluster. |
void |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns the list of all
Services configured for a cluster. |
java.util.List<ServicesTypes.Summary> |
list(java.lang.String cluster,
ServicesTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Returns the list of all
Services configured for a cluster. |
java.util.List<ServicesTypes.Summary> list(java.lang.String cluster, ServicesTypes.FilterSpec spec)
Services
configured for a cluster. This method
was added in vSphere API 7.0.0.
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.Services
used by this cluster.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)
Services
configured for a cluster. This method
was added in vSphere API 7.0.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.
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.Services
used by this cluster.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)
Services
configured for a cluster. This method
was added in vSphere API 7.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of all Services
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)
Services
configured for a cluster. This method
was added in vSphere API 7.0.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:
List of all Services
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)
Services
configured for a cluster.
This method was added in vSphere API 7.0.0.
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_platform.kms.Service
.Services
.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)
Services
configured for a cluster.
This method was added in vSphere API 7.0.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.
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_platform.kms.Service
.invocationConfig
- Configuration for the method invocation.Services
.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)
Services
configured for a cluster.
This method was added in vSphere API 7.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info for the specified Services
.
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_platform.kms.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)
Services
configured for a cluster.
This method was added in vSphere API 7.0.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:
Info for the specified Services
.
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_platform.kms.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)
Services
. This method was added in
vSphere API 7.0.0.
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 Services
.AlreadyExists
- if the Services
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)
Services
. This method was added in
vSphere API 7.0.0.
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 Services
.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the Services
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)
Services
. This method was added in
vSphere API 7.0.0.
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 Services
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 Services
.asyncCallback
- 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)
Services
. This method was added in
vSphere API 7.0.0.
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 Services
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 Services
.asyncCallback
- 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)
Services
so that it will no longer be used by the cluster.
This method was added in vSphere API 7.0.0.
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 Services
instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_platform.kms.Service
.Error
- if there is a generic error.NotFound
- if the Services
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)
Services
so that it will no longer be used by the cluster.
This method was added in vSphere API 7.0.0.
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 Services
instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_platform.kms.Service
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if the Services
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)
Services
so that it will no longer be used by the cluster.
This method was added in vSphere API 7.0.0.
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 Services
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 Services
instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_platform.kms.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)
Services
so that it will no longer be used by the cluster.
This method was added in vSphere API 7.0.0.
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 Services
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 Services
instance unique identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_platform.kms.Service
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.