public class TrustAuthorityClustersStub extends com.vmware.vapi.internal.bindings.Stub implements TrustAuthorityClusters
TrustAuthorityClusters
API service.
WARNING: Internal class, subject to change in future versions.
TrustAuthorityClustersTypes._VAPI_OPERATIONS, TrustAuthorityClustersTypes.FilterSpec, TrustAuthorityClustersTypes.Info, TrustAuthorityClustersTypes.State, TrustAuthorityClustersTypes.Summary, TrustAuthorityClustersTypes.UpdateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TrustAuthorityClustersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TrustAuthorityClustersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public TrustAuthorityClustersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TrustAuthorityClustersStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec spec)
TrustAuthorityClusters
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
update_Task
in interface TrustAuthorityClusters
cluster
- Cluster id.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for update of a cluster.public java.lang.String update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec spec, InvocationConfig invocationConfig)
TrustAuthorityClusters
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.
update_Task
in interface TrustAuthorityClusters
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.public void update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
TrustAuthorityClusters
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.
update_Task
in interface TrustAuthorityClusters
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.public void update_Task(java.lang.String cluster, TrustAuthorityClustersTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
TrustAuthorityClusters
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.
update_Task
in interface TrustAuthorityClusters
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.public TrustAuthorityClustersTypes.Info get(java.lang.String cluster)
TrustAuthorityClusters
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TrustAuthorityClusters
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.public TrustAuthorityClustersTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
TrustAuthorityClusters
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 TrustAuthorityClusters
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.public void get(java.lang.String cluster, AsyncCallback<TrustAuthorityClustersTypes.Info> asyncCallback)
TrustAuthorityClusters
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
. get
in interface TrustAuthorityClusters
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.public void get(java.lang.String cluster, AsyncCallback<TrustAuthorityClustersTypes.Info> asyncCallback, InvocationConfig invocationConfig)
TrustAuthorityClusters
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
. get
in interface TrustAuthorityClusters
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.public java.util.List<TrustAuthorityClustersTypes.Summary> list(TrustAuthorityClustersTypes.FilterSpec spec)
TrustAuthorityClusters
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.
list
in interface TrustAuthorityClusters
spec
- Return only clusters matching the specified filters.
If return all clusters.TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.public java.util.List<TrustAuthorityClustersTypes.Summary> list(TrustAuthorityClustersTypes.FilterSpec spec, InvocationConfig invocationConfig)
TrustAuthorityClusters
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.
list
in interface TrustAuthorityClusters
spec
- Return only clusters matching the specified filters.
If return all clusters.invocationConfig
- Configuration for the method invocation.TrustAuthorityClustersTypes.Summary
for a TrustAuthorityClusters
.public void list(TrustAuthorityClustersTypes.FilterSpec spec, AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback)
TrustAuthorityClusters
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
. list
in interface TrustAuthorityClusters
spec
- Return only clusters matching the specified filters.
If return all clusters.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(TrustAuthorityClustersTypes.FilterSpec spec, AsyncCallback<java.util.List<TrustAuthorityClustersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
TrustAuthorityClusters
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
. list
in interface TrustAuthorityClusters
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.