public interface Services extends com.vmware.vapi.bindings.Service, ServicesTypes
_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
ServiceDefinition |
create(ServiceDefinition serviceDefinition)
Creates new Service-Insertion Service in the system.
|
void |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Creates new Service-Insertion Service in the system.
|
void |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates new Service-Insertion Service in the system.
|
ServiceDefinition |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates new Service-Insertion Service in the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes Service-Insertion Service from the system.
|
ServiceDefinition |
get(java.lang.String serviceId)
Returns information about Service-Insertion Service with the given identifier.
|
void |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Returns information about Service-Insertion Service with the given identifier.
|
void |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about Service-Insertion Service with the given identifier.
|
ServiceDefinition |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about Service-Insertion Service with the given identifier.
|
ServiceInsertionServiceListResult |
list()
List all Service-Insertion Service Definitions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
List all Service-Insertion Service Definitions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service-Insertion Service Definitions.
|
ServiceInsertionServiceListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service-Insertion Service Definitions.
|
ServiceDefinition |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition)
Modifies the specified Service.
|
void |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Modifies the specified Service.
|
void |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified Service.
|
ServiceDefinition |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified Service.
|
ServiceDefinition create(ServiceDefinition serviceDefinition)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceDefinition - (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 FoundServiceDefinition create(ServiceDefinition serviceDefinition, 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.
serviceDefinition - (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 create(ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void create(ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> 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.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void delete(java.lang.String serviceId,
java.lang.Boolean cascade)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId - (required)cascade - Flag to cascade delete all the child objects, associated with it. (optional,
default to false)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 serviceId,
java.lang.Boolean cascade,
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.
serviceId - (required)cascade - Flag to cascade delete all the child objects, associated with it. (optional,
default to false)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 serviceId,
java.lang.Boolean cascade,
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
serviceId - (required)cascade - Flag to cascade delete all the child objects, associated with it. (optional,
default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String serviceId,
java.lang.Boolean cascade,
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
serviceId - (required)cascade - Flag to cascade delete all the child objects, associated with it. (optional,
default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceDefinition get(java.lang.String serviceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId - (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 FoundServiceDefinition get(java.lang.String serviceId, 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.
serviceId - (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 serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> 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.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceInsertionServiceListResult list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundServiceInsertionServiceListResult list(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.
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(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> 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.model.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceDefinition update(java.lang.String serviceId, ServiceDefinition serviceDefinition)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId - (required)serviceDefinition - (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 FoundServiceDefinition update(java.lang.String serviceId, ServiceDefinition serviceDefinition, 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.
serviceId - (required)serviceDefinition - (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 serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceId - (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> 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.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
serviceId - (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.