@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:43:58.169865-05:00[America/New_York]") public class ServiceInstanceRestApi extends Object
Constructor and Description |
---|
ServiceInstanceRestApi() |
ServiceInstanceRestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceData |
createNewInstanceEndpoints(String sessionid,
Long instanceId,
Map<String,String> requestBody)
Create new endpoints for the service instance
|
ApiResponse<ServiceInstanceData> |
createNewInstanceEndpointsWithHttpInfo(String sessionid,
Long instanceId,
Map<String,String> requestBody)
Create new endpoints for the service instance
|
ServiceInstanceData |
createNewInstanceVariables(String sessionid,
Long instanceId,
Map<String,String> requestBody)
Create new variables for the service instance
|
ApiResponse<ServiceInstanceData> |
createNewInstanceVariablesWithHttpInfo(String sessionid,
Long instanceId,
Map<String,String> requestBody)
Create new variables for the service instance
|
ServiceInstanceData |
createRunningServiceInstance(String sessionid,
ServiceDescription serviceDescription,
Integer parentJobId)
Create a new service instance
|
ApiResponse<ServiceInstanceData> |
createRunningServiceInstanceWithHttpInfo(String sessionid,
ServiceDescription serviceDescription,
Integer parentJobId)
Create a new service instance
|
ServiceInstanceData |
deleteServiceInstancesFromDatabase(String sessionid,
Long instanceId)
Remove a service instance from the database
|
ApiResponse<ServiceInstanceData> |
deleteServiceInstancesFromDatabaseWithHttpInfo(String sessionid,
Long instanceId)
Remove a service instance from the database
|
List<ServiceInstanceData> |
getActiveServiceInstances(String sessionid,
Boolean myServices)
Get service instances information for all active services.
|
ApiResponse<List<ServiceInstanceData>> |
getActiveServiceInstancesWithHttpInfo(String sessionid,
Boolean myServices)
Get service instances information for all active services.
|
ApiClient |
getApiClient()
Get the API client
|
Integer |
getCountActiveServiceInstances(String sessionid,
Boolean myServices)
Get active service instances count.
|
ApiResponse<Integer> |
getCountActiveServiceInstancesWithHttpInfo(String sessionid,
Boolean myServices)
Get active service instances count.
|
ServiceInstanceData |
getServiceInstance(String sessionid,
Long instanceId)
Get a service instance information
|
List<ServiceInstanceData> |
getServiceInstances(String sessionid,
List<Long> instanceId)
Get all service instances information for the provided comma separated list of instance ids or for all services if no instance id list is provided.
|
ApiResponse<List<ServiceInstanceData>> |
getServiceInstancesWithHttpInfo(String sessionid,
List<Long> instanceId)
Get all service instances information for the provided comma separated list of instance ids or for all services if no instance id list is provided.
|
ApiResponse<ServiceInstanceData> |
getServiceInstanceWithHttpInfo(String sessionid,
Long instanceId)
Get a service instance information
|
ServiceInstanceData |
killServiceInstanceJobs(String sessionid,
Long instanceId)
Kill the running workflows of the instance
|
ApiResponse<ServiceInstanceData> |
killServiceInstanceJobsWithHttpInfo(String sessionid,
Long instanceId)
Kill the running workflows of the instance
|
ServiceInstanceData |
launchServiceInstanceAction(String sessionid,
Long instanceId,
ServiceDescription serviceDescription,
Integer parentJobId)
Launch an action on the instance
|
ApiResponse<ServiceInstanceData> |
launchServiceInstanceActionWithHttpInfo(String sessionid,
Long instanceId,
ServiceDescription serviceDescription,
Integer parentJobId)
Launch an action on the instance
|
ServiceInstanceData |
removeInstanceEndpoints(String sessionid,
Long instanceId,
List<String> requestBody)
Remove the service instance endpoints
|
ApiResponse<ServiceInstanceData> |
removeInstanceEndpointsWithHttpInfo(String sessionid,
Long instanceId,
List<String> requestBody)
Remove the service instance endpoints
|
ServiceInstanceData |
removeInstanceVariables(String sessionid,
Long instanceId,
List<String> requestBody)
Remove the service instance variables
|
ApiResponse<ServiceInstanceData> |
removeInstanceVariablesWithHttpInfo(String sessionid,
Long instanceId,
List<String> requestBody)
Remove the service instance variables
|
void |
setApiClient(ApiClient apiClient)
Set the API client
|
ServiceInstanceData |
updateServiceInstance(String sessionid,
Long instanceId,
ServiceInstanceData serviceInstanceData)
Update the instance information
|
ApiResponse<ServiceInstanceData> |
updateServiceInstanceWithHttpInfo(String sessionid,
Long instanceId,
ServiceInstanceData serviceInstanceData)
Update the instance information
|
public ServiceInstanceRestApi()
public ServiceInstanceRestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic ServiceInstanceData createNewInstanceEndpoints(String sessionid, Long instanceId, Map<String,String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> createNewInstanceEndpointsWithHttpInfo(String sessionid, Long instanceId, Map<String,String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ServiceInstanceData createNewInstanceVariables(String sessionid, Long instanceId, Map<String,String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> createNewInstanceVariablesWithHttpInfo(String sessionid, Long instanceId, Map<String,String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ServiceInstanceData createRunningServiceInstance(String sessionid, ServiceDescription serviceDescription, Integer parentJobId) throws ApiException
sessionid
- Scheduler authentication id (required)serviceDescription
- (required)parentJobId
- The Id of the Parent Job that submits this action (optional)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> createRunningServiceInstanceWithHttpInfo(String sessionid, ServiceDescription serviceDescription, Integer parentJobId) throws ApiException
sessionid
- Scheduler authentication id (required)serviceDescription
- (required)parentJobId
- The Id of the Parent Job that submits this action (optional)ApiException
- if fails to make API callpublic ServiceInstanceData deleteServiceInstancesFromDatabase(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> deleteServiceInstancesFromDatabaseWithHttpInfo(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)ApiException
- if fails to make API callpublic List<ServiceInstanceData> getActiveServiceInstances(String sessionid, Boolean myServices) throws ApiException
sessionid
- Scheduler authentication id (required)myServices
- Include only services that belongs to the user sending the request (required)ApiException
- if fails to make API callpublic ApiResponse<List<ServiceInstanceData>> getActiveServiceInstancesWithHttpInfo(String sessionid, Boolean myServices) throws ApiException
sessionid
- Scheduler authentication id (required)myServices
- Include only services that belongs to the user sending the request (required)ApiException
- if fails to make API callpublic Integer getCountActiveServiceInstances(String sessionid, Boolean myServices) throws ApiException
sessionid
- Scheduler authentication id (required)myServices
- Include only services that belongs to the user sending the request (required)ApiException
- if fails to make API callpublic ApiResponse<Integer> getCountActiveServiceInstancesWithHttpInfo(String sessionid, Boolean myServices) throws ApiException
sessionid
- Scheduler authentication id (required)myServices
- Include only services that belongs to the user sending the request (required)ApiException
- if fails to make API callpublic ServiceInstanceData getServiceInstance(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The service instance id (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> getServiceInstanceWithHttpInfo(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The service instance id (required)ApiException
- if fails to make API callpublic List<ServiceInstanceData> getServiceInstances(String sessionid, List<Long> instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- Comma-separated list of service instance ids (optional)ApiException
- if fails to make API callpublic ApiResponse<List<ServiceInstanceData>> getServiceInstancesWithHttpInfo(String sessionid, List<Long> instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- Comma-separated list of service instance ids (optional)ApiException
- if fails to make API callpublic ServiceInstanceData killServiceInstanceJobs(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> killServiceInstanceJobsWithHttpInfo(String sessionid, Long instanceId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)ApiException
- if fails to make API callpublic ServiceInstanceData launchServiceInstanceAction(String sessionid, Long instanceId, ServiceDescription serviceDescription, Integer parentJobId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)serviceDescription
- (required)parentJobId
- The Id of the Parent Job that submits this action (optional)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> launchServiceInstanceActionWithHttpInfo(String sessionid, Long instanceId, ServiceDescription serviceDescription, Integer parentJobId) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)serviceDescription
- (required)parentJobId
- The Id of the Parent Job that submits this action (optional)ApiException
- if fails to make API callpublic ServiceInstanceData removeInstanceEndpoints(String sessionid, Long instanceId, List<String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> removeInstanceEndpointsWithHttpInfo(String sessionid, Long instanceId, List<String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ServiceInstanceData removeInstanceVariables(String sessionid, Long instanceId, List<String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> removeInstanceVariablesWithHttpInfo(String sessionid, Long instanceId, List<String> requestBody) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- (required)requestBody
- (required)ApiException
- if fails to make API callpublic ServiceInstanceData updateServiceInstance(String sessionid, Long instanceId, ServiceInstanceData serviceInstanceData) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)serviceInstanceData
- (required)ApiException
- if fails to make API callpublic ApiResponse<ServiceInstanceData> updateServiceInstanceWithHttpInfo(String sessionid, Long instanceId, ServiceInstanceData serviceInstanceData) throws ApiException
sessionid
- Scheduler authentication id (required)instanceId
- The instance id (required)serviceInstanceData
- (required)ApiException
- if fails to make API call