public class VersionWhitelistStub extends com.vmware.vapi.internal.bindings.Stub implements VersionWhitelist
VersionWhitelist
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
VersionWhitelistStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VersionWhitelistStub(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 |
---|---|
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).
|
public VersionWhitelistStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public VersionWhitelistStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public AcceptableComponentVersion get(java.lang.String componentType)
VersionWhitelist
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface VersionWhitelist
componentType
- (required)public AcceptableComponentVersion get(java.lang.String componentType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VersionWhitelist
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 VersionWhitelist
componentType
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
VersionWhitelist
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
get
in interface VersionWhitelist
componentType
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VersionWhitelist
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
get
in interface VersionWhitelist
componentType
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public AcceptableComponentVersionList list()
VersionWhitelist
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface VersionWhitelist
public AcceptableComponentVersionList list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VersionWhitelist
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface VersionWhitelist
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
VersionWhitelist
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
list
in interface VersionWhitelist
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VersionWhitelist
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
list
in interface VersionWhitelist
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String componentType, VersionList versionList)
VersionWhitelist
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface VersionWhitelist
componentType
- (required)versionList
- (required)public void update(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VersionWhitelist
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface VersionWhitelist
componentType
- (required)versionList
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VersionWhitelist
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
update
in interface VersionWhitelist
componentType
- (required)versionList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public 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)
VersionWhitelist
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
update
in interface VersionWhitelist
componentType
- (required)versionList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.