Interface ServiceDefinitions
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,ServiceDefinitionsTypes
- All Known Implementing Classes:
ServiceDefinitionsStub
public interface ServiceDefinitions extends com.vmware.vapi.bindings.Service, ServiceDefinitionsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.enforcement_points.ServiceDefinitionsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
create
ServiceDefinition create(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition)
Create a Service Definition on given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinition
- (required)- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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
ServiceDefinition create(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a Service Definition on given enforcement point.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:
enforcementPointId
- Enforcement point id (required)serviceDefinition
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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 enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Create a Service Definition on given enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinition
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
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.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.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
delete
void delete(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
Delete an existing Service Definition on the given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (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 enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete an existing Service Definition on the given enforcement point.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:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (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 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.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:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
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.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:
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.
-
get
ServiceDefinition get(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
Read Service Definition with given service-definition-id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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
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.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:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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 enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Read Service Definition with given service-definition-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
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.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.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
list
ServiceInsertionServiceListResult list(java.lang.String enforcementPointId)
List all Service Definitions registered on given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
enforcementPointId
- Enforcement point id (required)- Returns:
- com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
- 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
ServiceInsertionServiceListResult list(java.lang.String enforcementPointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service Definitions registered on given enforcement point.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:
enforcementPointId
- Enforcement point id (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
- 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 enforcementPointId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
List all Service Definitions registered on given enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ServiceInsertionServiceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
enforcementPointId
- Enforcement point id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
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.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.ServiceInsertionServiceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
enforcementPointId
- Enforcement point id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
ServiceDefinition update(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition)
Update an existing Service Definition on the given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)serviceDefinition
- (required)- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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
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.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:
enforcementPointId
- Enforcement point id (required)serviceDefinitionId
- Id of service definition (required)serviceDefinition
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceDefinition
- 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 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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
update
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.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.ServiceDefinitionOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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.
-
-