app.create¶
Create an app with app_name using catalog_app with train and version.
TODO: Add support for advanced mode which will enable users to use their own compose files
No Additional Items
Tuple Validation
Parameter 1: app_create
app_create
Type: objectNo Additional Properties
Custom App
Type: boolean Default: falseValues
Type: objectCustom Compose Config
Type: objectCustom Compose Config String
Type: string Default: ""Catalog App
Default: nullApp Name
Type: stringApplication name must have the following:
1) Lowercase alphanumeric characters can be specified
2) Name must start with an alphabetic character and can end with alphanumeric character
3) Hyphen '-' is allowed but not as the first or last character
e.g abc123, abc, abcd-1232
^[a-z]([-a-z0-9]*[a-z0-9])?$
Must be at least 1
characters long
Must be at most 40
characters long
Train
Type: string Default: "stable"Must be at least 1
characters long
Version
Type: string Default: "latest"Must be at least 1
characters long
AppEntry
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Id
Type: stringMust be at least 1
characters long
State
Type: enum (of string)Must be one of:
- "CRASHED"
- "DEPLOYING"
- "RUNNING"
- "STOPPED"
- "STOPPING"
Upgrade Available
Type: booleanLatest Version
Must be at least 1
characters long
Image Updates Available
Type: booleanCustom App
Type: booleanMigrated
Type: booleanHuman Version
Type: stringMust be at least 1
characters long
Version
Type: stringMust be at least 1
characters long
Metadata
Type: objectAppActiveWorkloads
Type: objectNo Additional Properties
Containers
Type: integerUsed Ports
Type: array of objectNo Additional Items
Each item of this array must be:
UsedPorts
Type: objectNo Additional Properties
Container Port
Type: integerProtocol
Type: stringHost Ports
Type: array of objectNo Additional Items
Each item of this array must be:
HostPorts
Type: objectNo Additional Properties
Host Port
Type: integerHost Ip
Type: stringContainer Details
Type: array of objectNo Additional Items
Each item of this array must be:
AppContainerDetails
Type: objectNo Additional Properties
Id
Type: stringService Name
Type: stringImage
Type: stringPort Config
Type: array of objectNo Additional Items
Each item of this array must be:
UsedPorts
Type: objectNo Additional Properties
Container Port
Type: integerProtocol
Type: stringHost Ports
Type: arrayNo Additional Items
Each item of this array must be:
State
Type: enum (of string)Must be one of:
- "crashed"
- "created"
- "exited"
- "running"
- "starting"
Volume Mounts
Type: array of objectNo Additional Items
Each item of this array must be:
AppVolumes
Type: objectNo Additional Properties
Source
Type: stringDestination
Type: stringMode
Type: stringType
Type: stringVolumes
Type: array of objectNo Additional Items
Each item of this array must be:
AppVolumes
Type: objectNo Additional Properties
Source
Type: stringDestination
Type: stringMode
Type: stringType
Type: stringImages
Type: array of stringNo Additional Items
Each item of this array must be:
Must be at least 1
characters long
Networks
Type: array of objectNo Additional Items
Each item of this array must be:
AppNetworks
Type: objectName
Type: stringId
Type: stringLabels
Type: objectAdditional Properties of any type are allowed.
Type: objectNotes
Portals
Type: objectVersion Details
Default: nullConfig
Default: nullRequired roles: APPS_WRITE