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.ExtractResultapiProvider, 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.ExtractResult |
extract(java.lang.String host)
Extracts a configuration document from the ESXi host,.
|
void |
extract(java.lang.String host,
AsyncCallback<ConfigurationTypes.ExtractResult> asyncCallback)
Extracts a configuration document from the ESXi host,.
|
void |
extract(java.lang.String host,
AsyncCallback<ConfigurationTypes.ExtractResult> asyncCallback,
InvocationConfig invocationConfig)
Extracts a configuration document from the ESXi host,.
|
ConfigurationTypes.ExtractResult |
extract(java.lang.String host,
InvocationConfig invocationConfig)
Extracts a configuration document from the ESXi host,.
|
public ConfigurationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConfigurationStub(ApiProvider apiProvider, StubConfigurationBase config)
public ConfigurationTypes.ExtractResult extract(java.lang.String host)
ConfigurationSynchronous method overload. Result of the invocation will be reported as a method return value.
extract in interface Configurationhost - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.public ConfigurationTypes.ExtractResult extract(java.lang.String host, InvocationConfig invocationConfig)
ConfigurationSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
extract in interface Configurationhost - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.invocationConfig - Configuration for the method invocation.public void extract(java.lang.String host,
AsyncCallback<ConfigurationTypes.ExtractResult> asyncCallback)
ConfigurationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The result contains the configuration of the ESXi host encoded as JSON.
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 host associated with host in the system
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify. HostSystem referenced by the parameter host
requires VcIntegrity.ClusterConfiguration.Modify. extract in interface Configurationhost - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void extract(java.lang.String host,
AsyncCallback<ConfigurationTypes.ExtractResult> asyncCallback,
InvocationConfig invocationConfig)
ConfigurationAsynchronous 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 result contains the configuration of the ESXi host encoded as JSON.
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 host associated with host in the system
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.Modify. HostSystem referenced by the parameter host
requires VcIntegrity.ClusterConfiguration.Modify. extract in interface Configurationhost - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.