@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class JobsApi extends AbstractOpenApiService
apiClient
Constructor and Description |
---|
JobsApi(ApiClient apiClient)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry based on a given
ApiClient . |
JobsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
public JobsApi(@Nonnull HttpDestinationProperties httpDestination)
httpDestination
- The destination that API should be used with@Nullable public Job getJob(@Nonnull String jobId) throws OpenApiRequestException
Retrieve Job status
Tracks the status of API requests, which the server executed asynchronously. Roles permitted to execute this operation: - Global roles: WorkflowTenantOperator - Scope: JOB_STATUS_GET
200 - Returns the status of the job
401 - Unauthorized. You have not provided valid authentication credentials to access the resource.
404 - Job not found. You may have provided an incorrect job ID or the job may have already completed.
429 - You have reached the usage limits that are configured for your tenant. You are performing too many requests or consume too many resources.
jobId
- The ID of the job for which you check the status. Typically, the ID has been retrieved from another
API request that was processed asynchronously. The ID is at most 36 characters long.OpenApiRequestException
- if an error occurs while attempting to invoke the APICopyright © 2021 SAP SE. All rights reserved.