create-application¶
- subtitle
Create Application
- version
0.9.147
Description¶
Creates an application.
Synopsis¶
create-application
--environment <value>
--name <value>
--type <value>
[--application-version <value>]
[--size <value>]
[--application-spot-policy <value>]
[--cluster-crn <value>]
[--tags <value>]
[--skip-validation | --no-skip-validation]
[--config-overrides <value>]
[--db-type <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--environment
(string)
The name or CRN of the environment in which application should be created.
--name
(string)
The application name.
--type
(string)
CDP Application Type. AIRFLOW - Airflow CSS - Cloudera Semantic Search NOTEBOOK - Standalone Notebook Service RAY - Standalone Ray Service HTTPBIN - HTTPBin Service
Possible values:
AIRFLOW
CSS
--application-version
(string)
The version of the application to be installed. If not specified, latest supported version for the application will be used.
--size
(string)
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: TINY,`SMALL`, LARGE, XLARGE, etc
--application-spot-policy
(string)
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.
Possible values:
DEFAULT
WORKLOAD
NONE
Form Factors: public
--cluster-crn
(string)
The CRN of the cluster in which application should be created. If not specified, default environment cluster wil be used.
--tags
(map)
Tags to add to the cloud provider resources created.
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
Form Factors: public
--skip-validation
| --no-skip-validation
(boolean)
Skip pre-flight validations if requested.
--config-overrides
(map)
A map of config-overrides to put in custom configurations. There will be a list all configurations feature in the future.
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--db-type
(string)
Application Database Type. EMBEDDED - Embedded Database EXTERNAL - External Database
Possible values:
EMBEDDED
EXTERNAL
Form Factors: public
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton
(boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json
.
Output¶
application -> (object)
Details of an application.
applicationCrn -> (string)
The CRN of application.
name -> (string)
The name of application.
type -> (string)
CDP Application Type. AIRFLOW - Airflow CSS - Cloudera Semantic Search NOTEBOOK - Standalone Notebook Service RAY - Standalone Ray Service HTTPBIN - HTTPBin Service
applicationVersion -> (string)
The version of the installed application.
size -> (string)
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: TINY,`SMALL`, LARGE, XLARGE, etc
applicationSpotPolicy -> (string)
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.
Form Factors: public
status -> (string)
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
actualState -> (string)
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.
desiredState -> (string)
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.
clusterCrn -> (string)
The compute cluster used by the application.
environmentCrn -> (string)
The Environment CRN for the application.
tags -> (map)
Tags to added to the cloud provider resources created.
Form Factors: public
key -> (string)
value -> (string)
environmentName -> (string)
The Environment name for the application.
endpoints -> (array)
Application endpoint URL.
item -> (object)
Endpoint details for an application. Can contain UI endpoints, API endpoints, etc.
name -> (string)
The Name of the Url.
serviceUrl -> (string)
The endpoint URL for the application.
description -> (string)
The description of the endpoint.
endpointType -> (string)
Endpoint Type. UI - UI endpoint API - API endpoint
clusterName -> (string)
The name of compute cluster used by the application.
requestId -> (integer)
The request id to track the progress of the create operation.
Form Factors¶
public