public interface Ports extends com.vmware.vapi.bindings.Service, PortsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId)
Delete a Tier-1 segment port by giving ID.
|
void |
delete(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a Tier-1 segment port by giving ID.
|
void |
delete(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a Tier-1 segment port by giving ID.
|
void |
delete(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a Tier-1 segment port by giving ID.
|
SegmentPort |
get(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId)
Get detail information on a Tier-1 segment port by giving ID.
|
void |
get(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback)
Get detail information on a Tier-1 segment port by giving ID.
|
void |
get(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get detail information on a Tier-1 segment port by giving ID.
|
SegmentPort |
get(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get detail information on a Tier-1 segment port by giving ID.
|
SegmentPortListResult |
list(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List all the ports for a Tier-1 segment.
|
void |
list(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPortListResult> asyncCallback)
List all the ports for a Tier-1 segment.
|
void |
list(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPortListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all the ports for a Tier-1 segment.
|
SegmentPortListResult |
list(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all the ports for a Tier-1 segment.
|
void |
patch(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object fields which presents in
the request body.
|
void |
patch(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object fields which presents in
the request body.
|
void |
patch(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object fields which presents in
the request body.
|
void |
patch(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object fields which presents in
the request body.
|
SegmentPort |
update(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object already exists.
|
void |
update(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object already exists.
|
void |
update(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object already exists.
|
SegmentPort |
update(java.lang.String tier1Id,
java.lang.String segmentId,
java.lang.String portId,
SegmentPort segmentPort,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Tier-1 segment port if it does not exist based on the IDs, or update
existing port information by replacing the port object already exists.
|
void delete(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (required)segmentId
- (required)portId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (required)segmentId
- (required)portId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
tier1Id
- (required)segmentId
- (required)portId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
tier1Id
- (required)segmentId
- (required)portId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SegmentPort get(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (required)segmentId
- (required)portId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundSegmentPort get(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (required)segmentId
- (required)portId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.SegmentPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)portId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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_policy.model.SegmentPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)portId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SegmentPortListResult list(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (required)segmentId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundSegmentPortListResult list(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (required)segmentId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPortListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.SegmentPortListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.void list(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPortListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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_policy.model.SegmentPortListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.void patch(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid patch(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid patch(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void patch(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SegmentPort update(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundSegmentPort update(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid update(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.SegmentPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String tier1Id, java.lang.String segmentId, java.lang.String portId, SegmentPort segmentPort, com.vmware.vapi.bindings.client.AsyncCallback<SegmentPort> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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_policy.model.SegmentPort
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- (required)segmentId
- (required)portId
- (required)segmentPort
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.