alicloud.sae.Application
Explore with Pulumi AI
Provides a Serverless App Engine (SAE) Application resource.
For information about Serverless App Engine (SAE) Application and how to use it, see What is Application.
NOTE: Available since v1.161.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const region = config.get("region") || "cn-hangzhou";
const name = config.get("name") || "tf-example";
const defaultInteger = new random.index.Integer("default", {
    max: 99999,
    min: 10000,
});
const _default = alicloud.getRegions({
    current: true,
});
const defaultGetZones = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
    vpcName: name,
    cidrBlock: "10.4.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
    vswitchName: name,
    cidrBlock: "10.4.0.0/24",
    vpcId: defaultNetwork.id,
    zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[0]?.id),
});
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {vpcId: defaultNetwork.id});
const defaultNamespace = new alicloud.sae.Namespace("default", {
    namespaceId: _default.then(_default => `${_default.regions?.[0]?.id}:example${defaultInteger.result}`),
    namespaceName: name,
    namespaceDescription: name,
    enableMicroRegistration: false,
});
const defaultApplication = new alicloud.sae.Application("default", {
    appDescription: name,
    appName: `${name}-${defaultInteger.result}`,
    namespaceId: defaultNamespace.id,
    imageUrl: _default.then(_default => `registry-vpc.${_default.regions?.[0]?.id}.aliyuncs.com/sae-demo-image/consumer:1.0`),
    packageType: "Image",
    securityGroupId: defaultSecurityGroup.id,
    vpcId: defaultNetwork.id,
    vswitchId: defaultSwitch.id,
    timezone: "Asia/Beijing",
    replicas: 5,
    cpu: 500,
    memory: 2048,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
region = config.get("region")
if region is None:
    region = "cn-hangzhou"
name = config.get("name")
if name is None:
    name = "tf-example"
default_integer = random.index.Integer("default",
    max=99999,
    min=10000)
default = alicloud.get_regions(current=True)
default_get_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("default",
    vpc_name=name,
    cidr_block="10.4.0.0/16")
default_switch = alicloud.vpc.Switch("default",
    vswitch_name=name,
    cidr_block="10.4.0.0/24",
    vpc_id=default_network.id,
    zone_id=default_get_zones.zones[0].id)
default_security_group = alicloud.ecs.SecurityGroup("default", vpc_id=default_network.id)
default_namespace = alicloud.sae.Namespace("default",
    namespace_id=f"{default.regions[0].id}:example{default_integer['result']}",
    namespace_name=name,
    namespace_description=name,
    enable_micro_registration=False)
default_application = alicloud.sae.Application("default",
    app_description=name,
    app_name=f"{name}-{default_integer['result']}",
    namespace_id=default_namespace.id,
    image_url=f"registry-vpc.{default.regions[0].id}.aliyuncs.com/sae-demo-image/consumer:1.0",
    package_type="Image",
    security_group_id=default_security_group.id,
    vpc_id=default_network.id,
    vswitch_id=default_switch.id,
    timezone="Asia/Beijing",
    replicas=5,
    cpu=500,
    memory=2048)
package main
import (
	"fmt"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sae"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		region := "cn-hangzhou"
		if param := cfg.Get("region"); param != "" {
			region = param
		}
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Max: 99999,
			Min: 10000,
		})
		if err != nil {
			return err
		}
		_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(defaultGetZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
			VpcId: defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		defaultNamespace, err := sae.NewNamespace(ctx, "default", &sae.NamespaceArgs{
			NamespaceId:             pulumi.Sprintf("%v:example%v", _default.Regions[0].Id, defaultInteger.Result),
			NamespaceName:           pulumi.String(name),
			NamespaceDescription:    pulumi.String(name),
			EnableMicroRegistration: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = sae.NewApplication(ctx, "default", &sae.ApplicationArgs{
			AppDescription:  pulumi.String(name),
			AppName:         pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
			NamespaceId:     defaultNamespace.ID(),
			ImageUrl:        pulumi.Sprintf("registry-vpc.%v.aliyuncs.com/sae-demo-image/consumer:1.0", _default.Regions[0].Id),
			PackageType:     pulumi.String("Image"),
			SecurityGroupId: defaultSecurityGroup.ID(),
			VpcId:           defaultNetwork.ID(),
			VswitchId:       defaultSwitch.ID(),
			Timezone:        pulumi.String("Asia/Beijing"),
			Replicas:        pulumi.Int(5),
			Cpu:             pulumi.Int(500),
			Memory:          pulumi.Int(2048),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var region = config.Get("region") ?? "cn-hangzhou";
    var name = config.Get("name") ?? "tf-example";
    var defaultInteger = new Random.Index.Integer("default", new()
    {
        Max = 99999,
        Min = 10000,
    });
    var @default = AliCloud.GetRegions.Invoke(new()
    {
        Current = true,
    });
    var defaultGetZones = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });
    var defaultNetwork = new AliCloud.Vpc.Network("default", new()
    {
        VpcName = name,
        CidrBlock = "10.4.0.0/16",
    });
    var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
    {
        VswitchName = name,
        CidrBlock = "10.4.0.0/24",
        VpcId = defaultNetwork.Id,
        ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
    });
    var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
    {
        VpcId = defaultNetwork.Id,
    });
    var defaultNamespace = new AliCloud.Sae.Namespace("default", new()
    {
        NamespaceId = @default.Apply(@default => $"{@default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)}:example{defaultInteger.Result}"),
        NamespaceName = name,
        NamespaceDescription = name,
        EnableMicroRegistration = false,
    });
    var defaultApplication = new AliCloud.Sae.Application("default", new()
    {
        AppDescription = name,
        AppName = $"{name}-{defaultInteger.Result}",
        NamespaceId = defaultNamespace.Id,
        ImageUrl = @default.Apply(@default => $"registry-vpc.{@default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)}.aliyuncs.com/sae-demo-image/consumer:1.0"),
        PackageType = "Image",
        SecurityGroupId = defaultSecurityGroup.Id,
        VpcId = defaultNetwork.Id,
        VswitchId = defaultSwitch.Id,
        Timezone = "Asia/Beijing",
        Replicas = 5,
        Cpu = 500,
        Memory = 2048,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.sae.Namespace;
import com.pulumi.alicloud.sae.NamespaceArgs;
import com.pulumi.alicloud.sae.Application;
import com.pulumi.alicloud.sae.ApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var region = config.get("region").orElse("cn-hangzhou");
        final var name = config.get("name").orElse("tf-example");
        var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
            .max(99999)
            .min(10000)
            .build());
        final var default = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
            .current(true)
            .build());
        final var defaultGetZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());
        var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
            .vpcName(name)
            .cidrBlock("10.4.0.0/16")
            .build());
        var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
            .vswitchName(name)
            .cidrBlock("10.4.0.0/24")
            .vpcId(defaultNetwork.id())
            .zoneId(defaultGetZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());
        var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
            .vpcId(defaultNetwork.id())
            .build());
        var defaultNamespace = new Namespace("defaultNamespace", NamespaceArgs.builder()
            .namespaceId(String.format("%s:example%s", default_.regions()[0].id(),defaultInteger.result()))
            .namespaceName(name)
            .namespaceDescription(name)
            .enableMicroRegistration(false)
            .build());
        var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()
            .appDescription(name)
            .appName(String.format("%s-%s", name,defaultInteger.result()))
            .namespaceId(defaultNamespace.id())
            .imageUrl(String.format("registry-vpc.%s.aliyuncs.com/sae-demo-image/consumer:1.0", default_.regions()[0].id()))
            .packageType("Image")
            .securityGroupId(defaultSecurityGroup.id())
            .vpcId(defaultNetwork.id())
            .vswitchId(defaultSwitch.id())
            .timezone("Asia/Beijing")
            .replicas("5")
            .cpu("500")
            .memory("2048")
            .build());
    }
}
configuration:
  region:
    type: string
    default: cn-hangzhou
  name:
    type: string
    default: tf-example
resources:
  defaultInteger:
    type: random:integer
    name: default
    properties:
      max: 99999
      min: 10000
  defaultNetwork:
    type: alicloud:vpc:Network
    name: default
    properties:
      vpcName: ${name}
      cidrBlock: 10.4.0.0/16
  defaultSwitch:
    type: alicloud:vpc:Switch
    name: default
    properties:
      vswitchName: ${name}
      cidrBlock: 10.4.0.0/24
      vpcId: ${defaultNetwork.id}
      zoneId: ${defaultGetZones.zones[0].id}
  defaultSecurityGroup:
    type: alicloud:ecs:SecurityGroup
    name: default
    properties:
      vpcId: ${defaultNetwork.id}
  defaultNamespace:
    type: alicloud:sae:Namespace
    name: default
    properties:
      namespaceId: ${default.regions[0].id}:example${defaultInteger.result}
      namespaceName: ${name}
      namespaceDescription: ${name}
      enableMicroRegistration: false
  defaultApplication:
    type: alicloud:sae:Application
    name: default
    properties:
      appDescription: ${name}
      appName: ${name}-${defaultInteger.result}
      namespaceId: ${defaultNamespace.id}
      imageUrl: registry-vpc.${default.regions[0].id}.aliyuncs.com/sae-demo-image/consumer:1.0
      packageType: Image
      securityGroupId: ${defaultSecurityGroup.id}
      vpcId: ${defaultNetwork.id}
      vswitchId: ${defaultSwitch.id}
      timezone: Asia/Beijing
      replicas: '5'
      cpu: '500'
      memory: '2048'
