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:
- App
Name string - 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 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.
- Acr
Assume 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.
- Acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can 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 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.
- Command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - Command
Args List<string>V2s - The parameters of the image startup command.
- Config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - Config
Map 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_v2
below. - Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - Custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - Custom
Host 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_v2
below. - Deploy bool
- The deploy. Valid values:
true
,false
. - Edas
Container stringVersion - The operating environment used by the Pandora application.
- Enable
Ahas string - The enable ahas. Valid values:
true
,false
. - Enable
Grey 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: - Image
Pull stringSecrets - The ID of the corresponding Secret.
- Image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- Jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jar
Start 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.
- Kafka
Configs Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - Liveness
V2 Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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 string - Select the Nacos registry. Valid values:
0
,1
,2
. - Min
Ready intInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 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.
- Nas
Configs List<Pulumi.Ali Cloud. Sae. Inputs. Application Nas Config> - The configurations for mounting the NAS file system. See
nas_configs
below. - Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - Oss
Mount 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_v2
below. - Package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- Package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- Php
Arms 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.
- Php
Config string - PHP configuration file content.
- Php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- Post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - Post
Start Pulumi.V2 Ali Cloud. Sae. Inputs. Application Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - Pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - Pre
Stop Pulumi.V2 Ali Cloud. Sae. Inputs. Application Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - Programming
Language string - The programming language that is used to create the application. Valid values:
java
,php
,other
. - Pvtz
Discovery Pulumi.Svc Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - Readiness
V2 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_v2
below. - Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Dictionary<string, string>
- 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 string
- Time zone. Default value:
Asia/Shanghai
. - Tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - Tomcat
Config Pulumi.V2 Ali Cloud. Sae. Inputs. Application Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - Update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - Update
Strategy Pulumi.V2 Ali Cloud. Sae. Inputs. Application Update Strategy V2 - The release policy. See
update_strategy_v2
below. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - War
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- Web
Container string - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- App
Name string - 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 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.
- Acr
Assume 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.
- Acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can 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 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.
- Command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - Command
Args []stringV2s - The parameters of the image startup command.
- Config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - Config
Map []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_v2
below. - Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - Custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - Custom
Host []ApplicationAlias V2s Custom Host Alias V2Args - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - Deploy bool
- The deploy. Valid values:
true
,false
. - Edas
Container stringVersion - The operating environment used by the Pandora application.
- Enable
Ahas string - The enable ahas. Valid values:
true
,false
. - Enable
Grey 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: - Image
Pull stringSecrets - The ID of the corresponding Secret.
- Image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- Jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jar
Start 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.
- Kafka
Configs ApplicationKafka Configs Args - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - Liveness
V2 ApplicationLiveness V2Args - The liveness check settings of the container. See
liveness_v2
below. - 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 string - Select the Nacos registry. Valid values:
0
,1
,2
. - Min
Ready intInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 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.
- Nas
Configs []ApplicationNas Config Args - The configurations for mounting the NAS file system. See
nas_configs
below. - Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - Oss
Mount []ApplicationDescs V2s Oss Mount Descs V2Args - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - Package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- Package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- Php
Arms 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.
- Php
Config string - PHP configuration file content.
- Php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- Post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - Post
Start ApplicationV2 Post Start V2Args - The script that is run immediately after the container is started. See
post_start_v2
below. - Pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - Pre
Stop ApplicationV2 Pre Stop V2Args - The script that is run before the container is stopped. See
pre_stop_v2
below. - Programming
Language string - 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_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - 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_v2
below. - Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - map[string]string
- 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 string
- Time zone. Default value:
Asia/Shanghai
. - Tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - Tomcat
Config ApplicationV2 Tomcat Config V2Args - The Tomcat configuration. See
tomcat_config_v2
below. - Update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - Update
Strategy ApplicationV2 Update Strategy V2Args - The release policy. See
update_strategy_v2
below. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - War
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- Web
Container string - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- app
Name String - 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 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.
- acr
Assume 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.
- acr
Instance StringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - auto
Config Boolean - The auto config. Valid values:
true
,false
. - auto
Enable BooleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait IntegerTime - The batch wait time.
- change
Order 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.
- command
Args String - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args List<String>V2s - The parameters of the image startup command.
- config
Map StringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu Integer
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host StringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host List<ApplicationAlias V2s Custom Host Alias V2> - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy Boolean
- The deploy. Valid values:
true
,false
. - edas
Container StringVersion - The operating environment used by the Pandora application.
- enable
Ahas String - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull StringSecrets - The ID of the corresponding Secret.
- image
Url String - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start StringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs ApplicationKafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 ApplicationLiveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration String - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready IntegerInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 IntegerInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs List<ApplicationNas Config> - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount List<ApplicationDescs V2s Oss Mount Descs V2> - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Url String - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version String - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- php
Arms 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.
- php
Config String - PHP configuration file content.
- php
Config StringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start String - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start ApplicationV2 Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop String - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop ApplicationV2 Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language String - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery ApplicationSvc Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Map<String,String>
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config ApplicationV2 Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy String - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy ApplicationV2 Update Strategy V2 - The release policy. See
update_strategy_v2
below. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start StringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container String - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- app
Name string - 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 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.
- acr
Assume 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.
- acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - auto
Config boolean - The auto config. Valid values:
true
,false
. - auto
Enable booleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait numberTime - The batch wait time.
- change
Order 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.
- command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args string[]V2s - The parameters of the image startup command.
- config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu number
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host ApplicationAlias V2s Custom Host Alias V2[] - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy boolean
- The deploy. Valid values:
true
,false
. - edas
Container stringVersion - The operating environment used by the Pandora application.
- enable
Ahas string - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull stringSecrets - The ID of the corresponding Secret.
- image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs ApplicationKafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 ApplicationLiveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration string - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready numberInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 numberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs ApplicationNas Config[] - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak stringId - OSS AccessKey ID.
- oss
Ak stringSecret - OSS AccessKey Secret.
- oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount ApplicationDescs V2s Oss Mount Descs V2[] - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php string
- The Php environment.
- php
Arms 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.
- php
Config string - PHP configuration file content.
- php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start ApplicationV2 Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop ApplicationV2 Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language string - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery ApplicationSvc Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - security
Group stringId - Security group ID.
- sls
Configs string - SLS configuration.
- status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config ApplicationV2 Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy ApplicationV2 Update Strategy V2 - The release policy. See
update_strategy_v2
below. - vpc
Id string - The vpc id.
- vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container 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_description
can 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_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command_
args_ Sequence[str]v2s - The parameters of the image startup command.
- config_
map_ strmount_ desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - 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_v2
below. - 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_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - 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_v2
below. - 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_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness_
v2 ApplicationLiveness V2Args - The liveness check settings of the container. See
liveness_v2
below. - 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_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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_configs
below. - oss_
ak_ strid - OSS AccessKey ID.
- oss_
ak_ strsecret - OSS AccessKey Secret.
- oss_
mount_ strdescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss_
mount_ Sequence[Applicationdescs_ v2s Oss Mount Descs V2Args] - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - 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_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post_
start_ Applicationv2 Post Start V2Args - The script that is run immediately after the container is started. See
post_start_v2
below. - pre_
stop str - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre_
stop_ Applicationv2 Pre Stop V2Args - The script that is run before the container is stopped. See
pre_stop_v2
below. - 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_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - 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_v2
below. - security_
group_ strid - Security group ID.
- sls_
configs str - SLS configuration.
- 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat_
config_ Applicationv2 Tomcat Config V2Args - The Tomcat configuration. See
tomcat_config_v2
below. - update_
strategy str - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update_
strategy_ Applicationv2 Update Strategy V2Args - The release policy. See
update_strategy_v2
below. - vpc_
id str - The vpc id.
- vswitch_
id str - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can 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.
- app
Name String - 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 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.
- acr
Assume 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.
- acr
Instance StringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - auto
Config Boolean - The auto config. Valid values:
true
,false
. - auto
Enable BooleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait NumberTime - The batch wait time.
- change
Order 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.
- command
Args String - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args List<String>V2s - The parameters of the image startup command.
- config
Map StringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu Number
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host StringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host List<Property Map>Alias V2s - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy Boolean
- The deploy. Valid values:
true
,false
. - edas
Container StringVersion - The operating environment used by the Pandora application.
- enable
Ahas String - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull StringSecrets - The ID of the corresponding Secret.
- image
Url String - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start StringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs Property Map - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 Property Map - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration String - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready NumberInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 NumberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs List<Property Map> - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount List<Property Map>Descs V2s - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Url String - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version String - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- php
Arms 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.
- php
Config String - PHP configuration file content.
- php
Config StringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start String - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start Property MapV2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop String - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop Property MapV2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language String - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery Property MapSvc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Map<String>
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config Property MapV2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy String - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy Property MapV2 - The release policy. See
update_strategy_v2
below. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start StringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container 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) -> Application
func 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)
Resource lookup is not supported in YAML
- 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.
- Acr
Assume 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.
- Acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - App
Name string - 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 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.
- Command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - Command
Args List<string>V2s - The parameters of the image startup command.
- Config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - Config
Map 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_v2
below. - Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - Custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - Custom
Host 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_v2
below. - Deploy bool
- The deploy. Valid values:
true
,false
. - Edas
Container stringVersion - The operating environment used by the Pandora application.
- Enable
Ahas string - The enable ahas. Valid values:
true
,false
. - Enable
Grey 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: - Image
Pull stringSecrets - The ID of the corresponding Secret.
- Image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- Jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jar
Start 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.
- Kafka
Configs Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - Liveness
V2 Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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 string - Select the Nacos registry. Valid values:
0
,1
,2
. - Min
Ready intInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 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.
- Nas
Configs List<Pulumi.Ali Cloud. Sae. Inputs. Application Nas Config> - The configurations for mounting the NAS file system. See
nas_configs
below. - Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - Oss
Mount 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_v2
below. - Package
Type 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
. - Package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- Package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- Php
Arms 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.
- Php
Config string - PHP configuration file content.
- Php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- Post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - Post
Start Pulumi.V2 Ali Cloud. Sae. Inputs. Application Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - Pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - Pre
Stop Pulumi.V2 Ali Cloud. Sae. Inputs. Application Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - Programming
Language string - The programming language that is used to create the application. Valid values:
java
,php
,other
. - Pvtz
Discovery Pulumi.Svc Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - Readiness
V2 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_v2
below. - Replicas int
- Initial number of instances.
- Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Dictionary<string, string>
- 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 string
- Time zone. Default value:
Asia/Shanghai
. - Tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - Tomcat
Config Pulumi.V2 Ali Cloud. Sae. Inputs. Application Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - Update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - Update
Strategy Pulumi.V2 Ali Cloud. Sae. Inputs. Application Update Strategy V2 - The release policy. See
update_strategy_v2
below. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - War
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- Web
Container string - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- Acr
Assume 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.
- Acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - App
Name string - 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 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.
- Command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - Command
Args []stringV2s - The parameters of the image startup command.
- Config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - Config
Map []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_v2
below. - Cpu int
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - Custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - Custom
Host []ApplicationAlias V2s Custom Host Alias V2Args - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - Deploy bool
- The deploy. Valid values:
true
,false
. - Edas
Container stringVersion - The operating environment used by the Pandora application.
- Enable
Ahas string - The enable ahas. Valid values:
true
,false
. - Enable
Grey 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: - Image
Pull stringSecrets - The ID of the corresponding Secret.
- Image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- Jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- Jar
Start 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.
- Kafka
Configs ApplicationKafka Configs Args - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - Liveness
V2 ApplicationLiveness V2Args - The liveness check settings of the container. See
liveness_v2
below. - 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 string - Select the Nacos registry. Valid values:
0
,1
,2
. - Min
Ready intInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 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.
- Nas
Configs []ApplicationNas Config Args - The configurations for mounting the NAS file system. See
nas_configs
below. - Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - Oss
Mount []ApplicationDescs V2s Oss Mount Descs V2Args - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - Package
Type 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
. - Package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- Package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- Php string
- The Php environment.
- Php
Arms 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.
- Php
Config string - PHP configuration file content.
- Php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- Post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - Post
Start ApplicationV2 Post Start V2Args - The script that is run immediately after the container is started. See
post_start_v2
below. - Pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - Pre
Stop ApplicationV2 Pre Stop V2Args - The script that is run before the container is stopped. See
pre_stop_v2
below. - Programming
Language string - 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_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - 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_v2
below. - Replicas int
- Initial number of instances.
- Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - map[string]string
- 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 string
- Time zone. Default value:
Asia/Shanghai
. - Tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - Tomcat
Config ApplicationV2 Tomcat Config V2Args - The Tomcat configuration. See
tomcat_config_v2
below. - Update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - Update
Strategy ApplicationV2 Update Strategy V2Args - The release policy. See
update_strategy_v2
below. - Vpc
Id string - The vpc id.
- Vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - War
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- Web
Container string - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acr
Assume 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.
- acr
Instance StringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - app
Name String - 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 Boolean - The auto config. Valid values:
true
,false
. - auto
Enable BooleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait IntegerTime - The batch wait time.
- change
Order 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.
- command
Args String - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args List<String>V2s - The parameters of the image startup command.
- config
Map StringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu Integer
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host StringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host List<ApplicationAlias V2s Custom Host Alias V2> - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy Boolean
- The deploy. Valid values:
true
,false
. - edas
Container StringVersion - The operating environment used by the Pandora application.
- enable
Ahas String - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull StringSecrets - The ID of the corresponding Secret.
- image
Url String - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start StringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs ApplicationKafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 ApplicationLiveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration String - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready IntegerInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 IntegerInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs List<ApplicationNas Config> - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount List<ApplicationDescs V2s Oss Mount Descs V2> - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Type 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
. - package
Url String - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version String - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- php
Arms 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.
- php
Config String - PHP configuration file content.
- php
Config StringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start String - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start ApplicationV2 Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop String - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop ApplicationV2 Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language String - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery ApplicationSvc Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - replicas Integer
- Initial number of instances.
- security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Map<String,String>
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config ApplicationV2 Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy String - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy ApplicationV2 Update Strategy V2 - The release policy. See
update_strategy_v2
below. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start StringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container String - The version of tomcat that the deployment package depends on. Image type applications are not supported.
- acr
Assume 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.
- acr
Instance stringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description string - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - app
Name string - 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 boolean - The auto config. Valid values:
true
,false
. - auto
Enable booleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait numberTime - The batch wait time.
- change
Order 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.
- command
Args string - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args string[]V2s - The parameters of the image startup command.
- config
Map stringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu number
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host stringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host ApplicationAlias V2s Custom Host Alias V2[] - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy boolean
- The deploy. Valid values:
true
,false
. - edas
Container stringVersion - The operating environment used by the Pandora application.
- enable
Ahas string - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull stringSecrets - The ID of the corresponding Secret.
- image
Url string - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start stringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs ApplicationKafka Configs - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 ApplicationLiveness V2 - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration string - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready numberInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 numberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs ApplicationNas Config[] - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak stringId - OSS AccessKey ID.
- oss
Ak stringSecret - OSS AccessKey Secret.
- oss
Mount stringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount ApplicationDescs V2s Oss Mount Descs V2[] - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Type 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
. - package
Url string - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version string - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php string
- The Php environment.
- php
Arms 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.
- php
Config string - PHP configuration file content.
- php
Config stringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start string - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start ApplicationV2 Post Start V2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop string - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop ApplicationV2 Pre Stop V2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language string - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery ApplicationSvc Pvtz Discovery Svc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - replicas number
- Initial number of instances.
- security
Group stringId - Security group ID.
- sls
Configs string - SLS configuration.
- status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config ApplicationV2 Tomcat Config V2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy string - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy ApplicationV2 Update Strategy V2 - The release policy. See
update_strategy_v2
below. - vpc
Id string - The vpc id.
- vswitch
Id string - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start stringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container 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_description
can 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_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command_
args_ Sequence[str]v2s - The parameters of the image startup command.
- config_
map_ strmount_ desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - 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_v2
below. - 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_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - 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_v2
below. - 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_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness_
v2 ApplicationLiveness V2Args - The liveness check settings of the container. See
liveness_v2
below. - 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_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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_configs
below. - oss_
ak_ strid - OSS AccessKey ID.
- oss_
ak_ strsecret - OSS AccessKey Secret.
- oss_
mount_ strdescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss_
mount_ Sequence[Applicationdescs_ v2s Oss Mount Descs V2Args] - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - 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_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post_
start_ Applicationv2 Post Start V2Args - The script that is run immediately after the container is started. See
post_start_v2
below. - pre_
stop str - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre_
stop_ Applicationv2 Pre Stop V2Args - The script that is run before the container is stopped. See
pre_stop_v2
below. - 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_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - 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_v2
below. - replicas int
- Initial number of instances.
- security_
group_ strid - Security group ID.
- sls_
configs str - SLS configuration.
- 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat_
config_ Applicationv2 Tomcat Config V2Args - The Tomcat configuration. See
tomcat_config_v2
below. - update_
strategy str - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update_
strategy_ Applicationv2 Update Strategy V2Args - The release policy. See
update_strategy_v2
below. - vpc_
id str - The vpc id.
- vswitch_
id str - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can 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.
- acr
Assume 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.
- acr
Instance StringId - The ID of the ACR EE instance. Only necessary if the image_url is pointing to an ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters. NOTE: From version 1.211.0,
app_description
can be modified. - app
Name String - 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 Boolean - The auto config. Valid values:
true
,false
. - auto
Enable BooleanApplication Scaling Rule - The auto enable application scaling rule. Valid values:
true
,false
. - batch
Wait NumberTime - The batch wait time.
- change
Order 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.
- command
Args String - Mirror startup command parameters. The parameters required for the above start command. For example: 1d. NOTE: Field
command_args
has been deprecated from provider version 1.211.0. New fieldcommand_args_v2
instead. - command
Args List<String>V2s - The parameters of the image startup command.
- config
Map StringMount Desc - ConfigMap mount description. NOTE: Field
config_map_mount_desc
has been deprecated from provider version 1.211.0. New fieldconfig_map_mount_desc_v2
instead. - config
Map 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_v2
below. - cpu Number
- The CPU required for each instance, in millicores, cannot be 0. Valid values:
500
,1000
,2000
,4000
,8000
,16000
,32000
. - custom
Host StringAlias - Custom host mapping in the container. For example: [{
hostName
:samplehost
,ip
:127.0.0.1
}]. NOTE: Fieldcustom_host_alias
has been deprecated from provider version 1.211.0. New fieldcustom_host_alias_v2
instead. - custom
Host List<Property Map>Alias V2s - The custom mapping between the hostname and IP address in the container. See
custom_host_alias_v2
below. - deploy Boolean
- The deploy. Valid values:
true
,false
. - edas
Container StringVersion - The operating environment used by the Pandora application.
- enable
Ahas String - The enable ahas. Valid values:
true
,false
. - enable
Grey 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: - image
Pull StringSecrets - The ID of the corresponding Secret.
- image
Url String - Mirror address. Only Image type applications can configure the mirror address.
- jar
Start StringArgs - The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
- jar
Start 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.
- kafka
Configs Property Map - The logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - 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
liveness
has been deprecated from provider version 1.211.0. New fieldliveness_v2
instead. - liveness
V2 Property Map - The liveness check settings of the container. See
liveness_v2
below. - 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
. - micro
Registration String - Select the Nacos registry. Valid values:
0
,1
,2
. - min
Ready NumberInstance Ratio - Minimum Survival Instance Percentage. NOTE: When
min_ready_instances
andmin_ready_instance_ratio
are passed at the same time, and the value ofmin_ready_instance_ratio
is not -1, themin_ready_instance_ratio
parameter shall prevail. Assuming thatmin_ready_instances
is 5 andmin_ready_instance_ratio
is 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 NumberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- namespace
Id 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.
- nas
Configs List<Property Map> - The configurations for mounting the NAS file system. See
nas_configs
below. - oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information. NOTE: Field
oss_mount_descs
has been deprecated from provider version 1.211.0. New fieldoss_mount_descs_v2
instead. - oss
Mount List<Property Map>Descs V2s - The description of the mounted Object Storage Service (OSS) bucket. See
oss_mount_descs_v2
below. - package
Type 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
. - package
Url String - Deployment package address. Only FatJar or War type applications can configure the deployment package address.
- package
Version String - The version number of the deployment package. Required when the Package Type is War and FatJar.
- php String
- The Php environment.
- php
Arms 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.
- php
Config String - PHP configuration file content.
- php
Config StringLocation - PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
- post
Start String - Execute the script after startup, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpost_start
has been deprecated from provider version 1.211.0. New fieldpost_start_v2
instead. - post
Start Property MapV2 - The script that is run immediately after the container is started. See
post_start_v2
below. - pre
Stop String - Execute the script before stopping, the format is like: {
exec
:{command
:[cat
,"/etc/group"]}}. NOTE: Fieldpre_stop
has been deprecated from provider version 1.211.0. New fieldpre_stop_v2
instead. - pre
Stop Property MapV2 - The script that is run before the container is stopped. See
pre_stop_v2
below. - programming
Language String - The programming language that is used to create the application. Valid values:
java
,php
,other
. - pvtz
Discovery Property MapSvc - The configurations of Kubernetes Service-based service registration and discovery. See
pvtz_discovery_svc
below. - 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: Fieldreadiness
has been deprecated from provider version 1.211.0. New fieldreadiness_v2
instead. - readiness
V2 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_v2
below. - replicas Number
- Initial number of instances.
- security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
. - Map<String>
- A mapping of tags to assign to the resource.
- termination
Grace 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
. - tomcat
Config 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_config
has been deprecated from provider version 1.211.0. New fieldtomcat_config_v2
instead. - tomcat
Config Property MapV2 - The Tomcat configuration. See
tomcat_config_v2
below. - update
Strategy String - The update strategy. NOTE: Field
update_strategy
has been deprecated from provider version 1.211.0. New fieldupdate_strategy_v2
instead. - update
Strategy Property MapV2 - The release policy. See
update_strategy_v2
below. - vpc
Id String - The vpc id.
- vswitch
Id String - The vswitch id. NOTE: From version 1.211.0,
vswitch_id
can be modified. - war
Start StringOptions - WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
- web
Container String - The version of tomcat that the deployment package depends on. Image type applications are not supported.
Supporting Types
ApplicationConfigMapMountDescV2, ApplicationConfigMapMountDescV2Args
- Config
Map stringId - The ID of the ConfigMap.
- Key string
- The key.
- Mount
Path string - The mount path.
- Config
Map stringId - The ID of the ConfigMap.
- Key string
- The key.
- Mount
Path string - The mount path.
- config
Map StringId - The ID of the ConfigMap.
- key String
- The key.
- mount
Path String - The mount path.
- config
Map stringId - The ID of the ConfigMap.
- key string
- The key.
- mount
Path string - The mount path.
- config_
map_ strid - The ID of the ConfigMap.
- key str
- The key.
- mount_
path str - The mount path.
- config
Map StringId - The ID of the ConfigMap.
- key String
- The key.
- mount
Path String - The mount path.
ApplicationCustomHostAliasV2, ApplicationCustomHostAliasV2Args
ApplicationKafkaConfigs, ApplicationKafkaConfigsArgs
- Kafka
Configs List<Pulumi.Ali Cloud. Sae. Inputs. Application Kafka Configs Kafka Config> - One or more logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - Kafka
Endpoint string - The endpoint of the ApsaraMQ for Kafka API.
- Kafka
Instance stringId - The ID of the ApsaraMQ for Kafka instance.
- Kafka
Configs []ApplicationKafka Configs Kafka Config - One or more logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - Kafka
Endpoint string - The endpoint of the ApsaraMQ for Kafka API.
- Kafka
Instance stringId - The ID of the ApsaraMQ for Kafka instance.
- kafka
Configs List<ApplicationKafka Configs Kafka Config> - One or more logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - kafka
Endpoint String - The endpoint of the ApsaraMQ for Kafka API.
- kafka
Instance StringId - The ID of the ApsaraMQ for Kafka instance.
- kafka
Configs ApplicationKafka Configs Kafka Config[] - One or more logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - kafka
Endpoint string - The endpoint of the ApsaraMQ for Kafka API.
- kafka
Instance 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_configs
below. - kafka_
endpoint str - The endpoint of the ApsaraMQ for Kafka API.
- kafka_
instance_ strid - The ID of the ApsaraMQ for Kafka instance.
- kafka
Configs List<Property Map> - One or more logging configurations of ApsaraMQ for Kafka. See
kafka_configs
below. - kafka
Endpoint String - The endpoint of the ApsaraMQ for Kafka API.
- kafka
Instance StringId - The ID of the ApsaraMQ for Kafka instance.
ApplicationKafkaConfigsKafkaConfig, ApplicationKafkaConfigsKafkaConfigArgs
- Kafka
Topic string - The topic of the Kafka.
- Log
Dir string - The path in which logs are stored.
- Log
Type string - The type of the log.
- Kafka
Topic string - The topic of the Kafka.
- Log
Dir string - The path in which logs are stored.
- Log
Type string - The type of the log.
- kafka
Topic String - The topic of the Kafka.
- log
Dir String - The path in which logs are stored.
- log
Type String - The type of the log.
- kafka
Topic string - The topic of the Kafka.
- log
Dir string - The path in which logs are stored.
- log
Type 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.
- kafka
Topic String - The topic of the Kafka.
- log
Dir String - The path in which logs are stored.
- log
Type String - The type of the log.
ApplicationLivenessV2, ApplicationLivenessV2Args
- Exec
Pulumi.
Ali Cloud. Sae. Inputs. Application Liveness V2Exec - Execute. See
exec
below. - Http
Get Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2Http Get - The liveness check settings of the container. See
http_get
below. - Initial
Delay intSeconds - The delay of the health check.
- Period
Seconds int - The interval at which the health check is performed.
- Tcp
Socket Pulumi.Ali Cloud. Sae. Inputs. Application Liveness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - Timeout
Seconds int - The timeout period of the health check.
- Exec
Application
Liveness V2Exec - Execute. See
exec
below. - Http
Get ApplicationLiveness V2Http Get - The liveness check settings of the container. See
http_get
below. - 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_socket
below. - Timeout
Seconds int - The timeout period of the health check.
- exec
Application
Liveness V2Exec - Execute. See
exec
below. - http
Get ApplicationLiveness V2Http Get - The liveness check settings of the container. See
http_get
below. - initial
Delay IntegerSeconds - The delay of the health check.
- period
Seconds Integer - The interval at which the health check is performed.
- tcp
Socket ApplicationLiveness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds Integer - The timeout period of the health check.
- exec
Application
Liveness V2Exec - Execute. See
exec
below. - http
Get ApplicationLiveness V2Http Get - The liveness check settings of the container. See
http_get
below. - initial
Delay numberSeconds - The delay of the health check.
- period
Seconds number - The interval at which the health check is performed.
- tcp
Socket ApplicationLiveness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds number - The timeout period of the health check.
- exec_
Application
Liveness V2Exec - Execute. See
exec
below. - http_
get ApplicationLiveness V2Http Get - The liveness check settings of the container. See
http_get
below. - 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_socket
below. - timeout_
seconds int - The timeout period of the health check.
- exec Property Map
- Execute. See
exec
below. - http
Get Property Map - The liveness check settings of the container. See
http_get
below. - initial
Delay NumberSeconds - The delay of the health check.
- period
Seconds Number - The interval at which the health check is performed.
- tcp
Socket Property Map - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds 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
- Is
Contain boolKey Word - Key
Word string - Path string
- Port int
- Scheme string
- Is
Contain boolKey Word - Key
Word string - Path string
- Port int
- Scheme string
- is
Contain BooleanKey Word - key
Word String - path String
- port Integer
- scheme String
- is
Contain booleanKey Word - key
Word string - path string
- port number
- scheme string
- is_
contain_ boolkey_ word - key_
word str - path str
- port int
- scheme str
- is
Contain BooleanKey Word - key
Word String - path String
- port Number
- scheme String
ApplicationLivenessV2TcpSocket, ApplicationLivenessV2TcpSocketArgs
- Port int
- Port int
- port Integer
- port number
- port int
- port Number
ApplicationNasConfig, ApplicationNasConfigArgs
- Mount
Domain string - The domain name of the mount target.
- Mount
Path string - The mount path of the container.
- Nas
Id string - The ID of the NAS file system.
- Nas
Path string - 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:
true
andfalse
. If you setread_only
tofalse
, the application has the read and write permissions.
- Mount
Domain string - The domain name of the mount target.
- Mount
Path string - The mount path of the container.
- Nas
Id string - The ID of the NAS file system.
- Nas
Path string - 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:
true
andfalse
. If you setread_only
tofalse
, the application has the read and write permissions.
- mount
Domain String - The domain name of the mount target.
- mount
Path String - The mount path of the container.
- nas
Id String - The ID of the NAS file system.
- nas
Path String - The directory in the NAS file system.
- read
Only Boolean - Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values:
true
andfalse
. If you setread_only
tofalse
, the application has the read and write permissions.
- mount
Domain string - The domain name of the mount target.
- mount
Path string - The mount path of the container.
- nas
Id string - The ID of the NAS file system.
- nas
Path string - The directory in the NAS file system.
- read
Only boolean - Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values:
true
andfalse
. If you setread_only
tofalse
, 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:
true
andfalse
. If you setread_only
tofalse
, the application has the read and write permissions.
- mount
Domain String - The domain name of the mount target.
- mount
Path String - The mount path of the container.
- nas
Id String - The ID of the NAS file system.
- nas
Path String - The directory in the NAS file system.
- read
Only Boolean - Specifies whether the application can read data from or write data to resources in the directory of the NAS. Valid values:
true
andfalse
. If you setread_only
tofalse
, the application has the read and write permissions.
ApplicationOssMountDescsV2, ApplicationOssMountDescsV2Args
- Bucket
Name string - The name of the OSS bucket.
- Bucket
Path string - The directory or object in OSS.
- Mount
Path string - 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:
- Bucket
Name string - The name of the OSS bucket.
- Bucket
Path string - The directory or object in OSS.
- Mount
Path string - 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:
- bucket
Name String - The name of the OSS bucket.
- bucket
Path String - The directory or object in OSS.
- mount
Path String - The path of the container in SAE.
- read
Only 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 string - The name of the OSS bucket.
- bucket
Path string - The directory or object in OSS.
- mount
Path string - The path of the container in SAE.
- read
Only 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:
- bucket
Name String - The name of the OSS bucket.
- bucket
Path String - The directory or object in OSS.
- mount
Path String - The path of the container in SAE.
- read
Only 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
exec
below.
- Exec
Application
Post Start V2Exec - Execute. See
exec
below.
- exec
Application
Post Start V2Exec - Execute. See
exec
below.
- exec
Application
Post Start V2Exec - Execute. See
exec
below.
- exec_
Application
Post Start V2Exec - Execute. See
exec
below.
- exec Property Map
- Execute. See
exec
below.
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
exec
below.
- Exec
Application
Pre Stop V2Exec - Execute. See
exec
below.
- exec
Application
Pre Stop V2Exec - Execute. See
exec
below.
- exec
Application
Pre Stop V2Exec - Execute. See
exec
below.
- exec_
Application
Pre Stop V2Exec - Execute. See
exec
below.
- exec Property Map
- Execute. See
exec
below.
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.
- Namespace
Id string - The ID of the namespace.
- Port
Protocols List<Pulumi.Ali Cloud. Sae. Inputs. Application Pvtz Discovery Svc Port Protocol> - The port number and protocol. See
port_protocols
below. - Service
Name string - The name of the Service.
- Enable bool
- Enables the Kubernetes Service-based registration and discovery feature.
- Namespace
Id string - The ID of the namespace.
- Port
Protocols []ApplicationPvtz Discovery Svc Port Protocol - The port number and protocol. See
port_protocols
below. - Service
Name string - The name of the Service.
- enable Boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespace
Id String - The ID of the namespace.
- port
Protocols List<ApplicationPvtz Discovery Svc Port Protocol> - The port number and protocol. See
port_protocols
below. - service
Name String - The name of the Service.
- enable boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespace
Id string - The ID of the namespace.
- port
Protocols ApplicationPvtz Discovery Svc Port Protocol[] - The port number and protocol. See
port_protocols
below. - service
Name 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_protocols
below. - service_
name str - The name of the Service.
- enable Boolean
- Enables the Kubernetes Service-based registration and discovery feature.
- namespace
Id String - The ID of the namespace.
- port
Protocols List<Property Map> - The port number and protocol. See
port_protocols
below. - service
Name String - The name of the Service.
ApplicationPvtzDiscoverySvcPortProtocol, ApplicationPvtzDiscoverySvcPortProtocolArgs
ApplicationReadinessV2, ApplicationReadinessV2Args
- Exec
Pulumi.
Ali Cloud. Sae. Inputs. Application Readiness V2Exec - Execute. See
exec
below. - Http
Get Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2Http Get - The liveness check settings of the container. See
http_get
below. - Initial
Delay intSeconds - The delay of the health check.
- Period
Seconds int - The interval at which the health check is performed.
- Tcp
Socket Pulumi.Ali Cloud. Sae. Inputs. Application Readiness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - Timeout
Seconds int - The timeout period of the health check.
- Exec
Application
Readiness V2Exec - Execute. See
exec
below. - Http
Get ApplicationReadiness V2Http Get - The liveness check settings of the container. See
http_get
below. - 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_socket
below. - Timeout
Seconds int - The timeout period of the health check.
- exec
Application
Readiness V2Exec - Execute. See
exec
below. - http
Get ApplicationReadiness V2Http Get - The liveness check settings of the container. See
http_get
below. - initial
Delay IntegerSeconds - The delay of the health check.
- period
Seconds Integer - The interval at which the health check is performed.
- tcp
Socket ApplicationReadiness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds Integer - The timeout period of the health check.
- exec
Application
Readiness V2Exec - Execute. See
exec
below. - http
Get ApplicationReadiness V2Http Get - The liveness check settings of the container. See
http_get
below. - initial
Delay numberSeconds - The delay of the health check.
- period
Seconds number - The interval at which the health check is performed.
- tcp
Socket ApplicationReadiness V2Tcp Socket - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds number - The timeout period of the health check.
- exec_
Application
Readiness V2Exec - Execute. See
exec
below. - http_
get ApplicationReadiness V2Http Get - The liveness check settings of the container. See
http_get
below. - 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_socket
below. - timeout_
seconds int - The timeout period of the health check.
- exec Property Map
- Execute. See
exec
below. - http
Get Property Map - The liveness check settings of the container. See
http_get
below. - initial
Delay NumberSeconds - The delay of the health check.
- period
Seconds Number - The interval at which the health check is performed.
- tcp
Socket Property Map - The liveness check settings of the container. See
tcp_socket
below. - timeout
Seconds 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
- Is
Contain boolKey Word - Key
Word string - Path string
- Port int
- Scheme string
- Is
Contain boolKey Word - Key
Word string - Path string
- Port int
- Scheme string
- is
Contain BooleanKey Word - key
Word String - path String
- port Integer
- scheme String
- is
Contain booleanKey Word - key
Word string - path string
- port number
- scheme string
- is_
contain_ boolkey_ word - key_
word str - path str
- port int
- scheme str
- is
Contain BooleanKey Word - key
Word String - path String
- port Number
- scheme String
ApplicationReadinessV2TcpSocket, ApplicationReadinessV2TcpSocketArgs
- Port int
- Port int
- port Integer
- port number
- port int
- port Number
ApplicationTomcatConfigV2, ApplicationTomcatConfigV2Args
- Context
Path string - The path.
- Max
Threads int - The maximum number of connections in the connection pool.
- Port int
- The port.
- Uri
Encoding string - The URI encoding scheme in the Tomcat container.
- Use
Body stringEncoding For Uri - Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- Context
Path string - The path.
- Max
Threads int - The maximum number of connections in the connection pool.
- Port int
- The port.
- Uri
Encoding string - The URI encoding scheme in the Tomcat container.
- Use
Body stringEncoding For Uri - Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- context
Path String - The path.
- max
Threads Integer - The maximum number of connections in the connection pool.
- port Integer
- The port.
- uri
Encoding String - The URI encoding scheme in the Tomcat container.
- use
Body StringEncoding For Uri - Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
- context
Path string - The path.
- max
Threads number - The maximum number of connections in the connection pool.
- port number
- The port.
- uri
Encoding string - The URI encoding scheme in the Tomcat container.
- use
Body 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.
- context
Path String - The path.
- max
Threads Number - The maximum number of connections in the connection pool.
- port Number
- The port.
- uri
Encoding String - The URI encoding scheme in the Tomcat container.
- use
Body StringEncoding For Uri - Specifies whether to use the encoding scheme that is specified by BodyEncoding for URL.
ApplicationUpdateStrategyV2, ApplicationUpdateStrategyV2Args
- Batch
Update Pulumi.Ali Cloud. Sae. Inputs. Application Update Strategy V2Batch Update - The phased release policy. See
batch_update
below. - Type string
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
- Batch
Update ApplicationUpdate Strategy V2Batch Update - The phased release policy. See
batch_update
below. - Type string
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
- batch
Update ApplicationUpdate Strategy V2Batch Update - The phased release policy. See
batch_update
below. - type String
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
- batch
Update ApplicationUpdate Strategy V2Batch Update - The phased release policy. See
batch_update
below. - type string
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
- batch_
update ApplicationUpdate Strategy V2Batch Update - The phased release policy. See
batch_update
below. - type str
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
- batch
Update Property Map - The phased release policy. See
batch_update
below. - type String
- The type of the release policy. Valid values:
GrayBatchUpdate
andBatchUpdate
.
ApplicationUpdateStrategyV2BatchUpdate, ApplicationUpdateStrategyV2BatchUpdateArgs
- Batch int
- The number of batches in which you want to release the instances.
- Batch
Wait intTime - The batch wait time.
- Release
Type string - The processing method for the batches. Valid values:
auto
andmanual
.
- Batch int
- The number of batches in which you want to release the instances.
- Batch
Wait intTime - The batch wait time.
- Release
Type string - The processing method for the batches. Valid values:
auto
andmanual
.
- batch Integer
- The number of batches in which you want to release the instances.
- batch
Wait IntegerTime - The batch wait time.
- release
Type String - The processing method for the batches. Valid values:
auto
andmanual
.
- batch number
- The number of batches in which you want to release the instances.
- batch
Wait numberTime - The batch wait time.
- release
Type string - The processing method for the batches. Valid values:
auto
andmanual
.
- 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:
auto
andmanual
.
- batch Number
- The number of batches in which you want to release the instances.
- batch
Wait NumberTime - The batch wait time.
- release
Type String - The processing method for the batches. Valid values:
auto
andmanual
.
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
alicloud
Terraform Provider.