public class LogicalRouterPortsStub extends com.vmware.vapi.internal.bindings.Stub implements LogicalRouterPorts
LogicalRouterPorts
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, LIST_RESOURCE_TYPE_LOGICALROUTERCENTRALIZEDSERVICEPORT, LIST_RESOURCE_TYPE_LOGICALROUTERDOWNLINKPORT, LIST_RESOURCE_TYPE_LOGICALROUTERGRETUNNELPORT, LIST_RESOURCE_TYPE_LOGICALROUTERIPTUNNELPORT, LIST_RESOURCE_TYPE_LOGICALROUTERLINKPORTONTIER0, LIST_RESOURCE_TYPE_LOGICALROUTERLINKPORTONTIER1, LIST_RESOURCE_TYPE_LOGICALROUTERLOOPBACKPORT, LIST_RESOURCE_TYPE_LOGICALROUTERUPLINKPORT| Constructor and Description |
|---|
LogicalRouterPortsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
LogicalRouterPortsStub(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 |
|---|---|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure logicalRouterPort)
Creates a logical router port.
|
void |
create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a logical router port.
|
void |
create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a logical router port.
|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a logical router port.
|
void |
delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force)
Deletes the specified logical router port.
|
void |
delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified logical router port.
|
void |
delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified logical router port.
|
void |
delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified logical router port.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String logicalRouterPortId)
Returns information about the specified logical router port.
|
void |
get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns information about the specified logical router port.
|
void |
get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified logical router port.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified logical router port.
|
LogicalRouterPortListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about all logical router ports.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalRouterPortListResult> asyncCallback)
Returns information about all logical router ports.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalRouterPortListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all logical router ports.
|
LogicalRouterPortListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all logical router ports.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort)
Modifies the specified logical router port.
|
void |
update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Modifies the specified logical router port.
|
void |
update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified logical router port.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified logical router port.
|
public LogicalRouterPortsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public LogicalRouterPortsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure logicalRouterPort)
LogicalRouterPortsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface LogicalRouterPortslogicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.LogicalRouterPort.public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsSynchronous 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 LogicalRouterPortslogicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.invocationConfig - Configuration for the method invocation.LogicalRouterPort.public void create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
LogicalRouterPortsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface LogicalRouterPortslogicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsAsynchronous 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.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface LogicalRouterPortslogicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force)
LogicalRouterPortsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface LogicalRouterPortslogicalRouterPortId - (required)cascadeDeleteLinkedPorts - Flag to specify whether to delete related logical switch ports (optional,
default to false)force - Force delete the resource even if it is being used somewhere (optional, default
to false)public void delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsSynchronous 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 LogicalRouterPortslogicalRouterPortId - (required)cascadeDeleteLinkedPorts - Flag to specify whether to delete related logical switch ports (optional,
default to false)force - Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
LogicalRouterPortsAsynchronous 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 LogicalRouterPortslogicalRouterPortId - (required)cascadeDeleteLinkedPorts - Flag to specify whether to delete related logical switch ports (optional,
default to false)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.public void delete(java.lang.String logicalRouterPortId,
java.lang.Boolean cascadeDeleteLinkedPorts,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsAsynchronous 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 LogicalRouterPortslogicalRouterPortId - (required)cascadeDeleteLinkedPorts - Flag to specify whether to delete related logical switch ports (optional,
default to false)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 com.vmware.vapi.bindings.Structure get(java.lang.String logicalRouterPortId)
LogicalRouterPortsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface LogicalRouterPortslogicalRouterPortId - (required)LogicalRouterPort.public com.vmware.vapi.bindings.Structure get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsSynchronous 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 LogicalRouterPortslogicalRouterPortId - (required)invocationConfig - Configuration for the method invocation.LogicalRouterPort.public void get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
LogicalRouterPortsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface LogicalRouterPortslogicalRouterPortId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsAsynchronous 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.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface LogicalRouterPortslogicalRouterPortId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public LogicalRouterPortListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String logicalRouterId, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String resourceType, java.lang.Boolean sortAscending, java.lang.String sortBy)
LogicalRouterPortsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface LogicalRouterPortscursor - 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)logicalRouterId - Logical Router identifier (optional)logicalSwitchId - Logical Switch identifier (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)resourceType - Resource types of logical router port (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public LogicalRouterPortListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String logicalRouterId, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String resourceType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsSynchronous 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 LogicalRouterPortscursor - 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)logicalRouterId - Logical Router identifier (optional)logicalSwitchId - Logical Switch identifier (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)resourceType - Resource types of logical router port (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalRouterPortListResult> asyncCallback)
LogicalRouterPortsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LogicalRouterPortListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface LogicalRouterPortscursor - 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)logicalRouterId - Logical Router identifier (optional)logicalSwitchId - Logical Switch identifier (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)resourceType - Resource types of logical router port (optional)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 cursor,
java.lang.String includedFields,
java.lang.String logicalRouterId,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String resourceType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalRouterPortListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsAsynchronous 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.LogicalRouterPortListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface LogicalRouterPortscursor - 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)logicalRouterId - Logical Router identifier (optional)logicalSwitchId - Logical Switch identifier (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)resourceType - Resource types of logical router port (optional)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 com.vmware.vapi.bindings.Structure update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort)
LogicalRouterPortsSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface LogicalRouterPortslogicalRouterPortId - (required)logicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.LogicalRouterPort.public com.vmware.vapi.bindings.Structure update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsSynchronous 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 LogicalRouterPortslogicalRouterPortId - (required)logicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.invocationConfig - Configuration for the method invocation.LogicalRouterPort.public void update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
LogicalRouterPortsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface LogicalRouterPortslogicalRouterPortId - (required)logicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String logicalRouterPortId,
com.vmware.vapi.bindings.Structure logicalRouterPort,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalRouterPortsAsynchronous 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.LogicalRouterPort
The return value will contain all the properties defined in LogicalRouterPort.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface LogicalRouterPortslogicalRouterPortId - (required)logicalRouterPort - (required)
The parameter must contain all the properties defined in LogicalRouterPort.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.