GetApplicationsApplication

data class GetApplicationsApplication(val acrAssumeRoleArn: String, val acrInstanceId: String, val appDescription: String, val appName: String, val applicationId: String, val command: String, val commandArgs: String, val configMapMountDesc: String, val cpu: Int, val createTime: String, val customHostAlias: String, val edasContainerVersion: String, val envs: String, val id: String, val imageUrl: String, val jarStartArgs: String, val jarStartOptions: String, val jdk: String, val liveness: String, val memory: Int, val minReadyInstances: Int, val mountDescs: List<GetApplicationsApplicationMountDesc>, val mountHost: String, val namespaceId: String, val nasId: String, val ossAkId: String, val ossAkSecret: String, val ossMountDescs: String, val ossMountDetails: List<GetApplicationsApplicationOssMountDetail>, val packageType: String, val packageUrl: String, val packageVersion: String, val phpArmsConfigLocation: String, val phpConfig: String, val phpConfigLocation: String, val postStart: String, val preStop: String, val readiness: String, val regionId: String, val replicas: Int, val repoName: String, val repoNamespace: String, val repoOriginType: String, val securityGroupId: String, val slsConfigs: String, val status: String, val tags: Map<String, String>, val terminationGracePeriodSeconds: Int, val timezone: String, val tomcatConfig: String, val vpcId: String, val vswitchId: String, val warStartOptions: String, val webContainer: String)

Constructors

Link copied to clipboard
constructor(acrAssumeRoleArn: String, acrInstanceId: String, appDescription: String, appName: String, applicationId: String, command: String, commandArgs: String, configMapMountDesc: String, cpu: Int, createTime: String, customHostAlias: String, edasContainerVersion: String, envs: String, id: String, imageUrl: String, jarStartArgs: String, jarStartOptions: String, jdk: String, liveness: String, memory: Int, minReadyInstances: Int, mountDescs: List<GetApplicationsApplicationMountDesc>, mountHost: String, namespaceId: String, nasId: String, ossAkId: String, ossAkSecret: String, ossMountDescs: String, ossMountDetails: List<GetApplicationsApplicationOssMountDetail>, packageType: String, packageUrl: String, packageVersion: String, phpArmsConfigLocation: String, phpConfig: String, phpConfigLocation: String, postStart: String, preStop: String, readiness: String, regionId: String, replicas: Int, repoName: String, repoNamespace: String, repoOriginType: String, securityGroupId: String, slsConfigs: String, status: String, tags: Map<String, String>, terminationGracePeriodSeconds: Int, timezone: String, tomcatConfig: String, vpcId: String, vswitchId: String, warStartOptions: String, webContainer: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ARN of the RAM role required when pulling images across accounts.

Link copied to clipboard

The ID of the ACR EE instance.

Link copied to clipboard

Application description information. No more than 1024 characters.

Link copied to clipboard

The first ID of the resource.

Link copied to clipboard

Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.

Link copied to clipboard

Mirror start command. The command must be an executable object in the container. For example: sleep. Setting this command will cause the original startup command of the mirror to become invalid.

Link copied to clipboard

Mirror startup command parameters. The parameters required for the above start command. For example: 1d.

Link copied to clipboard

ConfigMap mount description.

Link copied to clipboard
val cpu: Int

The CPU required for each instance, in millicores, cannot be 0.

Link copied to clipboard

Indicates That the Application of the Creation Time.

Link copied to clipboard

Custom host mapping in the container. For example: {"hostName":"samplehost","ip":"127.0.0.1"}.

Link copied to clipboard

The operating environment used by the Pandora application.

Link copied to clipboard

The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.

Link copied to clipboard
val id: String

The ID of the Application.

Link copied to clipboard

Mirror address. Only Image type applications can configure the mirror address.

Link copied to clipboard

The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.

Link copied to clipboard

The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.

Link copied to clipboard
val jdk: String

The JDK version that the deployment package depends on. Image type applications are not supported.

Link copied to clipboard

Container health check. Containers that fail the health check will be shut down and restored. Currently, only the method of issuing commands in the container is supported.

Link copied to clipboard
val memory: Int

The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.

Link copied to clipboard

The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.

Link copied to clipboard

Mount description information.

Link copied to clipboard

Mount point of NAS in application VPC.

Link copied to clipboard

SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.

Link copied to clipboard

ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.

Link copied to clipboard

OSS AccessKey ID.

Link copied to clipboard

OSS AccessKey Secret.

Link copied to clipboard

OSS mount description information.

Link copied to clipboard
Link copied to clipboard

Application package type. Support FatJar, War and Image.

Link copied to clipboard

Deployment package address. Only FatJar or War type applications can configure the deployment package address.

Link copied to clipboard

The version number of the deployment package. Required when the Package Type is War and FatJar.

Link copied to clipboard

The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.

Link copied to clipboard

PHP configuration file content.

Link copied to clipboard

PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.

Link copied to clipboard

Execute the script after startup, the format is like: {"exec":{"command":"cat","/etc/group"}}.

Link copied to clipboard

Execute the script before stopping, the format is like: {"exec":{"command":"cat","/etc/group"}}.

Link copied to clipboard

Application startup status checks, containers that fail multiple health checks will be shut down and restarted. Containers that do not pass the health check will not receive SLB traffic. For example: {"exec":{"command":"sh","-c","cat /home/admin/start.sh"},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds ":2}.

Link copied to clipboard
Link copied to clipboard

Initial number of instances.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Security group ID.

Link copied to clipboard

SLS configuration.

Link copied to clipboard

The status of the resource.

Link copied to clipboard

A mapping of tags to assign to the resource.

Link copied to clipboard

Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60.

Link copied to clipboard

Time zone, the default value is Asia/Shanghai.

Link copied to clipboard

Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.

Link copied to clipboard

The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.

Link copied to clipboard

The vswitch id.

Link copied to clipboard

WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$@" start.

Link copied to clipboard

The version of tomcat that the deployment package depends on. Image type applications are not supported.