public class LogicalPortsStub extends com.vmware.vapi.internal.bindings.Stub implements LogicalPorts
LogicalPorts
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_ATTACHMENT_TYPE_BRIDGEENDPOINT, LIST_ATTACHMENT_TYPE_DHCP_SERVICE, LIST_ATTACHMENT_TYPE_L2VPN_SESSION, LIST_ATTACHMENT_TYPE_LOGICALROUTER, LIST_ATTACHMENT_TYPE_METADATA_PROXY, LIST_ATTACHMENT_TYPE_NONE, LIST_ATTACHMENT_TYPE_VIF
Constructor and Description |
---|
LogicalPortsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
LogicalPortsStub(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 |
---|---|
LogicalPort |
create(LogicalPort logicalPort)
Creates a new logical switch port.
|
void |
create(LogicalPort logicalPort,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
Creates a new logical switch port.
|
void |
create(LogicalPort logicalPort,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new logical switch port.
|
LogicalPort |
create(LogicalPort logicalPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new logical switch port.
|
void |
delete(java.lang.String lportId,
java.lang.Boolean detach)
Deletes the specified logical switch port.
|
void |
delete(java.lang.String lportId,
java.lang.Boolean detach,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified logical switch port.
|
void |
delete(java.lang.String lportId,
java.lang.Boolean detach,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified logical switch port.
|
void |
delete(java.lang.String lportId,
java.lang.Boolean detach,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified logical switch port.
|
LogicalPort |
get(java.lang.String lportId)
Returns information about a specified logical port.
|
void |
get(java.lang.String lportId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
Returns information about a specified logical port.
|
void |
get(java.lang.String lportId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified logical port.
|
LogicalPort |
get(java.lang.String lportId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified logical port.
|
LogicalPortListResult |
list(java.lang.String attachmentId,
java.lang.String attachmentType,
java.lang.String bridgeClusterId,
java.lang.Boolean containerPortsOnly,
java.lang.String cursor,
java.lang.Boolean diagnostic,
java.lang.String includedFields,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String parentVifId,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileId,
java.lang.String transportNodeId,
java.lang.String transportZoneId)
Returns information about all configured logical switch ports.
|
void |
list(java.lang.String attachmentId,
java.lang.String attachmentType,
java.lang.String bridgeClusterId,
java.lang.Boolean containerPortsOnly,
java.lang.String cursor,
java.lang.Boolean diagnostic,
java.lang.String includedFields,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String parentVifId,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileId,
java.lang.String transportNodeId,
java.lang.String transportZoneId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPortListResult> asyncCallback)
Returns information about all configured logical switch ports.
|
void |
list(java.lang.String attachmentId,
java.lang.String attachmentType,
java.lang.String bridgeClusterId,
java.lang.Boolean containerPortsOnly,
java.lang.String cursor,
java.lang.Boolean diagnostic,
java.lang.String includedFields,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String parentVifId,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileId,
java.lang.String transportNodeId,
java.lang.String transportZoneId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPortListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all configured logical switch ports.
|
LogicalPortListResult |
list(java.lang.String attachmentId,
java.lang.String attachmentType,
java.lang.String bridgeClusterId,
java.lang.Boolean containerPortsOnly,
java.lang.String cursor,
java.lang.Boolean diagnostic,
java.lang.String includedFields,
java.lang.String logicalSwitchId,
java.lang.Long pageSize,
java.lang.String parentVifId,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileId,
java.lang.String transportNodeId,
java.lang.String transportZoneId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all configured logical switch ports.
|
LogicalPort |
update(java.lang.String lportId,
LogicalPort logicalPort)
Modifies an existing logical switch port.
|
void |
update(java.lang.String lportId,
LogicalPort logicalPort,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
Modifies an existing logical switch port.
|
void |
update(java.lang.String lportId,
LogicalPort logicalPort,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies an existing logical switch port.
|
LogicalPort |
update(java.lang.String lportId,
LogicalPort logicalPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies an existing logical switch port.
|
public LogicalPortsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public LogicalPortsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public LogicalPort create(LogicalPort logicalPort)
LogicalPorts
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface LogicalPorts
logicalPort
- (required)public LogicalPort create(LogicalPort logicalPort, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
logicalPort
- (required)invocationConfig
- Configuration for the method invocation.public void create(LogicalPort logicalPort, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
LogicalPorts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface LogicalPorts
logicalPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(LogicalPort logicalPort, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface LogicalPorts
logicalPort
- (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 lportId, java.lang.Boolean detach)
LogicalPorts
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface LogicalPorts
lportId
- (required)detach
- force delete even if attached or referenced by a group (optional, default to
false)public void delete(java.lang.String lportId, java.lang.Boolean detach, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
lportId
- (required)detach
- force delete even if attached or referenced by a group (optional, default to
false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String lportId, java.lang.Boolean detach, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
LogicalPorts
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 LogicalPorts
lportId
- (required)detach
- force delete even if attached or referenced by a group (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String lportId, java.lang.Boolean detach, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
lportId
- (required)detach
- force delete even if attached or referenced by a group (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public LogicalPort get(java.lang.String lportId)
LogicalPorts
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface LogicalPorts
lportId
- (required)public LogicalPort get(java.lang.String lportId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
lportId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String lportId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
LogicalPorts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface LogicalPorts
lportId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String lportId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface LogicalPorts
lportId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public LogicalPortListResult list(java.lang.String attachmentId, java.lang.String attachmentType, java.lang.String bridgeClusterId, java.lang.Boolean containerPortsOnly, java.lang.String cursor, java.lang.Boolean diagnostic, java.lang.String includedFields, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String parentVifId, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileId, java.lang.String transportNodeId, java.lang.String transportZoneId)
LogicalPorts
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface LogicalPorts
attachmentId
- Logical Port attachment Id (optional)attachmentType
- Type of attachment for logical port; for query only. (optional)bridgeClusterId
- Bridge Cluster identifier (optional)containerPortsOnly
- Only container VIF logical ports will be returned if true (optional, default to
false)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)diagnostic
- Flag to enable showing of transit logical port. (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)logicalSwitchId
- Logical Switch identifier (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentVifId
- ID of the VIF of type PARENT (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)switchingProfileId
- Network Profile identifier (optional)transportNodeId
- Transport node identifier (optional)transportZoneId
- Transport zone identifier (optional)public LogicalPortListResult list(java.lang.String attachmentId, java.lang.String attachmentType, java.lang.String bridgeClusterId, java.lang.Boolean containerPortsOnly, java.lang.String cursor, java.lang.Boolean diagnostic, java.lang.String includedFields, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String parentVifId, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileId, java.lang.String transportNodeId, java.lang.String transportZoneId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
attachmentId
- Logical Port attachment Id (optional)attachmentType
- Type of attachment for logical port; for query only. (optional)bridgeClusterId
- Bridge Cluster identifier (optional)containerPortsOnly
- Only container VIF logical ports will be returned if true (optional, default to
false)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)diagnostic
- Flag to enable showing of transit logical port. (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)logicalSwitchId
- Logical Switch identifier (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentVifId
- ID of the VIF of type PARENT (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)switchingProfileId
- Network Profile identifier (optional)transportNodeId
- Transport node identifier (optional)transportZoneId
- Transport zone identifier (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String attachmentId, java.lang.String attachmentType, java.lang.String bridgeClusterId, java.lang.Boolean containerPortsOnly, java.lang.String cursor, java.lang.Boolean diagnostic, java.lang.String includedFields, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String parentVifId, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileId, java.lang.String transportNodeId, java.lang.String transportZoneId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPortListResult> asyncCallback)
LogicalPorts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalPortListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface LogicalPorts
attachmentId
- Logical Port attachment Id (optional)attachmentType
- Type of attachment for logical port; for query only. (optional)bridgeClusterId
- Bridge Cluster identifier (optional)containerPortsOnly
- Only container VIF logical ports will be returned if true (optional, default to
false)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)diagnostic
- Flag to enable showing of transit logical port. (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)logicalSwitchId
- Logical Switch identifier (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentVifId
- ID of the VIF of type PARENT (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)switchingProfileId
- Network Profile identifier (optional)transportNodeId
- Transport node identifier (optional)transportZoneId
- Transport zone identifier (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String attachmentId, java.lang.String attachmentType, java.lang.String bridgeClusterId, java.lang.Boolean containerPortsOnly, java.lang.String cursor, java.lang.Boolean diagnostic, java.lang.String includedFields, java.lang.String logicalSwitchId, java.lang.Long pageSize, java.lang.String parentVifId, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileId, java.lang.String transportNodeId, java.lang.String transportZoneId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPortListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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.LogicalPortListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface LogicalPorts
attachmentId
- Logical Port attachment Id (optional)attachmentType
- Type of attachment for logical port; for query only. (optional)bridgeClusterId
- Bridge Cluster identifier (optional)containerPortsOnly
- Only container VIF logical ports will be returned if true (optional, default to
false)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)diagnostic
- Flag to enable showing of transit logical port. (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)logicalSwitchId
- Logical Switch identifier (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentVifId
- ID of the VIF of type PARENT (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)switchingProfileId
- Network Profile identifier (optional)transportNodeId
- Transport node identifier (optional)transportZoneId
- Transport zone identifier (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public LogicalPort update(java.lang.String lportId, LogicalPort logicalPort)
LogicalPorts
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface LogicalPorts
lportId
- (required)logicalPort
- (required)public LogicalPort update(java.lang.String lportId, LogicalPort logicalPort, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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 LogicalPorts
lportId
- (required)logicalPort
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String lportId, LogicalPort logicalPort, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback)
LogicalPorts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface LogicalPorts
lportId
- (required)logicalPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String lportId, LogicalPort logicalPort, com.vmware.vapi.bindings.client.AsyncCallback<LogicalPort> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LogicalPorts
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.LogicalPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface LogicalPorts
lportId
- (required)logicalPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.