Interface Traceflows
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,TraceflowsTypes
- All Known Implementing Classes:
TraceflowsStub
public interface Traceflows extends com.vmware.vapi.bindings.Service, TraceflowsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.TraceflowsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TraceflowConfig
create(java.lang.String traceflowId, java.lang.String action)
This will retrace even if current traceflow has observations.void
create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
This will retrace even if current traceflow has observations.void
create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will retrace even if current traceflow has observations.TraceflowConfig
create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will retrace even if current traceflow has observations.void
delete(java.lang.String traceflowId)
Delete traceflow config with id traceflow-idvoid
delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete traceflow config with id traceflow-idvoid
delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete traceflow config with id traceflow-idvoid
delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete traceflow config with id traceflow-idTraceflowConfig
get(java.lang.String traceflowId)
Read traceflow config with id traceflow-id.void
get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
Read traceflow config with id traceflow-id.void
get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read traceflow config with id traceflow-id.TraceflowConfig
get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read traceflow config with id traceflow-id.TraceflowConfigListResult
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Paginated list of all TraceflowConfig for infra.void
list(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<TraceflowConfigListResult> asyncCallback)
Paginated list of all TraceflowConfig for infra.void
list(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<TraceflowConfigListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all TraceflowConfig for infra.TraceflowConfigListResult
list(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)
Paginated list of all TraceflowConfig for infra.void
patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.void
patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.void
patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.void
patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.TraceflowConfig
update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.void
update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.void
update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.TraceflowConfig
update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config.
-
-
-
Method Detail
-
create
TraceflowConfig create(java.lang.String traceflowId, java.lang.String action)
This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
traceflowId
- (required)action
- Action to be performed (optional)- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
create
TraceflowConfig create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
traceflowId
- (required)action
- Action to be performed (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
create
void create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)action
- Action to be performed (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String traceflowId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will retrace even if current traceflow has observations. Current observations will be lost. Traceflow configuration will be cleaned up by the system after two hours of inactivity.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)action
- Action to be performed (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
delete
void delete(java.lang.String traceflowId)
Delete traceflow config with id traceflow-idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
traceflowId
- (required)- Throws:
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 Found
-
delete
void delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete traceflow config with id traceflow-idSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
traceflowId
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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 Found
-
delete
void delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete traceflow config with id traceflow-idAsynchronous 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
- Parameters:
traceflowId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete traceflow config with id traceflow-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
traceflowId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
TraceflowConfig get(java.lang.String traceflowId)
Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
traceflowId
- (required)- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
get
TraceflowConfig get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
traceflowId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
get
void get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String traceflowId, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read traceflow config with id traceflow-id. This configuration will be cleaned up by the system after two hours of inactivity.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
TraceflowConfigListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Paginated list of all TraceflowConfig for infra.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
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)- Returns:
- com.vmware.nsx_policy.model.TraceflowConfigListResult
- Throws:
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 Found
-
list
TraceflowConfigListResult list(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)
Paginated list of all TraceflowConfig for infra.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
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.- Returns:
- com.vmware.nsx_policy.model.TraceflowConfigListResult
- Throws:
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 Found
-
list
void list(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<TraceflowConfigListResult> asyncCallback)
Paginated list of all TraceflowConfig for infra.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
list
void list(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<TraceflowConfigListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all TraceflowConfig for infra.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
patch
void patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)- Throws:
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 Found
-
patch
void patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)invocationConfig
- Configuration for the method invocation.- Throws:
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 Found
-
patch
void patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required.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
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
TraceflowConfig update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required. User needs to update the in-band network telemetry (INT) configuration to specify the DSCP bit/value for traceflow crafted packet, if the source port of traceflow is on VLAN logical network. The INT configuration is under global operations configuration so please refer NSX-T API document Policy > Networking > Networking Profiles > Global Gateway Configuration to check how to set the DSCP bit/value via global operations configuration related API.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
update
TraceflowConfig update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required. User needs to update the in-band network telemetry (INT) configuration to specify the DSCP bit/value for traceflow crafted packet, if the source port of traceflow is on VLAN logical network. The INT configuration is under global operations configuration so please refer NSX-T API document Policy > Networking > Networking Profiles > Global Gateway Configuration to check how to set the DSCP bit/value via global operations configuration related API.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TraceflowConfig
- Throws:
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 Found
-
update
void update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required. User needs to update the in-band network telemetry (INT) configuration to specify the DSCP bit/value for traceflow crafted packet, if the source port of traceflow is on VLAN logical network. The INT configuration is under global operations configuration so please refer NSX-T API document Policy > Networking > Networking Profiles > Global Gateway Configuration to check how to set the DSCP bit/value via global operations configuration related API.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String traceflowId, TraceflowConfig traceflowConfig, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<TraceflowConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a traceflow config with the traceflow-id is not already present, create a new traceflow config. If it already exists, update the traceflow config. This is a full replace. This configuration will be cleaned up by the system after two hours of inactivity. To start traceflow on a DHCP port in a custom project, enforcement point path is required. User needs to update the in-band network telemetry (INT) configuration to specify the DSCP bit/value for traceflow crafted packet, if the source port of traceflow is on VLAN logical network. The INT configuration is under global operations configuration so please refer NSX-T API document Policy > Networking > Networking Profiles > Global Gateway Configuration to check how to set the DSCP bit/value via global operations configuration related API.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TraceflowConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
traceflowId
- (required)traceflowConfig
- (required)enforcementPointPath
- Enforcement point path (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-