Overview
Applications is a web service for managing application lifecycle.
Version information
Version : 0.9.147 (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. |
Get Application Metadata Configuration
POST /api/v1/applications/getApplicationMetadataConfiguration
Description
Retrieves the configuration schema and field definitions for a specific application type and version.
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. |
Lists 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. |
Lists Applications Metadata
POST /api/v1/applications/listApplicationsMetadata
Description
Provides a list of applications metadata.
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. |
Lists available clusters
POST /api/v1/applications/listAvailableClusters
Description
Provides a list of available clusters.
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 |
clusterName |
The name of compute cluster used by the application. |
string |
desiredState |
The desired state of the application. |
|
endpoints |
Application endpoint URL. |
< Endpoint > array |
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. |
ApplicationMetadata
Application metadata details of an application that can be installed.
Name | Description | Schema |
---|---|---|
description |
the description of the application. |
string |
displayName |
the display name of the application. |
string |
status |
Describes the overall application maturity and availability. E.g. "LIMITED_SUPPORT", "GA_SUPPORT", "DEPRECATED", "IN_DEVELOPMENT" |
string |
summary |
the summary of the application. |
string |
tags |
Arbitrary list of identifying tags. Can be used for search in the future. |
< string > array |
type |
the type of the application. |
string |
versions |
List of app versions that can be installed. |
< ApplicationMetadataVersion > array |
ApplicationMetadataVersion
Application metadata for available versions of applications.
Name | Description | Schema |
---|---|---|
buildNum |
The build number of the application. |
string |
description |
The application description for this version. |
string |
sizes |
The available sizes for instance group creation. |
< string > array |
status |
Status describes the overall application maturity and availability for this specific release version. E.g. "LIMITED_SUPPORT", "GA_SUPPORT", "DEPRECATED", "IN_DEVELOPMENT" |
string |
version |
The version of the application. |
string |
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 HTTPBIN
- HTTPBin Service
Type : enum (AIRFLOW, CSS)
CloudProviderType
Cloud Provider Type.
AWS
- AWS cloud provider AZURE
- AZURE cloud provider GCP
- GCP cloud provider
Type : enum (AWS)
ClusterInfo
Cluster information for an application.
Name | Description | Schema |
---|---|---|
cloudProvider |
The cloud provider of the cluster, e.g. "AWS", "AZURE", "GCP". |
string |
clusterCrn |
The CRN of the cluster. |
string |
environmentName |
The environment name. |
string |
name |
The name of the cluster. |
string |
statusMessage |
The status of the cluster. |
ClusterStatusMessage
Cluster status message detail.
Name | Description | Schema |
---|---|---|
message |
The status message. Typically an error message. |
string |
platformMessageDetails |
The cloud provider details. |
|
status |
The status. e.g. "RUNNING", "CREATING". |
string |
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 |
configOverrides |
A map of configOverrides to put in custom configurations. There will be a list all configurations feature in the future. |
< string, string > map |
dbType |
Which DB type (external/embedded) to request for the app if it supports a DB. If not used, will default to what’s in the appspec. |
|
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) |
DatabaseType
Application Database Type.
EMBEDDED
- Embedded Database EXTERNAL
- External Database
Type : enum (EMBEDDED, EXTERNAL)
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 |
force |
Force deletion enabled. |
boolean |
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. |
Endpoint
Endpoint details for an application. Can contain UI endpoints, API endpoints, etc.
Name | Description | Schema |
---|---|---|
description |
The description of the endpoint. |
string |
endpointType |
The type of the endpoint. eg. UI, API. |
|
name |
The Name of the Url. |
string |
serviceUrl |
The endpoint URL for the application. |
string |
EndpointType
Endpoint Type.
UI
- UI endpoint API
- API endpoint
Type : enum (UI, API)
Error
An object returned on an error.
Name | Description | Schema |
---|---|---|
code |
The error code. |
string |
message |
The error message. |
string |
FieldDefinition
Structure, validation, and UI behavior for configurable application parameters.
Name | Description | Schema |
---|---|---|
default |
The default value for the field. |
string |
description |
The description of the field. |
string |
enum |
The enum options for the field. |
< string > array |
maximum |
The maximum value for the field. |
integer (int64) |
minimum |
The minimum value for the field. |
integer (int64) |
pattern |
The regex validation pattern for the field. |
string |
placeholder |
The placeholder text for the field. |
string |
properties |
The nested properties for object-type fields. |
< Property > array |
required |
Whether the field is required. |
boolean |
title |
The display title of the field shown to users in forms or UI. |
string |
type |
The type of the field (string, integer, boolean, object). |
string |
ui |
UI-specific hints for how a client should render the field. |
GetApplicationMetadataConfigurationRequest
Request object for the GetApplicationMetadataConfiguration method.
Name | Description | Schema |
---|---|---|
applicationVersion |
The specific version of the application to retrieve configuration for. |
string |
size |
The deployment size tier for the application, which affects available configuration options. Example Values: |
string |
type |
The type of application for which to retrieve configuration metadata. |
GetApplicationMetadataConfigurationResponse
Response object for the GetApplicationMetadataConfiguration method.
Name | Description | Schema |
---|---|---|
properties |
Configuration properties describing the structure and validation rules for each configurable parameter. |
< Property > array |
title |
The display title for the configuration form or schema. |
string |
ListApplicationsMetadataRequest
Request object for the ListApplicationsMetadata method.
Name | Description | Schema |
---|---|---|
cloudProvider |
Cloud provider platform. |
|
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 |
ListApplicationsMetadataResponse
Response object for the ListApplicationsMetadata method.
Name | Description | Schema |
---|---|---|
applicationsMetadata |
A detailed list of installable applications |
< ApplicationMetadata > array |
nextPageToken |
The token to use when requesting the next set of results. If not present, there are no additional results. |
string |
ListApplicationsRequest
Request object for the ListApplications method.
Name | Description | Schema |
---|---|---|
environment |
The name or CRN of the environment. If omitted, the API will return all applications across environments that are accessible to the requesting user. |
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 |
ListAvailableClustersRequest
Request object for the ListAvailableClusters method.
Name | Description | Schema |
---|---|---|
applicationVersion |
The version of the application. |
string |
environment |
The name or CRN of the environment to list clusters for. |
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 |
type |
The type of application. |
ListAvailableClustersResponse
Response object for the ListAvailableClusters method.
Name | Description | Schema |
---|---|---|
clusters |
A detailed list of available clusters in the environment. |
< ClusterInfo > array |
nextPageToken |
The token to use when requesting the next set of results. If not present, there are no additional results. |
string |
PlatformMessageDetails
Platform message details for a cluster status message.
Name | Description | Schema |
---|---|---|
errorMessage |
Error message from the cloud provider. |
string |
Property
Represents a key-value property pair.
Name | Description | Schema |
---|---|---|
key |
The property name/key. |
string |
value |
The field definition for this property. |
UiHints
UI-specific hints for how a client should render the field.
Name | Description | Schema |
---|---|---|
isEditable |
Whether this field can be edited after initial configuration or installation. |
boolean |
isVisibleDuringInstallation |
Whether this field should be visible and configurable during application installation. |
boolean |
sensitive |
Whether this field contains sensitive data that should be masked or hidden in UI. |
boolean |