public class SettingsStub extends com.vmware.vapi.internal.bindings.Stub implements Settings
Settings
API service.
WARNING: Internal class, subject to change in future versions.
SettingsTypes._VAPI_OPERATIONS, SettingsTypes.Health, SettingsTypes.Info, SettingsTypes.UpdateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SettingsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SettingsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public SettingsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SettingsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String get_Task(java.lang.String cluster)
Settings
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
public java.lang.String get_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Settings
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.
get_Task
in interface Settings
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.public void get_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Settings
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.
get_Task
in interface Settings
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.public void get_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Settings
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.
get_Task
in interface Settings
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.public java.lang.String update_Task(java.lang.String cluster, SettingsTypes.UpdateSpec spec)
Settings
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
update_Task
in interface Settings
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.public java.lang.String update_Task(java.lang.String cluster, SettingsTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Settings
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 Settings
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.public void update_Task(java.lang.String cluster, SettingsTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Settings
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.
update_Task
in interface Settings
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.public void update_Task(java.lang.String cluster, SettingsTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Settings
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.
update_Task
in interface Settings
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.