public interface VersionWhitelist extends com.vmware.vapi.bindings.Service, VersionWhitelistTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
AcceptableComponentVersion |
get(java.lang.String componentType)
Get whitelist of versions for a component.
|
void |
get(java.lang.String componentType,
com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
Get whitelist of versions for a component.
|
void |
get(java.lang.String componentType,
com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get whitelist of versions for a component.
|
AcceptableComponentVersion |
get(java.lang.String componentType,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get whitelist of versions for a component.
|
AcceptableComponentVersionList |
list()
Get whitelist of versions for different components
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
Get whitelist of versions for different components
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get whitelist of versions for different components
|
AcceptableComponentVersionList |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get whitelist of versions for different components
|
void |
update(java.lang.String componentType,
VersionList versionList)
Update the version whitelist for the specified component type (HOST, EDGE, CCP,
MP).
|
void |
update(java.lang.String componentType,
VersionList versionList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update the version whitelist for the specified component type (HOST, EDGE, CCP,
MP).
|
void |
update(java.lang.String componentType,
VersionList versionList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the version whitelist for the specified component type (HOST, EDGE, CCP,
MP).
|
void |
update(java.lang.String componentType,
VersionList versionList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the version whitelist for the specified component type (HOST, EDGE, CCP,
MP).
|
AcceptableComponentVersion get(java.lang.String componentType)
Synchronous method overload. Result of the invocation will be reported as a method return value.
componentType
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundAcceptableComponentVersion get(java.lang.String componentType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
componentType
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AcceptableComponentVersion
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
componentType
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.AcceptableComponentVersion
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
componentType
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.AcceptableComponentVersionList list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundAcceptableComponentVersionList list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AcceptableComponentVersionList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.AcceptableComponentVersionList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String componentType, VersionList versionList)
Synchronous method overload. Result of the invocation will be reported as a method return value.
componentType
- (required)versionList
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid update(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
componentType
- (required)versionList
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid update(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
componentType
- (required)versionList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
componentType
- (required)versionList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.