1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. sae
  5. getApplications
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.sae.getApplications

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    AppName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    FieldType string
    The field type. Valid values:appName, appIds, slbIps, instanceIps
    FieldValue string
    The field value.
    Ids List<string>
    A list of Application IDs.
    NamespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    OrderBy string
    The order by.Valid values:running,instances.
    OutputFile 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.
    AppName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    FieldType string
    The field type. Valid values:appName, appIds, slbIps, instanceIps
    FieldValue string
    The field value.
    Ids []string
    A list of Application IDs.
    NamespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    OrderBy string
    The order by.Valid values:running,instances.
    OutputFile 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.
    appName String
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    fieldType String
    The field type. Valid values:appName, appIds, slbIps, instanceIps
    fieldValue String
    The field value.
    ids List<String>
    A list of Application IDs.
    namespaceId String
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    orderBy String
    The order by.Valid values:running,instances.
    outputFile 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.
    appName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    fieldType string
    The field type. Valid values:appName, appIds, slbIps, instanceIps
    fieldValue string
    The field value.
    ids string[]
    A list of Application IDs.
    namespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    orderBy string
    The order by.Valid values:running,instances.
    outputFile 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 to true 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.
    appName String
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    fieldType String
    The field type. Valid values:appName, appIds, slbIps, instanceIps
    fieldValue String
    The field value.
    ids List<String>
    A list of Application IDs.
    namespaceId String
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    orderBy String
    The order by.Valid values:running,instances.
    outputFile 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.AliCloud.Sae.Outputs.GetApplicationsApplication>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    AppName string
    EnableDetails bool
    FieldType string
    FieldValue string
    NamespaceId string
    OrderBy string
    OutputFile string
    Reverse bool
    Status string
    Applications []GetApplicationsApplication
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    AppName string
    EnableDetails bool
    FieldType string
    FieldValue string
    NamespaceId string
    OrderBy string
    OutputFile string
    Reverse bool
    Status string
    applications List<GetApplicationsApplication>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    appName String
    enableDetails Boolean
    fieldType String
    fieldValue String
    namespaceId String
    orderBy String
    outputFile String
    reverse Boolean
    status String
    applications GetApplicationsApplication[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    appName string
    enableDetails boolean
    fieldType string
    fieldValue string
    namespaceId string
    orderBy string
    outputFile string
    reverse boolean
    status string
    applications Sequence[GetApplicationsApplication]
    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>
    appName String
    enableDetails Boolean
    fieldType String
    fieldValue String
    namespaceId String
    orderBy String
    outputFile String
    reverse Boolean
    status String

    Supporting Types

    GetApplicationsApplication

    AcrAssumeRoleArn string
    The ARN of the RAM role required when pulling images across accounts.
    AcrInstanceId string
    The ID of the ACR EE instance.
    AppDescription string
    Application description information. No more than 1024 characters.
    AppName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    ApplicationId 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.
    CommandArgs string
    Mirror startup command parameters. The parameters required for the above start command. For example: 1d.
    ConfigMapMountDesc string
    ConfigMap mount description.
    Cpu int
    The CPU required for each instance, in millicores, cannot be 0.
    CreateTime string
    Indicates That the Application of the Creation Time.
    CustomHostAlias string
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    EdasContainerVersion string
    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.
    ImageUrl string
    Mirror address. Only Image type applications can configure the mirror address.
    JarStartArgs string
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    JarStartOptions string
    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.
    MinReadyInstances int
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    MountDescs List<Pulumi.AliCloud.Sae.Inputs.GetApplicationsApplicationMountDesc>
    Mount description information.
    MountHost string
    Mount point of NAS in application VPC.
    NamespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    NasId 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.
    OssAkId string
    OSS AccessKey ID.
    OssAkSecret string
    OSS AccessKey Secret.
    OssMountDescs string
    OSS mount description information.
    OssMountDetails List<Pulumi.AliCloud.Sae.Inputs.GetApplicationsApplicationOssMountDetail>
    The OSS mount detail.
    PackageType string
    Application package type. Support FatJar, War and Image.
    PackageUrl string
    Deployment package address. Only FatJar or War type applications can configure the deployment package address.
    PackageVersion string
    The version number of the deployment package. Required when the Package Type is War and FatJar.
    PhpArmsConfigLocation string
    The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.
    PhpConfig string
    PHP configuration file content.
    PhpConfigLocation string
    PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
    PostStart string
    Execute the script after startup, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
    PreStop 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}.
    RegionId string
    Replicas int
    Initial number of instances.
    RepoName string
    RepoNamespace string
    RepoOriginType string
    SecurityGroupId string
    Security group ID.
    SlsConfigs string
    SLS configuration.
    Status string
    The status of the resource.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    TerminationGracePeriodSeconds int
    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.
    TomcatConfig 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.
    VpcId 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.
    VswitchId string
    The vswitch id.
    WarStartOptions string
    WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
    WebContainer string
    The version of tomcat that the deployment package depends on. Image type applications are not supported.
    AcrAssumeRoleArn string
    The ARN of the RAM role required when pulling images across accounts.
    AcrInstanceId string
    The ID of the ACR EE instance.
    AppDescription string
    Application description information. No more than 1024 characters.
    AppName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    ApplicationId 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.
    CommandArgs string
    Mirror startup command parameters. The parameters required for the above start command. For example: 1d.
    ConfigMapMountDesc string
    ConfigMap mount description.
    Cpu int
    The CPU required for each instance, in millicores, cannot be 0.
    CreateTime string
    Indicates That the Application of the Creation Time.
    CustomHostAlias string
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    EdasContainerVersion string
    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.
    ImageUrl string
    Mirror address. Only Image type applications can configure the mirror address.
    JarStartArgs string
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    JarStartOptions string
    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.
    MinReadyInstances int
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    MountDescs []GetApplicationsApplicationMountDesc
    Mount description information.
    MountHost string
    Mount point of NAS in application VPC.
    NamespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    NasId 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.
    OssAkId string
    OSS AccessKey ID.
    OssAkSecret string
    OSS AccessKey Secret.
    OssMountDescs string
    OSS mount description information.
    OssMountDetails []GetApplicationsApplicationOssMountDetail
    The OSS mount detail.
    PackageType string
    Application package type. Support FatJar, War and Image.
    PackageUrl string
    Deployment package address. Only FatJar or War type applications can configure the deployment package address.
    PackageVersion string
    The version number of the deployment package. Required when the Package Type is War and FatJar.
    PhpArmsConfigLocation string
    The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.
    PhpConfig string
    PHP configuration file content.
    PhpConfigLocation string
    PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
    PostStart string
    Execute the script after startup, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
    PreStop 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}.
    RegionId string
    Replicas int
    Initial number of instances.
    RepoName string
    RepoNamespace string
    RepoOriginType string
    SecurityGroupId string
    Security group ID.
    SlsConfigs string
    SLS configuration.
    Status string
    The status of the resource.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    TerminationGracePeriodSeconds int
    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.
    TomcatConfig 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.
    VpcId 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.
    VswitchId string
    The vswitch id.
    WarStartOptions string
    WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
    WebContainer string
    The version of tomcat that the deployment package depends on. Image type applications are not supported.
    acrAssumeRoleArn String
    The ARN of the RAM role required when pulling images across accounts.
    acrInstanceId String
    The ID of the ACR EE instance.
    appDescription String
    Application description information. No more than 1024 characters.
    appName String
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    applicationId 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.
    commandArgs String
    Mirror startup command parameters. The parameters required for the above start command. For example: 1d.
    configMapMountDesc String
    ConfigMap mount description.
    cpu Integer
    The CPU required for each instance, in millicores, cannot be 0.
    createTime String
    Indicates That the Application of the Creation Time.
    customHostAlias String
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    edasContainerVersion String
    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.
    imageUrl String
    Mirror address. Only Image type applications can configure the mirror address.
    jarStartArgs String
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    jarStartOptions String
    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.
    minReadyInstances Integer
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    mountDescs List<GetApplicationsApplicationMountDesc>
    Mount description information.
    mountHost String
    Mount point of NAS in application VPC.
    namespaceId String
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    nasId 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.
    ossAkId String
    OSS AccessKey ID.
    ossAkSecret String
    OSS AccessKey Secret.
    ossMountDescs String
    OSS mount description information.
    ossMountDetails List<GetApplicationsApplicationOssMountDetail>
    The OSS mount detail.
    packageType String
    Application package type. Support FatJar, War and Image.
    packageUrl String
    Deployment package address. Only FatJar or War type applications can configure the deployment package address.
    packageVersion String
    The version number of the deployment package. Required when the Package Type is War and FatJar.
    phpArmsConfigLocation String
    The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.
    phpConfig String
    PHP configuration file content.
    phpConfigLocation String
    PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
    postStart String
    Execute the script after startup, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
    preStop 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}.
    regionId String
    replicas Integer
    Initial number of instances.
    repoName String
    repoNamespace String
    repoOriginType String
    securityGroupId String
    Security group ID.
    slsConfigs String
    SLS configuration.
    status String
    The status of the resource.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    terminationGracePeriodSeconds Integer
    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.
    tomcatConfig 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.
    vpcId 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.
    vswitchId String
    The vswitch id.
    warStartOptions String
    WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
    webContainer String
    The version of tomcat that the deployment package depends on. Image type applications are not supported.
    acrAssumeRoleArn string
    The ARN of the RAM role required when pulling images across accounts.
    acrInstanceId string
    The ID of the ACR EE instance.
    appDescription string
    Application description information. No more than 1024 characters.
    appName string
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    applicationId 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.
    commandArgs string
    Mirror startup command parameters. The parameters required for the above start command. For example: 1d.
    configMapMountDesc string
    ConfigMap mount description.
    cpu number
    The CPU required for each instance, in millicores, cannot be 0.
    createTime string
    Indicates That the Application of the Creation Time.
    customHostAlias string
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    edasContainerVersion string
    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.
    imageUrl string
    Mirror address. Only Image type applications can configure the mirror address.
    jarStartArgs string
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    jarStartOptions string
    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.
    minReadyInstances number
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    mountDescs GetApplicationsApplicationMountDesc[]
    Mount description information.
    mountHost string
    Mount point of NAS in application VPC.
    namespaceId string
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    nasId 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.
    ossAkId string
    OSS AccessKey ID.
    ossAkSecret string
    OSS AccessKey Secret.
    ossMountDescs string
    OSS mount description information.
    ossMountDetails GetApplicationsApplicationOssMountDetail[]
    The OSS mount detail.
    packageType string
    Application package type. Support FatJar, War and Image.
    packageUrl string
    Deployment package address. Only FatJar or War type applications can configure the deployment package address.
    packageVersion string
    The version number of the deployment package. Required when the Package Type is War and FatJar.
    phpArmsConfigLocation string
    The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.
    phpConfig string
    PHP configuration file content.
    phpConfigLocation string
    PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
    postStart string
    Execute the script after startup, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
    preStop 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}.
    regionId string
    replicas number
    Initial number of instances.
    repoName string
    repoNamespace string
    repoOriginType string
    securityGroupId string
    Security group ID.
    slsConfigs string
    SLS configuration.
    status string
    The status of the resource.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    terminationGracePeriodSeconds number
    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.
    tomcatConfig 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.
    vpcId 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.
    vswitchId string
    The vswitch id.
    warStartOptions string
    WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
    webContainer string
    The version of tomcat that the deployment package depends on. Image type applications are not supported.
    acr_assume_role_arn str
    The ARN of the RAM role required when pulling images across accounts.
    acr_instance_id str
    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_mount_desc str
    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_alias str
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    edas_container_version str
    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_args str
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    jar_start_options str
    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_instances int
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    mount_descs Sequence[GetApplicationsApplicationMountDesc]
    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_id str
    OSS AccessKey ID.
    oss_ak_secret str
    OSS AccessKey Secret.
    oss_mount_descs str
    OSS mount description information.
    oss_mount_details Sequence[GetApplicationsApplicationOssMountDetail]
    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_config_location str
    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_location str
    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_type str
    security_group_id str
    Security group ID.
    sls_configs str
    SLS configuration.
    status str
    The status of the resource.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    termination_grace_period_seconds int
    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_options str
    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.
    acrAssumeRoleArn String
    The ARN of the RAM role required when pulling images across accounts.
    acrInstanceId String
    The ID of the ACR EE instance.
    appDescription String
    Application description information. No more than 1024 characters.
    appName String
    Application Name. Combinations of numbers, letters, and dashes (-) are allowed. It must start with a letter and the maximum length is 36 characters.
    applicationId 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.
    commandArgs String
    Mirror startup command parameters. The parameters required for the above start command. For example: 1d.
    configMapMountDesc String
    ConfigMap mount description.
    cpu Number
    The CPU required for each instance, in millicores, cannot be 0.
    createTime String
    Indicates That the Application of the Creation Time.
    customHostAlias String
    Custom host mapping in the container. For example: [{"hostName":"samplehost","ip":"127.0.0.1"}].
    edasContainerVersion String
    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.
    imageUrl String
    Mirror address. Only Image type applications can configure the mirror address.
    jarStartArgs String
    The JAR package starts application parameters. Application default startup command: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs.
    jarStartOptions String
    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.
    minReadyInstances Number
    The Minimum Available Instance. On the Change Had Promised during the Available Number of Instances to Be.
    mountDescs List<Property Map>
    Mount description information.
    mountHost String
    Mount point of NAS in application VPC.
    namespaceId String
    SAE namespace ID. Only namespaces whose names are lowercase letters and dashes (-) are supported, and must start with a letter. The namespace can be obtained by calling the DescribeNamespaceList interface.
    nasId 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.
    ossAkId String
    OSS AccessKey ID.
    ossAkSecret String
    OSS AccessKey Secret.
    ossMountDescs String
    OSS mount description information.
    ossMountDetails List<Property Map>
    The OSS mount detail.
    packageType String
    Application package type. Support FatJar, War and Image.
    packageUrl String
    Deployment package address. Only FatJar or War type applications can configure the deployment package address.
    packageVersion String
    The version number of the deployment package. Required when the Package Type is War and FatJar.
    phpArmsConfigLocation String
    The PHP application monitors the mount path, and you need to ensure that the PHP server will load the configuration file of this path. You don't need to pay attention to the configuration content, SAE will automatically render the correct configuration file.
    phpConfig String
    PHP configuration file content.
    phpConfigLocation String
    PHP application startup configuration mount path, you need to ensure that the PHP server will start using this configuration file.
    postStart String
    Execute the script after startup, the format is like: {"exec":{"command":["cat","/etc/group"]}}.
    preStop 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}.
    regionId String
    replicas Number
    Initial number of instances.
    repoName String
    repoNamespace String
    repoOriginType String
    securityGroupId String
    Security group ID.
    slsConfigs String
    SLS configuration.
    status String
    The status of the resource.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    terminationGracePeriodSeconds Number
    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.
    tomcatConfig 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.
    vpcId 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.
    vswitchId String
    The vswitch id.
    warStartOptions String
    WAR package launch application option. Application default startup command: java $JAVA_OPTS $CATALINA_OPTS [-Options] org.apache.catalina.startup.Bootstrap "$@" start.
    webContainer String
    The version of tomcat that the deployment package depends on. Image type applications are not supported.

    GetApplicationsApplicationMountDesc

    MountPath string
    Container mount path.
    NasPath string
    NAS relative file directory.
    MountPath string
    Container mount path.
    NasPath string
    NAS relative file directory.
    mountPath String
    Container mount path.
    nasPath String
    NAS relative file directory.
    mountPath string
    Container mount path.
    nasPath string
    NAS relative file directory.
    mount_path str
    Container mount path.
    nas_path str
    NAS relative file directory.
    mountPath String
    Container mount path.
    nasPath String
    NAS relative file directory.

    GetApplicationsApplicationOssMountDetail

    BucketName string
    The name of the bucket.
    BucketPath string
    The path of the bucket.
    MountPath string
    The Container mount path.
    ReadOnly bool
    Whether the container path has readable permission to mount directory resources.
    BucketName string
    The name of the bucket.
    BucketPath string
    The path of the bucket.
    MountPath string
    The Container mount path.
    ReadOnly bool
    Whether the container path has readable permission to mount directory resources.
    bucketName String
    The name of the bucket.
    bucketPath String
    The path of the bucket.
    mountPath String
    The Container mount path.
    readOnly Boolean
    Whether the container path has readable permission to mount directory resources.
    bucketName string
    The name of the bucket.
    bucketPath string
    The path of the bucket.
    mountPath string
    The Container mount path.
    readOnly 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.
    bucketName String
    The name of the bucket.
    bucketPath String
    The path of the bucket.
    mountPath String
    The Container mount path.
    readOnly 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.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi