public class ConfigCurrentStub extends com.vmware.vapi.internal.bindings.Stub implements ConfigCurrent
ConfigCurrent
API service.
WARNING: Internal class, subject to change in future versions.
ConfigCurrentTypes.InvokerType
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConfigCurrentStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConfigCurrentStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
DesiredState |
get(ConfigCurrentTypes.InvokerType invokerType,
java.util.Set<java.lang.String> components)
Returns the current state of the vCenter.
|
void |
get(ConfigCurrentTypes.InvokerType invokerType,
java.util.Set<java.lang.String> components,
com.vmware.vapi.bindings.client.AsyncCallback<DesiredState> asyncCallback)
Returns the current state of the vCenter.
|
void |
get(ConfigCurrentTypes.InvokerType invokerType,
java.util.Set<java.lang.String> components,
com.vmware.vapi.bindings.client.AsyncCallback<DesiredState> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the current state of the vCenter.
|
DesiredState |
get(ConfigCurrentTypes.InvokerType invokerType,
java.util.Set<java.lang.String> components,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the current state of the vCenter.
|
public ConfigCurrentStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigCurrentStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public DesiredState get(ConfigCurrentTypes.InvokerType invokerType, java.util.Set<java.lang.String> components)
ConfigCurrent
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ConfigCurrent
public DesiredState get(ConfigCurrentTypes.InvokerType invokerType, java.util.Set<java.lang.String> components, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ConfigCurrent
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 ConfigCurrent
invocationConfig
- Configuration for the method invocation.public void get(ConfigCurrentTypes.InvokerType invokerType, java.util.Set<java.lang.String> components, com.vmware.vapi.bindings.client.AsyncCallback<DesiredState> asyncCallback)
ConfigCurrent
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
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:
Infraprofile.Read
. get
in interface ConfigCurrent
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(ConfigCurrentTypes.InvokerType invokerType, java.util.Set<java.lang.String> components, com.vmware.vapi.bindings.client.AsyncCallback<DesiredState> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ConfigCurrent
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
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:
Infraprofile.Read
. get
in interface ConfigCurrent
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.