public class ConfigurationStub extends com.vmware.vapi.internal.bindings.Stub implements Configuration
Configuration
API service.
WARNING: Internal class, subject to change in future versions.
ConfigurationTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConfigurationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConfigurationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ConfigurationTypes.Info |
get(java.lang.String cluster)
Returns whether the given cluster is managed using a desired configuration
plaftorm.
|
void |
get(java.lang.String cluster,
AsyncCallback<ConfigurationTypes.Info> asyncCallback)
Returns whether the given cluster is managed using a desired configuration
plaftorm.
|
void |
get(java.lang.String cluster,
AsyncCallback<ConfigurationTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns whether the given cluster is managed using a desired configuration
plaftorm.
|
ConfigurationTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns whether the given cluster is managed using a desired configuration
plaftorm.
|
public ConfigurationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConfigurationStub(ApiProvider apiProvider, StubConfigurationBase config)
public ConfigurationTypes.Info get(java.lang.String cluster)
Configuration
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Configuration
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public ConfigurationTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
Configuration
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 Configuration
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, AsyncCallback<ConfigurationTypes.Info> asyncCallback)
Configuration
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the feature enablement.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
get
in interface Configuration
cluster
- Identifier of the cluster.
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<ConfigurationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Configuration
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:
Information about the feature enablement.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
get
in interface Configuration
cluster
- Identifier of the cluster.
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.