All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.bean.config.ToolkitCreateConfig Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 1.1.9
Show newest version
package com.aliyun.bean.config;

import com.aliyun.bean.common.OssProfile;
import com.aliyun.enums.Constants;
import lombok.Data;

/**
 * Describe about application creation. In this bean, we define following entities:
 * apiVersion: xxx
 * kind: AppCreation
 * metadata: xxx
 * spec:
 *   type: serverless | edas_ecs | edas_kubernetes | edas_swam | webx
 *   xxx
 *
 * @author nahai
 */
@Data
public class ToolkitCreateConfig {
    private String apiVersion = Constants.V1;;
    private String kind;
    private String metadata;
    private Spec spec;

    @Data
    public static class Spec {
        private String type;

        //type: serverless
        private String appName;
        private String namespaceId;
        private String appDescription;
        private String vpcId;
        private String vswitchId;
        private Integer cpu;
        private Integer memory;
        private Integer replicas;
        private Boolean withDeploy;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy