public class ServicesStub extends com.vmware.vapi.internal.bindings.Stub implements Services
Services
API service.
WARNING: Internal class, subject to change in future versions.
ServicesTypes._VAPI_OPERATIONS, ServicesTypes.CreateSpec, ServicesTypes.FilterSpec, ServicesTypes.Info, ServicesTypes.Summary
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServicesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ServicesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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. |
public ServicesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ServicesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ServicesTypes.Summary> list(java.lang.String cluster, ServicesTypes.FilterSpec spec)
Services
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.
public java.util.List<ServicesTypes.Summary> list(java.lang.String cluster, ServicesTypes.FilterSpec spec, InvocationConfig invocationConfig)
Services
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.
list
in interface Services
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.public void list(java.lang.String cluster, ServicesTypes.FilterSpec spec, AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback)
Services
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
. list
in interface Services
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.public void list(java.lang.String cluster, ServicesTypes.FilterSpec spec, AsyncCallback<java.util.List<ServicesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Services
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
. list
in interface Services
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.public ServicesTypes.Info get(java.lang.String cluster, java.lang.String service)
Services
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.
get
in interface Services
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
.public ServicesTypes.Info get(java.lang.String cluster, java.lang.String service, InvocationConfig invocationConfig)
Services
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.
get
in interface Services
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
.public void get(java.lang.String cluster, java.lang.String service, AsyncCallback<ServicesTypes.Info> asyncCallback)
Services
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
. get
in interface Services
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.public void get(java.lang.String cluster, java.lang.String service, AsyncCallback<ServicesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Services
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
. get
in interface Services
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.public java.lang.String create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec)
Services
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.
create_Task
in interface Services
cluster
- The ID of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Describes the Services
.public java.lang.String create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, InvocationConfig invocationConfig)
Services
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.
create_Task
in interface Services
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.public void create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Services
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.
create_Task
in interface Services
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.public void create_Task(java.lang.String cluster, ServicesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Services
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.
create_Task
in interface Services
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.public java.lang.String delete_Task(java.lang.String cluster, java.lang.String service)
Services
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.
delete_Task
in interface Services
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
.public java.lang.String delete_Task(java.lang.String cluster, java.lang.String service, InvocationConfig invocationConfig)
Services
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.
delete_Task
in interface Services
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.public void delete_Task(java.lang.String cluster, java.lang.String service, AsyncCallback<java.lang.String> asyncCallback)
Services
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.
delete_Task
in interface Services
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.public void delete_Task(java.lang.String cluster, java.lang.String service, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Services
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.
delete_Task
in interface Services
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.