public class BfdPeersStub extends com.vmware.vapi.internal.bindings.Stub implements BfdPeers
BfdPeers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
BfdPeersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
BfdPeersStub(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 |
---|---|
StaticHopBfdPeer |
create(java.lang.String logicalRouterId,
StaticHopBfdPeer staticHopBfdPeer)
Creates a BFD peer for static route.
|
void |
create(java.lang.String logicalRouterId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
Creates a BFD peer for static route.
|
void |
create(java.lang.String logicalRouterId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a BFD peer for static route.
|
StaticHopBfdPeer |
create(java.lang.String logicalRouterId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a BFD peer for static route.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
java.lang.Boolean force)
Deletes the specified BFD peer present on specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified BFD peer present on specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified BFD peer present on specified logical router.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified BFD peer present on specified logical router.
|
StaticHopBfdPeer |
get(java.lang.String logicalRouterId,
java.lang.String bfdPeerId)
Read the BFD peer having specified ID.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
Read the BFD peer having specified ID.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the BFD peer having specified ID.
|
StaticHopBfdPeer |
get(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the BFD peer having specified ID.
|
StaticHopBfdPeerListResult |
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 all BFD peers created on specified logical router for
static routes.
|
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<StaticHopBfdPeerListResult> asyncCallback)
Returns information about all BFD peers created on specified logical router for
static routes.
|
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<StaticHopBfdPeerListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all BFD peers created on specified logical router for
static routes.
|
StaticHopBfdPeerListResult |
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 all BFD peers created on specified logical router for
static routes.
|
StaticHopBfdPeer |
update(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
StaticHopBfdPeer staticHopBfdPeer)
Modifies the static route BFD peer.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
Modifies the static route BFD peer.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the static route BFD peer.
|
StaticHopBfdPeer |
update(java.lang.String logicalRouterId,
java.lang.String bfdPeerId,
StaticHopBfdPeer staticHopBfdPeer,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the static route BFD peer.
|
public BfdPeersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public BfdPeersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public StaticHopBfdPeer create(java.lang.String logicalRouterId, StaticHopBfdPeer staticHopBfdPeer)
BfdPeers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StaticHopBfdPeer create(java.lang.String logicalRouterId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(java.lang.String logicalRouterId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
BfdPeers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(java.lang.String logicalRouterId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
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.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String logicalRouterId, java.lang.String bfdPeerId, java.lang.Boolean force)
BfdPeers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String logicalRouterId, java.lang.String bfdPeerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String logicalRouterId, java.lang.String bfdPeerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
BfdPeers
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
public void delete(java.lang.String logicalRouterId, java.lang.String bfdPeerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
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
delete
in interface BfdPeers
logicalRouterId
- (required)bfdPeerId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public StaticHopBfdPeer get(java.lang.String logicalRouterId, java.lang.String bfdPeerId)
BfdPeers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StaticHopBfdPeer get(java.lang.String logicalRouterId, java.lang.String bfdPeerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String logicalRouterId, java.lang.String bfdPeerId, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
BfdPeers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String logicalRouterId, java.lang.String bfdPeerId, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
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.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public StaticHopBfdPeerListResult 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)
BfdPeers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface BfdPeers
logicalRouterId
- (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 StaticHopBfdPeerListResult 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)
BfdPeers
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 BfdPeers
logicalRouterId
- (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<StaticHopBfdPeerListResult> asyncCallback)
BfdPeers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.StaticHopBfdPeerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface BfdPeers
logicalRouterId
- (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<StaticHopBfdPeerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
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.StaticHopBfdPeerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface BfdPeers
logicalRouterId
- (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 StaticHopBfdPeer update(java.lang.String logicalRouterId, java.lang.String bfdPeerId, StaticHopBfdPeer staticHopBfdPeer)
BfdPeers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StaticHopBfdPeer update(java.lang.String logicalRouterId, java.lang.String bfdPeerId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String logicalRouterId, java.lang.String bfdPeerId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback)
BfdPeers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String logicalRouterId, java.lang.String bfdPeerId, StaticHopBfdPeer staticHopBfdPeer, com.vmware.vapi.bindings.client.AsyncCallback<StaticHopBfdPeer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
BfdPeers
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.StaticHopBfdPeer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found