public interface ServicesAppliedConfig extends Service, ServicesAppliedConfigTypes
ServicesAppliedConfig
interface provides information about the
aggregate health of the applied Key Provider Service configuration on the
Trusted Clusters. The desired state of the Key Provider Service is stored within
vCenter, while the applied configuration is stored on the hosts in the cluster.
The ServicesAppliedConfig
interface is available for all clusters, not
only Trusted Clusters. In such cases empty desired state is assumed, e.g. when
an applied Key Provider Service configuration is found outside of a Trusted
Cluster it is considered an ServicesAppliedConfigTypes.Health.ERROR
.
The ServicesAppliedConfig
interface is able to put the applied Key
Provider Service configuration into a consistent state when individual host
configurations have diverged from the desired state. This interface was added in
vSphere API 7.0.1.0.ServicesAppliedConfigTypes._VAPI_OPERATIONS, ServicesAppliedConfigTypes.FilterSpec, ServicesAppliedConfigTypes.Health, ServicesAppliedConfigTypes.Info, ServicesAppliedConfigTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
delete_Task(java.lang.String cluster)
Delete the Key Provider Service configuration that has been applied to the given
cluster.
|
void |
delete_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Delete the Key Provider Service configuration that has been applied to the given
cluster.
|
void |
delete_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Delete the Key Provider Service configuration that has been applied to the given
cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Delete the Key Provider Service configuration that has been applied to the given
cluster.
|
java.lang.String |
get_Task(java.lang.String cluster,
NetworkAddress address)
Returns detailed information about the health of the specified Key Provider
Service configuration applied to the cluster with respect to the desired state.
|
void |
get_Task(java.lang.String cluster,
NetworkAddress address,
AsyncCallback<java.lang.String> asyncCallback)
Returns detailed information about the health of the specified Key Provider
Service configuration applied to the cluster with respect to the desired state.
|
void |
get_Task(java.lang.String cluster,
NetworkAddress address,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns detailed information about the health of the specified Key Provider
Service configuration applied to the cluster with respect to the desired state.
|
java.lang.String |
get_Task(java.lang.String cluster,
NetworkAddress address,
InvocationConfig invocationConfig)
Returns detailed information about the health of the specified Key Provider
Service configuration applied to the cluster with respect to the desired state.
|
java.lang.String |
list_Task(java.lang.String cluster,
ServicesAppliedConfigTypes.FilterSpec spec)
Returns basic information about the health of all Key Provider Service
configurations applied to the cluster with respect to the desired state.
|
void |
list_Task(java.lang.String cluster,
ServicesAppliedConfigTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Returns basic information about the health of all Key Provider Service
configurations applied to the cluster with respect to the desired state.
|
void |
list_Task(java.lang.String cluster,
ServicesAppliedConfigTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns basic information about the health of all Key Provider Service
configurations applied to the cluster with respect to the desired state.
|
java.lang.String |
list_Task(java.lang.String cluster,
ServicesAppliedConfigTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Returns basic information about the health of all Key Provider Service
configurations applied to the cluster with respect to the desired state.
|
java.lang.String |
update_Task(java.lang.String cluster)
Update the applied Key Provider Service configuration on the given Trusted
Cluster to be consistent with the desired state.
|
void |
update_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Update the applied Key Provider Service configuration on the given Trusted
Cluster to be consistent with the desired state.
|
void |
update_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Update the applied Key Provider Service configuration on the given Trusted
Cluster to be consistent with the desired state.
|
java.lang.String |
update_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Update the applied Key Provider Service configuration on the given Trusted
Cluster to be consistent with the desired state.
|
java.lang.String list_Task(java.lang.String cluster, ServicesAppliedConfigTypes.FilterSpec 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 against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for the subset of results desired to be returned.
If all results are returned.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.java.lang.String list_Task(java.lang.String cluster, ServicesAppliedConfigTypes.FilterSpec 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 against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for the subset of results desired to be returned.
If all results are returned.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.void list_Task(java.lang.String cluster, ServicesAppliedConfigTypes.FilterSpec 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for the subset of results desired to be returned.
If all results are returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list_Task(java.lang.String cluster, ServicesAppliedConfigTypes.FilterSpec 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The specification for the subset of results desired to be returned.
If all results are returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String get_Task(java.lang.String cluster, NetworkAddress address)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.address
- The network address of the Key Provider service instance.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter or if
no service corresponding to the given address is found.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.java.lang.String get_Task(java.lang.String cluster, NetworkAddress address, 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 against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.address
- The network address of the Key Provider service instance.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter or if
no service corresponding to the given address is found.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.void get_Task(java.lang.String cluster, NetworkAddress address, 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter or if
no service corresponding to the given address is found.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.address
- The network address of the Key Provider service instance.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get_Task(java.lang.String cluster, NetworkAddress address, 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter or if
no service corresponding to the given address is found.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.address
- The network address of the Key Provider service instance.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String update_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the Trusted Cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is emptyNotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.java.lang.String update_Task(java.lang.String cluster, 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 Trusted Cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is emptyNotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.void update_Task(java.lang.String cluster, 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.
InvalidArgument
- if the cluster ID is empty
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the Trusted Cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update_Task(java.lang.String cluster, 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.
InvalidArgument
- if the cluster ID is empty
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the Trusted Cluster against which the operation will be executed.
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.lang.String delete_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.java.lang.String delete_Task(java.lang.String cluster, 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 against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the cluster ID is empty.NotFound
- if no cluster corresponding to the given ID is found within this vCenter.ResourceBusy
- if there are ongoing mutating operations.Unauthenticated
- if the caller is not authenticated.void delete_Task(java.lang.String cluster, 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete_Task(java.lang.String cluster, 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.
InvalidArgument
- if the cluster ID is empty.
NotFound
- if no cluster corresponding to the given ID is found within this vCenter.
ResourceBusy
- if there are ongoing mutating operations.
Unauthenticated
- if the caller is not authenticated.
cluster
- The ID of the cluster against which the operation will be executed.
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.