1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. edas
  5. K8sApplication
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.edas.K8sApplication

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Create an EDAS k8s application.For information about EDAS K8s Application and how to use it, see What is EDAS K8s Application.

    NOTE: Available since v1.105.0.

    Create K8sApplication Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new K8sApplication(name: string, args: K8sApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def K8sApplication(resource_name: str,
                       args: K8sApplicationArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def K8sApplication(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cluster_id: Optional[str] = None,
                       application_name: Optional[str] = None,
                       limit_mem: Optional[int] = None,
                       envs: Optional[Mapping[str, str]] = None,
                       local_volume: Optional[str] = None,
                       edas_container_version: Optional[str] = None,
                       logical_region_id: Optional[str] = None,
                       image_url: Optional[str] = None,
                       internet_slb_id: Optional[str] = None,
                       internet_slb_port: Optional[int] = None,
                       internet_slb_protocol: Optional[str] = None,
                       internet_target_port: Optional[int] = None,
                       jdk: Optional[str] = None,
                       mount_descs: Optional[str] = None,
                       application_descriotion: Optional[str] = None,
                       liveness: Optional[str] = None,
                       command_args: Optional[Sequence[str]] = None,
                       command: Optional[str] = None,
                       limit_m_cpu: Optional[int] = None,
                       namespace: Optional[str] = None,
                       nas_id: Optional[str] = None,
                       package_type: Optional[str] = None,
                       package_url: Optional[str] = None,
                       package_version: Optional[str] = None,
                       post_start: Optional[str] = None,
                       pre_stop: Optional[str] = None,
                       readiness: Optional[str] = None,
                       replicas: Optional[int] = None,
                       requests_m_cpu: Optional[int] = None,
                       requests_mem: Optional[int] = None,
                       web_container: Optional[str] = None)
    func NewK8sApplication(ctx *Context, name string, args K8sApplicationArgs, opts ...ResourceOption) (*K8sApplication, error)
    public K8sApplication(string name, K8sApplicationArgs args, CustomResourceOptions? opts = null)
    public K8sApplication(String name, K8sApplicationArgs args)
    public K8sApplication(String name, K8sApplicationArgs args, CustomResourceOptions options)
    
    type: alicloud:edas:K8sApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args K8sApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args K8sApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args K8sApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args K8sApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args K8sApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var k8sApplicationResource = new AliCloud.Edas.K8sApplication("k8sApplicationResource", new()
    {
        ClusterId = "string",
        ApplicationName = "string",
        LimitMem = 0,
        Envs = 
        {
            { "string", "string" },
        },
        LocalVolume = "string",
        EdasContainerVersion = "string",
        LogicalRegionId = "string",
        ImageUrl = "string",
        Jdk = "string",
        MountDescs = "string",
        ApplicationDescriotion = "string",
        Liveness = "string",
        CommandArgs = new[]
        {
            "string",
        },
        Command = "string",
        LimitMCpu = 0,
        Namespace = "string",
        NasId = "string",
        PackageType = "string",
        PackageUrl = "string",
        PackageVersion = "string",
        PostStart = "string",
        PreStop = "string",
        Readiness = "string",
        Replicas = 0,
        RequestsMCpu = 0,
        RequestsMem = 0,
        WebContainer = "string",
    });
    
    example, err := edas.NewK8sApplication(ctx, "k8sApplicationResource", &edas.K8sApplicationArgs{
    	ClusterId:       pulumi.String("string"),
    	ApplicationName: pulumi.String("string"),
    	LimitMem:        pulumi.Int(0),
    	Envs: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LocalVolume:            pulumi.String("string"),
    	EdasContainerVersion:   pulumi.String("string"),
    	LogicalRegionId:        pulumi.String("string"),
    	ImageUrl:               pulumi.String("string"),
    	Jdk:                    pulumi.String("string"),
    	MountDescs:             pulumi.String("string"),
    	ApplicationDescriotion: pulumi.String("string"),
    	Liveness:               pulumi.String("string"),
    	CommandArgs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Command:        pulumi.String("string"),
    	LimitMCpu:      pulumi.Int(0),
    	Namespace:      pulumi.String("string"),
    	NasId:          pulumi.String("string"),
    	PackageType:    pulumi.String("string"),
    	PackageUrl:     pulumi.String("string"),
    	PackageVersion: pulumi.String("string"),
    	PostStart:      pulumi.String("string"),
    	PreStop:        pulumi.String("string"),
    	Readiness:      pulumi.String("string"),
    	Replicas:       pulumi.Int(0),
    	RequestsMCpu:   pulumi.Int(0),
    	RequestsMem:    pulumi.Int(0),
    	WebContainer:   pulumi.String("string"),
    })
    
    var k8sApplicationResource = new K8sApplication("k8sApplicationResource", K8sApplicationArgs.builder()
        .clusterId("string")
        .applicationName("string")
        .limitMem(0)
        .envs(Map.of("string", "string"))
        .localVolume("string")
        .edasContainerVersion("string")
        .logicalRegionId("string")
        .imageUrl("string")
        .jdk("string")
        .mountDescs("string")
        .applicationDescriotion("string")
        .liveness("string")
        .commandArgs("string")
        .command("string")
        .limitMCpu(0)
        .namespace("string")
        .nasId("string")
        .packageType("string")
        .packageUrl("string")
        .packageVersion("string")
        .postStart("string")
        .preStop("string")
        .readiness("string")
        .replicas(0)
        .requestsMCpu(0)
        .requestsMem(0)
        .webContainer("string")
        .build());
    
    k8s_application_resource = alicloud.edas.K8sApplication("k8sApplicationResource",
        cluster_id="string",
        application_name="string",
        limit_mem=0,
        envs={
            "string": "string",
        },
        local_volume="string",
        edas_container_version="string",
        logical_region_id="string",
        image_url="string",
        jdk="string",
        mount_descs="string",
        application_descriotion="string",
        liveness="string",
        command_args=["string"],
        command="string",
        limit_m_cpu=0,
        namespace="string",
        nas_id="string",
        package_type="string",
        package_url="string",
        package_version="string",
        post_start="string",
        pre_stop="string",
        readiness="string",
        replicas=0,
        requests_m_cpu=0,
        requests_mem=0,
        web_container="string")
    
    const k8sApplicationResource = new alicloud.edas.K8sApplication("k8sApplicationResource", {
        clusterId: "string",
        applicationName: "string",
        limitMem: 0,
        envs: {
            string: "string",
        },
        localVolume: "string",
        edasContainerVersion: "string",
        logicalRegionId: "string",
        imageUrl: "string",
        jdk: "string",
        mountDescs: "string",
        applicationDescriotion: "string",
        liveness: "string",
        commandArgs: ["string"],
        command: "string",
        limitMCpu: 0,
        namespace: "string",
        nasId: "string",
        packageType: "string",
        packageUrl: "string",
        packageVersion: "string",
        postStart: "string",
        preStop: "string",
        readiness: "string",
        replicas: 0,
        requestsMCpu: 0,
        requestsMem: 0,
        webContainer: "string",
    });
    
    type: alicloud:edas:K8sApplication
    properties:
        applicationDescriotion: string
        applicationName: string
        clusterId: string
        command: string
        commandArgs:
            - string
        edasContainerVersion: string
        envs:
            string: string
        imageUrl: string
        jdk: string
        limitMCpu: 0
        limitMem: 0
        liveness: string
        localVolume: string
        logicalRegionId: string
        mountDescs: string
        namespace: string
        nasId: string
        packageType: string
        packageUrl: string
        packageVersion: string
        postStart: string
        preStop: string
        readiness: string
        replicas: 0
        requestsMCpu: 0
        requestsMem: 0
        webContainer: string
    

    K8sApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The K8sApplication resource accepts the following input properties:

    ApplicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    ClusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    ApplicationDescriotion string
    The description of the application
    Command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    CommandArgs List<string>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    EdasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    Envs Dictionary<string, string>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    ImageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    InternetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbPort int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetTargetPort int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    Jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    LimitMCpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    LimitMem int
    The memory limit of the application instance during application operation, unit: M.
    Liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    LocalVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    LogicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    MountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    Namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    NasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    PackageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    PackageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    PackageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    PostStart string
    Execute script after startup
    PreStop string
    Execute script before stopping
    Readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    Replicas int
    Number of application instances.
    RequestsMCpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    RequestsMem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    WebContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    ApplicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    ClusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    ApplicationDescriotion string
    The description of the application
    Command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    CommandArgs []string
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    EdasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    Envs map[string]string
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    ImageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    InternetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbPort int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetTargetPort int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    Jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    LimitMCpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    LimitMem int
    The memory limit of the application instance during application operation, unit: M.
    Liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    LocalVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    LogicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    MountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    Namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    NasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    PackageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    PackageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    PackageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    PostStart string
    Execute script after startup
    PreStop string
    Execute script before stopping
    Readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    Replicas int
    Number of application instances.
    RequestsMCpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    RequestsMem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    WebContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationName String
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId String
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    applicationDescriotion String
    The description of the application
    command String
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs List<String>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion String
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Map<String,String>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl String
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId String
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort Integer
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol String
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort Integer
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk String
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu Integer
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem Integer
    The memory limit of the application instance during application operation, unit: M.
    liveness String
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume String
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId String
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs String
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace String
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId String
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType String
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl String
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion String
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart String
    Execute script after startup
    preStop String
    Execute script before stopping
    readiness String
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas Integer
    Number of application instances.
    requestsMCpu Integer
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem Integer
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer String
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    applicationDescriotion string
    The description of the application
    command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs string[]
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs {[key: string]: string}
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort number
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort number
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu number
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem number
    The memory limit of the application instance during application operation, unit: M.
    liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart string
    Execute script after startup
    preStop string
    Execute script before stopping
    readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas number
    Number of application instances.
    requestsMCpu number
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem number
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    application_name str
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    cluster_id str
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    application_descriotion str
    The description of the application
    command str
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    command_args Sequence[str]
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edas_container_version str
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Mapping[str, str]
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    image_url str
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internet_slb_id str
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_slb_port int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_slb_protocol str
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_target_port int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk str
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limit_m_cpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limit_mem int
    The memory limit of the application instance during application operation, unit: M.
    liveness str
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    local_volume str
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logical_region_id str
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mount_descs str
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace str
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nas_id str
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    package_type str
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    package_url str
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    package_version str
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    post_start str
    Execute script after startup
    pre_stop str
    Execute script before stopping
    readiness str
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas int
    Number of application instances.
    requests_m_cpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requests_mem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    web_container str
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationName String
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId String
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    applicationDescriotion String
    The description of the application
    command String
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs List<String>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion String
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Map<String>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl String
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId String
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort Number
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol String
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort Number
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk String
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu Number
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem Number
    The memory limit of the application instance during application operation, unit: M.
    liveness String
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume String
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId String
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs String
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace String
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId String
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType String
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl String
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion String
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart String
    Execute script after startup
    preStop String
    Execute script before stopping
    readiness String
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas Number
    Number of application instances.
    requestsMCpu Number
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem Number
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer String
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the K8sApplication resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing K8sApplication Resource

    Get an existing K8sApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: K8sApplicationState, opts?: CustomResourceOptions): K8sApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_descriotion: Optional[str] = None,
            application_name: Optional[str] = None,
            cluster_id: Optional[str] = None,
            command: Optional[str] = None,
            command_args: Optional[Sequence[str]] = None,
            edas_container_version: Optional[str] = None,
            envs: Optional[Mapping[str, str]] = None,
            image_url: Optional[str] = None,
            internet_slb_id: Optional[str] = None,
            internet_slb_port: Optional[int] = None,
            internet_slb_protocol: Optional[str] = None,
            internet_target_port: Optional[int] = None,
            jdk: Optional[str] = None,
            limit_m_cpu: Optional[int] = None,
            limit_mem: Optional[int] = None,
            liveness: Optional[str] = None,
            local_volume: Optional[str] = None,
            logical_region_id: Optional[str] = None,
            mount_descs: Optional[str] = None,
            namespace: Optional[str] = None,
            nas_id: Optional[str] = None,
            package_type: Optional[str] = None,
            package_url: Optional[str] = None,
            package_version: Optional[str] = None,
            post_start: Optional[str] = None,
            pre_stop: Optional[str] = None,
            readiness: Optional[str] = None,
            replicas: Optional[int] = None,
            requests_m_cpu: Optional[int] = None,
            requests_mem: Optional[int] = None,
            web_container: Optional[str] = None) -> K8sApplication
    func GetK8sApplication(ctx *Context, name string, id IDInput, state *K8sApplicationState, opts ...ResourceOption) (*K8sApplication, error)
    public static K8sApplication Get(string name, Input<string> id, K8sApplicationState? state, CustomResourceOptions? opts = null)
    public static K8sApplication get(String name, Output<String> id, K8sApplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationDescriotion string
    The description of the application
    ApplicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    ClusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    Command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    CommandArgs List<string>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    EdasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    Envs Dictionary<string, string>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    ImageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    InternetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbPort int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetTargetPort int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    Jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    LimitMCpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    LimitMem int
    The memory limit of the application instance during application operation, unit: M.
    Liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    LocalVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    LogicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    MountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    Namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    NasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    PackageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    PackageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    PackageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    PostStart string
    Execute script after startup
    PreStop string
    Execute script before stopping
    Readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    Replicas int
    Number of application instances.
    RequestsMCpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    RequestsMem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    WebContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    ApplicationDescriotion string
    The description of the application
    ApplicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    ClusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    Command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    CommandArgs []string
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    EdasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    Envs map[string]string
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    ImageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    InternetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbPort int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    InternetTargetPort int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    Jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    LimitMCpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    LimitMem int
    The memory limit of the application instance during application operation, unit: M.
    Liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    LocalVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    LogicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    MountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    Namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    NasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    PackageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    PackageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    PackageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    PostStart string
    Execute script after startup
    PreStop string
    Execute script before stopping
    Readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    Replicas int
    Number of application instances.
    RequestsMCpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    RequestsMem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    WebContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationDescriotion String
    The description of the application
    applicationName String
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId String
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    command String
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs List<String>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion String
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Map<String,String>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl String
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId String
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort Integer
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol String
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort Integer
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk String
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu Integer
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem Integer
    The memory limit of the application instance during application operation, unit: M.
    liveness String
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume String
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId String
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs String
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace String
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId String
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType String
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl String
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion String
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart String
    Execute script after startup
    preStop String
    Execute script before stopping
    readiness String
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas Integer
    Number of application instances.
    requestsMCpu Integer
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem Integer
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer String
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationDescriotion string
    The description of the application
    applicationName string
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId string
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    command string
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs string[]
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion string
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs {[key: string]: string}
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl string
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId string
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort number
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol string
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort number
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk string
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu number
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem number
    The memory limit of the application instance during application operation, unit: M.
    liveness string
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume string
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId string
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs string
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace string
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId string
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType string
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl string
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion string
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart string
    Execute script after startup
    preStop string
    Execute script before stopping
    readiness string
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas number
    Number of application instances.
    requestsMCpu number
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem number
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer string
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    application_descriotion str
    The description of the application
    application_name str
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    cluster_id str
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    command str
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    command_args Sequence[str]
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edas_container_version str
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Mapping[str, str]
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    image_url str
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internet_slb_id str
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_slb_port int
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_slb_protocol str
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internet_target_port int
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk str
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limit_m_cpu int
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limit_mem int
    The memory limit of the application instance during application operation, unit: M.
    liveness str
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    local_volume str
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logical_region_id str
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mount_descs str
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace str
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nas_id str
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    package_type str
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    package_url str
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    package_version str
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    post_start str
    Execute script after startup
    pre_stop str
    Execute script before stopping
    readiness str
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas int
    Number of application instances.
    requests_m_cpu int
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requests_mem int
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    web_container str
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
    applicationDescriotion String
    The description of the application
    applicationName String
    The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
    clusterId String
    The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
    command String
    The set command, if set, will replace the startup command in the mirror when the mirror is started.
    commandArgs List<String>
    Used in combination with the command, the parameter of the command is a JsonArray string in the format: [{"argument":"-c"},{"argument":"test"}]. Among them, -c and test are two parameters that need to be set.
    edasContainerVersion String
    EDAS-Container version that the deployed package depends on. Image does not support this parameter.
    envs Map<String>
    Deployment environment variables, the format must conform to the JSON object array, such as: {"name":"x","value":"y"},{"name":"x2","value":"y2"}, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
    imageUrl String
    Mirror address. When the package_type is set to 'Image', this parameter item is required.
    internetSlbId String
    Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbPort Number
    The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetSlbProtocol String
    The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    internetTargetPort Number
    The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.

    Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

    jdk String
    The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
    limitMCpu Number
    The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
    limitMem Number
    The memory limit of the application instance during application operation, unit: M.
    liveness String
    Container survival status monitoring, format such as: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }.
    localVolume String
    The configuration of the host file mounted to the container. For example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
    logicalRegionId String
    The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
    mountDescs String
    Mount configuration description, as a serialized JSON. For example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
    namespace String
    The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
    nasId String
    The 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 exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
    packageType String
    Application package type. Optional parameter values include: FatJar, WAR and Image.
    packageUrl String
    The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
    packageVersion String
    The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
    postStart String
    Execute script after startup
    preStop String
    Execute script before stopping
    readiness String
    Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}.
    replicas Number
    Number of application instances.
    requestsMCpu Number
    When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
    requestsMem Number
    When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
    webContainer String
    The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.

    Import

    EDAS k8s application can be imported as below, e.g.

    $ pulumi import alicloud:edas/k8sApplication:K8sApplication new_k8s_application application_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi