public interface Settings extends Service, SettingsTypes
Settings
interface provides methods to get or update settings
related to the TPM 2.0 attestation protocol behavior. This interface was added
in vSphere API 7.0.0.0.SettingsTypes._VAPI_OPERATIONS, SettingsTypes.Health, SettingsTypes.Info, SettingsTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_Task(java.lang.String cluster)
Return the TPM 2.0 protocol settings.
|
void |
get_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Return the TPM 2.0 protocol settings.
|
void |
get_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return the TPM 2.0 protocol settings.
|
java.lang.String |
get_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Return the TPM 2.0 protocol settings.
|
java.lang.String |
update_Task(java.lang.String cluster,
SettingsTypes.UpdateSpec spec)
Set the TPM 2.0 protocol settings.
|
void |
update_Task(java.lang.String cluster,
SettingsTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Set the TPM 2.0 protocol settings.
|
void |
update_Task(java.lang.String cluster,
SettingsTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Set the TPM 2.0 protocol settings.
|
java.lang.String |
update_Task(java.lang.String cluster,
SettingsTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Set the TPM 2.0 protocol settings.
|
java.lang.String get_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 on 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 cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.java.lang.String get_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 on 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 cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.void get_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 cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on 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 get_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 cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on 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 update_Task(java.lang.String cluster, SettingsTypes.UpdateSpec 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 on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The settings.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid or cluster id is empty.NotFound
- if cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.java.lang.String update_Task(java.lang.String cluster, SettingsTypes.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
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The settings.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid or cluster id is empty.NotFound
- if cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.void update_Task(java.lang.String cluster, SettingsTypes.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.
InvalidArgument
- if the spec is invalid or cluster id is empty.
NotFound
- if cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The settings.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update_Task(java.lang.String cluster, SettingsTypes.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.
InvalidArgument
- if the spec is invalid or cluster id is empty.
NotFound
- if cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The settings.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.