public class SoftwareStub extends com.vmware.vapi.internal.bindings.Stub implements Software
Software
API service.
WARNING: Internal class, subject to change in future versions.
SoftwareTypes.ConnectionSpec, SoftwareTypes.HostCredentials, SoftwareTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SoftwareStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SoftwareStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
SoftwareTypes.Info |
get(SoftwareTypes.ConnectionSpec spec)
Returns details about the current software specification applied to the host.
|
void |
get(SoftwareTypes.ConnectionSpec spec,
AsyncCallback<SoftwareTypes.Info> asyncCallback)
Returns details about the current software specification applied to the host.
|
void |
get(SoftwareTypes.ConnectionSpec spec,
AsyncCallback<SoftwareTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns details about the current software specification applied to the host.
|
SoftwareTypes.Info |
get(SoftwareTypes.ConnectionSpec spec,
InvocationConfig invocationConfig)
Returns details about the current software specification applied to the host.
|
public SoftwareStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SoftwareStub(ApiProvider apiProvider, StubConfigurationBase config)
public SoftwareTypes.Info get(SoftwareTypes.ConnectionSpec spec)
SoftwareSynchronous method overload. Result of the invocation will be reported as a method return value.
public SoftwareTypes.Info get(SoftwareTypes.ConnectionSpec spec, InvocationConfig invocationConfig)
SoftwareSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(SoftwareTypes.ConnectionSpec spec, AsyncCallback<SoftwareTypes.Info> asyncCallback)
SoftwareAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Info details about the current software specification applied to the host.
Operation Errors:
InvalidArgument - if the ConnectionSpec.HostCredentials#hostName property of spec
is invalid.
Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.
NotFound - If there is no ConnectionSpec.HostCredentials#hostName property
associated with host id in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
UnverifiedPeer - If the SSL certificate of the target node cannot be validated by comparing with
the thumbprint provided in ConnectionSpec.HostCredentials#sslThumbPrint.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
public void get(SoftwareTypes.ConnectionSpec spec, AsyncCallback<SoftwareTypes.Info> asyncCallback, InvocationConfig invocationConfig)
SoftwareAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Info details about the current software specification applied to the host.
Operation Errors:
InvalidArgument - if the ConnectionSpec.HostCredentials#hostName property of spec
is invalid.
Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.
NotFound - If there is no ConnectionSpec.HostCredentials#hostName property
associated with host id in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
UnverifiedPeer - If the SSL certificate of the target node cannot be validated by comparing with
the thumbprint provided in ConnectionSpec.HostCredentials#sslThumbPrint.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.