public class StaticRoutesStub extends com.vmware.vapi.internal.bindings.Stub implements StaticRoutes
StaticRoutes
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
StaticRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StaticRoutesStub(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 |
|---|---|
StaticRoute |
create(java.lang.String logicalRouterId,
StaticRoute staticRoute)
Adds a new static route on a Logical Router
Please use below Policy APIs. |
void |
create(java.lang.String logicalRouterId,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
Adds a new static route on a Logical Router
Please use below Policy APIs. |
void |
create(java.lang.String logicalRouterId,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new static route on a Logical Router
Please use below Policy APIs. |
StaticRoute |
create(java.lang.String logicalRouterId,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new static route on a Logical Router
Please use below Policy APIs. |
void |
delete(java.lang.String logicalRouterId,
java.lang.String id)
Deletes a specific static route on the specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes a specific static route on the specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a specific static route on the specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a specific static route on the specified logical router.
|
StaticRoute |
get(java.lang.String logicalRouterId,
java.lang.String id)
Read a specific static routes on the specified logical router.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
Read a specific static routes on the specified logical router.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a specific static routes on the specified logical router.
|
StaticRoute |
get(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a specific static routes on the specified logical router.
|
StaticRouteListResult |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about configured static routes, including the network
address and next hops for each static route.
|
void |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRouteListResult> asyncCallback)
Returns information about configured static routes, including the network
address and next hops for each static route.
|
void |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRouteListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured static routes, including the network
address and next hops for each static route.
|
StaticRouteListResult |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured static routes, including the network
address and next hops for each static route.
|
StaticRoute |
update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute)
Update a specific static route on the specified logical router.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
Update a specific static route on the specified logical router.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific static route on the specified logical router.
|
StaticRoute |
update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific static route on the specified logical router.
|
public StaticRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public StaticRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public StaticRoute create(java.lang.String logicalRouterId, StaticRoute staticRoute)
StaticRoutesSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface StaticRouteslogicalRouterId - (required)staticRoute - (required)public StaticRoute create(java.lang.String logicalRouterId, StaticRoute staticRoute, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface StaticRouteslogicalRouterId - (required)staticRoute - (required)invocationConfig - Configuration for the method invocation.public void create(java.lang.String logicalRouterId,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
StaticRoutesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface StaticRouteslogicalRouterId - (required)staticRoute - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String logicalRouterId,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesAsynchronous 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.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface StaticRouteslogicalRouterId - (required)staticRoute - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String logicalRouterId,
java.lang.String id)
StaticRoutesSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface StaticRouteslogicalRouterId - (required)id - (required)public void delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface StaticRouteslogicalRouterId - (required)id - (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
StaticRoutesAsynchronous 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
delete in interface StaticRouteslogicalRouterId - (required)id - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesAsynchronous 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
delete in interface StaticRouteslogicalRouterId - (required)id - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public StaticRoute get(java.lang.String logicalRouterId, java.lang.String id)
StaticRoutesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface StaticRouteslogicalRouterId - (required)id - (required)public StaticRoute get(java.lang.String logicalRouterId, java.lang.String id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesSynchronous 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 StaticRouteslogicalRouterId - (required)id - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
StaticRoutesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface StaticRouteslogicalRouterId - (required)id - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String logicalRouterId,
java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesAsynchronous 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.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface StaticRouteslogicalRouterId - (required)id - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public StaticRouteListResult list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
StaticRoutesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface StaticRouteslogicalRouterId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public StaticRouteListResult list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesSynchronous 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 StaticRouteslogicalRouterId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRouteListResult> asyncCallback)
StaticRoutesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.StaticRouteListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface StaticRouteslogicalRouterId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRouteListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesAsynchronous 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.StaticRouteListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface StaticRouteslogicalRouterId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public StaticRoute update(java.lang.String logicalRouterId, java.lang.String id, StaticRoute staticRoute)
StaticRoutesSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface StaticRouteslogicalRouterId - (required)id - (required)staticRoute - (required)public StaticRoute update(java.lang.String logicalRouterId, java.lang.String id, StaticRoute staticRoute, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesSynchronous 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 StaticRouteslogicalRouterId - (required)id - (required)staticRoute - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback)
StaticRoutesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface StaticRouteslogicalRouterId - (required)id - (required)staticRoute - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String logicalRouterId,
java.lang.String id,
StaticRoute staticRoute,
com.vmware.vapi.bindings.client.AsyncCallback<StaticRoute> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticRoutesAsynchronous 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.StaticRoute
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface StaticRouteslogicalRouterId - (required)id - (required)staticRoute - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.