com.aliyun.cs20151215.models.DescribeClusterAddonMetadataResponseBody Maven / Gradle / Ivy
Show all versions of cs20151215 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class DescribeClusterAddonMetadataResponseBody extends TeaModel {
/**
* The component schema parameters.
*
* example:
* {\n \"$schema\": \"https://json-schema.org/draft-07/schema#\\",\\n \"properties\": {\n \"controller\": {\n \"description\": \"\",\n \"properties\": {\n \"resources\": {\n \"properties\": {\n \"armsPrometheusOperator\": {\n \"properties\": {\n \"resources\": {\n \"properties\": {\n \"limits\": {\n \"properties\": {\n \"memory\": {\n \"description\": \"memory limit of arms prometheus operator\",\n \"type\": \"string\",\n \"pattern\": \"^[1-9][0-9](\\\\.\\\\d+)?(K|Ki|M|Mi|G|Gi|T|Ti)?$\",\n \"default\": \"500m\",\n \"x-ui-description\": \"\",\n \"x-ui-prompt-message\": \"\",\n \"x-ui-validation-message\": \"\",\n \"x-ui-additional-tips\": \"\"\n },\n \"cpu\": {\n \"description\": \"cpu limit of arms prometheus operator\",\n \"type\": \"string\",\n \"pattern\": \"^[1-9][0-9] (m|\\\\.\\\\d+)?$\",\n \"default\": \"1.0\",\n \"x-ui-description\": \"\",\n \"x-ui-validation-message\": \"\"\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n },\n \"requests\": {\n \"properties\": {\n \"memory\": {\n \"description\": \"memory request of arms prometheus operator\",\n \"type\": \"string\",\n \"pattern\": \"^[1-9][0-9](\\\\.\\\\d+)?(K|Ki|M|Mi|G|Gi|T|Ti)?$\",\n \"default\": \"500m\",\n \"x-ui-description\": \"\",\n \"x-ui-validation-message\": \"\"\n },\n \"cpu\": {\n \"description\": \"cpu request of arms prometheus operator\",\n \"type\": \"string\",\n \"pattern\": \"^[1-9][0-9] (m|\\\\.\\\\d+)?$\",\n \"default\": \"1.0\",\n \"x-ui-description\": \"\",\n \"x-ui-validation-message\": \"\"\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n }\n },\n \"type\": \"object\",\n \"additionalProperties\": false\n }\n },\n \"title\": \"Values\",\n \"type\": \"object\",\n \"additionalProperties\": false\n}
*/
@NameInMap("config_schema")
public String configSchema;
/**
* The component name.
*
* example:
* coredns
*/
@NameInMap("name")
public String name;
/**
* The component version.
*
* example:
* 1.8.4.1
*/
@NameInMap("version")
public String version;
public static DescribeClusterAddonMetadataResponseBody build(java.util.Map map) throws Exception {
DescribeClusterAddonMetadataResponseBody self = new DescribeClusterAddonMetadataResponseBody();
return TeaModel.build(map, self);
}
public DescribeClusterAddonMetadataResponseBody setConfigSchema(String configSchema) {
this.configSchema = configSchema;
return this;
}
public String getConfigSchema() {
return this.configSchema;
}
public DescribeClusterAddonMetadataResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeClusterAddonMetadataResponseBody setVersion(String version) {
this.version = version;
return this;
}
public String getVersion() {
return this.version;
}
}