Overview
Applications is a web service for managing application lifecycle.
Version information
Version : 0.9.135 (BETA)
License information
License : Apache 2.0
Terms of service : https://www.cloudera.com/legal/commercial-terms-and-conditions.html
URI scheme
Schemes : HTTPS
Consumes
-
application/json
Produces
-
application/json
Paths
Create Application
POST /api/v1/applications/createApplication
Description
Creates an application.
Parameters
Type | Name | Schema |
---|---|---|
Body |
input |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Expected response to a valid request. |
|
default |
The default response on an error. |
Delete Application
POST /api/v1/applications/deleteApplication
Description
Deletes an application.
Parameters
Type | Name | Schema |
---|---|---|
Body |
input |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Expected response to a valid request. |
|
default |
The default response on an error. |
Describe Application
POST /api/v1/applications/describeApplication
Description
Describes an application.
Parameters
Type | Name | Schema |
---|---|---|
Body |
input |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Expected response to a valid request. |
|
default |
The default response on an error. |
List of Applications
POST /api/v1/applications/listApplications
Description
Provides a list of applications.
Parameters
Type | Name | Schema |
---|---|---|
Body |
input |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Expected response to a valid request. |
|
default |
The default response on an error. |
Definitions
ApplicationHealthStatus
Health status of an Application.
HEALTHY
- Application is in a Healthy status. UNHEALTHY
- Application is in an Unhealthy status. UNKNOWN
- Application is in an Unknown status
Type : enum (HEALTHY, UNHEALTHY, UNKNOWN)
ApplicationInfo
Details of an application.
Name | Description | Schema |
---|---|---|
actualState |
The actual state of the application. |
|
applicationCrn |
The CRN of application. |
string |
applicationSpotPolicy |
Spot instance policy of an application. |
|
applicationVersion |
The version of the installed application. |
string |
clusterCrn |
The compute cluster used by the application. |
string |
desiredState |
The desired state of the application. |
|
environmentCrn |
The Environment CRN for the application. |
string |
environmentName |
The Environment name for the application. |
string |
name |
The name of application. |
string |
size |
The size of the application refers to the specific amount of resources, such as CPU, memory, GPU and storage, that are allocated and guaranteed for that instance. Example Values: |
string |
status |
The health status of the application. |
|
tags |
Tags to added to the cloud provider resources created. |
< string, string > map |
type |
The type of application. |
ApplicationSpotPolicy
Application policy for using spot tier in public cloud
DEFAULT
- By default application infra services and workload master would run on on-demand instances and the application workload executor will run on spot instances. WORKLOAD
- WORKLOAD
will run all application workloads including workload master (driver) on spot instamces. NONE
- NONE
will run all application services on on-demand instances. ALL
- ALL
will run all application services on spot instances.
Type : enum (DEFAULT, WORKLOAD, NONE)
ApplicationState
Health state of an Application.
INFRA_PROVISIONING
- Application is provisioning and configuring required infra. INFRA_PROVISIONED
- Underlying infra has been provisioned and configured. INFRA_PROVISIONING_FAILED
- Underlying infra has been provisioned and configured. STARTING
- Application is starting. STARTED
- Application has started. STARTING_FAILED
- Application starting failed. STOPPING
- Application is stopping. STOPPED
- Application is stopped. STOPPING_FAILED
- Application stopping failed. DELETING
- Application is being deleted. DELETED
- Application is deleted. DELETING_FAILED
- Application deleting failed.
Type : enum (INFRA_PROVISIONING, INFRA_PROVISIONED, INFRA_PROVISIONING_FAILED, STARTING, STARTED, STARTING_FAILED, STOPPING, STOPPED, STOPPING_FAILED, DELETING, DELETED, DELETING_FAILED)
ApplicationType
CDP Application Type.
AIRFLOW
- Airflow CSS
- Cloudera Semantic Search NOTEBOOK
- Standalone Notebook Service RAY
- Standalone Ray Service
Type : enum (CSS)
CreateApplicationRequest
Request object for the CreateApplication method.
Name | Description | Schema |
---|---|---|
applicationSpotPolicy |
By default application infra services would run on on-demand instances and the application workloads on spot instances. Setting this config to |
|
applicationVersion |
The version of the application to be installed. If not specified, latest supported version for the application will be used. |
string |
clusterCrn |
The CRN of the cluster in which application should be created. If not specified, default environment cluster wil be used. |
string |
environment |
The name or CRN of the environment in which application should be created. |
string |
name |
The application name. |
string |
size |
The size of the application refers to the specific amount of resources, such as CPU, memory, GPU and storage, that are allocated and guaranteed for that instance. Example Values: |
string |
skipValidation |
Skip pre-flight validations if requested. |
boolean |
tags |
Tags to add to the cloud provider resources created. |
< string, string > map |
type |
The type of application. |
CreateApplicationResponse
Response object for the CreateApplication method.
Name | Description | Schema |
---|---|---|
application |
The details of the application. |
|
requestId |
The request id to track the progress of the create operation. |
integer (int64) |
DeleteApplicationRequest
Request object for the DeleteApplication method.
Name | Description | Schema |
---|---|---|
application |
The name or CRN of the application. |
string |
environment |
The name or CRN of the environment. |
string |
DeleteApplicationResponse
Response object for the DeleteApplication method.
Name | Description | Schema |
---|---|---|
application |
The details of the application. |
|
requestId |
The request id to track the progress of the delete operation. |
integer (int64) |
DescribeApplicationRequest
Request object for the DescribeApplication method.
Name | Description | Schema |
---|---|---|
application |
The name or CRN of the pplication. |
string |
environment |
The name or CRN of the environment. |
string |
DescribeApplicationResponse
Response object for the DescribeApplication method.
Name | Description | Schema |
---|---|---|
application |
The details of the application. |
Error
An object returned on an error.
Name | Description | Schema |
---|---|---|
code |
The error code. |
string |
message |
The error message. |
string |
ListApplicationsRequest
Request object for the ListApplications method.
Name | Description | Schema |
---|---|---|
environment |
The name or CRN of the environment. |
string |
pageSize |
The page size. |
integer (int32) |
pageToken |
A token to specify where to start paginating. This is the nextToken from a previously truncated response. |
string |
ListApplicationsResponse
Response object for the ListApplications method.
Name | Description | Schema |
---|---|---|
applications |
A detailed list of applications within the environment. |
< ApplicationInfo > array |
nextPageToken |
The token to use when requesting the next set of results. If not present, there are no additional results. |
string |