public interface ServiceDefinitions extends com.vmware.vapi.bindings.Service, ServiceDefinitionsTypes
_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
ServiceDefinition |
create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition)
Create a Service Definition on given enforcement point.
|
void |
create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Create a Service Definition on given enforcement point.
|
void |
create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Service Definition on given enforcement point.
|
ServiceDefinition |
create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Service Definition on given enforcement point.
|
void |
delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId)
Delete an existing Service Definition on the given enforcement point.
|
void |
delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete an existing Service Definition on the given enforcement point.
|
void |
delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete an existing Service Definition on the given enforcement point.
|
void |
delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete an existing Service Definition on the given enforcement point.
|
ServiceDefinition |
get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId)
Read Service Definition with given service-definition-id.
|
void |
get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Read Service Definition with given service-definition-id.
|
void |
get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Service Definition with given service-definition-id.
|
ServiceDefinition |
get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Service Definition with given service-definition-id.
|
ServiceInsertionServiceListResult |
list(java.lang.String enforcementPointId)
List all Service Definitions registered on given enforcement point.
|
void |
list(java.lang.String enforcementPointId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
List all Service Definitions registered on given enforcement point.
|
void |
list(java.lang.String enforcementPointId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service Definitions registered on given enforcement point.
|
ServiceInsertionServiceListResult |
list(java.lang.String enforcementPointId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service Definitions registered on given enforcement point.
|
ServiceDefinition |
update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
ServiceDefinition serviceDefinition)
Update an existing Service Definition on the given enforcement point.
|
void |
update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Update an existing Service Definition on the given enforcement point.
|
void |
update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update an existing Service Definition on the given enforcement point.
|
ServiceDefinition |
update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update an existing Service Definition on the given enforcement point.
|
ServiceDefinition create(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enforcementPointId - Enforcement point id (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 create(java.lang.String enforcementPointId, 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.
enforcementPointId - Enforcement point id (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 create(java.lang.String enforcementPointId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String enforcementPointId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)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 enforcementPointId,
java.lang.String serviceDefinitionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId,
java.lang.String serviceDefinitionId,
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.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId,
java.lang.String serviceDefinitionId,
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
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
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
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceDefinition get(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId, java.lang.String serviceDefinitionId, 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.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId,
java.lang.String serviceDefinitionId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceInsertionServiceListResult list(java.lang.String enforcementPointId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enforcementPointId - Enforcement point id (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 FoundServiceInsertionServiceListResult list(java.lang.String enforcementPointId, 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.
enforcementPointId - Enforcement point id (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 list(java.lang.String enforcementPointId,
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_policy.model.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String enforcementPointId,
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_policy.model.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ServiceDefinition update(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition)
Synchronous method overload. Result of the invocation will be reported as a method return value.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId, java.lang.String serviceDefinitionId, 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.
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (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 enforcementPointId,
java.lang.String serviceDefinitionId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
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_policy.model.ServiceDefinition
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.