public interface TrustAuthorityClusters extends Service, TrustAuthorityClustersTypes
TrustAuthorityClusters
interface manages all the Trust Authority
Components on each Trust Authority Host in the cluster. The TrustAuthorityClusters
interface transforms a ClusterComputeResource into Trust
Authority Cluster and vice versa. This interface was added in vSphere API 7.0.0.TrustAuthorityClustersTypes._VAPI_OPERATIONS, TrustAuthorityClustersTypes.FilterSpec, TrustAuthorityClustersTypes.Info, TrustAuthorityClustersTypes.State, TrustAuthorityClustersTypes.Summary, TrustAuthorityClustersTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
TrustAuthorityClustersTypes.Info |
get(java.lang.String cluster)
Get the result of the last Update operation which matches the cluster id.
|
void |
get(java.lang.String cluster,
AsyncCallback<TrustAuthorityClustersTypes.Info> asyncCallback)
Get the result of the last Update operation which matches the cluster id.
|
void |
get(java.lang.String cluster,
AsyncCallback<TrustAuthorityClustersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the result of the last Update operation which matches the cluster id.
|
TrustAuthorityClustersTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Get the result of the last Update operation which matches the cluster id.
|
java.util.List<TrustAuthorityClustersTypes.Summary> |
list(TrustAuthorityClustersTypes.FilterSpec spec)
Returns a list of clusters for this vCenter instance which matches the
TrustAuthorityClustersTypes.FilterSpec . |
void |
list(TrustAuthorityClustersTypes.FilterSpec spec,
AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback)
Returns a list of clusters for this vCenter instance which matches the
TrustAuthorityClustersTypes.FilterSpec . |
void |
list(TrustAuthorityClustersTypes.FilterSpec spec,
AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of clusters for this vCenter instance which matches the
TrustAuthorityClustersTypes.FilterSpec . |
java.util.List<TrustAuthorityClustersTypes.Summary> |
list(TrustAuthorityClustersTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Returns a list of clusters for this vCenter instance which matches the
TrustAuthorityClustersTypes.FilterSpec . |
java.lang.String |
update_Task(java.lang.String cluster,
TrustAuthorityClustersTypes.UpdateSpec spec)
Updates the state of a cluster.
|
void |
update_Task(java.lang.String cluster,
TrustAuthorityClustersTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Updates the state of a cluster.
|
void |
update_Task(java.lang.String cluster,
TrustAuthorityClustersTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Updates the state of a cluster.
|
java.lang.String |
update_Task(java.lang.String cluster,
TrustAuthorityClustersTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates the state of a cluster.
|
java.lang.String update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for update of a cluster.Error
- if there is a generic error.NotFound
- if spec
doesn't match to any cluster compute resource.Unauthenticated
- if the user can not be authenticated.java.lang.String update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec 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
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for update of a cluster.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if spec
doesn't match to any cluster compute resource.Unauthenticated
- if the user can not be authenticated.void update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec 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:
Error
- if there is a generic error.
NotFound
- if spec
doesn't match to any cluster compute resource.
Unauthenticated
- if the user can not be authenticated.
cluster
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for update of a cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec 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:
Error
- if there is a generic error.
NotFound
- if spec
doesn't match to any cluster compute resource.
Unauthenticated
- if the user can not be authenticated.
cluster
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for update of a cluster.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TrustAuthorityClustersTypes.Info get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.TrustAuthorityClustersTypes.Info
instance which contains information about the state of the cluster.Error
- if there is a generic error.NotFound
- if cluster
doesn't match to any ClusterComputeResource.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
. TrustAuthorityClustersTypes.Info get(java.lang.String cluster, 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
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.TrustAuthorityClustersTypes.Info
instance which contains information about the state of the cluster.Error
- if there is a generic error.NotFound
- if cluster
doesn't match to any ClusterComputeResource.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, AsyncCallback<TrustAuthorityClustersTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The TrustAuthorityClustersTypes.Info
instance which contains information about the state of the cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if cluster
doesn't match to any ClusterComputeResource.
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
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, AsyncCallback<TrustAuthorityClustersTypes.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:
The TrustAuthorityClustersTypes.Info
instance which contains information about the state of the cluster.
Operation Errors:
Error
- if there is a generic error.
NotFound
- if cluster
doesn't match to any ClusterComputeResource.
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
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<TrustAuthorityClustersTypes.Summary> list(TrustAuthorityClustersTypes.FilterSpec spec)
TrustAuthorityClustersTypes.FilterSpec
.
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.
spec
- Return only clusters matching the specified filters.
If return all clusters.TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.Error
- if there is a generic error.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 property TrustAuthorityClustersTypes.FilterSpec.getCluster()
requires System.View
. java.util.List<TrustAuthorityClustersTypes.Summary> list(TrustAuthorityClustersTypes.FilterSpec spec, InvocationConfig invocationConfig)
TrustAuthorityClustersTypes.FilterSpec
.
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.
spec
- Return only clusters matching the specified filters.
If return all clusters.invocationConfig
- Configuration for the method invocation.TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.Error
- if there is a generic error.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 property TrustAuthorityClustersTypes.FilterSpec.getCluster()
requires System.View
. void list(TrustAuthorityClustersTypes.FilterSpec spec, AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback)
TrustAuthorityClustersTypes.FilterSpec
.
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 TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.
Operation Errors:
Error
- if there is a generic error.
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 property TrustAuthorityClustersTypes.FilterSpec.getCluster()
requires System.View
. spec
- Return only clusters matching the specified filters.
If return all clusters.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(TrustAuthorityClustersTypes.FilterSpec spec, AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
TrustAuthorityClustersTypes.FilterSpec
.
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 TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.
Operation Errors:
Error
- if there is a generic error.
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 property TrustAuthorityClustersTypes.FilterSpec.getCluster()
requires System.View
. spec
- Return only clusters matching the specified filters.
If return all clusters.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.