public class CommunityListsStub extends com.vmware.vapi.internal.bindings.Stub implements CommunityLists
CommunityLists
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CommunityListsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
CommunityListsStub(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 |
---|---|
BGPCommunityList |
create(java.lang.String logicalRouterId,
BGPCommunityList bGPCommunityList)
Add a new BGP Community List on a Logical Router
Please use below Policy APIs. |
void |
create(java.lang.String logicalRouterId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
Add a new BGP Community List on a Logical Router
Please use below Policy APIs. |
void |
create(java.lang.String logicalRouterId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a new BGP Community List on a Logical Router
Please use below Policy APIs. |
BGPCommunityList |
create(java.lang.String logicalRouterId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a new BGP Community List on a Logical Router
Please use below Policy APIs. |
void |
delete(java.lang.String logicalRouterId,
java.lang.String communityListId)
Delete a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
delete(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
delete(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
delete(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific BGP community list from a Logical Router
Please use below Policy APIs. |
BGPCommunityList |
get(java.lang.String logicalRouterId,
java.lang.String communityListId)
Read a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
get(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
Read a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
get(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a specific BGP community list from a Logical Router
Please use below Policy APIs. |
BGPCommunityList |
get(java.lang.String logicalRouterId,
java.lang.String communityListId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a specific BGP community list from a Logical Router
Please use below Policy APIs. |
BGPCommunityListListResult |
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)
Paginated list of BGP Community Lists on a Logical Router
Please use below Policy APIs. |
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<BGPCommunityListListResult> asyncCallback)
Paginated list of BGP Community Lists on a Logical Router
Please use below Policy APIs. |
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<BGPCommunityListListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of BGP Community Lists on a Logical Router
Please use below Policy APIs. |
BGPCommunityListListResult |
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)
Paginated list of BGP Community Lists on a Logical Router
Please use below Policy APIs. |
BGPCommunityList |
update(java.lang.String logicalRouterId,
java.lang.String communityListId,
BGPCommunityList bGPCommunityList)
Update a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
update(java.lang.String logicalRouterId,
java.lang.String communityListId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
Update a specific BGP community list from a Logical Router
Please use below Policy APIs. |
void |
update(java.lang.String logicalRouterId,
java.lang.String communityListId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific BGP community list from a Logical Router
Please use below Policy APIs. |
BGPCommunityList |
update(java.lang.String logicalRouterId,
java.lang.String communityListId,
BGPCommunityList bGPCommunityList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific BGP community list from a Logical Router
Please use below Policy APIs. |
public CommunityListsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public CommunityListsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public BGPCommunityList create(java.lang.String logicalRouterId, BGPCommunityList bGPCommunityList)
CommunityLists
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface CommunityLists
logicalRouterId
- (required)bGPCommunityList
- (required)public BGPCommunityList create(java.lang.String logicalRouterId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
Synchronous 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 CommunityLists
logicalRouterId
- (required)bGPCommunityList
- (required)invocationConfig
- Configuration for the method invocation.public void create(java.lang.String logicalRouterId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
CommunityLists
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface CommunityLists
logicalRouterId
- (required)bGPCommunityList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String logicalRouterId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface CommunityLists
logicalRouterId
- (required)bGPCommunityList
- (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 communityListId)
CommunityLists
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)public void delete(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
Synchronous 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 CommunityLists
logicalRouterId
- (required)communityListId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CommunityLists
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
delete
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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 CommunityLists
logicalRouterId
- (required)communityListId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public BGPCommunityList get(java.lang.String logicalRouterId, java.lang.String communityListId)
CommunityLists
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)public BGPCommunityList get(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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 CommunityLists
logicalRouterId
- (required)communityListId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
CommunityLists
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String logicalRouterId, java.lang.String communityListId, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public BGPCommunityListListResult 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)
CommunityLists
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface CommunityLists
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 BGPCommunityListListResult 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)
CommunityLists
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 CommunityLists
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<BGPCommunityListListResult> asyncCallback)
CommunityLists
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BGPCommunityListListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface CommunityLists
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<BGPCommunityListListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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.BGPCommunityListListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface CommunityLists
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 BGPCommunityList update(java.lang.String logicalRouterId, java.lang.String communityListId, BGPCommunityList bGPCommunityList)
CommunityLists
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)bGPCommunityList
- (required)public BGPCommunityList update(java.lang.String logicalRouterId, java.lang.String communityListId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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 CommunityLists
logicalRouterId
- (required)communityListId
- (required)bGPCommunityList
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String logicalRouterId, java.lang.String communityListId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback)
CommunityLists
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)bGPCommunityList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String logicalRouterId, java.lang.String communityListId, BGPCommunityList bGPCommunityList, com.vmware.vapi.bindings.client.AsyncCallback<BGPCommunityList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CommunityLists
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.BGPCommunityList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface CommunityLists
logicalRouterId
- (required)communityListId
- (required)bGPCommunityList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.