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

com.aliyun.ens20171110.models.CreateApplicationRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;

import com.aliyun.tea.*;

public class CreateApplicationRequest extends TeaModel {
    /**
     * 

The edge application template. The value must be a JSON string that contains the following information:

*
    *
  • Basic information such as the name of the application
  • *
  • Information such as resource specifications and network security configurations
  • *
  • Service specifications
  • *
  • Required resources
  • *
*

This parameter is required.

* * example: *

{\"appMetaData\":{ \"appName\":\"nginx\", \"clusterName\":\"poc\", \"appType\":\"Common\", \"description\":\"test\" }, \"resourceAttribute\":{ \"resourceType\":\"\", \"instanceSpec\":\"ens.sn1.tiny\", \"systemDiskSize\":20, \"dataDiskSize\":0, \"bandwithOut\":10, \"areaLevel\":\"National\", \"netSecurityStrategy\":null, \"initConfig\":null }, \"resourceSelector\":[ { \"count\":1 } ], \"workload\":[ { \"podCount\":1, \"serviceConfig\":null, \"name\":\"nginx\", \"podSpec\":{ \"containers\":[ { \"name\":\"android\", \"image\":\"edge-registry.alicdn.com/test/nginx\" } ] }, \"count\":1 } ]}

*/ @NameInMap("Template") public String template; /** *

The timeout period for asynchronous processing. Unit: seconds. Default value: 1800.

* * example: *

1800

*/ @NameInMap("Timeout") public Integer timeout; public static CreateApplicationRequest build(java.util.Map map) throws Exception { CreateApplicationRequest self = new CreateApplicationRequest(); return TeaModel.build(map, self); } public CreateApplicationRequest setTemplate(String template) { this.template = template; return this; } public String getTemplate() { return this.template; } public CreateApplicationRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy