public class ServiceDefinitionsStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceDefinitions
ServiceDefinitions
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ServiceDefinitionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceDefinitionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| 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.
|
public ServiceDefinitionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceDefinitionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceDefinition create(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinition - (required)public ServiceDefinition create(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinition - (required)invocationConfig - Configuration for the method invocation.public void create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
ServiceDefinitionsAsynchronous 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
create in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String enforcementPointId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsAsynchronous 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
create in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)public void delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceDefinitionsAsynchronous 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
delete in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
ServiceDefinitionsAsynchronous 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
delete in interface ServiceDefinitionsenforcementPointId - 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.public ServiceDefinition get(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)public ServiceDefinition get(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
ServiceDefinitionsAsynchronous 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
get in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
ServiceDefinitionsAsynchronous 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
get in interface ServiceDefinitionsenforcementPointId - 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.public ServiceInsertionServiceListResult list(java.lang.String enforcementPointId)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)public ServiceInsertionServiceListResult list(java.lang.String enforcementPointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)invocationConfig - Configuration for the method invocation.public void list(java.lang.String enforcementPointId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
ServiceDefinitionsAsynchronous 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
list in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String enforcementPointId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsAsynchronous 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
list in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceDefinition update(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)serviceDefinition - (required)public ServiceDefinition update(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDefinitionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)serviceDefinition - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String enforcementPointId,
java.lang.String serviceDefinitionId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
ServiceDefinitionsAsynchronous 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
update in interface ServiceDefinitionsenforcementPointId - Enforcement point id (required)serviceDefinitionId - Id of service definition (required)serviceDefinition - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
ServiceDefinitionsAsynchronous 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
update in interface ServiceDefinitionsenforcementPointId - 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.