Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi
alicloud.sae.getApplications
Explore with Pulumi AI
This data source provides the Sae Applications of the current Alibaba Cloud user.
NOTE: Available in v1.161.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-testacc";
const default = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const vpc = new alicloud.vpc.Network("vpc", {
vpcName: "tf_testacc",
cidrBlock: "172.16.0.0/12",
});
const vsw = new alicloud.vpc.Switch("vsw", {
vpcId: vpc.id,
cidrBlock: "172.16.0.0/24",
zoneId: _default.then(_default => _default.zones?.[0]?.id),
vswitchName: name,
});
const defaultNamespace = new alicloud.sae.Namespace("default", {
namespaceDescription: name,
namespaceId: "cn-hangzhou:tfacctest",
namespaceName: name,
});
const defaultApplication = new alicloud.sae.Application("default", {
appDescription: "tf-testaccDescription",
appName: "tf-testaccAppName131",
namespaceId: defaultNamespace.id,
imageUrl: "registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5",
packageType: "Image",
vswitchId: vsw.id,
timezone: "Asia/Beijing",
replicas: 5,
cpu: 500,
memory: 2048,
});
const defaultGetApplications = alicloud.sae.getApplicationsOutput({
ids: [defaultApplication.id],
});
export const saeApplicationId = defaultGetApplications.apply(defaultGetApplications => defaultGetApplications.applications?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-testacc"
default = alicloud.get_zones(available_resource_creation="VSwitch")
vpc = alicloud.vpc.Network("vpc",
vpc_name="tf_testacc",
cidr_block="172.16.0.0/12")
vsw = alicloud.vpc.Switch("vsw",
vpc_id=vpc.id,
cidr_block="172.16.0.0/24",
zone_id=default.zones[0].id,
vswitch_name=name)
default_namespace = alicloud.sae.Namespace("default",
namespace_description=name,
namespace_id="cn-hangzhou:tfacctest",
namespace_name=name)
default_application = alicloud.sae.Application("default",
app_description="tf-testaccDescription",
app_name="tf-testaccAppName131",
namespace_id=default_namespace.id,
image_url="registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5",
package_type="Image",
vswitch_id=vsw.id,
timezone="Asia/Beijing",
replicas=5,
cpu=500,
memory=2048)
default_get_applications = alicloud.sae.get_applications_output(ids=[default_application.id])
pulumi.export("saeApplicationId", default_get_applications.applications[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sae"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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, "")
name := "tf-testacc"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{
VpcName: pulumi.String("tf_testacc"),
CidrBlock: pulumi.String("172.16.0.0/12"),
})
if err != nil {
return err
}
vsw, err := vpc.NewSwitch(ctx, "vsw", &vpc.SwitchArgs{
VpcId: vpc.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(_default.Zones[0].Id),
VswitchName: pulumi.String(name),
})
if err != nil {
return err
}
defaultNamespace, err := sae.NewNamespace(ctx, "default", &sae.NamespaceArgs{
NamespaceDescription: pulumi.String(name),
NamespaceId: pulumi.String("cn-hangzhou:tfacctest"),
NamespaceName: pulumi.String(name),
})
if err != nil {
return err
}
defaultApplication, err := sae.NewApplication(ctx, "default", &sae.ApplicationArgs{
AppDescription: pulumi.String("tf-testaccDescription"),
AppName: pulumi.String("tf-testaccAppName131"),
NamespaceId: defaultNamespace.ID(),
ImageUrl: pulumi.String("registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5"),
PackageType: pulumi.String("Image"),
VswitchId: vsw.ID(),
Timezone: pulumi.String("Asia/Beijing"),
Replicas: pulumi.Int(5),
Cpu: pulumi.Int(500),
Memory: pulumi.Int(2048),
})
if err != nil {
return err
}
defaultGetApplications := sae.GetApplicationsOutput(ctx, sae.GetApplicationsOutputArgs{
Ids: pulumi.StringArray{
defaultApplication.ID(),
},
}, nil)
ctx.Export("saeApplicationId", defaultGetApplications.ApplyT(func(defaultGetApplications sae.GetApplicationsResult) (*string, error) {
return &defaultGetApplications.Applications[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-testacc";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var vpc = new AliCloud.Vpc.Network("vpc", new()
{
VpcName = "tf_testacc",
CidrBlock = "172.16.0.0/12",
});
var vsw = new AliCloud.Vpc.Switch("vsw", new()
{
VpcId = vpc.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
VswitchName = name,
});
var defaultNamespace = new AliCloud.Sae.Namespace("default", new()
{
NamespaceDescription = name,
NamespaceId = "cn-hangzhou:tfacctest",
NamespaceName = name,
});
var defaultApplication = new AliCloud.Sae.Application("default", new()
{
AppDescription = "tf-testaccDescription",
AppName = "tf-testaccAppName131",
NamespaceId = defaultNamespace.Id,
ImageUrl = "registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5",
PackageType = "Image",
VswitchId = vsw.Id,
Timezone = "Asia/Beijing",
Replicas = 5,
Cpu = 500,
Memory = 2048,
});
var defaultGetApplications = AliCloud.Sae.GetApplications.Invoke(new()
{
Ids = new[]
{
defaultApplication.Id,
},
});
return new Dictionary<string, object?>
{
["saeApplicationId"] = defaultGetApplications.Apply(getApplicationsResult => getApplicationsResult.Applications[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
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.sae.Namespace;
import com.pulumi.alicloud.sae.NamespaceArgs;
import com.pulumi.alicloud.sae.Application;
import com.pulumi.alicloud.sae.ApplicationArgs;
import com.pulumi.alicloud.sae.SaeFunctions;
import com.pulumi.alicloud.sae.inputs.GetApplicationsArgs;
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 name = config.get("name").orElse("tf-testacc");
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
var vpc = new Network("vpc", NetworkArgs.builder()
.vpcName("tf_testacc")
.cidrBlock("172.16.0.0/12")
.build());
var vsw = new Switch("vsw", SwitchArgs.builder()
.vpcId(vpc.id())
.cidrBlock("172.16.0.0/24")
.zoneId(default_.zones()[0].id())
.vswitchName(name)
.build());
var defaultNamespace = new Namespace("defaultNamespace", NamespaceArgs.builder()
.namespaceDescription(name)
.namespaceId("cn-hangzhou:tfacctest")
.namespaceName(name)
.build());
var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()
.appDescription("tf-testaccDescription")
.appName("tf-testaccAppName131")
.namespaceId(defaultNamespace.id())
.imageUrl("registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5")
.packageType("Image")
.vswitchId(vsw.id())
.timezone("Asia/Beijing")
.replicas("5")
.cpu("500")
.memory("2048")
.build());
final var defaultGetApplications = SaeFunctions.getApplications(GetApplicationsArgs.builder()
.ids(defaultApplication.id())
.build());
ctx.export("saeApplicationId", defaultGetApplications.applyValue(getApplicationsResult -> getApplicationsResult).applyValue(defaultGetApplications -> defaultGetApplications.applyValue(getApplicationsResult -> getApplicationsResult.applications()[0].id())));
}
}
configuration:
name:
type: string
default: tf-testacc
resources:
vpc:
type: alicloud:vpc:Network
properties:
vpcName: tf_testacc
cidrBlock: 172.16.0.0/12
vsw:
type: alicloud:vpc:Switch
properties:
vpcId: ${vpc.id}
cidrBlock: 172.16.0.0/24
zoneId: ${default.zones[0].id}
vswitchName: ${name}
defaultNamespace:
type: alicloud:sae:Namespace
name: default
properties:
namespaceDescription: ${name}
namespaceId: cn-hangzhou:tfacctest
namespaceName: ${name}
defaultApplication:
type: alicloud:sae:Application
name: default
properties:
appDescription: tf-testaccDescription
appName: tf-testaccAppName131
namespaceId: ${defaultNamespace.id}
imageUrl: registry-vpc.cn-hangzhou.aliyuncs.com/lxepoo/apache-php5
packageType: Image
vswitchId: ${vsw.id}
timezone: Asia/Beijing
replicas: '5'
cpu: '500'
memory: '2048'
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
defaultGetApplications:
fn::invoke:
Function: alicloud:sae:getApplications
Arguments:
ids:
- ${defaultApplication.id}
outputs:
saeApplicationId: ${defaultGetApplications.applications[0].id}
Using getApplications
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApplications(args: GetApplicationsArgs, opts?: InvokeOptions): Promise<GetApplicationsResult>
function getApplicationsOutput(args: GetApplicationsOutputArgs, opts?: InvokeOptions): Output<GetApplicationsResult>
def get_applications(app_name: Optional[str] = None,
enable_details: Optional[bool] = None,
field_type: Optional[str] = None,
field_value: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
namespace_id: Optional[str] = None,
order_by: Optional[str] = None,
output_file: Optional[str] = None,
reverse: Optional[bool] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationsResult
def get_applications_output(app_name: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
field_type: Optional[pulumi.Input[str]] = None,
field_value: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
reverse: Optional[pulumi.Input[bool]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationsResult]
func GetApplications(ctx *Context, args *GetApplicationsArgs, opts ...InvokeOption) (*GetApplicationsResult, error)
func GetApplicationsOutput(ctx *Context, args *GetApplicationsOutputArgs, opts ...InvokeOption) GetApplicationsResultOutput
> Note: This function is named GetApplications
in the Go SDK.
public static class GetApplications
{
public static Task<GetApplicationsResult> InvokeAsync(GetApplicationsArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationsResult> Invoke(GetApplicationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationsResult> getApplications(GetApplicationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:sae/getApplications:getApplications
arguments:
# arguments dictionary
The following arguments are 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.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Field
Type string - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- Field
Value string - The field value.
- Ids List<string>
- A list of Application IDs.
- 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.
- Order
By string - The order by.Valid values:
running
,instances
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Reverse bool
- The reverse.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
- 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.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Field
Type string - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- Field
Value string - The field value.
- Ids []string
- A list of Application IDs.
- 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.
- Order
By string - The order by.Valid values:
running
,instances
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - Reverse bool
- The reverse.
- Status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
- 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.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - field
Type String - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- field
Value String - The field value.
- ids List<String>
- A list of Application IDs.
- 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.
- order
By String - The order by.Valid values:
running
,instances
. - output
File String - File name where to save data source results (after running
pulumi preview
). - reverse Boolean
- The reverse.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
- 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.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - field
Type string - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- field
Value string - The field value.
- ids string[]
- A list of Application IDs.
- 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.
- order
By string - The order by.Valid values:
running
,instances
. - output
File string - File name where to save data source results (after running
pulumi preview
). - reverse boolean
- The reverse.
- status string
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
- 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.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - field_
type str - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- field_
value str - The field value.
- ids Sequence[str]
- A list of Application IDs.
- 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.
- order_
by str - The order by.Valid values:
running
,instances
. - output_
file str - File name where to save data source results (after running
pulumi preview
). - reverse bool
- The reverse.
- status str
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
- 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.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - field
Type String - The field type. Valid values:
appName
,appIds
,slbIps
,instanceIps
- field
Value String - The field value.
- ids List<String>
- A list of Application IDs.
- 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.
- order
By String - The order by.Valid values:
running
,instances
. - output
File String - File name where to save data source results (after running
pulumi preview
). - reverse Boolean
- The reverse.
- status String
- The status of the resource. Valid values:
RUNNING
,STOPPED
,UNKNOWN
.
getApplications Result
The following output properties are available:
- Applications
List<Pulumi.
Ali Cloud. Sae. Outputs. Get Applications Application> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- App
Name string - Enable
Details bool - Field
Type string - Field
Value string - Namespace
Id string - Order
By string - Output
File string - Reverse bool
- Status string
- Applications
[]Get
Applications Application - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- App
Name string - Enable
Details bool - Field
Type string - Field
Value string - Namespace
Id string - Order
By string - Output
File string - Reverse bool
- Status string
- applications
List<Get
Applications Application> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- app
Name String - enable
Details Boolean - field
Type String - field
Value String - namespace
Id String - order
By String - output
File String - reverse Boolean
- status String
- applications
Get
Applications Application[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- app
Name string - enable
Details boolean - field
Type string - field
Value string - namespace
Id string - order
By string - output
File string - reverse boolean
- status string
- applications
Sequence[Get
Applications Application] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- app_
name str - enable_
details bool - field_
type str - field_
value str - namespace_
id str - order_
by str - output_
file str - reverse bool
- status str
- applications List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- app
Name String - enable
Details Boolean - field
Type String - field
Value String - namespace
Id String - order
By String - output
File String - reverse Boolean
- status String
Supporting Types
GetApplicationsApplication
- Acr
Assume stringRole Arn - The ARN of the RAM role required when pulling images across accounts.
- Acr
Instance stringId - The ID of the ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters.
- 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.
- Application
Id string - The first ID of the resource.
- 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.
- Config
Map stringMount Desc - ConfigMap mount description.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0.
- Create
Time string - Indicates That the Application of the Creation Time.
- Custom
Host stringAlias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- Edas
Container stringVersion - The operating environment used by the Pandora application.
- Envs string
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- Id string
- The ID of the Application.
- 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.
- 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.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- Min
Ready intInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- Mount
Descs List<Pulumi.Ali Cloud. Sae. Inputs. Get Applications Application Mount Desc> - Mount description information.
- Mount
Host string - Mount point of NAS in application VPC.
- 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
Id string - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information.
- Oss
Mount List<Pulumi.Details Ali Cloud. Sae. Inputs. Get Applications Application Oss Mount Detail> - The OSS mount detail.
- Package
Type string - Application package type. Support FatJar, War and Image.
- 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
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"]}}.
- Pre
Stop string - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- Region
Id string - Replicas int
- Initial number of instances.
- Repo
Name string - Repo
Namespace string - Repo
Origin stringType - Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource.
- 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.
- Timezone string
- Time zone, the default value is Asia/Shanghai.
- Tomcat
Config string - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- Vpc
Id string - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- Vswitch
Id string - The vswitch id.
- 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.
- Acr
Instance stringId - The ID of the ACR EE instance.
- App
Description string - Application description information. No more than 1024 characters.
- 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.
- Application
Id string - The first ID of the resource.
- 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.
- Config
Map stringMount Desc - ConfigMap mount description.
- Cpu int
- The CPU required for each instance, in millicores, cannot be 0.
- Create
Time string - Indicates That the Application of the Creation Time.
- Custom
Host stringAlias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- Edas
Container stringVersion - The operating environment used by the Pandora application.
- Envs string
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- Id string
- The ID of the Application.
- 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.
- 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.
- Memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- Min
Ready intInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- Mount
Descs []GetApplications Application Mount Desc - Mount description information.
- Mount
Host string - Mount point of NAS in application VPC.
- 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
Id string - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- Oss
Ak stringId - OSS AccessKey ID.
- Oss
Ak stringSecret - OSS AccessKey Secret.
- Oss
Mount stringDescs - OSS mount description information.
- Oss
Mount []GetDetails Applications Application Oss Mount Detail - The OSS mount detail.
- Package
Type string - Application package type. Support FatJar, War and Image.
- 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
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"]}}.
- Pre
Stop string - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- Region
Id string - Replicas int
- Initial number of instances.
- Repo
Name string - Repo
Namespace string - Repo
Origin stringType - Security
Group stringId - Security group ID.
- Sls
Configs string - SLS configuration.
- Status string
- The status of the resource.
- 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.
- Timezone string
- Time zone, the default value is Asia/Shanghai.
- Tomcat
Config string - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- Vpc
Id string - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- Vswitch
Id string - The vswitch id.
- 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.
- acr
Instance StringId - The ID of the ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters.
- 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.
- application
Id String - The first ID of the resource.
- 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.
- config
Map StringMount Desc - ConfigMap mount description.
- cpu Integer
- The CPU required for each instance, in millicores, cannot be 0.
- create
Time String - Indicates That the Application of the Creation Time.
- custom
Host StringAlias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- edas
Container StringVersion - The operating environment used by the Pandora application.
- envs String
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- id String
- The ID of the Application.
- 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.
- 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.
- memory Integer
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- min
Ready IntegerInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- mount
Descs List<GetApplications Application Mount Desc> - Mount description information.
- mount
Host String - Mount point of NAS in application VPC.
- 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
Id String - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information.
- oss
Mount List<GetDetails Applications Application Oss Mount Detail> - The OSS mount detail.
- package
Type String - Application package type. Support FatJar, War and Image.
- 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
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"]}}.
- pre
Stop String - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- region
Id String - replicas Integer
- Initial number of instances.
- repo
Name String - repo
Namespace String - repo
Origin StringType - security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource.
- 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.
- timezone String
- Time zone, the default value is Asia/Shanghai.
- tomcat
Config String - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- vpc
Id String - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- vswitch
Id String - The vswitch id.
- 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.
- acr
Instance stringId - The ID of the ACR EE instance.
- app
Description string - Application description information. No more than 1024 characters.
- 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.
- application
Id string - The first ID of the resource.
- 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.
- config
Map stringMount Desc - ConfigMap mount description.
- cpu number
- The CPU required for each instance, in millicores, cannot be 0.
- create
Time string - Indicates That the Application of the Creation Time.
- custom
Host stringAlias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- edas
Container stringVersion - The operating environment used by the Pandora application.
- envs string
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- id string
- The ID of the Application.
- 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.
- 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.
- memory number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- min
Ready numberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- mount
Descs GetApplications Application Mount Desc[] - Mount description information.
- mount
Host string - Mount point of NAS in application VPC.
- 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
Id string - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- oss
Ak stringId - OSS AccessKey ID.
- oss
Ak stringSecret - OSS AccessKey Secret.
- oss
Mount stringDescs - OSS mount description information.
- oss
Mount GetDetails Applications Application Oss Mount Detail[] - The OSS mount detail.
- package
Type string - Application package type. Support FatJar, War and Image.
- 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
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"]}}.
- pre
Stop string - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- region
Id string - replicas number
- Initial number of instances.
- repo
Name string - repo
Namespace string - repo
Origin stringType - security
Group stringId - Security group ID.
- sls
Configs string - SLS configuration.
- status string
- The status of the resource.
- {[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.
- timezone string
- Time zone, the default value is Asia/Shanghai.
- tomcat
Config string - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- vpc
Id string - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- vswitch
Id string - The vswitch id.
- 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.
- acr_
instance_ strid - The ID of the ACR EE instance.
- app_
description str - Application description information. No more than 1024 characters.
- 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.
- application_
id str - The first ID of the resource.
- 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.
- config_
map_ strmount_ desc - ConfigMap mount description.
- cpu int
- The CPU required for each instance, in millicores, cannot be 0.
- create_
time str - Indicates That the Application of the Creation Time.
- custom_
host_ stralias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- edas_
container_ strversion - The operating environment used by the Pandora application.
- envs str
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- id str
- The ID of the Application.
- 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.
- 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.
- memory int
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- min_
ready_ intinstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- mount_
descs Sequence[GetApplications Application Mount Desc] - Mount description information.
- mount_
host str - Mount point of NAS in application VPC.
- 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_
id str - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- oss_
ak_ strid - OSS AccessKey ID.
- oss_
ak_ strsecret - OSS AccessKey Secret.
- oss_
mount_ strdescs - OSS mount description information.
- oss_
mount_ Sequence[Getdetails Applications Application Oss Mount Detail] - The OSS mount detail.
- package_
type str - Application package type. Support FatJar, War and Image.
- 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_
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"]}}.
- pre_
stop str - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- region_
id str - replicas int
- Initial number of instances.
- repo_
name str - repo_
namespace str - repo_
origin_ strtype - security_
group_ strid - Security group ID.
- sls_
configs str - SLS configuration.
- status str
- The status of the resource.
- 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.
- timezone str
- Time zone, the default value is Asia/Shanghai.
- tomcat_
config str - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- vpc_
id str - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- vswitch_
id str - The vswitch id.
- 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.
- acr
Instance StringId - The ID of the ACR EE instance.
- app
Description String - Application description information. No more than 1024 characters.
- 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.
- application
Id String - The first ID of the resource.
- 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.
- config
Map StringMount Desc - ConfigMap mount description.
- cpu Number
- The CPU required for each instance, in millicores, cannot be 0.
- create
Time String - Indicates That the Application of the Creation Time.
- custom
Host StringAlias - Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
- edas
Container StringVersion - The operating environment used by the Pandora application.
- envs String
- The virtual switch where the elastic network card of the application instance is located. The switch must be located in the aforementioned VPC. The switch also has a binding relationship with the SAE namespace. If it is left blank, the default is the vSwitch ID bound to the namespace.
- id String
- The ID of the Application.
- 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.
- 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.
- memory Number
- The memory required for each instance, in MB, cannot be 0. One-to-one correspondence with CPU.
- min
Ready NumberInstances - The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
- mount
Descs List<Property Map> - Mount description information.
- mount
Host String - Mount point of NAS in application VPC.
- 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
Id String - ID of the mounted NAS, Must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field is present, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
- oss
Ak StringId - OSS AccessKey ID.
- oss
Ak StringSecret - OSS AccessKey Secret.
- oss
Mount StringDescs - OSS mount description information.
- oss
Mount List<Property Map>Details - The OSS mount detail.
- package
Type String - Application package type. Support FatJar, War and Image.
- 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
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"]}}.
- pre
Stop String - Execute the script before stopping, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
- 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}.
- region
Id String - replicas Number
- Initial number of instances.
- repo
Name String - repo
Namespace String - repo
Origin StringType - security
Group StringId - Security group ID.
- sls
Configs String - SLS configuration.
- status String
- The status of the resource.
- 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.
- timezone String
- Time zone, the default value is Asia/Shanghai.
- tomcat
Config String - Tomcat file configuration, set to "" or "{}" means to delete the configuration: useDefaultConfig: Whether to use a custom configuration, if it is true, it means that the custom configuration is not used; if it is false, it means that the custom configuration is used. If you do not use custom configuration, the following parameter configuration will not take effect. contextInputType: Select the access path of the application. war: No need to fill in the custom path, the access path of the application is the WAR package name. root: No need to fill in the custom path, the access path of the application is /. custom: You need to fill in the custom path in the custom path below. contextPath: custom path, this parameter only needs to be configured when the contextInputType type is custom. httpPort: The port range is 1024~65535. Ports less than 1024 need Root permission to operate. Because the container is configured with Admin permissions, please fill in a port greater than 1024. If not configured, the default is 8080. maxThreads: Configure the number of connections in the connection pool, the default size is 400. uriEncoding: Tomcat encoding format, including UTF-8, ISO-8859-1, GBK and GB2312. If not set, the default is ISO-8859-1. useBodyEncoding: Whether to use BodyEncoding for URL.
- vpc
Id String - The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC and cannot be modified. Creating a SAE application in the namespace for the first time will form a binding relationship. Multiple namespaces can correspond to a VPC. If you leave it blank, it will default to the VPC ID bound to the namespace.
- vswitch
Id String - The vswitch id.
- 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.
GetApplicationsApplicationMountDesc
- mount_
path str - Container mount path.
- nas_
path str - NAS relative file directory.
GetApplicationsApplicationOssMountDetail
- Bucket
Name string - The name of the bucket.
- Bucket
Path string - The path of the bucket.
- Mount
Path string - The Container mount path.
- Read
Only bool - Whether the container path has readable permission to mount directory resources.
- Bucket
Name string - The name of the bucket.
- Bucket
Path string - The path of the bucket.
- Mount
Path string - The Container mount path.
- Read
Only bool - Whether the container path has readable permission to mount directory resources.
- bucket
Name String - The name of the bucket.
- bucket
Path String - The path of the bucket.
- mount
Path String - The Container mount path.
- read
Only Boolean - Whether the container path has readable permission to mount directory resources.
- bucket
Name string - The name of the bucket.
- bucket
Path string - The path of the bucket.
- mount
Path string - The Container mount path.
- read
Only boolean - Whether the container path has readable permission to mount directory resources.
- bucket_
name str - The name of the bucket.
- bucket_
path str - The path of the bucket.
- mount_
path str - The Container mount path.
- read_
only bool - Whether the container path has readable permission to mount directory resources.
- bucket
Name String - The name of the bucket.
- bucket
Path String - The path of the bucket.
- mount
Path String - The Container mount path.
- read
Only Boolean - Whether the container path has readable permission to mount directory resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.