variables:
  default:
    fn::invoke:
      function: alicloud:getRegions
      arguments:
        current: true
  defaultGetZones:
    fn::invoke:
      function: alicloud:getZones
      arguments:
        availableResourceCreation: VSwitch
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                app_name: Optional[str] = None,
                package_type: Optional[str] = None,
                replicas: Optional[int] = None,
                acr_assume_role_arn: Optional[str] = None,
                acr_instance_id: Optional[str] = None,
                app_description: Optional[str] = None,
                auto_config: Optional[bool] = None,
                auto_enable_application_scaling_rule: Optional[bool] = None,
                batch_wait_time: Optional[int] = None,
                change_order_desc: Optional[str] = None,
                command: Optional[str] = None,
                command_args: Optional[str] = None,
                command_args_v2s: Optional[Sequence[str]] = None,
                config_map_mount_desc: Optional[str] = None,
                config_map_mount_desc_v2s: Optional[Sequence[ApplicationConfigMapMountDescV2Args]] = None,
                cpu: Optional[int] = None,
                custom_host_alias: Optional[str] = None,
                custom_host_alias_v2s: Optional[Sequence[ApplicationCustomHostAliasV2Args]] = None,
                deploy: Optional[bool] = None,
                edas_container_version: Optional[str] = None,
                enable_ahas: Optional[str] = None,
                enable_grey_tag_route: Optional[bool] = None,
                envs: Optional[str] = None,
                image_pull_secrets: Optional[str] = None,
                image_url: Optional[str] = None,
                jar_start_args: Optional[str] = None,
                jar_start_options: Optional[str] = None,
                jdk: Optional[str] = None,
                kafka_configs: Optional[ApplicationKafkaConfigsArgs] = None,
                liveness: Optional[str] = None,
                liveness_v2: Optional[ApplicationLivenessV2Args] = None,
                memory: Optional[int] = None,
                micro_registration: Optional[str] = None,
                min_ready_instance_ratio: Optional[int] = None,
                min_ready_instances: Optional[int] = None,
                namespace_id: Optional[str] = None,
                nas_configs: Optional[Sequence[ApplicationNasConfigArgs]] = None,
                oss_ak_id: Optional[str] = None,
                oss_ak_secret: Optional[str] = None,
                oss_mount_descs: Optional[str] = None,
                oss_mount_descs_v2s: Optional[Sequence[ApplicationOssMountDescsV2Args]] = None,
                package_url: Optional[str] = None,
                package_version: Optional[str] = None,
                php: Optional[str] = None,
                php_arms_config_location: Optional[str] = None,
                php_config: Optional[str] = None,
                php_config_location: Optional[str] = None,
                post_start: Optional[str] = None,
                post_start_v2: Optional[ApplicationPostStartV2Args] = None,
                pre_stop: Optional[str] = None,
                pre_stop_v2: Optional[ApplicationPreStopV2Args] = None,
                programming_language: Optional[str] = None,
                pvtz_discovery_svc: Optional[ApplicationPvtzDiscoverySvcArgs] = None,
                readiness: Optional[str] = None,
                readiness_v2: Optional[ApplicationReadinessV2Args] = None,
                security_group_id: Optional[str] = None,
                sls_configs: Optional[str] = None,
                status: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                termination_grace_period_seconds: Optional[int] = None,
                timezone: Optional[str] = None,
                tomcat_config: Optional[str] = None,
                tomcat_config_v2: Optional[ApplicationTomcatConfigV2Args] = None,
                update_strategy: Optional[str] = None,
                update_strategy_v2: Optional[ApplicationUpdateStrategyV2Args] = None,
                vpc_id: Optional[str] = None,
                vswitch_id: Optional[str] = None,
                war_start_options: Optional[str] = None,
                web_container: Optional[str] = None)func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: alicloud:sae:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleapplicationResourceResourceFromSaeapplication = new AliCloud.Sae.Application("exampleapplicationResourceResourceFromSaeapplication", new()
{
    AppName = "string",
    PackageType = "string",
    Replicas = 0,
    AcrAssumeRoleArn = "string",
    AcrInstanceId = "string",
    AppDescription = "string",
    AutoConfig = false,
    AutoEnableApplicationScalingRule = false,
    BatchWaitTime = 0,
    ChangeOrderDesc = "string",
    Command = "string",
    CommandArgsV2s = new[]
    {
        "string",
    },
    ConfigMapMountDescV2s = new[]
    {
        new AliCloud.Sae.Inputs.ApplicationConfigMapMountDescV2Args
        {
            ConfigMapId = "string",
            Key = "string",
            MountPath = "string",
        },
    },
    Cpu = 0,
    CustomHostAliasV2s = new[]
    {
        new AliCloud.Sae.Inputs.ApplicationCustomHostAliasV2Args
        {
            HostName = "string",
            Ip = "string",
        },
    },
    Deploy = false,
    EdasContainerVersion = "string",
    EnableAhas = "string",
    EnableGreyTagRoute = false,
    Envs = "string",
    ImagePullSecrets = "string",
    ImageUrl = "string",
    JarStartArgs = "string",
    JarStartOptions = "string",
    Jdk = "string",
    KafkaConfigs = new AliCloud.Sae.Inputs.ApplicationKafkaConfigsArgs
    {
        KafkaConfigs = new[]
        {
            new AliCloud.Sae.Inputs.ApplicationKafkaConfigsKafkaConfigArgs
            {
                KafkaTopic = "string",
                LogDir = "string",
                LogType = "string",
            },
        },
        KafkaEndpoint = "string",
        KafkaInstanceId = "string",
    },
    LivenessV2 = new AliCloud.Sae.Inputs.ApplicationLivenessV2Args
    {
        Exec = new AliCloud.Sae.Inputs.ApplicationLivenessV2ExecArgs
        {
            Commands = new[]
            {
                "string",
            },
        },
        HttpGet = new AliCloud.Sae.Inputs.ApplicationLivenessV2HttpGetArgs
        {
            IsContainKeyWord = false,
            KeyWord = "string",
            Path = "string",
            Port = 0,
            Scheme = "string",
        },
        InitialDelaySeconds = 0,
        PeriodSeconds = 0,
        TcpSocket = new AliCloud.Sae.Inputs.ApplicationLivenessV2TcpSocketArgs
        {
            Port = 0,
        },
        TimeoutSeconds = 0,
    },
    Memory = 0,
    MicroRegistration = "string",
    MinReadyInstanceRatio = 0,
    MinReadyInstances = 0,
    NamespaceId = "string",
    NasConfigs = new[]
    {
        new AliCloud.Sae.Inputs.ApplicationNasConfigArgs
        {
            MountDomain = "string",
            MountPath = "string",
            NasId = "string",
            NasPath = "string",
            ReadOnly = false,
        },
    },
    OssAkId = "string",
    OssAkSecret = "string",
    OssMountDescsV2s = new[]
    {
        new AliCloud.Sae.Inputs.ApplicationOssMountDescsV2Args
        {
            BucketName = "string",
            BucketPath = "string",
            MountPath = "string",
            ReadOnly = false,
        },
    },
    PackageUrl = "string",
    PackageVersion = "string",
    Php = "string",
    PhpArmsConfigLocation = "string",
    PhpConfig = "string",
    PhpConfigLocation = "string",
    PostStartV2 = new AliCloud.Sae.Inputs.ApplicationPostStartV2Args
    {
        Exec = new AliCloud.Sae.Inputs.ApplicationPostStartV2ExecArgs
        {
            Commands = new[]
            {
                "string",
            },
        },
    },
    PreStopV2 = new AliCloud.Sae.Inputs.ApplicationPreStopV2Args
    {
        Exec = new AliCloud.Sae.Inputs.ApplicationPreStopV2ExecArgs
        {
            Commands = new[]
            {
                "string",
            },
        },
    },
    ProgrammingLanguage = "string",
    PvtzDiscoverySvc = new AliCloud.Sae.Inputs.ApplicationPvtzDiscoverySvcArgs
    {
        Enable = false,
        NamespaceId = "string",
        PortProtocols = new[]
        {
            new AliCloud.Sae.Inputs.ApplicationPvtzDiscoverySvcPortProtocolArgs
            {
                Port = 0,
                Protocol = "string",
            },
        },
        ServiceName = "string",
    },
    ReadinessV2 = new AliCloud.Sae.Inputs.ApplicationReadinessV2Args
    {
        Exec = new AliCloud.Sae.Inputs.ApplicationReadinessV2ExecArgs
        {
            Commands = new[]
            {
                "string",
            },
        },
        HttpGet = new AliCloud.Sae.Inputs.ApplicationReadinessV2HttpGetArgs
        {
            IsContainKeyWord = false,
            KeyWord = "string",
            Path = "string",
            Port = 0,
            Scheme = "string",
        },
        InitialDelaySeconds = 0,
        PeriodSeconds = 0,
        TcpSocket = new AliCloud.Sae.Inputs.ApplicationReadinessV2TcpSocketArgs
        {
            Port = 0,
        },
        TimeoutSeconds = 0,
    },
    SecurityGroupId = "string",
    SlsConfigs = "string",
    Status = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TerminationGracePeriodSeconds = 0,
    Timezone = "string",
    TomcatConfigV2 = new AliCloud.Sae.Inputs.ApplicationTomcatConfigV2Args
    {
        ContextPath = "string",
        MaxThreads = 0,
        Port = 0,
        UriEncoding = "string",
        UseBodyEncodingForUri = "string",
    },
    UpdateStrategyV2 = new AliCloud.Sae.Inputs.ApplicationUpdateStrategyV2Args
    {
        BatchUpdate = new AliCloud.Sae.Inputs.ApplicationUpdateStrategyV2BatchUpdateArgs
        {
            Batch = 0,
            BatchWaitTime = 0,
            ReleaseType = "string",
        },
        Type = "string",
    },
    VpcId = "string",
    VswitchId = "string",
    WarStartOptions = "string",
    WebContainer = "string",
});
example, err := sae.NewApplication(ctx, "exampleapplicationResourceResourceFromSaeapplication", &sae.ApplicationArgs{
	AppName:                          pulumi.String("string"),
	PackageType:                      pulumi.String("string"),
	Replicas:                         pulumi.Int(0),
	AcrAssumeRoleArn:                 pulumi.String("string"),
	AcrInstanceId:                    pulumi.String("string"),
	AppDescription:                   pulumi.String("string"),
	AutoConfig:                       pulumi.Bool(false),
	AutoEnableApplicationScalingRule: pulumi.Bool(false),
	BatchWaitTime:                    pulumi.Int(0),
	ChangeOrderDesc:                  pulumi.String("string"),
	Command:                          pulumi.String("string"),
	CommandArgsV2s: pulumi.StringArray{
		pulumi.String("string"),
	},
	ConfigMapMountDescV2s: sae.ApplicationConfigMapMountDescV2Array{
		&sae.ApplicationConfigMapMountDescV2Args{
			ConfigMapId: pulumi.String("string"),
			Key:         pulumi.String("string"),
			MountPath:   pulumi.String("string"),
		},
	},
	Cpu: pulumi.Int(0),
	CustomHostAliasV2s: sae.ApplicationCustomHostAliasV2Array{
		&sae.ApplicationCustomHostAliasV2Args{
			HostName: pulumi.String("string"),
			Ip:       pulumi.String("string"),
		},
	},
	Deploy:               pulumi.Bool(false),
	EdasContainerVersion: pulumi.String("string"),
	EnableAhas:           pulumi.String("string"),
	EnableGreyTagRoute:   pulumi.Bool(false),
	Envs:                 pulumi.String("string"),
	ImagePullSecrets:     pulumi.String("string"),
	ImageUrl:             pulumi.String("string"),
	JarStartArgs:         pulumi.String("string"),
	JarStartOptions:      pulumi.String("string"),
	Jdk:                  pulumi.String("string"),
	KafkaConfigs: &sae.ApplicationKafkaConfigsArgs{
		KafkaConfigs: sae.ApplicationKafkaConfigsKafkaConfigArray{
			&sae.ApplicationKafkaConfigsKafkaConfigArgs{
				KafkaTopic: pulumi.String("string"),
				LogDir:     pulumi.String("string"),
				LogType:    pulumi.String("string"),
			},
		},
		KafkaEndpoint:   pulumi.String("string"),
		KafkaInstanceId: pulumi.String("string"),
	},
	LivenessV2: &sae.ApplicationLivenessV2Args{
		Exec: &sae.ApplicationLivenessV2ExecArgs{
			Commands: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		HttpGet: &sae.ApplicationLivenessV2HttpGetArgs{
			IsContainKeyWord: pulumi.Bool(false),
			KeyWord:          pulumi.String("string"),
			Path:             pulumi.String("string"),
			Port:             pulumi.Int(0),
			Scheme:           pulumi.String("string"),
		},
		InitialDelaySeconds: pulumi.Int(0),
		PeriodSeconds:       pulumi.Int(0),
		TcpSocket: &sae.ApplicationLivenessV2TcpSocketArgs{
			Port: pulumi.Int(0),
		},
		TimeoutSeconds: pulumi.Int(0),
	},
	Memory:                pulumi.Int(0),
	MicroRegistration:     pulumi.String("string"),
	MinReadyInstanceRatio: pulumi.Int(0),
	MinReadyInstances:     pulumi.Int(0),
	NamespaceId:           pulumi.String("string"),
	NasConfigs: sae.ApplicationNasConfigArray{
		&sae.ApplicationNasConfigArgs{
			MountDomain: pulumi.String("string"),
			MountPath:   pulumi.String("string"),
			NasId:       pulumi.String("string"),
			NasPath:     pulumi.String("string"),
			ReadOnly:    pulumi.Bool(false),
		},
	},
	OssAkId:     pulumi.String("string"),
	OssAkSecret: pulumi.String("string"),
	OssMountDescsV2s: sae.ApplicationOssMountDescsV2Array{
		&sae.ApplicationOssMountDescsV2Args{
			BucketName: pulumi.String("string"),
			BucketPath: pulumi.String("string"),
			MountPath:  pulumi.String("string"),
			ReadOnly:   pulumi.Bool(false),
		},
	},
	PackageUrl:            pulumi.String("string"),
	PackageVersion:        pulumi.String("string"),
	Php:                   pulumi.String("string"),
	PhpArmsConfigLocation: pulumi.String("string"),
	PhpConfig:             pulumi.String("string"),
	PhpConfigLocation:     pulumi.String("string"),
	PostStartV2: &sae.ApplicationPostStartV2Args{
		Exec: &sae.ApplicationPostStartV2ExecArgs{
			Commands: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	PreStopV2: &sae.ApplicationPreStopV2Args{
		Exec: &sae.ApplicationPreStopV2ExecArgs{
			Commands: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ProgrammingLanguage: pulumi.String("string"),
	PvtzDiscoverySvc: &sae.ApplicationPvtzDiscoverySvcArgs{
		Enable:      pulumi.Bool(false),
		NamespaceId: pulumi.String("string"),
		PortProtocols: sae.ApplicationPvtzDiscoverySvcPortProtocolArray{
			&sae.ApplicationPvtzDiscoverySvcPortProtocolArgs{
				Port:     pulumi.Int(0),
				Protocol: pulumi.String("string"),
			},
		},
		ServiceName: pulumi.String("string"),
	},
	ReadinessV2: &sae.ApplicationReadinessV2Args{
		Exec: &sae.ApplicationReadinessV2ExecArgs{
			Commands: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		HttpGet: &sae.ApplicationReadinessV2HttpGetArgs{
			IsContainKeyWord: pulumi.Bool(false),
			KeyWord:          pulumi.String("string"),
			Path:             pulumi.String("string"),
			Port:             pulumi.Int(0),
			Scheme:           pulumi.String("string"),
		},
		InitialDelaySeconds: pulumi.Int(0),
		PeriodSeconds:       pulumi.Int(0),
		TcpSocket: &sae.ApplicationReadinessV2TcpSocketArgs{
			Port: pulumi.Int(0),
		},
		TimeoutSeconds: pulumi.Int(0),
	},
	SecurityGroupId: pulumi.String("string"),
	SlsConfigs:      pulumi.String("string"),
	Status:          pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TerminationGracePeriodSeconds: pulumi.Int(0),
	Timezone:                      pulumi.String("string"),
	TomcatConfigV2: &sae.ApplicationTomcatConfigV2Args{
		ContextPath:           pulumi.String("string"),
		MaxThreads:            pulumi.Int(0),
		Port:                  pulumi.Int(0),
		UriEncoding:           pulumi.String("string"),
		UseBodyEncodingForUri: pulumi.String("string"),
	},
	UpdateStrategyV2: &sae.ApplicationUpdateStrategyV2Args{
		BatchUpdate: &sae.ApplicationUpdateStrategyV2BatchUpdateArgs{
			Batch:         pulumi.Int(0),
			BatchWaitTime: pulumi.Int(0),
			ReleaseType:   pulumi.String("string"),
		},
		Type: pulumi.String("string"),
	},
	VpcId:           pulumi.String("string"),
	VswitchId:       pulumi.String("string"),
	WarStartOptions: pulumi.String("string"),
	WebContainer:    pulumi.String("string"),
})
var exampleapplicationResourceResourceFromSaeapplication = new Application("exampleapplicationResourceResourceFromSaeapplication", ApplicationArgs.builder()
    .appName("string")
    .packageType("string")
    .replicas(0)
    .acrAssumeRoleArn("string")
    .acrInstanceId("string")
    .appDescription("string")
    .autoConfig(false)
    .autoEnableApplicationScalingRule(false)
    .batchWaitTime(0)
    .changeOrderDesc("string")
    .command("string")
    .commandArgsV2s("string")
    .configMapMountDescV2s(ApplicationConfigMapMountDescV2Args.builder()
        .configMapId("string")
        .key("string")
        .mountPath("string")
        .build())
    .cpu(0)
    .customHostAliasV2s(ApplicationCustomHostAliasV2Args.builder()
        .hostName("string")
        .ip("string")
        .build())
    .deploy(false)
    .edasContainerVersion("string")
    .enableAhas("string")
    .enableGreyTagRoute(false)
    .envs("string")
    .imagePullSecrets("string")
    .imageUrl("string")
    .jarStartArgs("string")
    .jarStartOptions("string")
    .jdk("string")
    .kafkaConfigs(ApplicationKafkaConfigsArgs.builder()
        .kafkaConfigs(ApplicationKafkaConfigsKafkaConfigArgs.builder()
            .kafkaTopic("string")
            .logDir("string")
            .logType("string")
            .build())
        .kafkaEndpoint("string")
        .kafkaInstanceId("string")
        .build())
    .livenessV2(ApplicationLivenessV2Args.builder()
        .exec(ApplicationLivenessV2ExecArgs.builder()
            .commands("string")
            .build())
        .httpGet(ApplicationLivenessV2HttpGetArgs.builder()
            .isContainKeyWord(false)
            .keyWord("string")
            .path("string")
            .port(0)
            .scheme("string")
            .build())
        .initialDelaySeconds(0)
        .periodSeconds(0)
        .tcpSocket(ApplicationLivenessV2TcpSocketArgs.builder()
            .port(0)
            .build())
        .timeoutSeconds(0)
        .build())
    .memory(0)
    .microRegistration("string")
    .minReadyInstanceRatio(0)
    .minReadyInstances(0)
    .namespaceId("string")
    .nasConfigs(ApplicationNasConfigArgs.builder()
        .mountDomain("string")
        .mountPath("string")
        .nasId("string")
        .nasPath("string")
        .readOnly(false)
        .build())
    .ossAkId("string")
    .ossAkSecret("string")
    .ossMountDescsV2s(ApplicationOssMountDescsV2Args.builder()
        .bucketName("string")
        .bucketPath("string")
        .mountPath("string")
        .readOnly(false)
        .build())
    .packageUrl("string")
    .packageVersion("string")
    .php("string")
    .phpArmsConfigLocation("string")
    .phpConfig("string")
    .phpConfigLocation("string")
    .postStartV2(ApplicationPostStartV2Args.builder()
        .exec(ApplicationPostStartV2ExecArgs.builder()
            .commands("string")
            .build())
        .build())
    .preStopV2(ApplicationPreStopV2Args.builder()
        .exec(ApplicationPreStopV2ExecArgs.builder()
            .commands("string")
            .build())
        .build())
    .programmingLanguage("string")
    .pvtzDiscoverySvc(ApplicationPvtzDiscoverySvcArgs.builder()
        .enable(false)
        .namespaceId("string")
        .portProtocols(ApplicationPvtzDiscoverySvcPortProtocolArgs.builder()
            .port(0)
            .protocol("string")
            .build())
        .serviceName("string")
        .build())
    .readinessV2(ApplicationReadinessV2Args.builder()
        .exec(ApplicationReadinessV2ExecArgs.builder()
            .commands("string")
            .build())
        .httpGet(ApplicationReadinessV2HttpGetArgs.builder()
            .isContainKeyWord(false)
            .keyWord("string")
            .path("string")
            .port(0)
            .scheme("string")
            .build())
        .initialDelaySeconds(0)
        .periodSeconds(0)
        .tcpSocket(ApplicationReadinessV2TcpSocketArgs.builder()
            .port(0)
            .build())
        .timeoutSeconds(0)
        .build())
    .securityGroupId("string")
    .slsConfigs("string")
    .status("string")
    .tags(Map.of("string", "string"))
    .terminationGracePeriodSeconds(0)
    .timezone("string")
    .tomcatConfigV2(ApplicationTomcatConfigV2Args.builder()
        .contextPath("string")
        .maxThreads(0)
        .port(0)
        .uriEncoding("string")
        .useBodyEncodingForUri("string")
        .build())
    .updateStrategyV2(ApplicationUpdateStrategyV2Args.builder()
        .batchUpdate(ApplicationUpdateStrategyV2BatchUpdateArgs.builder()
            .batch(0)
            .batchWaitTime(0)
            .releaseType("string")
            .build())
        .type("string")
        .build())
    .vpcId("string")
    .vswitchId("string")
    .warStartOptions("string")
    .webContainer("string")
    .build());
exampleapplication_resource_resource_from_saeapplication = alicloud.sae.Application("exampleapplicationResourceResourceFromSaeapplication",
    app_name="string",
    package_type="string",
    replicas=0,
    acr_assume_role_arn="string",
    acr_instance_id="string",
    app_description="string",
    auto_config=False,
    auto_enable_application_scaling_rule=False,
    batch_wait_time=0,
    change_order_desc="string",
    command="string",
    command_args_v2s=["string"],
    config_map_mount_desc_v2s=[{
        "config_map_id": "string",
        "key": "string",
        "mount_path": "string",
    }],
    cpu=0,
    custom_host_alias_v2s=[{
        "host_name": "string",
        "ip": "string",
    }],
    deploy=False,
    edas_container_version="string",
    enable_ahas="string",
    enable_grey_tag_route=False,
    envs="string",
    image_pull_secrets="string",
    image_url="string",
    jar_start_args="string",
    jar_start_options="string",
    jdk="string",
    kafka_configs={
        "kafka_configs": [{
            "kafka_topic": "string",
            "log_dir": "string",
            "log_type": "string",
        }],
        "kafka_endpoint": "string",
        "kafka_instance_id": "string",
    },
    liveness_v2={
        "exec_": {
            "commands": ["string"],
        },
        "http_get": {
            "is_contain_key_word": False,
            "key_word": "string",
            "path": "string",
            "port": 0,
            "scheme": "string",
        },
        "initial_delay_seconds": 0,
        "period_seconds": 0,
        "tcp_socket": {
            "port": 0,
        },
        "timeout_seconds": 0,
    },
    memory=0,
    micro_registration="string",
    min_ready_instance_ratio=0,
    min_ready_instances=0,
    namespace_id="string",
    nas_configs=[{
        "mount_domain": "string",
        "mount_path": "string",
        "nas_id": "string",
        "nas_path": "string",
        "read_only": False,
    }],
    oss_ak_id="string",
    oss_ak_secret="string",
    oss_mount_descs_v2s=[{
        "bucket_name": "string",
        "bucket_path": "string",
        "mount_path": "string",
        "read_only": False,
    }],
    package_url="string",
    package_version="string",
    php="string",
    php_arms_config_location="string",
    php_config="string",
    php_config_location="string",
    post_start_v2={
        "exec_": {
            "commands": ["string"],
        },
    },
    pre_stop_v2={
        "exec_": {
            "commands": ["string"],
        },
    },
    programming_language="string",
    pvtz_discovery_svc={
        "enable": False,
        "namespace_id": "string",
        "port_protocols": [{
            "port": 0,
            "protocol": "string",
        }],
        "service_name": "string",
    },
    readiness_v2={
        "exec_": {
            "commands": ["string"],
        },
        "http_get": {
            "is_contain_key_word": False,
            "key_word": "string",
            "path": "string",
            "port": 0,
            "scheme": "string",
        },
        "initial_delay_seconds": 0,
        "period_seconds": 0,
        "tcp_socket": {
            "port": 0,
        },
        "timeout_seconds": 0,
    },
    security_group_id="string",
    sls_configs="string",
    status="string",
    tags={
        "string": "string",
    },
    termination_grace_period_seconds=0,
    timezone="string",
    tomcat_config_v2={
        "context_path": "string",
        "max_threads": 0,
        "port": 0,
        "uri_encoding": "string",
        "use_body_encoding_for_uri": "string",
    },
    update_strategy_v2={
        "batch_update": {
            "batch": 0,
            "batch_wait_time": 0,
            "release_type": "string",
        },
        "type": "string",
    },
    vpc_id="string",
    vswitch_id="string",
    war_start_options="string",
    web_container="string")
const exampleapplicationResourceResourceFromSaeapplication = new alicloud.sae.Application("exampleapplicationResourceResourceFromSaeapplication", {
    appName: "string",
    packageType: "string",
    replicas: 0,
    acrAssumeRoleArn: "string",
    acrInstanceId: "string",
    appDescription: "string",
    autoConfig: false,
    autoEnableApplicationScalingRule: false,
    batchWaitTime: 0,
    changeOrderDesc: "string",
    command: "string",
    commandArgsV2s: ["string"],
    configMapMountDescV2s: [{
        configMapId: "string",
        key: "string",
        mountPath: "string",
    }],
    cpu: 0,
    customHostAliasV2s: [{
        hostName: "string",
        ip: "string",
    }],
    deploy: false,
    edasContainerVersion: "string",
    enableAhas: "string",
    enableGreyTagRoute: false,
    envs: "string",
    imagePullSecrets: "string",
    imageUrl: "string",
    jarStartArgs: "string",
    jarStartOptions: "string",
    jdk: "string",
    kafkaConfigs: {
        kafkaConfigs: [{
            kafkaTopic: "string",
            logDir: "string",
            logType: "string",
        }],
        kafkaEndpoint: "string",
        kafkaInstanceId: "string",
    },
    livenessV2: {
        exec: {
            commands: ["string"],
        },
        httpGet: {
            isContainKeyWord: false,
            keyWord: "string",
            path: "string",
            port: 0,
            scheme: "string",
        },
        initialDelaySeconds: 0,
        periodSeconds: 0,
        tcpSocket: {
            port: 0,
        },
        timeoutSeconds: 0,
    },
    memory: 0,
    microRegistration: "string",
    minReadyInstanceRatio: 0,
    minReadyInstances: 0,
    namespaceId: "string",
    nasConfigs: [{
        mountDomain: "string",
        mountPath: "string",
        nasId: "string",
        nasPath: "string",
        readOnly: false,
    }],
    ossAkId: "string",
    ossAkSecret: "string",
    ossMountDescsV2s: [{
        bucketName: "string",
        bucketPath: "string",
        mountPath: "string",
        readOnly: false,
    }],
    packageUrl: "string",
    packageVersion: "string",
    php: "string",
    phpArmsConfigLocation: "string",
    phpConfig: "string",
    phpConfigLocation: "string",
    postStartV2: {
        exec: {
            commands: ["string"],
        },
    },
    preStopV2: {
        exec: {
            commands: ["string"],
        },
    },
    programmingLanguage: "string",
    pvtzDiscoverySvc: {
        enable: false,
        namespaceId: "string",
        portProtocols: [{
            port: 0,
            protocol: "string",
        }],
        serviceName: "string",
    },
    readinessV2: {
        exec: {
            commands: ["string"],
        },
        httpGet: {
            isContainKeyWord: false,
            keyWord: "string",
            path: "string",
            port: 0,
            scheme: "string",
        },
        initialDelaySeconds: 0,
        periodSeconds: 0,
        tcpSocket: {
            port: 0,
        },
        timeoutSeconds: 0,
    },
    securityGroupId: "string",
    slsConfigs: "string",
    status: "string",
    tags: {
        string: "string",
    },
    terminationGracePeriodSeconds: 0,
    timezone: "string",
    tomcatConfigV2: {
        contextPath: "string",
        maxThreads: 0,
        port: 0,
        uriEncoding: "string",
        useBodyEncodingForUri: "string",
    },
    updateStrategyV2: {
        batchUpdate: {
            batch: 0,
            batchWaitTime: 0,
            releaseType: "string",
        },
        type: "string",
    },
    vpcId: "string",
    vswitchId: "string",
    warStartOptions: "string",
    webContainer: "string",
});
type: alicloud:sae:Application
properties:
    acrAssumeRoleArn: string
    acrInstanceId: string
    appDescription: string
    appName: string
    autoConfig: false
    autoEnableApplicationScalingRule: false
    batchWaitTime: 0
    changeOrderDesc: string
    command: string
    commandArgsV2s:
        - string
    configMapMountDescV2s:
        - configMapId: string
          key: string
          mountPath: string
    cpu: 0
    customHostAliasV2s:
        - hostName: string
          ip: string
    deploy: false
    edasContainerVersion: string
    enableAhas: string
    enableGreyTagRoute: false
    envs: string
    imagePullSecrets: string
    imageUrl: string
    jarStartArgs: string
    jarStartOptions: string
    jdk: string
    kafkaConfigs:
        kafkaConfigs:
            - kafkaTopic: string
              logDir: string
              logType: string
        kafkaEndpoint: string
        kafkaInstanceId: string
    livenessV2:
        exec:
            commands:
                - string
        httpGet:
            isContainKeyWord: false
            keyWord: string
            path: string
            port: 0
            scheme: string
        initialDelaySeconds: 0
        periodSeconds: 0
        tcpSocket:
            port: 0
        timeoutSeconds: 0
    memory: 0
    microRegistration: string
    minReadyInstanceRatio: 0
    minReadyInstances: 0
    namespaceId: string
    nasConfigs:
        - mountDomain: string
          mountPath: string
          nasId: string
          nasPath: string
          readOnly: false
    ossAkId: string
    ossAkSecret: string
    ossMountDescsV2s:
        - bucketName: string
          bucketPath: string
          mountPath: string
          readOnly: false
    packageType: string
    packageUrl: string
    packageVersion: string
    php: string
    phpArmsConfigLocation: string
    phpConfig: string
    phpConfigLocation: string
    postStartV2:
        exec:
            commands:
                - string
    preStopV2:
        exec:
            commands:
                - string
    programmingLanguage: string
    pvtzDiscoverySvc:
        enable: false
        namespaceId: string
        portProtocols:
            - port: 0
              protocol: string
        serviceName: string
    readinessV2:
        exec:
            commands:
                - string
        httpGet:
            isContainKeyWord: false
            keyWord: string
            path: string
            port: 0
            scheme: string
        initialDelaySeconds: 0
        periodSeconds: 0
        tcpSocket:
            port: 0
        timeoutSeconds: 0
    replicas: 0
    securityGroupId: string
    slsConfigs: string
    status: string
    tags:
        string: string
    terminationGracePeriodSeconds: 0
    timezone: string
    tomcatConfigV2:
        contextPath: string
        maxThreads: 0
        port: 0
        uriEncoding: string
        useBodyEncodingForUri: string
    updateStrategyV2:
        batchUpdate:
            batch: 0
            batchWaitTime: 0
            releaseType: string
        type: string
    vpcId: string
    vswitchId: string
    warStartOptions: string
    webContainer: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- AppName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- PackageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- Replicas int
- Initial number of instances.
- AcrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- AcrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- AppDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- AutoConfig bool
- The auto config. Valid values: true,false.
- AutoEnable boolApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- BatchWait intTime 
- The batch wait time.
- ChangeOrder stringDesc 
- The change order desc.
- Command string
- 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.
- CommandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- CommandArgs List<string>V2s 
- The parameters of the image startup command.
- ConfigMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- ConfigMap List<Pulumi.Mount Desc V2s Ali Cloud. Sae. Inputs. Application Config Map Mount Desc V2> 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- CustomHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- CustomHost List<Pulumi.Alias V2s Ali Cloud. Sae. Inputs. Application Custom Host Alias V2> 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- Deploy bool
- The deploy. Valid values: true,false.
- EdasContainer stringVersion 
- The operating environment used by the Pandora application.
- EnableAhas string
- The enable ahas. Valid values: true,false.
- EnableGrey boolTag Route 
- The enable grey tag route. Default value: false. Valid values:
- Envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- ImagePull stringSecrets 
- The ID of the corresponding Secret.
- ImageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- JarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- JarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- KafkaConfigs Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- Liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- LivenessV2 Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2 
- The liveness check settings of the container. See liveness_v2below.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- MicroRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- MinReady intInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- MinReady intInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- NamespaceId string
- 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.
- NasConfigs List<Pulumi.Ali Cloud. Sae. Inputs. Application Nas Config> 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- OssAk stringId 
- OSS AccessKey ID.
- OssAk stringSecret 
- OSS AccessKey Secret.
- OssMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- OssMount List<Pulumi.Descs V2s Ali Cloud. Sae. Inputs. Application Oss Mount Descs V2> 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- PackageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- PackageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- PhpArms stringConfig Location 
- 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.
- PhpConfig string
- PHP configuration file content.
- PhpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- PostStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- PostStart Pulumi.V2 Ali Cloud. Sae. Inputs. Application Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- PreStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- PreStop Pulumi.V2 Ali Cloud. Sae. Inputs. Application Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- ProgrammingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- PvtzDiscovery Pulumi.Svc Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- Readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- ReadinessV2 Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- SecurityGroup stringId 
- Security group ID.
- SlsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- Status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- TerminationGrace intPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- Timezone string
- Time zone. Default value: Asia/Shanghai.
- TomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- TomcatConfig Pulumi.V2 Ali Cloud. Sae. Inputs. Application Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- UpdateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- UpdateStrategy Pulumi.V2 Ali Cloud. Sae. Inputs. Application Update Strategy V2 
- The release policy. See update_strategy_v2below.
- VpcId string
- The vpc id.
- VswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- WarStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- WebContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- AppName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- PackageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- Replicas int
- Initial number of instances.
- AcrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- AcrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- AppDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- AutoConfig bool
- The auto config. Valid values: true,false.
- AutoEnable boolApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- BatchWait intTime 
- The batch wait time.
- ChangeOrder stringDesc 
- The change order desc.
- Command string
- 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.
- CommandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- CommandArgs []stringV2s 
- The parameters of the image startup command.
- ConfigMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- ConfigMap []ApplicationMount Desc V2s Config Map Mount Desc V2Args 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- CustomHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- CustomHost []ApplicationAlias V2s Custom Host Alias V2Args 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- Deploy bool
- The deploy. Valid values: true,false.
- EdasContainer stringVersion 
- The operating environment used by the Pandora application.
- EnableAhas string
- The enable ahas. Valid values: true,false.
- EnableGrey boolTag Route 
- The enable grey tag route. Default value: false. Valid values:
- Envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- ImagePull stringSecrets 
- The ID of the corresponding Secret.
- ImageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- JarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- JarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- KafkaConfigs ApplicationKafka Configs Args 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- Liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- LivenessV2 ApplicationLiveness V2Args 
- The liveness check settings of the container. See liveness_v2below.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- MicroRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- MinReady intInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- MinReady intInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- NamespaceId string
- 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.
- NasConfigs []ApplicationNas Config Args 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- OssAk stringId 
- OSS AccessKey ID.
- OssAk stringSecret 
- OSS AccessKey Secret.
- OssMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- OssMount []ApplicationDescs V2s Oss Mount Descs V2Args 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- PackageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- PackageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- PhpArms stringConfig Location 
- 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.
- PhpConfig string
- PHP configuration file content.
- PhpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- PostStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- PostStart ApplicationV2 Post Start V2Args 
- The script that is run immediately after the container is started. See post_start_v2below.
- PreStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- PreStop ApplicationV2 Pre Stop V2Args 
- The script that is run before the container is stopped. See pre_stop_v2below.
- ProgrammingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- PvtzDiscovery ApplicationSvc Pvtz Discovery Svc Args 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- Readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- ReadinessV2 ApplicationReadiness V2Args 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- SecurityGroup stringId 
- Security group ID.
- SlsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- Status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- map[string]string
- A mapping of tags to assign to the resource.
- TerminationGrace intPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- Timezone string
- Time zone. Default value: Asia/Shanghai.
- TomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- TomcatConfig ApplicationV2 Tomcat Config V2Args 
- The Tomcat configuration. See tomcat_config_v2below.
- UpdateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- UpdateStrategy ApplicationV2 Update Strategy V2Args 
- The release policy. See update_strategy_v2below.
- VpcId string
- The vpc id.
- VswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- WarStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- WebContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- appName String
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- packageType String
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- replicas Integer
- Initial number of instances.
- acrAssume StringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance StringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription String
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- autoConfig Boolean
- The auto config. Valid values: true,false.
- autoEnable BooleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait IntegerTime 
- The batch wait time.
- changeOrder StringDesc 
- The change order desc.
- command String
- 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.
- commandArgs String
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs List<String>V2s 
- The parameters of the image startup command.
- configMap StringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap List<ApplicationMount Desc V2s Config Map Mount Desc V2> 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu Integer
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost StringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost List<ApplicationAlias V2s Custom Host Alias V2> 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy Boolean
- The deploy. Valid values: true,false.
- edasContainer StringVersion 
- The operating environment used by the Pandora application.
- enableAhas String
- The enable ahas. Valid values: true,false.
- enableGrey BooleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs String
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull StringSecrets 
- The ID of the corresponding Secret.
- imageUrl String
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart StringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart StringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk String
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs ApplicationKafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness String
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 ApplicationLiveness V2 
- The liveness check settings of the container. See liveness_v2below.
- memory Integer
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration String
- Select the Nacos registry. Valid values: 0,1,2.
- minReady IntegerInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady IntegerInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId String
- 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.
- nasConfigs List<ApplicationNas Config> 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk StringId 
- OSS AccessKey ID.
- ossAk StringSecret 
- OSS AccessKey Secret.
- ossMount StringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount List<ApplicationDescs V2s Oss Mount Descs V2> 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageUrl String
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion String
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- phpArms StringConfig Location 
- 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.
- phpConfig String
- PHP configuration file content.
- phpConfig StringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart String
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart ApplicationV2 Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop String
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop ApplicationV2 Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage String
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery ApplicationSvc Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness String
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 ApplicationReadiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- securityGroup StringId 
- Security group ID.
- slsConfigs String
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status String
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Map<String,String>
- A mapping of tags to assign to the resource.
- terminationGrace IntegerPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone String
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig String
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig ApplicationV2 Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy String
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy ApplicationV2 Update Strategy V2 
- The release policy. See update_strategy_v2below.
- vpcId String
- The vpc id.
- vswitchId String
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart StringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer String
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- appName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- packageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- replicas number
- Initial number of instances.
- acrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- autoConfig boolean
- The auto config. Valid values: true,false.
- autoEnable booleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait numberTime 
- The batch wait time.
- changeOrder stringDesc 
- The change order desc.
- command string
- 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.
- commandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs string[]V2s 
- The parameters of the image startup command.
- configMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap ApplicationMount Desc V2s Config Map Mount Desc V2[] 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu number
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost ApplicationAlias V2s Custom Host Alias V2[] 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy boolean
- The deploy. Valid values: true,false.
- edasContainer stringVersion 
- The operating environment used by the Pandora application.
- enableAhas string
- The enable ahas. Valid values: true,false.
- enableGrey booleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull stringSecrets 
- The ID of the corresponding Secret.
- imageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs ApplicationKafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 ApplicationLiveness V2 
- The liveness check settings of the container. See liveness_v2below.
- memory number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- minReady numberInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady numberInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId string
- 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.
- nasConfigs ApplicationNas Config[] 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk stringId 
- OSS AccessKey ID.
- ossAk stringSecret 
- OSS AccessKey Secret.
- ossMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount ApplicationDescs V2s Oss Mount Descs V2[] 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php string
- The Php environment.
- phpArms stringConfig Location 
- 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.
- phpConfig string
- PHP configuration file content.
- phpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart ApplicationV2 Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop ApplicationV2 Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery ApplicationSvc Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 ApplicationReadiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- securityGroup stringId 
- Security group ID.
- slsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- terminationGrace numberPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone string
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig ApplicationV2 Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy ApplicationV2 Update Strategy V2 
- The release policy. See update_strategy_v2below.
- vpcId string
- The vpc id.
- vswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- app_name str
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- package_type str
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- replicas int
- Initial number of instances.
- acr_assume_ strrole_ arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acr_instance_ strid 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app_description str
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- auto_config bool
- The auto config. Valid values: true,false.
- auto_enable_ boolapplication_ scaling_ rule 
- The auto enable application scaling rule. Valid values: true,false.
- batch_wait_ inttime 
- The batch wait time.
- change_order_ strdesc 
- The change order desc.
- command str
- 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.
- command_args str
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- command_args_ Sequence[str]v2s 
- The parameters of the image startup command.
- config_map_ strmount_ desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- config_map_ Sequence[Applicationmount_ desc_ v2s Config Map Mount Desc V2Args] 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- custom_host_ stralias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- custom_host_ Sequence[Applicationalias_ v2s Custom Host Alias V2Args] 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy bool
- The deploy. Valid values: true,false.
- edas_container_ strversion 
- The operating environment used by the Pandora application.
- enable_ahas str
- The enable ahas. Valid values: true,false.
- enable_grey_ booltag_ route 
- The enable grey tag route. Default value: false. Valid values:
- envs str
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- image_pull_ strsecrets 
- The ID of the corresponding Secret.
- image_url str
- Mirror address. Only Image type applications can configure the mirror address.
- jar_start_ strargs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar_start_ stroptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk str
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafka_configs ApplicationKafka Configs Args 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness str
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- liveness_v2 ApplicationLiveness V2Args 
- The liveness check settings of the container. See liveness_v2below.
- memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- micro_registration str
- Select the Nacos registry. Valid values: 0,1,2.
- min_ready_ intinstance_ ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- min_ready_ intinstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace_id str
- 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.
- nas_configs Sequence[ApplicationNas Config Args] 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- oss_ak_ strid 
- OSS AccessKey ID.
- oss_ak_ strsecret 
- OSS AccessKey Secret.
- oss_mount_ strdescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- oss_mount_ Sequence[Applicationdescs_ v2s Oss Mount Descs V2Args] 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- package_url str
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package_version str
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php str
- The Php environment.
- php_arms_ strconfig_ location 
- 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.
- php_config str
- PHP configuration file content.
- php_config_ strlocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post_start str
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- post_start_ Applicationv2 Post Start V2Args 
- The script that is run immediately after the container is started. See post_start_v2below.
- pre_stop str
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- pre_stop_ Applicationv2 Pre Stop V2Args 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programming_language str
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtz_discovery_ Applicationsvc Pvtz Discovery Svc Args 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness str
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readiness_v2 ApplicationReadiness V2Args 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- security_group_ strid 
- Security group ID.
- sls_configs str
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status str
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- termination_grace_ intperiod_ seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone str
- Time zone. Default value: Asia/Shanghai.
- tomcat_config str
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcat_config_ Applicationv2 Tomcat Config V2Args 
- The Tomcat configuration. See tomcat_config_v2below.
- update_strategy str
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- update_strategy_ Applicationv2 Update Strategy V2Args 
- The release policy. See update_strategy_v2below.
- vpc_id str
- The vpc id.
- vswitch_id str
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- war_start_ stroptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web_container str
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- appName String
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- packageType String
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- replicas Number
- Initial number of instances.
- acrAssume StringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance StringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription String
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- autoConfig Boolean
- The auto config. Valid values: true,false.
- autoEnable BooleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait NumberTime 
- The batch wait time.
- changeOrder StringDesc 
- The change order desc.
- command String
- 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.
- commandArgs String
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs List<String>V2s 
- The parameters of the image startup command.
- configMap StringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap List<Property Map>Mount Desc V2s 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu Number
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost StringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost List<Property Map>Alias V2s 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy Boolean
- The deploy. Valid values: true,false.
- edasContainer StringVersion 
- The operating environment used by the Pandora application.
- enableAhas String
- The enable ahas. Valid values: true,false.
- enableGrey BooleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs String
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull StringSecrets 
- The ID of the corresponding Secret.
- imageUrl String
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart StringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart StringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk String
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs Property Map
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness String
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 Property Map
- The liveness check settings of the container. See liveness_v2below.
- memory Number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration String
- Select the Nacos registry. Valid values: 0,1,2.
- minReady NumberInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady NumberInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId String
- 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.
- nasConfigs List<Property Map>
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk StringId 
- OSS AccessKey ID.
- ossAk StringSecret 
- OSS AccessKey Secret.
- ossMount StringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount List<Property Map>Descs V2s 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageUrl String
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion String
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- phpArms StringConfig Location 
- 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.
- phpConfig String
- PHP configuration file content.
- phpConfig StringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart String
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart Property MapV2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop String
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop Property MapV2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage String
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery Property MapSvc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness String
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 Property Map
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- securityGroup StringId 
- Security group ID.
- slsConfigs String
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status String
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Map<String>
- A mapping of tags to assign to the resource.
- terminationGrace NumberPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone String
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig String
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig Property MapV2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy String
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy Property MapV2 
- The release policy. See update_strategy_v2below.
- vpcId String
- The vpc id.
- vswitchId String
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart StringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer String
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Application Resource
Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acr_assume_role_arn: Optional[str] = None,
        acr_instance_id: Optional[str] = None,
        app_description: Optional[str] = None,
        app_name: Optional[str] = None,
        auto_config: Optional[bool] = None,
        auto_enable_application_scaling_rule: Optional[bool] = None,
        batch_wait_time: Optional[int] = None,
        change_order_desc: Optional[str] = None,
        command: Optional[str] = None,
        command_args: Optional[str] = None,
        command_args_v2s: Optional[Sequence[str]] = None,
        config_map_mount_desc: Optional[str] = None,
        config_map_mount_desc_v2s: Optional[Sequence[ApplicationConfigMapMountDescV2Args]] = None,
        cpu: Optional[int] = None,
        custom_host_alias: Optional[str] = None,
        custom_host_alias_v2s: Optional[Sequence[ApplicationCustomHostAliasV2Args]] = None,
        deploy: Optional[bool] = None,
        edas_container_version: Optional[str] = None,
        enable_ahas: Optional[str] = None,
        enable_grey_tag_route: Optional[bool] = None,
        envs: Optional[str] = None,
        image_pull_secrets: Optional[str] = None,
        image_url: Optional[str] = None,
        jar_start_args: Optional[str] = None,
        jar_start_options: Optional[str] = None,
        jdk: Optional[str] = None,
        kafka_configs: Optional[ApplicationKafkaConfigsArgs] = None,
        liveness: Optional[str] = None,
        liveness_v2: Optional[ApplicationLivenessV2Args] = None,
        memory: Optional[int] = None,
        micro_registration: Optional[str] = None,
        min_ready_instance_ratio: Optional[int] = None,
        min_ready_instances: Optional[int] = None,
        namespace_id: Optional[str] = None,
        nas_configs: Optional[Sequence[ApplicationNasConfigArgs]] = None,
        oss_ak_id: Optional[str] = None,
        oss_ak_secret: Optional[str] = None,
        oss_mount_descs: Optional[str] = None,
        oss_mount_descs_v2s: Optional[Sequence[ApplicationOssMountDescsV2Args]] = None,
        package_type: Optional[str] = None,
        package_url: Optional[str] = None,
        package_version: Optional[str] = None,
        php: Optional[str] = None,
        php_arms_config_location: Optional[str] = None,
        php_config: Optional[str] = None,
        php_config_location: Optional[str] = None,
        post_start: Optional[str] = None,
        post_start_v2: Optional[ApplicationPostStartV2Args] = None,
        pre_stop: Optional[str] = None,
        pre_stop_v2: Optional[ApplicationPreStopV2Args] = None,
        programming_language: Optional[str] = None,
        pvtz_discovery_svc: Optional[ApplicationPvtzDiscoverySvcArgs] = None,
        readiness: Optional[str] = None,
        readiness_v2: Optional[ApplicationReadinessV2Args] = None,
        replicas: Optional[int] = None,
        security_group_id: Optional[str] = None,
        sls_configs: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        termination_grace_period_seconds: Optional[int] = None,
        timezone: Optional[str] = None,
        tomcat_config: Optional[str] = None,
        tomcat_config_v2: Optional[ApplicationTomcatConfigV2Args] = None,
        update_strategy: Optional[str] = None,
        update_strategy_v2: Optional[ApplicationUpdateStrategyV2Args] = None,
        vpc_id: Optional[str] = None,
        vswitch_id: Optional[str] = None,
        war_start_options: Optional[str] = None,
        web_container: Optional[str] = None) -> Applicationfunc GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)resources:  _:    type: alicloud:sae:Application    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AcrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- AcrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- AppDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- AppName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- AutoConfig bool
- The auto config. Valid values: true,false.
- AutoEnable boolApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- BatchWait intTime 
- The batch wait time.
- ChangeOrder stringDesc 
- The change order desc.
- Command string
- 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.
- CommandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- CommandArgs List<string>V2s 
- The parameters of the image startup command.
- ConfigMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- ConfigMap List<Pulumi.Mount Desc V2s Ali Cloud. Sae. Inputs. Application Config Map Mount Desc V2> 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- CustomHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- CustomHost List<Pulumi.Alias V2s Ali Cloud. Sae. Inputs. Application Custom Host Alias V2> 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- Deploy bool
- The deploy. Valid values: true,false.
- EdasContainer stringVersion 
- The operating environment used by the Pandora application.
- EnableAhas string
- The enable ahas. Valid values: true,false.
- EnableGrey boolTag Route 
- The enable grey tag route. Default value: false. Valid values:
- Envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- ImagePull stringSecrets 
- The ID of the corresponding Secret.
- ImageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- JarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- JarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- KafkaConfigs Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- Liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- LivenessV2 Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2 
- The liveness check settings of the container. See liveness_v2below.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- MicroRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- MinReady intInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- MinReady intInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- NamespaceId string
- 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.
- NasConfigs List<Pulumi.Ali Cloud. Sae. Inputs. Application Nas Config> 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- OssAk stringId 
- OSS AccessKey ID.
- OssAk stringSecret 
- OSS AccessKey Secret.
- OssMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- OssMount List<Pulumi.Descs V2s Ali Cloud. Sae. Inputs. Application Oss Mount Descs V2> 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- PackageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- PackageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- PackageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- PhpArms stringConfig Location 
- 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.
- PhpConfig string
- PHP configuration file content.
- PhpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- PostStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- PostStart Pulumi.V2 Ali Cloud. Sae. Inputs. Application Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- PreStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- PreStop Pulumi.V2 Ali Cloud. Sae. Inputs. Application Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- ProgrammingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- PvtzDiscovery Pulumi.Svc Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- Readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- ReadinessV2 Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- Replicas int
- Initial number of instances.
- SecurityGroup stringId 
- Security group ID.
- SlsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- Status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- TerminationGrace intPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- Timezone string
- Time zone. Default value: Asia/Shanghai.
- TomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- TomcatConfig Pulumi.V2 Ali Cloud. Sae. Inputs. Application Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- UpdateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- UpdateStrategy Pulumi.V2 Ali Cloud. Sae. Inputs. Application Update Strategy V2 
- The release policy. See update_strategy_v2below.
- VpcId string
- The vpc id.
- VswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- WarStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- WebContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- AcrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- AcrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- AppDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- AppName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- AutoConfig bool
- The auto config. Valid values: true,false.
- AutoEnable boolApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- BatchWait intTime 
- The batch wait time.
- ChangeOrder stringDesc 
- The change order desc.
- Command string
- 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.
- CommandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- CommandArgs []stringV2s 
- The parameters of the image startup command.
- ConfigMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- ConfigMap []ApplicationMount Desc V2s Config Map Mount Desc V2Args 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- CustomHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- CustomHost []ApplicationAlias V2s Custom Host Alias V2Args 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- Deploy bool
- The deploy. Valid values: true,false.
- EdasContainer stringVersion 
- The operating environment used by the Pandora application.
- EnableAhas string
- The enable ahas. Valid values: true,false.
- EnableGrey boolTag Route 
- The enable grey tag route. Default value: false. Valid values:
- Envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- ImagePull stringSecrets 
- The ID of the corresponding Secret.
- ImageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- JarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- JarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- KafkaConfigs ApplicationKafka Configs Args 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- Liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- LivenessV2 ApplicationLiveness V2Args 
- The liveness check settings of the container. See liveness_v2below.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- MicroRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- MinReady intInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- MinReady intInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- NamespaceId string
- 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.
- NasConfigs []ApplicationNas Config Args 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- OssAk stringId 
- OSS AccessKey ID.
- OssAk stringSecret 
- OSS AccessKey Secret.
- OssMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- OssMount []ApplicationDescs V2s Oss Mount Descs V2Args 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- PackageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- PackageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- PackageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- PhpArms stringConfig Location 
- 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.
- PhpConfig string
- PHP configuration file content.
- PhpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- PostStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- PostStart ApplicationV2 Post Start V2Args 
- The script that is run immediately after the container is started. See post_start_v2below.
- PreStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- PreStop ApplicationV2 Pre Stop V2Args 
- The script that is run before the container is stopped. See pre_stop_v2below.
- ProgrammingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- PvtzDiscovery ApplicationSvc Pvtz Discovery Svc Args 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- Readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- ReadinessV2 ApplicationReadiness V2Args 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- Replicas int
- Initial number of instances.
- SecurityGroup stringId 
- Security group ID.
- SlsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- Status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- map[string]string
- A mapping of tags to assign to the resource.
- TerminationGrace intPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- Timezone string
- Time zone. Default value: Asia/Shanghai.
- TomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- TomcatConfig ApplicationV2 Tomcat Config V2Args 
- The Tomcat configuration. See tomcat_config_v2below.
- UpdateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- UpdateStrategy ApplicationV2 Update Strategy V2Args 
- The release policy. See update_strategy_v2below.
- VpcId string
- The vpc id.
- VswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- WarStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- WebContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acrAssume StringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance StringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription String
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- appName String
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- autoConfig Boolean
- The auto config. Valid values: true,false.
- autoEnable BooleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait IntegerTime 
- The batch wait time.
- changeOrder StringDesc 
- The change order desc.
- command String
- 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.
- commandArgs String
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs List<String>V2s 
- The parameters of the image startup command.
- configMap StringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap List<ApplicationMount Desc V2s Config Map Mount Desc V2> 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu Integer
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost StringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost List<ApplicationAlias V2s Custom Host Alias V2> 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy Boolean
- The deploy. Valid values: true,false.
- edasContainer StringVersion 
- The operating environment used by the Pandora application.
- enableAhas String
- The enable ahas. Valid values: true,false.
- enableGrey BooleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs String
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull StringSecrets 
- The ID of the corresponding Secret.
- imageUrl String
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart StringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart StringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk String
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs ApplicationKafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness String
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 ApplicationLiveness V2 
- The liveness check settings of the container. See liveness_v2below.
- memory Integer
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration String
- Select the Nacos registry. Valid values: 0,1,2.
- minReady IntegerInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady IntegerInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId String
- 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.
- nasConfigs List<ApplicationNas Config> 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk StringId 
- OSS AccessKey ID.
- ossAk StringSecret 
- OSS AccessKey Secret.
- ossMount StringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount List<ApplicationDescs V2s Oss Mount Descs V2> 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageType String
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- packageUrl String
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion String
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- phpArms StringConfig Location 
- 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.
- phpConfig String
- PHP configuration file content.
- phpConfig StringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart String
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart ApplicationV2 Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop String
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop ApplicationV2 Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage String
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery ApplicationSvc Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness String
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 ApplicationReadiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- replicas Integer
- Initial number of instances.
- securityGroup StringId 
- Security group ID.
- slsConfigs String
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status String
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Map<String,String>
- A mapping of tags to assign to the resource.
- terminationGrace IntegerPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone String
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig String
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig ApplicationV2 Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy String
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy ApplicationV2 Update Strategy V2 
- The release policy. See update_strategy_v2below.
- vpcId String
- The vpc id.
- vswitchId String
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart StringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer String
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acrAssume stringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance stringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription string
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- appName string
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- autoConfig boolean
- The auto config. Valid values: true,false.
- autoEnable booleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait numberTime 
- The batch wait time.
- changeOrder stringDesc 
- The change order desc.
- command string
- 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.
- commandArgs string
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs string[]V2s 
- The parameters of the image startup command.
- configMap stringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap ApplicationMount Desc V2s Config Map Mount Desc V2[] 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu number
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost stringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost ApplicationAlias V2s Custom Host Alias V2[] 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy boolean
- The deploy. Valid values: true,false.
- edasContainer stringVersion 
- The operating environment used by the Pandora application.
- enableAhas string
- The enable ahas. Valid values: true,false.
- enableGrey booleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs string
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull stringSecrets 
- The ID of the corresponding Secret.
- imageUrl string
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart stringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart stringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk string
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs ApplicationKafka Configs 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness string
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 ApplicationLiveness V2 
- The liveness check settings of the container. See liveness_v2below.
- memory number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration string
- Select the Nacos registry. Valid values: 0,1,2.
- minReady numberInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady numberInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId string
- 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.
- nasConfigs ApplicationNas Config[] 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk stringId 
- OSS AccessKey ID.
- ossAk stringSecret 
- OSS AccessKey Secret.
- ossMount stringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount ApplicationDescs V2s Oss Mount Descs V2[] 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageType string
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- packageUrl string
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion string
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php string
- The Php environment.
- phpArms stringConfig Location 
- 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.
- phpConfig string
- PHP configuration file content.
- phpConfig stringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart string
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart ApplicationV2 Post Start V2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop string
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop ApplicationV2 Pre Stop V2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage string
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery ApplicationSvc Pvtz Discovery Svc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness string
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 ApplicationReadiness V2 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- replicas number
- Initial number of instances.
- securityGroup stringId 
- Security group ID.
- slsConfigs string
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status string
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- terminationGrace numberPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone string
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig string
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig ApplicationV2 Tomcat Config V2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy string
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy ApplicationV2 Update Strategy V2 
- The release policy. See update_strategy_v2below.
- vpcId string
- The vpc id.
- vswitchId string
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart stringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer string
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acr_assume_ strrole_ arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acr_instance_ strid 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app_description str
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- app_name str
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- auto_config bool
- The auto config. Valid values: true,false.
- auto_enable_ boolapplication_ scaling_ rule 
- The auto enable application scaling rule. Valid values: true,false.
- batch_wait_ inttime 
- The batch wait time.
- change_order_ strdesc 
- The change order desc.
- command str
- 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.
- command_args str
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- command_args_ Sequence[str]v2s 
- The parameters of the image startup command.
- config_map_ strmount_ desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- config_map_ Sequence[Applicationmount_ desc_ v2s Config Map Mount Desc V2Args] 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- custom_host_ stralias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- custom_host_ Sequence[Applicationalias_ v2s Custom Host Alias V2Args] 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy bool
- The deploy. Valid values: true,false.
- edas_container_ strversion 
- The operating environment used by the Pandora application.
- enable_ahas str
- The enable ahas. Valid values: true,false.
- enable_grey_ booltag_ route 
- The enable grey tag route. Default value: false. Valid values:
- envs str
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- image_pull_ strsecrets 
- The ID of the corresponding Secret.
- image_url str
- Mirror address. Only Image type applications can configure the mirror address.
- jar_start_ strargs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar_start_ stroptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk str
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafka_configs ApplicationKafka Configs Args 
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness str
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- liveness_v2 ApplicationLiveness V2Args 
- The liveness check settings of the container. See liveness_v2below.
- memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- micro_registration str
- Select the Nacos registry. Valid values: 0,1,2.
- min_ready_ intinstance_ ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- min_ready_ intinstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace_id str
- 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.
- nas_configs Sequence[ApplicationNas Config Args] 
- The configurations for mounting the NAS file system. See nas_configsbelow.
- oss_ak_ strid 
- OSS AccessKey ID.
- oss_ak_ strsecret 
- OSS AccessKey Secret.
- oss_mount_ strdescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- oss_mount_ Sequence[Applicationdescs_ v2s Oss Mount Descs V2Args] 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- package_type str
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- package_url str
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package_version str
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php str
- The Php environment.
- php_arms_ strconfig_ location 
- 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.
- php_config str
- PHP configuration file content.
- php_config_ strlocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post_start str
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- post_start_ Applicationv2 Post Start V2Args 
- The script that is run immediately after the container is started. See post_start_v2below.
- pre_stop str
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- pre_stop_ Applicationv2 Pre Stop V2Args 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programming_language str
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtz_discovery_ Applicationsvc Pvtz Discovery Svc Args 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness str
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readiness_v2 ApplicationReadiness V2Args 
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- replicas int
- Initial number of instances.
- security_group_ strid 
- Security group ID.
- sls_configs str
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status str
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- termination_grace_ intperiod_ seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone str
- Time zone. Default value: Asia/Shanghai.
- tomcat_config str
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcat_config_ Applicationv2 Tomcat Config V2Args 
- The Tomcat configuration. See tomcat_config_v2below.
- update_strategy str
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- update_strategy_ Applicationv2 Update Strategy V2Args 
- The release policy. See update_strategy_v2below.
- vpc_id str
- The vpc id.
- vswitch_id str
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- war_start_ stroptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web_container str
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acrAssume StringRole Arn 
- The ARN of the RAM role required when pulling images across accounts. Only necessary if the image_url is pointing to an ACR EE instance.
- acrInstance StringId 
- The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- appDescription String
- Application description information. No more than 1024 characters. NOTE: From version 1.211.0, app_descriptioncan be modified.
- appName String
- Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
- autoConfig Boolean
- The auto config. Valid values: true,false.
- autoEnable BooleanApplication Scaling Rule 
- The auto enable application scaling rule. Valid values: true,false.
- batchWait NumberTime 
- The batch wait time.
- changeOrder StringDesc 
- The change order desc.
- command String
- 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.
- commandArgs String
- Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field command_argshas been deprecated from provider version 1.211.0. New fieldcommand_args_v2instead.
- commandArgs List<String>V2s 
- The parameters of the image startup command.
- configMap StringMount Desc 
- ConfigMap mount description. NOTE: Field config_map_mount_deschas been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2instead.
- configMap List<Property Map>Mount Desc V2s 
- The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. See config_map_mount_desc_v2below.
- cpu Number
- The CPU required for each instance, in millicores, cannot be 0. Valid values: 500,1000,2000,4000,8000,16000,32000.
- customHost StringAlias 
- Custom host mapping in the container. For example: [{hostName:samplehost,ip:127.0.0.1}]. NOTE: Fieldcustom_host_aliashas been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2instead.
- customHost List<Property Map>Alias V2s 
- The custom mapping between the hostname and IP address in the container. See custom_host_alias_v2below.
- deploy Boolean
- The deploy. Valid values: true,false.
- edasContainer StringVersion 
- The operating environment used by the Pandora application.
- enableAhas String
- The enable ahas. Valid values: true,false.
- enableGrey BooleanTag Route 
- The enable grey tag route. Default value: false. Valid values:
- envs String
- Container environment variable parameters. For example,[{"name":"envtmp","value":"0"}]. The value description is as follows:
- imagePull StringSecrets 
- The ID of the corresponding Secret.
- imageUrl String
- Mirror address. Only Image type applications can configure the mirror address.
- jarStart StringArgs 
- The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jarStart StringOptions 
- The JAR package starts the application option. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jdk String
- The JDK version that the deployment package depends on. Image type applications are not supported.
- kafkaConfigs Property Map
- The logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- liveness String
- 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.
NOTE: Field livenesshas been deprecated from provider version 1.211.0. New fieldliveness_v2instead.
- livenessV2 Property Map
- The liveness check settings of the container. See liveness_v2below.
- memory Number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU. Valid values: 1024,2048,4096,8192,12288,16384,24576,32768,65536,131072.
- microRegistration String
- Select the Nacos registry. Valid values: 0,1,2.
- minReady NumberInstance Ratio 
- Minimum Survival Instance Percentage. NOTE: When min_ready_instancesandmin_ready_instance_ratioare passed at the same time, and the value ofmin_ready_instance_ratiois not -1, themin_ready_instance_ratioparameter shall prevail. Assuming thatmin_ready_instancesis 5 andmin_ready_instance_ratiois 50, 50 is used to calculate the minimum number of surviving instances.The value description is as follows:- -1: Initialization value, indicating that percentages are not used.
- 0~100: The unit is percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
 
- minReady NumberInstances 
- The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespaceId String
- 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.
- nasConfigs List<Property Map>
- The configurations for mounting the NAS file system. See nas_configsbelow.
- ossAk StringId 
- OSS AccessKey ID.
- ossAk StringSecret 
- OSS AccessKey Secret.
- ossMount StringDescs 
- OSS mount description information. NOTE: Field oss_mount_descshas been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2instead.
- ossMount List<Property Map>Descs V2s 
- The description of the mounted Object Storage Service (OSS) bucket. See oss_mount_descs_v2below.
- packageType String
- Application package type. Valid values: FatJar,War,Image,PhpZip,IMAGE_PHP_5_4,IMAGE_PHP_5_4_ALPINE,IMAGE_PHP_5_5,IMAGE_PHP_5_5_ALPINE,IMAGE_PHP_5_6,IMAGE_PHP_5_6_ALPINE,IMAGE_PHP_7_0,IMAGE_PHP_7_0_ALPINE,IMAGE_PHP_7_1,IMAGE_PHP_7_1_ALPINE,IMAGE_PHP_7_2,IMAGE_PHP_7_2_ALPINE,IMAGE_PHP_7_3,IMAGE_PHP_7_3_ALPINE,PythonZip.
- packageUrl String
- Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- packageVersion String
- The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- phpArms StringConfig Location 
- 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.
- phpConfig String
- PHP configuration file content.
- phpConfig StringLocation 
- PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- postStart String
- Execute the script after startup, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpost_starthas been deprecated from provider version 1.211.0. New fieldpost_start_v2instead.
- postStart Property MapV2 
- The script that is run immediately after the container is started. See post_start_v2below.
- preStop String
- Execute the script before stopping, the format is like: {exec:{command:[cat,"/etc/group"]}}. NOTE: Fieldpre_stophas been deprecated from provider version 1.211.0. New fieldpre_stop_v2instead.
- preStop Property MapV2 
- The script that is run before the container is stopped. See pre_stop_v2below.
- programmingLanguage String
- The programming language that is used to create the application. Valid values: java,php,other.
- pvtzDiscovery Property MapSvc 
- The configurations of Kubernetes Service-based service registration and discovery. See pvtz_discovery_svcbelow.
- readiness String
- 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}. Valid values:command,initialDelaySeconds,periodSeconds,timeoutSeconds. NOTE: Fieldreadinesshas been deprecated from provider version 1.211.0. New fieldreadiness_v2instead.
- readinessV2 Property Map
- The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. See readiness_v2below.
- replicas Number
- Initial number of instances.
- securityGroup StringId 
- Security group ID.
- slsConfigs String
- Configuration for log collection to SLS. Valid parameter descriptions are as follows: - projectName: Configures the project name on SLS.
- logDir: Path to the logs.
- logType: Type of logs. stdout indicates container standard output logs, and only one can be set; if not set, it means collecting file logs.
- logstoreName: Configures the log store name on SLS.
- logtailName: Configures the log tail name on SLS; if not specified, it means creating a new log tail.
 - If you no longer need to use the SLS collection feature, you should set the value of this field to an empty string. There are two examples: - Using SAE automatically created SLS resources: [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].
- Using custom SLS resources: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].
 - NOTE: Projects that are automatically created with applications will be deleted along with the application deletion. Therefore, when selecting existing projects, you cannot choose projects automatically created by SAE. 
- status String
- The status of the resource. Valid values: RUNNING,STOPPED,UNKNOWN.
- Map<String>
- A mapping of tags to assign to the resource.
- terminationGrace NumberPeriod Seconds 
- Graceful offline timeout, the default is 30, the unit is seconds. The value range is 1~60. Valid values: [1,60].
- timezone String
- Time zone. Default value: Asia/Shanghai.
- tomcatConfig String
- Tomcat file configuration, set to "{}" 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. Valid values: contextInputType,contextPath,httpPort,maxThreads,uriEncoding,useBodyEncoding,useDefaultConfig. NOTE: Fieldtomcat_confighas been deprecated from provider version 1.211.0. New fieldtomcat_config_v2instead.
- tomcatConfig Property MapV2 
- The Tomcat configuration. See tomcat_config_v2below.
- updateStrategy String
- The update strategy. NOTE: Field update_strategyhas been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2instead.
- updateStrategy Property MapV2 
- The release policy. See update_strategy_v2below.
- vpcId String
- The vpc id.
- vswitchId String
- The vswitch id. NOTE: From version 1.211.0, vswitch_idcan be modified.
- warStart StringOptions 
- WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- webContainer String
- The version of tomcat that the deployment package depends on. Image type applications are not supported.
Supporting Types
ApplicationConfigMapMountDescV2, ApplicationConfigMapMountDescV2Args            
- ConfigMap stringId 
- The ID of the ConfigMap.
- Key string
- The key.
- MountPath string
- The mount path.
- ConfigMap stringId 
- The ID of the ConfigMap.
- Key string
- The key.
- MountPath string
- The mount path.
- configMap StringId 
- The ID of the ConfigMap.
- key String
- The key.
- mountPath String
- The mount path.
- configMap stringId 
- The ID of the ConfigMap.
- key string
- The key.
- mountPath string
- The mount path.
- config_map_ strid 
- The ID of the ConfigMap.
- key str
- The key.
- mount_path str
- The mount path.
- configMap StringId 
- The ID of the ConfigMap.
- key String
- The key.
- mountPath String
- The mount path.
ApplicationCustomHostAliasV2, ApplicationCustomHostAliasV2Args          
ApplicationKafkaConfigs, ApplicationKafkaConfigsArgs      
- KafkaConfigs List<Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs Kafka Config> 
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- KafkaEndpoint string
- The endpoint of the ApsaraMQ for Kafka API.
- KafkaInstance stringId 
- The ID of the ApsaraMQ for Kafka instance.
- KafkaConfigs []ApplicationKafka Configs Kafka Config 
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- KafkaEndpoint string
- The endpoint of the ApsaraMQ for Kafka API.
- KafkaInstance stringId 
- The ID of the ApsaraMQ for Kafka instance.
- kafkaConfigs List<ApplicationKafka Configs Kafka Config> 
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- kafkaEndpoint String
- The endpoint of the ApsaraMQ for Kafka API.
- kafkaInstance StringId 
- The ID of the ApsaraMQ for Kafka instance.
- kafkaConfigs ApplicationKafka Configs Kafka Config[] 
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- kafkaEndpoint string
- The endpoint of the ApsaraMQ for Kafka API.
- kafkaInstance stringId 
- The ID of the ApsaraMQ for Kafka instance.
- kafka_configs Sequence[ApplicationKafka Configs Kafka Config] 
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- kafka_endpoint str
- The endpoint of the ApsaraMQ for Kafka API.
- kafka_instance_ strid 
- The ID of the ApsaraMQ for Kafka instance.
- kafkaConfigs List<Property Map>
- One or more logging configurations of ApsaraMQ for Kafka. See kafka_configsbelow.
- kafkaEndpoint String
- The endpoint of the ApsaraMQ for Kafka API.
- kafkaInstance StringId 
- The ID of the ApsaraMQ for Kafka instance.
ApplicationKafkaConfigsKafkaConfig, ApplicationKafkaConfigsKafkaConfigArgs          
- KafkaTopic string
- The topic of the Kafka.
- LogDir string
- The path in which logs are stored.
- LogType string
- The type of the log.
- KafkaTopic string
- The topic of the Kafka.
- LogDir string
- The path in which logs are stored.
- LogType string
- The type of the log.
- kafkaTopic String
- The topic of the Kafka.
- logDir String
- The path in which logs are stored.
- logType String
- The type of the log.
- kafkaTopic string
- The topic of the Kafka.
- logDir string
- The path in which logs are stored.
- logType string
- The type of the log.
- kafka_topic str
- The topic of the Kafka.
- log_dir str
- The path in which logs are stored.
- log_type str
- The type of the log.
- kafkaTopic String
- The topic of the Kafka.
- logDir String
- The path in which logs are stored.
- logType String
- The type of the log.
ApplicationLivenessV2, ApplicationLivenessV2Args      
- Exec
Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2Exec 
- Execute. See execbelow.
- HttpGet Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- InitialDelay intSeconds 
- The delay of the health check.
- PeriodSeconds int
- The interval at which the health check is performed.
- TcpSocket Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- TimeoutSeconds int
- The timeout period of the health check.
- Exec
ApplicationLiveness V2Exec 
- Execute. See execbelow.
- HttpGet ApplicationLiveness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- InitialDelay intSeconds 
- The delay of the health check.
- PeriodSeconds int
- The interval at which the health check is performed.
- TcpSocket ApplicationLiveness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- TimeoutSeconds int
- The timeout period of the health check.
- exec
ApplicationLiveness V2Exec 
- Execute. See execbelow.
- httpGet ApplicationLiveness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initialDelay IntegerSeconds 
- The delay of the health check.
- periodSeconds Integer
- The interval at which the health check is performed.
- tcpSocket ApplicationLiveness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds Integer
- The timeout period of the health check.
- exec
ApplicationLiveness V2Exec 
- Execute. See execbelow.
- httpGet ApplicationLiveness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initialDelay numberSeconds 
- The delay of the health check.
- periodSeconds number
- The interval at which the health check is performed.
- tcpSocket ApplicationLiveness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds number
- The timeout period of the health check.
- exec_
ApplicationLiveness V2Exec 
- Execute. See execbelow.
- http_get ApplicationLiveness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initial_delay_ intseconds 
- The delay of the health check.
- period_seconds int
- The interval at which the health check is performed.
- tcp_socket ApplicationLiveness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeout_seconds int
- The timeout period of the health check.
- exec Property Map
- Execute. See execbelow.
- httpGet Property Map
- The liveness check settings of the container. See http_getbelow.
- initialDelay NumberSeconds 
- The delay of the health check.
- periodSeconds Number
- The interval at which the health check is performed.
- tcpSocket Property Map
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds Number
- The timeout period of the health check.
ApplicationLivenessV2Exec, ApplicationLivenessV2ExecArgs      
- Commands List<string>
- 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.
- Commands []string
- 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.
- commands List<String>
- 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.
- commands string[]
- 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.
- commands Sequence[str]
- 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.
- commands List<String>
- 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.
ApplicationLivenessV2HttpGet, ApplicationLivenessV2HttpGetArgs        
- IsContain boolKey Word 
- KeyWord string
- Path string
- Port int
- Scheme string
- IsContain boolKey Word 
- KeyWord string
- Path string
- Port int
- Scheme string
- isContain BooleanKey Word 
- keyWord String
- path String
- port Integer
- scheme String
- isContain booleanKey Word 
- keyWord string
- path string
- port number
- scheme string
- is_contain_ boolkey_ word 
- key_word str
- path str
- port int
- scheme str
- isContain BooleanKey Word 
- keyWord String
- path String
- port Number
- scheme String
ApplicationLivenessV2TcpSocket, ApplicationLivenessV2TcpSocketArgs        
- Port int
- Port int
- port Integer
- port number
- port int
- port Number
ApplicationNasConfig, ApplicationNasConfigArgs      
- MountDomain string
- The domain name of the mount target.
- MountPath string
- The mount path of the container.
- NasId string
- The ID of the NAS file system.
- NasPath string
- The directory in the NAS file system.
- ReadOnly bool
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
- MountDomain string
- The domain name of the mount target.
- MountPath string
- The mount path of the container.
- NasId string
- The ID of the NAS file system.
- NasPath string
- The directory in the NAS file system.
- ReadOnly bool
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
- mountDomain String
- The domain name of the mount target.
- mountPath String
- The mount path of the container.
- nasId String
- The ID of the NAS file system.
- nasPath String
- The directory in the NAS file system.
- readOnly Boolean
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
- mountDomain string
- The domain name of the mount target.
- mountPath string
- The mount path of the container.
- nasId string
- The ID of the NAS file system.
- nasPath string
- The directory in the NAS file system.
- readOnly boolean
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
- mount_domain str
- The domain name of the mount target.
- mount_path str
- The mount path of the container.
- nas_id str
- The ID of the NAS file system.
- nas_path str
- The directory in the NAS file system.
- read_only bool
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
- mountDomain String
- The domain name of the mount target.
- mountPath String
- The mount path of the container.
- nasId String
- The ID of the NAS file system.
- nasPath String
- The directory in the NAS file system.
- readOnly Boolean
- Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values: trueandfalse. If you setread_onlytofalse, the application has the read and write permissions.
ApplicationOssMountDescsV2, ApplicationOssMountDescsV2Args          
- BucketName string
- The name of the OSS bucket.
- BucketPath string
- The directory or object in OSS.
- MountPath string
- The path of the container in SAE.
- ReadOnly bool
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
- BucketName string
- The name of the OSS bucket.
- BucketPath string
- The directory or object in OSS.
- MountPath string
- The path of the container in SAE.
- ReadOnly bool
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
- bucketName String
- The name of the OSS bucket.
- bucketPath String
- The directory or object in OSS.
- mountPath String
- The path of the container in SAE.
- readOnly Boolean
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
- bucketName string
- The name of the OSS bucket.
- bucketPath string
- The directory or object in OSS.
- mountPath string
- The path of the container in SAE.
- readOnly boolean
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
- bucket_name str
- The name of the OSS bucket.
- bucket_path str
- The directory or object in OSS.
- mount_path str
- The path of the container in SAE.
- read_only bool
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
- bucketName String
- The name of the OSS bucket.
- bucketPath String
- The directory or object in OSS.
- mountPath String
- The path of the container in SAE.
- readOnly Boolean
- Specifies whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
ApplicationPostStartV2, ApplicationPostStartV2Args        
- Exec
Pulumi.Ali Cloud. Sae. Inputs. Application Post Start V2Exec 
- Execute. See execbelow.
- Exec
ApplicationPost Start V2Exec 
- Execute. See execbelow.
- exec
ApplicationPost Start V2Exec 
- Execute. See execbelow.
- exec
ApplicationPost Start V2Exec 
- Execute. See execbelow.
- exec_
ApplicationPost Start V2Exec 
- Execute. See execbelow.
- exec Property Map
- Execute. See execbelow.
ApplicationPostStartV2Exec, ApplicationPostStartV2ExecArgs        
- Commands List<string>
- 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.
- Commands []string
- 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.
- commands List<String>
- 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.
- commands string[]
- 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.
- commands Sequence[str]
- 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.
- commands List<String>
- 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.
ApplicationPreStopV2, ApplicationPreStopV2Args        
- Exec
Pulumi.Ali Cloud. Sae. Inputs. Application Pre Stop V2Exec 
- Execute. See execbelow.
- Exec
ApplicationPre Stop V2Exec 
- Execute. See execbelow.
- exec
ApplicationPre Stop V2Exec 
- Execute. See execbelow.
- exec
ApplicationPre Stop V2Exec 
- Execute. See execbelow.
- exec_
ApplicationPre Stop V2Exec 
- Execute. See execbelow.
- exec Property Map
- Execute. See execbelow.
ApplicationPreStopV2Exec, ApplicationPreStopV2ExecArgs        
- Commands List<string>
- 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.
- Commands []string
- 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.
- commands List<String>
- 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.
- commands string[]
- 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.
- commands Sequence[str]
- 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.
- commands List<String>
- 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.
ApplicationPvtzDiscoverySvc, ApplicationPvtzDiscoverySvcArgs        
- Enable bool
- Enables the Kubernetes Service-based registration and discovery feature.
- NamespaceId string
- The ID of the namespace.
- PortProtocols List<Pulumi.Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc Port Protocol> 
- The port number and protocol. See port_protocolsbelow.
- ServiceName string
- The name of the Service.
- Enable bool
- Enables the Kubernetes Service-based registration and discovery feature.
- NamespaceId string
- The ID of the namespace.
- PortProtocols []ApplicationPvtz Discovery Svc Port Protocol 
- The port number and protocol. See port_protocolsbelow.
- ServiceName string
- The name of the Service.
- enable Boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespaceId String
- The ID of the namespace.
- portProtocols List<ApplicationPvtz Discovery Svc Port Protocol> 
- The port number and protocol. See port_protocolsbelow.
- serviceName String
- The name of the Service.
- enable boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespaceId string
- The ID of the namespace.
- portProtocols ApplicationPvtz Discovery Svc Port Protocol[] 
- The port number and protocol. See port_protocolsbelow.
- serviceName string
- The name of the Service.
- enable bool
- Enables the Kubernetes Service-based registration and discovery feature.
- namespace_id str
- The ID of the namespace.
- port_protocols Sequence[ApplicationPvtz Discovery Svc Port Protocol] 
- The port number and protocol. See port_protocolsbelow.
- service_name str
- The name of the Service.
- enable Boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespaceId String
- The ID of the namespace.
- portProtocols List<Property Map>
- The port number and protocol. See port_protocolsbelow.
- serviceName String
- The name of the Service.
ApplicationPvtzDiscoverySvcPortProtocol, ApplicationPvtzDiscoverySvcPortProtocolArgs            
ApplicationReadinessV2, ApplicationReadinessV2Args      
- Exec
Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2Exec 
- Execute. See execbelow.
- HttpGet Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- InitialDelay intSeconds 
- The delay of the health check.
- PeriodSeconds int
- The interval at which the health check is performed.
- TcpSocket Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- TimeoutSeconds int
- The timeout period of the health check.
- Exec
ApplicationReadiness V2Exec 
- Execute. See execbelow.
- HttpGet ApplicationReadiness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- InitialDelay intSeconds 
- The delay of the health check.
- PeriodSeconds int
- The interval at which the health check is performed.
- TcpSocket ApplicationReadiness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- TimeoutSeconds int
- The timeout period of the health check.
- exec
ApplicationReadiness V2Exec 
- Execute. See execbelow.
- httpGet ApplicationReadiness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initialDelay IntegerSeconds 
- The delay of the health check.
- periodSeconds Integer
- The interval at which the health check is performed.
- tcpSocket ApplicationReadiness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds Integer
- The timeout period of the health check.
- exec
ApplicationReadiness V2Exec 
- Execute. See execbelow.
- httpGet ApplicationReadiness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initialDelay numberSeconds 
- The delay of the health check.
- periodSeconds number
- The interval at which the health check is performed.
- tcpSocket ApplicationReadiness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds number
- The timeout period of the health check.
- exec_
ApplicationReadiness V2Exec 
- Execute. See execbelow.
- http_get ApplicationReadiness V2Http Get 
- The liveness check settings of the container. See http_getbelow.
- initial_delay_ intseconds 
- The delay of the health check.
- period_seconds int
- The interval at which the health check is performed.
- tcp_socket ApplicationReadiness V2Tcp Socket 
- The liveness check settings of the container. See tcp_socketbelow.
- timeout_seconds int
- The timeout period of the health check.
- exec Property Map
- Execute. See execbelow.
- httpGet Property Map
- The liveness check settings of the container. See http_getbelow.
- initialDelay NumberSeconds 
- The delay of the health check.
- periodSeconds Number
- The interval at which the health check is performed.
- tcpSocket Property Map
- The liveness check settings of the container. See tcp_socketbelow.
- timeoutSeconds Number
- The timeout period of the health check.
ApplicationReadinessV2Exec, ApplicationReadinessV2ExecArgs      
- Commands List<string>
- 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.
- Commands []string
- 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.
- commands List<String>
- 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.
- commands string[]
- 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.
- commands Sequence[str]
- 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.
- commands List<String>
- 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.
ApplicationReadinessV2HttpGet, ApplicationReadinessV2HttpGetArgs        
- IsContain boolKey Word 
- KeyWord string
- Path string
- Port int
- Scheme string
- IsContain boolKey Word 
- KeyWord string
- Path string
- Port int
- Scheme string
- isContain BooleanKey Word 
- keyWord String
- path String
- port Integer
- scheme String
- isContain booleanKey Word 
- keyWord string
- path string
- port number
- scheme string
- is_contain_ boolkey_ word 
- key_word str
- path str
- port int
- scheme str
- isContain BooleanKey Word 
- keyWord String
- path String
- port Number
- scheme String
ApplicationReadinessV2TcpSocket, ApplicationReadinessV2TcpSocketArgs        
- Port int
- Port int
- port Integer
- port number
- port int
- port Number
ApplicationTomcatConfigV2, ApplicationTomcatConfigV2Args        
- ContextPath string
- The path.
- MaxThreads int
- The maximum number of connections in the connection pool.
- Port int
- The port.
- UriEncoding string
- The URI encoding scheme in the Tomcat container.
- UseBody stringEncoding For Uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- ContextPath string
- The path.
- MaxThreads int
- The maximum number of connections in the connection pool.
- Port int
- The port.
- UriEncoding string
- The URI encoding scheme in the Tomcat container.
- UseBody stringEncoding For Uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- contextPath String
- The path.
- maxThreads Integer
- The maximum number of connections in the connection pool.
- port Integer
- The port.
- uriEncoding String
- The URI encoding scheme in the Tomcat container.
- useBody StringEncoding For Uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- contextPath string
- The path.
- maxThreads number
- The maximum number of connections in the connection pool.
- port number
- The port.
- uriEncoding string
- The URI encoding scheme in the Tomcat container.
- useBody stringEncoding For Uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- context_path str
- The path.
- max_threads int
- The maximum number of connections in the connection pool.
- port int
- The port.
- uri_encoding str
- The URI encoding scheme in the Tomcat container.
- use_body_ strencoding_ for_ uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- contextPath String
- The path.
- maxThreads Number
- The maximum number of connections in the connection pool.
- port Number
- The port.
- uriEncoding String
- The URI encoding scheme in the Tomcat container.
- useBody StringEncoding For Uri 
- Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
ApplicationUpdateStrategyV2, ApplicationUpdateStrategyV2Args        
- BatchUpdate Pulumi.Ali Cloud. Sae. Inputs. Application Update Strategy V2Batch Update 
- The phased release policy. See batch_updatebelow.
- Type string
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
- BatchUpdate ApplicationUpdate Strategy V2Batch Update 
- The phased release policy. See batch_updatebelow.
- Type string
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
- batchUpdate ApplicationUpdate Strategy V2Batch Update 
- The phased release policy. See batch_updatebelow.
- type String
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
- batchUpdate ApplicationUpdate Strategy V2Batch Update 
- The phased release policy. See batch_updatebelow.
- type string
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
- batch_update ApplicationUpdate Strategy V2Batch Update 
- The phased release policy. See batch_updatebelow.
- type str
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
- batchUpdate Property Map
- The phased release policy. See batch_updatebelow.
- type String
- The type of the release policy. Valid values: GrayBatchUpdateandBatchUpdate.
ApplicationUpdateStrategyV2BatchUpdate, ApplicationUpdateStrategyV2BatchUpdateArgs          
- Batch int
- The number of batches in which you want to release the instances.
- BatchWait intTime 
- The batch wait time.
- ReleaseType string
- The processing method for the batches. Valid values: autoandmanual.
- Batch int
- The number of batches in which you want to release the instances.
- BatchWait intTime 
- The batch wait time.
- ReleaseType string
- The processing method for the batches. Valid values: autoandmanual.
- batch Integer
- The number of batches in which you want to release the instances.
- batchWait IntegerTime 
- The batch wait time.
- releaseType String
- The processing method for the batches. Valid values: autoandmanual.
- batch number
- The number of batches in which you want to release the instances.
- batchWait numberTime 
- The batch wait time.
- releaseType string
- The processing method for the batches. Valid values: autoandmanual.
- batch int
- The number of batches in which you want to release the instances.
- batch_wait_ inttime 
- The batch wait time.
- release_type str
- The processing method for the batches. Valid values: autoandmanual.
- batch Number
- The number of batches in which you want to release the instances.
- batchWait NumberTime 
- The batch wait time.
- releaseType String
- The processing method for the batches. Valid values: autoandmanual.
Import
Serverless App Engine (SAE) Application can be imported using the id, e.g.
$ pulumi import alicloud:sae/application:Application example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.