public class RedistributionStub extends com.vmware.vapi.internal.bindings.Stub implements Redistribution
Redistribution
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
RedistributionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RedistributionStub(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 |
|---|---|
RedistributionConfig |
get(java.lang.String logicalRouterId)
Returns information about configured route redistribution for the specified
logical router.
|
void |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback)
Returns information about configured route redistribution for the specified
logical router.
|
void |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured route redistribution for the specified
logical router.
|
RedistributionConfig |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured route redistribution for the specified
logical router.
|
RedistributionConfig |
update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig)
Modifies existing route redistribution rules for the specified TIER0 logical
router.
|
void |
update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback)
Modifies existing route redistribution rules for the specified TIER0 logical
router.
|
void |
update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing route redistribution rules for the specified TIER0 logical
router.
|
RedistributionConfig |
update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing route redistribution rules for the specified TIER0 logical
router.
|
public RedistributionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public RedistributionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public RedistributionConfig get(java.lang.String logicalRouterId)
RedistributionSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface RedistributionlogicalRouterId - (required)public RedistributionConfig get(java.lang.String logicalRouterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RedistributionSynchronous 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 RedistributionlogicalRouterId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback)
RedistributionAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.RedistributionConfig
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface RedistributionlogicalRouterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RedistributionAsynchronous 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.RedistributionConfig
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface RedistributionlogicalRouterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public RedistributionConfig update(java.lang.String logicalRouterId, RedistributionConfig redistributionConfig)
RedistributionSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface RedistributionlogicalRouterId - (required)redistributionConfig - (required)public RedistributionConfig update(java.lang.String logicalRouterId, RedistributionConfig redistributionConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RedistributionSynchronous 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 RedistributionlogicalRouterId - (required)redistributionConfig - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback)
RedistributionAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.RedistributionConfig
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface RedistributionlogicalRouterId - (required)redistributionConfig - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String logicalRouterId,
RedistributionConfig redistributionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<RedistributionConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RedistributionAsynchronous 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.RedistributionConfig
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface RedistributionlogicalRouterId - (required)redistributionConfig - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.