public class StatusSummaryStub extends com.vmware.vapi.internal.bindings.Stub implements StatusSummary
StatusSummary
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, GET_SELECTION_STATUS_ALL, GET_SELECTION_STATUS_DESELECTED, GET_SELECTION_STATUS_SELECTED
Constructor and Description |
---|
StatusSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatusSummaryStub(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 |
---|---|
UpgradeStatus |
get(java.lang.String componentType,
java.lang.String selectionStatus,
java.lang.Boolean showHistory)
Get upgrade status summary
|
void |
get(java.lang.String componentType,
java.lang.String selectionStatus,
java.lang.Boolean showHistory,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeStatus> asyncCallback)
Get upgrade status summary
|
void |
get(java.lang.String componentType,
java.lang.String selectionStatus,
java.lang.Boolean showHistory,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get upgrade status summary
|
UpgradeStatus |
get(java.lang.String componentType,
java.lang.String selectionStatus,
java.lang.Boolean showHistory,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get upgrade status summary
|
public StatusSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatusSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public UpgradeStatus get(java.lang.String componentType, java.lang.String selectionStatus, java.lang.Boolean showHistory)
StatusSummary
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface StatusSummary
componentType
- Component type based on which upgrade units to be filtered (optional)selectionStatus
- Flag to indicate whether to return status for only selected, only deselected or
both type of upgrade units (optional, default to ALL)showHistory
- Get upgrade activity for a given component (optional)public UpgradeStatus get(java.lang.String componentType, java.lang.String selectionStatus, java.lang.Boolean showHistory, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatusSummary
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 StatusSummary
componentType
- Component type based on which upgrade units to be filtered (optional)selectionStatus
- Flag to indicate whether to return status for only selected, only deselected or
both type of upgrade units (optional, default to ALL)showHistory
- Get upgrade activity for a given component (optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String componentType, java.lang.String selectionStatus, java.lang.Boolean showHistory, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeStatus> asyncCallback)
StatusSummary
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.UpgradeStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StatusSummary
componentType
- Component type based on which upgrade units to be filtered (optional)selectionStatus
- Flag to indicate whether to return status for only selected, only deselected or
both type of upgrade units (optional, default to ALL)showHistory
- Get upgrade activity for a given component (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String componentType, java.lang.String selectionStatus, java.lang.Boolean showHistory, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatusSummary
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:
com.vmware.nsx.model.UpgradeStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StatusSummary
componentType
- Component type based on which upgrade units to be filtered (optional)selectionStatus
- Flag to indicate whether to return status for only selected, only deselected or
both type of upgrade units (optional, default to ALL)showHistory
- Get upgrade activity for a given component (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.