com.aliyun.ess20220222.models.DescribeEciScalingConfigurationDetailResponseBody Maven / Gradle / Ivy
Show all versions of ess20220222 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ess20220222.models;
import com.aliyun.tea.*;
public class DescribeEciScalingConfigurationDetailResponseBody extends TeaModel {
/**
* The YAML output of the scaling configuration.
*
* example:
* apiVersion: apps/v1
* kind: Deployment
* metadata:
* name: nginx-deployment
* labels:
* app: nginx
* spec:
* replicas: 3
* selector:
* matchLabels:
* app: nginx
* template:
* metadata:
* labels:
* app: nginx
* annotations:
* k8s.aliyun.com/eip-bandwidth: 10
* k8s.aliyun.com/eci-with-eip: true
* spec:
* containers:
* - name: nginx
* image: nginx:1.14.2
* ports:
* - containerPort: 80
*/
@NameInMap("Output")
public String output;
/**
* The request ID.
*
* example:
* 6EF9BFEE-FE07-4627-B8FB-14326FB9****
*/
@NameInMap("RequestId")
public String requestId;
/**
* The information about the scaling configuration.
*/
@NameInMap("ScalingConfiguration")
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration scalingConfiguration;
public static DescribeEciScalingConfigurationDetailResponseBody build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBody self = new DescribeEciScalingConfigurationDetailResponseBody();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBody setOutput(String output) {
this.output = output;
return this;
}
public String getOutput() {
return this.output;
}
public DescribeEciScalingConfigurationDetailResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeEciScalingConfigurationDetailResponseBody setScalingConfiguration(DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration scalingConfiguration) {
this.scalingConfiguration = scalingConfiguration;
return this;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration getScalingConfiguration() {
return this.scalingConfiguration;
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos extends TeaModel {
/**
* The domain names of the Container Registry Enterprise Edition instance. By default, all domain names of the instance are displayed. Multiple domain names are separated by commas (,).
*/
@NameInMap("Domains")
public java.util.List domains;
/**
* The ID of the Container Registry Enterprise Edition instance.
*
* example:
* cri-nwj395hgf6f3****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The name of the Container Registry Enterprise Edition instance.
*
* example:
* acr-test
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* The region ID of the Container Registry Enterprise Edition instance.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos setDomains(java.util.List domains) {
this.domains = domains;
return this;
}
public java.util.List getDomains() {
return this.domains;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars extends TeaModel {
/**
*
* This parameter is not available for use.
*
*
* example:
* fieldPath
*/
@NameInMap("FieldRefFieldPath")
public String fieldRefFieldPath;
/**
* The name of the environment variable.
*
* example:
* PATH
*/
@NameInMap("Key")
public String key;
/**
* The value of the environment variable.
*
* example:
* /usr/bin/
*/
@NameInMap("Value")
public String value;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars setFieldRefFieldPath(String fieldRefFieldPath) {
this.fieldRefFieldPath = fieldRefFieldPath;
return this;
}
public String getFieldRefFieldPath() {
return this.fieldRefFieldPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts extends TeaModel {
/**
* The port number. Valid values: 1 to 65535.
*
* example:
* 8083
*/
@NameInMap("Port")
public Integer port;
/**
* The protocol type. Valid values:
*
* - TCP
* - UDP
*
*
* example:
* TCP
*/
@NameInMap("Protocol")
public String protocol;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts setPort(Integer port) {
this.port = port;
return this;
}
public Integer getPort() {
return this.port;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts setProtocol(String protocol) {
this.protocol = protocol;
return this;
}
public String getProtocol() {
return this.protocol;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts extends TeaModel {
/**
* The directory in which the container mounts the volume.
*
* Data in this directory is overwritten by the data on the volume. Proceed with caution if you specify this parameter.
*
*
* example:
* /pod/data
*/
@NameInMap("MountPath")
public String mountPath;
/**
* The mount propagation setting of the volume. Mount propagation enables volumes mounted on one container to be shared among other containers within the same pod or across distinct pods residing on the same node. Valid values:
*
* - None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the already established volume mount.
* - HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount.
* - Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. In addition, any volume mounts executed on the container not only propagate back to the underlying host but also to all containers across every pod that uses the same volume.
*
* Default value: None.
*
* example:
* None
*/
@NameInMap("MountPropagation")
public String mountPropagation;
/**
* The volume name.
*
* example:
* default-volume1
*/
@NameInMap("Name")
public String name;
/**
* Indicates whether the volume is read-only.
* Default value: false.
*
* example:
* true
*/
@NameInMap("ReadOnly")
public Boolean readOnly;
/**
* The subdirectory of the volume.
*
* example:
* data2/
*/
@NameInMap("SubPath")
public String subPath;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts setMountPath(String mountPath) {
this.mountPath = mountPath;
return this;
}
public String getMountPath() {
return this.mountPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts setMountPropagation(String mountPropagation) {
this.mountPropagation = mountPropagation;
return this;
}
public String getMountPropagation() {
return this.mountPropagation;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public Boolean getReadOnly() {
return this.readOnly;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts setSubPath(String subPath) {
this.subPath = subPath;
return this;
}
public String getSubPath() {
return this.subPath;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers extends TeaModel {
/**
* The arguments that are passed to the container startup commands.
*/
@NameInMap("Args")
public java.util.List args;
/**
* The container startup commands.
*/
@NameInMap("Commands")
public java.util.List commands;
/**
* The number of vCPUs that are allocated to the elastic container instance.
*
* example:
* 2
*/
@NameInMap("Cpu")
public Float cpu;
/**
* The environment variables.
*/
@NameInMap("EnvironmentVars")
public java.util.List environmentVars;
/**
* The number of GPUs.
*
* example:
* 2
*/
@NameInMap("Gpu")
public Integer gpu;
/**
* The container image.
*
* example:
* registry-vpc.aliyuncs.com/eci_open/alpine:3.5
*/
@NameInMap("Image")
public String image;
/**
* The image pulling policy.
*
* example:
* Always
*/
@NameInMap("ImagePullPolicy")
public String imagePullPolicy;
/**
* The commands that are run by using a CLI for configuring the postStart callback function within the container.
*/
@NameInMap("LifecyclePostStartHandlerExecs")
public java.util.List lifecyclePostStartHandlerExecs;
/**
* The IP address of the host to the HTTP GET requests for configuring the postStart callback function are sent.
*
* example:
* 10.0.XX.XX
*/
@NameInMap("LifecyclePostStartHandlerHttpGetHost")
public String lifecyclePostStartHandlerHttpGetHost;
/**
* The path to the HTTP GET requests for configuring the postStart callback function are sent.
*
* example:
* /healthyz
*/
@NameInMap("LifecyclePostStartHandlerHttpGetPath")
public String lifecyclePostStartHandlerHttpGetPath;
/**
* The port over which the HTTP GET requests for configuring the postStart callback function are sent.
*
* example:
* 80
*/
@NameInMap("LifecyclePostStartHandlerHttpGetPort")
public Integer lifecyclePostStartHandlerHttpGetPort;
/**
* The protocol type of the HTTP Get requests that are used for configuring the postStart callback function.
*
* example:
* HTTP
*/
@NameInMap("LifecyclePostStartHandlerHttpGetScheme")
public String lifecyclePostStartHandlerHttpGetScheme;
/**
* The IP address of the host detected by the TCP sockets that are used for configuring the postStart callback function.
*
* example:
* 10.0.XX.XX
*/
@NameInMap("LifecyclePostStartHandlerTcpSocketHost")
public String lifecyclePostStartHandlerTcpSocketHost;
/**
* The port detected by the TCP sockets that are used for configuring the postStart callback function.
*
* example:
* 80
*/
@NameInMap("LifecyclePostStartHandlerTcpSocketPort")
public Integer lifecyclePostStartHandlerTcpSocketPort;
/**
* The commands that are run by using a CLI for configuring the preStop callback function within the container.
*/
@NameInMap("LifecyclePreStopHandlerExecs")
public java.util.List lifecyclePreStopHandlerExecs;
/**
* The IP address of the host to which the HTTP GET requests for configuring the preStop callback function are sent.
*
* example:
* 10.0.XX.XX
*/
@NameInMap("LifecyclePreStopHandlerHttpGetHost")
public String lifecyclePreStopHandlerHttpGetHost;
/**
* The path to which the HTTP GET requests for configuring the preStop callback function are sent.
*
* example:
* /healthyz
*/
@NameInMap("LifecyclePreStopHandlerHttpGetPath")
public String lifecyclePreStopHandlerHttpGetPath;
/**
* The port over which the HTTP GET requests for configuring the preStop callback function are sent.
*
* example:
* 80
*/
@NameInMap("LifecyclePreStopHandlerHttpGetPort")
public Integer lifecyclePreStopHandlerHttpGetPort;
/**
* The protocol type of the HTTP Get requests that are used for configuring the preStop callback function.
*
* example:
* HTTP
*/
@NameInMap("LifecyclePreStopHandlerHttpGetScheme")
public String lifecyclePreStopHandlerHttpGetScheme;
/**
* The IP address of the host detected by the TCP sockets that are used for configuring the preStop callback function.
*
* example:
* 10.0.XX.XX
*/
@NameInMap("LifecyclePreStopHandlerTcpSocketHost")
public String lifecyclePreStopHandlerTcpSocketHost;
/**
* The port detected by the TCP sockets that are used for configuring the preStop callback function.
*
* example:
* 80
*/
@NameInMap("LifecyclePreStopHandlerTcpSocketPort")
public Integer lifecyclePreStopHandlerTcpSocketPort;
/**
* The commands that are run in the container when you use a CLI to perform liveness probes.
*/
@NameInMap("LivenessProbeExecCommands")
public java.util.List livenessProbeExecCommands;
/**
* The minimum number of consecutive failures before a successful liveness probe is considered failed.
* Default value: 3.
*
* example:
* 3
*/
@NameInMap("LivenessProbeFailureThreshold")
public Integer livenessProbeFailureThreshold;
/**
* The path to which HTTP Get requests are sent when you use the HTTP requests to perform liveness probes.
*
* example:
* /usr/nginx/
*/
@NameInMap("LivenessProbeHttpGetPath")
public String livenessProbeHttpGetPath;
/**
* The port detected by HTTP Get requests when you use the HTTP requests to perform liveness probes.
*
* example:
* 8080
*/
@NameInMap("LivenessProbeHttpGetPort")
public Integer livenessProbeHttpGetPort;
/**
* The protocol type of HTTP GET requests when you use the HTTP requests to perform liveness probes. Valid values:
*
* - HTTP
* - HTTPS
*
*
* example:
* HTTP
*/
@NameInMap("LivenessProbeHttpGetScheme")
public String livenessProbeHttpGetScheme;
/**
* The number of seconds that elapses from the startup of the container to the start time of a liveness probe.
*
* example:
* 10
*/
@NameInMap("LivenessProbeInitialDelaySeconds")
public Integer livenessProbeInitialDelaySeconds;
/**
* The interval at which liveness probes are performed. Unit: seconds. Default value: 10. Minimum value: 1.
*
* example:
* 5
*/
@NameInMap("LivenessProbePeriodSeconds")
public Integer livenessProbePeriodSeconds;
/**
* The minimum number of consecutive successes before a failed liveness probe is considered successful. Default value: 1. Valid value: 1.
*
* example:
* 1
*/
@NameInMap("LivenessProbeSuccessThreshold")
public Integer livenessProbeSuccessThreshold;
/**
* The port detected by TCP sockets when you use the TCP sockets to perform liveness probes.
*
* example:
* 80
*/
@NameInMap("LivenessProbeTcpSocketPort")
public Integer livenessProbeTcpSocketPort;
/**
* The timeout period of a liveness probe. Default value: 1. Minimum value: 1. Unit: seconds.
*
* example:
* 10
*/
@NameInMap("LivenessProbeTimeoutSeconds")
public Integer livenessProbeTimeoutSeconds;
/**
* The memory size.
*
* example:
* 2.0
*/
@NameInMap("Memory")
public Float memory;
/**
* The container name.
*
* example:
* nginx
*/
@NameInMap("Name")
public String name;
/**
* The exposed ports and protocols.
*/
@NameInMap("Ports")
public java.util.List ports;
/**
* The commands that are run in the container when you use a CLI to perform readiness probes.
*/
@NameInMap("ReadinessProbeExecCommands")
public java.util.List readinessProbeExecCommands;
/**
* The minimum number of consecutive failures before a successful readiness probe is considered failed.
* Default value: 3.
*
* example:
* 3
*/
@NameInMap("ReadinessProbeFailureThreshold")
public Integer readinessProbeFailureThreshold;
/**
* The path to which HTTP Get requests are sent when you use the HTTP requests to perform readiness probes.
*
* example:
* /usr/local
*/
@NameInMap("ReadinessProbeHttpGetPath")
public String readinessProbeHttpGetPath;
/**
* The path to which HTTP Get requests are sent when you use the HTTP Get requests to perform readiness probes.
*
* example:
* 80
*/
@NameInMap("ReadinessProbeHttpGetPort")
public Integer readinessProbeHttpGetPort;
/**
* The protocol type of HTTP GET requests when you use the HTTP requests to perform readiness probes. Valid values:
*
* - HTTP
* - HTTPS
*
*
* example:
* HTTP
*/
@NameInMap("ReadinessProbeHttpGetScheme")
public String readinessProbeHttpGetScheme;
/**
* The number of seconds that elapses from the startup of the container to the start time of a readiness probe.
*
* example:
* 5
*/
@NameInMap("ReadinessProbeInitialDelaySeconds")
public Integer readinessProbeInitialDelaySeconds;
/**
* The interval at which readiness probes are performed. Unit: seconds. Default value: 10. Minimum value: 1.
*
* example:
* 5
*/
@NameInMap("ReadinessProbePeriodSeconds")
public Integer readinessProbePeriodSeconds;
/**
* The minimum number of consecutive successes before a failed readiness probe is considered successful. Default value: 1. Valid value: 1.
*
* example:
* 1
*/
@NameInMap("ReadinessProbeSuccessThreshold")
public Integer readinessProbeSuccessThreshold;
/**
* The port detected by TCP sockets when you use the TCP sockets to perform readiness probes.
*
* example:
* 80
*/
@NameInMap("ReadinessProbeTcpSocketPort")
public Integer readinessProbeTcpSocketPort;
/**
* The timeout period of a readiness probe. Default value: 1. Minimum value: 1. Unit: seconds.
*
* example:
* 5
*/
@NameInMap("ReadinessProbeTimeoutSeconds")
public Integer readinessProbeTimeoutSeconds;
/**
* The permissions that are granted to the processes in the container. Valid values: NET_ADMIN and NET_RAW.
*/
@NameInMap("SecurityContextCapabilityAdds")
public java.util.List securityContextCapabilityAdds;
/**
* Indicates whether the root file system on which the container runs is read-only. Valid value: true.
*
* example:
* true
*/
@NameInMap("SecurityContextReadOnlyRootFilesystem")
public Boolean securityContextReadOnlyRootFilesystem;
/**
* The ID of the user that runs the entry point of the container process.
*
* example:
* 1000
*/
@NameInMap("SecurityContextRunAsUser")
public Long securityContextRunAsUser;
/**
* Indicates whether the container allocates buffer resources to standard input streams when the container is running. If this parameter is not specified, an end-of-file (EOF) error may occur when standard input streams in the container are read. Default value: false.
*
* example:
* true
*/
@NameInMap("Stdin")
public Boolean stdin;
/**
* Indicates whether standard input streams are disconnected after a client is disconnected. If Stdin is set to true, standard input streams remain connected among multiple sessions.
* If StdinOnce is set to true, standard input streams are connected after the container is started, and remain idle until a client is connected to receive data. After the client is disconnected, streams are also disconnected, and remain disconnected until the container restarts.
*
* example:
* true
*/
@NameInMap("StdinOnce")
public Boolean stdinOnce;
/**
* Specifies whether to enable the Interaction feature. Valid values:
*
* - true
* - false
*
* If the command is a /bin/bash command, the value of this parameter is true.
* Default value: false.
*
* example:
* true
*/
@NameInMap("Tty")
public Boolean tty;
/**
* The volumes that are mounted to the container.
*/
@NameInMap("VolumeMounts")
public java.util.List volumeMounts;
/**
* The working directory in the container.
*
* example:
* /usr/local/nginx
*/
@NameInMap("WorkingDir")
public String workingDir;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setArgs(java.util.List args) {
this.args = args;
return this;
}
public java.util.List getArgs() {
return this.args;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setCommands(java.util.List commands) {
this.commands = commands;
return this;
}
public java.util.List getCommands() {
return this.commands;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setCpu(Float cpu) {
this.cpu = cpu;
return this;
}
public Float getCpu() {
return this.cpu;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setEnvironmentVars(java.util.List environmentVars) {
this.environmentVars = environmentVars;
return this;
}
public java.util.List getEnvironmentVars() {
return this.environmentVars;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setGpu(Integer gpu) {
this.gpu = gpu;
return this;
}
public Integer getGpu() {
return this.gpu;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setImage(String image) {
this.image = image;
return this;
}
public String getImage() {
return this.image;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setImagePullPolicy(String imagePullPolicy) {
this.imagePullPolicy = imagePullPolicy;
return this;
}
public String getImagePullPolicy() {
return this.imagePullPolicy;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerExecs(java.util.List lifecyclePostStartHandlerExecs) {
this.lifecyclePostStartHandlerExecs = lifecyclePostStartHandlerExecs;
return this;
}
public java.util.List getLifecyclePostStartHandlerExecs() {
return this.lifecyclePostStartHandlerExecs;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerHttpGetHost(String lifecyclePostStartHandlerHttpGetHost) {
this.lifecyclePostStartHandlerHttpGetHost = lifecyclePostStartHandlerHttpGetHost;
return this;
}
public String getLifecyclePostStartHandlerHttpGetHost() {
return this.lifecyclePostStartHandlerHttpGetHost;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerHttpGetPath(String lifecyclePostStartHandlerHttpGetPath) {
this.lifecyclePostStartHandlerHttpGetPath = lifecyclePostStartHandlerHttpGetPath;
return this;
}
public String getLifecyclePostStartHandlerHttpGetPath() {
return this.lifecyclePostStartHandlerHttpGetPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerHttpGetPort(Integer lifecyclePostStartHandlerHttpGetPort) {
this.lifecyclePostStartHandlerHttpGetPort = lifecyclePostStartHandlerHttpGetPort;
return this;
}
public Integer getLifecyclePostStartHandlerHttpGetPort() {
return this.lifecyclePostStartHandlerHttpGetPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerHttpGetScheme(String lifecyclePostStartHandlerHttpGetScheme) {
this.lifecyclePostStartHandlerHttpGetScheme = lifecyclePostStartHandlerHttpGetScheme;
return this;
}
public String getLifecyclePostStartHandlerHttpGetScheme() {
return this.lifecyclePostStartHandlerHttpGetScheme;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerTcpSocketHost(String lifecyclePostStartHandlerTcpSocketHost) {
this.lifecyclePostStartHandlerTcpSocketHost = lifecyclePostStartHandlerTcpSocketHost;
return this;
}
public String getLifecyclePostStartHandlerTcpSocketHost() {
return this.lifecyclePostStartHandlerTcpSocketHost;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePostStartHandlerTcpSocketPort(Integer lifecyclePostStartHandlerTcpSocketPort) {
this.lifecyclePostStartHandlerTcpSocketPort = lifecyclePostStartHandlerTcpSocketPort;
return this;
}
public Integer getLifecyclePostStartHandlerTcpSocketPort() {
return this.lifecyclePostStartHandlerTcpSocketPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerExecs(java.util.List lifecyclePreStopHandlerExecs) {
this.lifecyclePreStopHandlerExecs = lifecyclePreStopHandlerExecs;
return this;
}
public java.util.List getLifecyclePreStopHandlerExecs() {
return this.lifecyclePreStopHandlerExecs;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerHttpGetHost(String lifecyclePreStopHandlerHttpGetHost) {
this.lifecyclePreStopHandlerHttpGetHost = lifecyclePreStopHandlerHttpGetHost;
return this;
}
public String getLifecyclePreStopHandlerHttpGetHost() {
return this.lifecyclePreStopHandlerHttpGetHost;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerHttpGetPath(String lifecyclePreStopHandlerHttpGetPath) {
this.lifecyclePreStopHandlerHttpGetPath = lifecyclePreStopHandlerHttpGetPath;
return this;
}
public String getLifecyclePreStopHandlerHttpGetPath() {
return this.lifecyclePreStopHandlerHttpGetPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerHttpGetPort(Integer lifecyclePreStopHandlerHttpGetPort) {
this.lifecyclePreStopHandlerHttpGetPort = lifecyclePreStopHandlerHttpGetPort;
return this;
}
public Integer getLifecyclePreStopHandlerHttpGetPort() {
return this.lifecyclePreStopHandlerHttpGetPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerHttpGetScheme(String lifecyclePreStopHandlerHttpGetScheme) {
this.lifecyclePreStopHandlerHttpGetScheme = lifecyclePreStopHandlerHttpGetScheme;
return this;
}
public String getLifecyclePreStopHandlerHttpGetScheme() {
return this.lifecyclePreStopHandlerHttpGetScheme;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerTcpSocketHost(String lifecyclePreStopHandlerTcpSocketHost) {
this.lifecyclePreStopHandlerTcpSocketHost = lifecyclePreStopHandlerTcpSocketHost;
return this;
}
public String getLifecyclePreStopHandlerTcpSocketHost() {
return this.lifecyclePreStopHandlerTcpSocketHost;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLifecyclePreStopHandlerTcpSocketPort(Integer lifecyclePreStopHandlerTcpSocketPort) {
this.lifecyclePreStopHandlerTcpSocketPort = lifecyclePreStopHandlerTcpSocketPort;
return this;
}
public Integer getLifecyclePreStopHandlerTcpSocketPort() {
return this.lifecyclePreStopHandlerTcpSocketPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeExecCommands(java.util.List livenessProbeExecCommands) {
this.livenessProbeExecCommands = livenessProbeExecCommands;
return this;
}
public java.util.List getLivenessProbeExecCommands() {
return this.livenessProbeExecCommands;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeFailureThreshold(Integer livenessProbeFailureThreshold) {
this.livenessProbeFailureThreshold = livenessProbeFailureThreshold;
return this;
}
public Integer getLivenessProbeFailureThreshold() {
return this.livenessProbeFailureThreshold;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeHttpGetPath(String livenessProbeHttpGetPath) {
this.livenessProbeHttpGetPath = livenessProbeHttpGetPath;
return this;
}
public String getLivenessProbeHttpGetPath() {
return this.livenessProbeHttpGetPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeHttpGetPort(Integer livenessProbeHttpGetPort) {
this.livenessProbeHttpGetPort = livenessProbeHttpGetPort;
return this;
}
public Integer getLivenessProbeHttpGetPort() {
return this.livenessProbeHttpGetPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeHttpGetScheme(String livenessProbeHttpGetScheme) {
this.livenessProbeHttpGetScheme = livenessProbeHttpGetScheme;
return this;
}
public String getLivenessProbeHttpGetScheme() {
return this.livenessProbeHttpGetScheme;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeInitialDelaySeconds(Integer livenessProbeInitialDelaySeconds) {
this.livenessProbeInitialDelaySeconds = livenessProbeInitialDelaySeconds;
return this;
}
public Integer getLivenessProbeInitialDelaySeconds() {
return this.livenessProbeInitialDelaySeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbePeriodSeconds(Integer livenessProbePeriodSeconds) {
this.livenessProbePeriodSeconds = livenessProbePeriodSeconds;
return this;
}
public Integer getLivenessProbePeriodSeconds() {
return this.livenessProbePeriodSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeSuccessThreshold(Integer livenessProbeSuccessThreshold) {
this.livenessProbeSuccessThreshold = livenessProbeSuccessThreshold;
return this;
}
public Integer getLivenessProbeSuccessThreshold() {
return this.livenessProbeSuccessThreshold;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeTcpSocketPort(Integer livenessProbeTcpSocketPort) {
this.livenessProbeTcpSocketPort = livenessProbeTcpSocketPort;
return this;
}
public Integer getLivenessProbeTcpSocketPort() {
return this.livenessProbeTcpSocketPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setLivenessProbeTimeoutSeconds(Integer livenessProbeTimeoutSeconds) {
this.livenessProbeTimeoutSeconds = livenessProbeTimeoutSeconds;
return this;
}
public Integer getLivenessProbeTimeoutSeconds() {
return this.livenessProbeTimeoutSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setMemory(Float memory) {
this.memory = memory;
return this;
}
public Float getMemory() {
return this.memory;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setPorts(java.util.List ports) {
this.ports = ports;
return this;
}
public java.util.List getPorts() {
return this.ports;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeExecCommands(java.util.List readinessProbeExecCommands) {
this.readinessProbeExecCommands = readinessProbeExecCommands;
return this;
}
public java.util.List getReadinessProbeExecCommands() {
return this.readinessProbeExecCommands;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeFailureThreshold(Integer readinessProbeFailureThreshold) {
this.readinessProbeFailureThreshold = readinessProbeFailureThreshold;
return this;
}
public Integer getReadinessProbeFailureThreshold() {
return this.readinessProbeFailureThreshold;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeHttpGetPath(String readinessProbeHttpGetPath) {
this.readinessProbeHttpGetPath = readinessProbeHttpGetPath;
return this;
}
public String getReadinessProbeHttpGetPath() {
return this.readinessProbeHttpGetPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeHttpGetPort(Integer readinessProbeHttpGetPort) {
this.readinessProbeHttpGetPort = readinessProbeHttpGetPort;
return this;
}
public Integer getReadinessProbeHttpGetPort() {
return this.readinessProbeHttpGetPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeHttpGetScheme(String readinessProbeHttpGetScheme) {
this.readinessProbeHttpGetScheme = readinessProbeHttpGetScheme;
return this;
}
public String getReadinessProbeHttpGetScheme() {
return this.readinessProbeHttpGetScheme;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeInitialDelaySeconds(Integer readinessProbeInitialDelaySeconds) {
this.readinessProbeInitialDelaySeconds = readinessProbeInitialDelaySeconds;
return this;
}
public Integer getReadinessProbeInitialDelaySeconds() {
return this.readinessProbeInitialDelaySeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbePeriodSeconds(Integer readinessProbePeriodSeconds) {
this.readinessProbePeriodSeconds = readinessProbePeriodSeconds;
return this;
}
public Integer getReadinessProbePeriodSeconds() {
return this.readinessProbePeriodSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeSuccessThreshold(Integer readinessProbeSuccessThreshold) {
this.readinessProbeSuccessThreshold = readinessProbeSuccessThreshold;
return this;
}
public Integer getReadinessProbeSuccessThreshold() {
return this.readinessProbeSuccessThreshold;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeTcpSocketPort(Integer readinessProbeTcpSocketPort) {
this.readinessProbeTcpSocketPort = readinessProbeTcpSocketPort;
return this;
}
public Integer getReadinessProbeTcpSocketPort() {
return this.readinessProbeTcpSocketPort;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setReadinessProbeTimeoutSeconds(Integer readinessProbeTimeoutSeconds) {
this.readinessProbeTimeoutSeconds = readinessProbeTimeoutSeconds;
return this;
}
public Integer getReadinessProbeTimeoutSeconds() {
return this.readinessProbeTimeoutSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setSecurityContextCapabilityAdds(java.util.List securityContextCapabilityAdds) {
this.securityContextCapabilityAdds = securityContextCapabilityAdds;
return this;
}
public java.util.List getSecurityContextCapabilityAdds() {
return this.securityContextCapabilityAdds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setSecurityContextReadOnlyRootFilesystem(Boolean securityContextReadOnlyRootFilesystem) {
this.securityContextReadOnlyRootFilesystem = securityContextReadOnlyRootFilesystem;
return this;
}
public Boolean getSecurityContextReadOnlyRootFilesystem() {
return this.securityContextReadOnlyRootFilesystem;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setSecurityContextRunAsUser(Long securityContextRunAsUser) {
this.securityContextRunAsUser = securityContextRunAsUser;
return this;
}
public Long getSecurityContextRunAsUser() {
return this.securityContextRunAsUser;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setStdin(Boolean stdin) {
this.stdin = stdin;
return this;
}
public Boolean getStdin() {
return this.stdin;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setStdinOnce(Boolean stdinOnce) {
this.stdinOnce = stdinOnce;
return this;
}
public Boolean getStdinOnce() {
return this.stdinOnce;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setTty(Boolean tty) {
this.tty = tty;
return this;
}
public Boolean getTty() {
return this.tty;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setVolumeMounts(java.util.List volumeMounts) {
this.volumeMounts = volumeMounts;
return this;
}
public java.util.List getVolumeMounts() {
return this.volumeMounts;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers setWorkingDir(String workingDir) {
this.workingDir = workingDir;
return this;
}
public String getWorkingDir() {
return this.workingDir;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions extends TeaModel {
/**
* The variable name of the option.
*
* example:
* name
*/
@NameInMap("Name")
public String name;
/**
* The variable value of the option.
*
* example:
* value
*/
@NameInMap("Value")
public String value;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases extends TeaModel {
/**
* The added hostnames.
*/
@NameInMap("Hostnames")
public java.util.List hostnames;
/**
* The added IP address.
*
* example:
* 192.0.XX.XX
*/
@NameInMap("Ip")
public String ip;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases setHostnames(java.util.List hostnames) {
this.hostnames = hostnames;
return this;
}
public java.util.List getHostnames() {
return this.hostnames;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases setIp(String ip) {
this.ip = ip;
return this;
}
public String getIp() {
return this.ip;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials extends TeaModel {
/**
* The password of the image repository.
*
* example:
* yourpaasword
*/
@NameInMap("Password")
public String password;
/**
* The domain name of the image repository.
*
* example:
* registry-vpc.cn-shanghai.aliyuncs.com
*/
@NameInMap("Server")
public String server;
/**
* The username of the image repository.
*
* example:
* yourusername
*/
@NameInMap("UserName")
public String userName;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials setPassword(String password) {
this.password = password;
return this;
}
public String getPassword() {
return this.password;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials setServer(String server) {
this.server = server;
return this;
}
public String getServer() {
return this.server;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars extends TeaModel {
/**
*
* This parameter is not available for use.
*
*
* example:
* path
*/
@NameInMap("FieldRefFieldPath")
public String fieldRefFieldPath;
/**
* The name of the environment variable.
*
* example:
* PATH
*/
@NameInMap("Key")
public String key;
/**
* The value of the environment variable.
*
* example:
* /usr/local/bin
*/
@NameInMap("Value")
public String value;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars setFieldRefFieldPath(String fieldRefFieldPath) {
this.fieldRefFieldPath = fieldRefFieldPath;
return this;
}
public String getFieldRefFieldPath() {
return this.fieldRefFieldPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts extends TeaModel {
/**
* The port number. Valid values: 1 to 65535.
*
* example:
* 1024
*/
@NameInMap("Port")
public Integer port;
/**
* The protocol type. Valid values:
*
* - TCP
* - UDP
*
*
* example:
* UDP
*/
@NameInMap("Protocol")
public String protocol;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts setPort(Integer port) {
this.port = port;
return this;
}
public Integer getPort() {
return this.port;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts setProtocol(String protocol) {
this.protocol = protocol;
return this;
}
public String getProtocol() {
return this.protocol;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts extends TeaModel {
/**
* The directory to which the init container mounts the volume.
*
* Data in this directory is overwritten by the data on the volume. Proceed with caution if you specify this parameter.
*
*
* example:
* /usr/share/
*/
@NameInMap("MountPath")
public String mountPath;
/**
* The mount propagation setting of the volume. Mount propagation enables volumes mounted on one container to be shared among other containers within the same pod or across distinct pods residing on the same node. Valid values:
*
* - None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the already established volume mount.
* - HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount.
* - Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. In addition, any volume mounts executed on the container not only propagate back to the underlying host but also to all containers across every pod that uses the same volume.
*
* Default value: None.
*
* example:
* None
*/
@NameInMap("MountPropagation")
public String mountPropagation;
/**
* The volume name.
*
* example:
* test-empty
*/
@NameInMap("Name")
public String name;
/**
* Indicates whether the mount directory is read-only.
* Default value: false.
*
* example:
* false
*/
@NameInMap("ReadOnly")
public Boolean readOnly;
/**
* The subdirectory of the volume.
*
* example:
* /usr/sub/
*/
@NameInMap("SubPath")
public String subPath;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts setMountPath(String mountPath) {
this.mountPath = mountPath;
return this;
}
public String getMountPath() {
return this.mountPath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts setMountPropagation(String mountPropagation) {
this.mountPropagation = mountPropagation;
return this;
}
public String getMountPropagation() {
return this.mountPropagation;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public Boolean getReadOnly() {
return this.readOnly;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts setSubPath(String subPath) {
this.subPath = subPath;
return this;
}
public String getSubPath() {
return this.subPath;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers extends TeaModel {
/**
* The number of vCPUs that are allocated to the init container.
*
* example:
* 0.5
*/
@NameInMap("Cpu")
public Float cpu;
/**
* The number of GPUs that are allocated to the init container.
*
* example:
* 1
*/
@NameInMap("Gpu")
public Integer gpu;
/**
* The image of the init container.
*
* example:
* registry-vpc.cn-hongkong.aliyuncs.com/eci_open/nginx:alpine
*/
@NameInMap("Image")
public String image;
/**
* The image pulling policy.
*
* example:
* Always
*/
@NameInMap("ImagePullPolicy")
public String imagePullPolicy;
/**
* The arguments that are passed to the startup commands of the init container.
*/
@NameInMap("InitContainerArgs")
public java.util.List initContainerArgs;
/**
* The commands that are used to start the init container.
*/
@NameInMap("InitContainerCommands")
public java.util.List initContainerCommands;
/**
* The environment variables of the init container.
*/
@NameInMap("InitContainerEnvironmentVars")
public java.util.List initContainerEnvironmentVars;
/**
* The ports of the init container.
*/
@NameInMap("InitContainerPorts")
public java.util.List initContainerPorts;
/**
* The volume mounts of the init container.
*/
@NameInMap("InitContainerVolumeMounts")
public java.util.List initContainerVolumeMounts;
/**
* The memory size of the init container.
*
* example:
* 1.0
*/
@NameInMap("Memory")
public Float memory;
/**
* The name of the init container.
*
* example:
* test-init
*/
@NameInMap("Name")
public String name;
/**
* The permissions that are granted to the processes in the init container. Valid values: NET_ADMIN and NET_RAW.
*/
@NameInMap("SecurityContextCapabilityAdds")
public java.util.List securityContextCapabilityAdds;
/**
* Indicates whether the root file system on which the init container runs is read-only. Valid value: true.
*/
@NameInMap("SecurityContextReadOnlyRootFilesystem")
public Boolean securityContextReadOnlyRootFilesystem;
/**
* The ID of the user that runs the init container.
*
* example:
* 1000
*/
@NameInMap("SecurityContextRunAsUser")
public String securityContextRunAsUser;
/**
* The working directory of the init container.
*
* example:
* /www
*/
@NameInMap("WorkingDir")
public String workingDir;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setCpu(Float cpu) {
this.cpu = cpu;
return this;
}
public Float getCpu() {
return this.cpu;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setGpu(Integer gpu) {
this.gpu = gpu;
return this;
}
public Integer getGpu() {
return this.gpu;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setImage(String image) {
this.image = image;
return this;
}
public String getImage() {
return this.image;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setImagePullPolicy(String imagePullPolicy) {
this.imagePullPolicy = imagePullPolicy;
return this;
}
public String getImagePullPolicy() {
return this.imagePullPolicy;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setInitContainerArgs(java.util.List initContainerArgs) {
this.initContainerArgs = initContainerArgs;
return this;
}
public java.util.List getInitContainerArgs() {
return this.initContainerArgs;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setInitContainerCommands(java.util.List initContainerCommands) {
this.initContainerCommands = initContainerCommands;
return this;
}
public java.util.List getInitContainerCommands() {
return this.initContainerCommands;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setInitContainerEnvironmentVars(java.util.List initContainerEnvironmentVars) {
this.initContainerEnvironmentVars = initContainerEnvironmentVars;
return this;
}
public java.util.List getInitContainerEnvironmentVars() {
return this.initContainerEnvironmentVars;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setInitContainerPorts(java.util.List initContainerPorts) {
this.initContainerPorts = initContainerPorts;
return this;
}
public java.util.List getInitContainerPorts() {
return this.initContainerPorts;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setInitContainerVolumeMounts(java.util.List initContainerVolumeMounts) {
this.initContainerVolumeMounts = initContainerVolumeMounts;
return this;
}
public java.util.List getInitContainerVolumeMounts() {
return this.initContainerVolumeMounts;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setMemory(Float memory) {
this.memory = memory;
return this;
}
public Float getMemory() {
return this.memory;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setSecurityContextCapabilityAdds(java.util.List securityContextCapabilityAdds) {
this.securityContextCapabilityAdds = securityContextCapabilityAdds;
return this;
}
public java.util.List getSecurityContextCapabilityAdds() {
return this.securityContextCapabilityAdds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setSecurityContextReadOnlyRootFilesystem(Boolean securityContextReadOnlyRootFilesystem) {
this.securityContextReadOnlyRootFilesystem = securityContextReadOnlyRootFilesystem;
return this;
}
public Boolean getSecurityContextReadOnlyRootFilesystem() {
return this.securityContextReadOnlyRootFilesystem;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setSecurityContextRunAsUser(String securityContextRunAsUser) {
this.securityContextRunAsUser = securityContextRunAsUser;
return this;
}
public String getSecurityContextRunAsUser() {
return this.securityContextRunAsUser;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers setWorkingDir(String workingDir) {
this.workingDir = workingDir;
return this;
}
public String getWorkingDir() {
return this.workingDir;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls extends TeaModel {
/**
* The system name of the security context in which the elastic container instance runs.
*
* example:
* kernel.msgmax
*/
@NameInMap("Name")
public String name;
/**
* The variable value of the security context in which the elastic container instance runs.
*
* example:
* 65536
*/
@NameInMap("Value")
public String value;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags extends TeaModel {
/**
* The tag key.
*
* example:
* version
*/
@NameInMap("Key")
public String key;
/**
* The tag value.
*
* example:
* 3
*/
@NameInMap("Value")
public String value;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths extends TeaModel {
/**
* The content of the configuration file.
*
* example:
* bGl1bWk=
*/
@NameInMap("Content")
public String content;
/**
* The permissions on the ConfigFile volume.
*
* example:
* 0644
*/
@NameInMap("Mode")
public Integer mode;
/**
* The path to the configuration file.
*
* example:
* /usr/bin/
*/
@NameInMap("Path")
public String path;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths setMode(Integer mode) {
this.mode = mode;
return this;
}
public Integer getMode() {
return this.mode;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes extends TeaModel {
/**
* The paths to the configuration files.
*/
@NameInMap("ConfigFileVolumeConfigFileToPaths")
public java.util.List configFileVolumeConfigFileToPaths;
/**
* The default permissions on the ConfigFile volume.
*
* example:
* 0644
*/
@NameInMap("ConfigFileVolumeDefaultMode")
public Integer configFileVolumeDefaultMode;
/**
* The ID of the disk volume.
*
* example:
* d-xx
*/
@NameInMap("DiskVolumeDiskId")
public String diskVolumeDiskId;
/**
* The size of the disk volume. Unit: GiB.
*
* example:
* 15
*/
@NameInMap("DiskVolumeDiskSize")
public Integer diskVolumeDiskSize;
/**
* The system type of the disk volume.
*
* example:
* xfs
*/
@NameInMap("DiskVolumeFsType")
public String diskVolumeFsType;
/**
* The storage medium of the emptyDir volume. If you do not specify a storage medium for the emptyDir volume, the volume stores data in the file system of the node by default. We recommend that you set this parameter to memory. In this case, the emptyDir volume stores data in the specified memory.
*
* example:
* memory
*/
@NameInMap("EmptyDirVolumeMedium")
public String emptyDirVolumeMedium;
/**
* The storage size of the emptyDir volume.
*
* example:
* 256Mi
*/
@NameInMap("EmptyDirVolumeSizeLimit")
public String emptyDirVolumeSizeLimit;
/**
* The name of the FlexVolume driver.
*
* example:
* flexvolume
*/
@NameInMap("FlexVolumeDriver")
public String flexVolumeDriver;
/**
* The type of the mounted file system. The default value is determined by the script of FlexVolume.
*
* example:
* ext4
*/
@NameInMap("FlexVolumeFsType")
public String flexVolumeFsType;
/**
* The FlexVolume options.
*
* example:
* {"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}
*/
@NameInMap("FlexVolumeOptions")
public String flexVolumeOptions;
/**
* The path to the HostPath volume on the host.
*
* example:
* /pod/data
*/
@NameInMap("HostPathVolumePath")
public String hostPathVolumePath;
/**
* The type of the HostPath volume.
*
* example:
* Directory
*/
@NameInMap("HostPathVolumeType")
public String hostPathVolumeType;
/**
* The path to the Network File System (NFS) volume.
*
* example:
* /share
*/
@NameInMap("NFSVolumePath")
public String NFSVolumePath;
/**
* Indicates whether the NFS volume is read-only.
* Default value: false.
*
* example:
* false
*/
@NameInMap("NFSVolumeReadOnly")
public Boolean NFSVolumeReadOnly;
/**
* The endpoint of the NFS server.
*
* example:
* 3f9cd4a596-naw76.cn-shanghai.nas.aliyuncs.com
*/
@NameInMap("NFSVolumeServer")
public String NFSVolumeServer;
/**
* The volume name.
*
* example:
* default-volume1
*/
@NameInMap("Name")
public String name;
/**
* The volume type. Valid values:
*
* - EmptyDirVolume
* - NFSVolume
* - ConfigFileVolume
* - FlexVolume
*
*
* example:
* EmptyDirVolume
*/
@NameInMap("Type")
public String type;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setConfigFileVolumeConfigFileToPaths(java.util.List configFileVolumeConfigFileToPaths) {
this.configFileVolumeConfigFileToPaths = configFileVolumeConfigFileToPaths;
return this;
}
public java.util.List getConfigFileVolumeConfigFileToPaths() {
return this.configFileVolumeConfigFileToPaths;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setConfigFileVolumeDefaultMode(Integer configFileVolumeDefaultMode) {
this.configFileVolumeDefaultMode = configFileVolumeDefaultMode;
return this;
}
public Integer getConfigFileVolumeDefaultMode() {
return this.configFileVolumeDefaultMode;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setDiskVolumeDiskId(String diskVolumeDiskId) {
this.diskVolumeDiskId = diskVolumeDiskId;
return this;
}
public String getDiskVolumeDiskId() {
return this.diskVolumeDiskId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setDiskVolumeDiskSize(Integer diskVolumeDiskSize) {
this.diskVolumeDiskSize = diskVolumeDiskSize;
return this;
}
public Integer getDiskVolumeDiskSize() {
return this.diskVolumeDiskSize;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setDiskVolumeFsType(String diskVolumeFsType) {
this.diskVolumeFsType = diskVolumeFsType;
return this;
}
public String getDiskVolumeFsType() {
return this.diskVolumeFsType;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setEmptyDirVolumeMedium(String emptyDirVolumeMedium) {
this.emptyDirVolumeMedium = emptyDirVolumeMedium;
return this;
}
public String getEmptyDirVolumeMedium() {
return this.emptyDirVolumeMedium;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setEmptyDirVolumeSizeLimit(String emptyDirVolumeSizeLimit) {
this.emptyDirVolumeSizeLimit = emptyDirVolumeSizeLimit;
return this;
}
public String getEmptyDirVolumeSizeLimit() {
return this.emptyDirVolumeSizeLimit;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setFlexVolumeDriver(String flexVolumeDriver) {
this.flexVolumeDriver = flexVolumeDriver;
return this;
}
public String getFlexVolumeDriver() {
return this.flexVolumeDriver;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setFlexVolumeFsType(String flexVolumeFsType) {
this.flexVolumeFsType = flexVolumeFsType;
return this;
}
public String getFlexVolumeFsType() {
return this.flexVolumeFsType;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setFlexVolumeOptions(String flexVolumeOptions) {
this.flexVolumeOptions = flexVolumeOptions;
return this;
}
public String getFlexVolumeOptions() {
return this.flexVolumeOptions;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setHostPathVolumePath(String hostPathVolumePath) {
this.hostPathVolumePath = hostPathVolumePath;
return this;
}
public String getHostPathVolumePath() {
return this.hostPathVolumePath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setHostPathVolumeType(String hostPathVolumeType) {
this.hostPathVolumeType = hostPathVolumeType;
return this;
}
public String getHostPathVolumeType() {
return this.hostPathVolumeType;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setNFSVolumePath(String NFSVolumePath) {
this.NFSVolumePath = NFSVolumePath;
return this;
}
public String getNFSVolumePath() {
return this.NFSVolumePath;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setNFSVolumeReadOnly(Boolean NFSVolumeReadOnly) {
this.NFSVolumeReadOnly = NFSVolumeReadOnly;
return this;
}
public Boolean getNFSVolumeReadOnly() {
return this.NFSVolumeReadOnly;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setNFSVolumeServer(String NFSVolumeServer) {
this.NFSVolumeServer = NFSVolumeServer;
return this;
}
public String getNFSVolumeServer() {
return this.NFSVolumeServer;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration extends TeaModel {
/**
* The information about the Container Registry Enterprise Edition instance.
*/
@NameInMap("AcrRegistryInfos")
public java.util.List acrRegistryInfos;
/**
* The validity period of the scaling configuration. Unit: seconds.
*
* example:
* 60
*/
@NameInMap("ActiveDeadlineSeconds")
public Integer activeDeadlineSeconds;
/**
* Indicates whether an elastic IP address (EIP) is automatically created and bound to the elastic container instance.
*
* example:
* true
*/
@NameInMap("AutoCreateEip")
public Boolean autoCreateEip;
/**
* Indicates whether the image cache is automatically matched. Default value: false.
*
* example:
* true
*/
@NameInMap("AutoMatchImageCache")
public Boolean autoMatchImageCache;
/**
* The computing power types. A value of economy indicates that economic instance types are returned.
*/
@NameInMap("ComputeCategory")
public java.util.List computeCategory;
/**
* The name of the container group.
*
* example:
* test
*/
@NameInMap("ContainerGroupName")
public String containerGroupName;
/**
* The containers in the elastic container instance.
*/
@NameInMap("Containers")
public java.util.List containers;
/**
* Indicates whether the Cost Optimization feature is enabled. Valid values:
*
* - true
* - false
*
*
* example:
* false
*/
@NameInMap("CostOptimization")
public Boolean costOptimization;
/**
* The number of vCPUs that are allocated to the elastic container instance.
*
* example:
* 2.0
*/
@NameInMap("Cpu")
public Float cpu;
/**
* The number of physical CPU cores. You can specify this parameter for only specific instance types.
*
* example:
* 2
*/
@NameInMap("CpuOptionsCore")
public Integer cpuOptionsCore;
/**
* The number of threads per core. You can specify this parameter for only specific instance types. A value of 1 indicates that Hyper-Threading is disabled. For more information, see Specify CPU options.
*
* example:
* 2
*/
@NameInMap("CpuOptionsThreadsPerCore")
public Integer cpuOptionsThreadsPerCore;
/**
* The time when the scaling configuration was created.
*
* example:
* 2023-05-10T02:39:15Z
*/
@NameInMap("CreationTime")
public String creationTime;
/**
* The bucket that caches data.
*
* example:
* default
*/
@NameInMap("DataCacheBucket")
public String dataCacheBucket;
/**
* Indicates whether the Performance Burst feature is enabled for the ESSD AutoPL disk that caches data. Valid values:
*
* - true
* - false
*
* Default value: false.
*
* For more information about ESSD AutoPL disks, see ESSD AutoPL disks.
*
*
* example:
* false
*/
@NameInMap("DataCacheBurstingEnabled")
public Boolean dataCacheBurstingEnabled;
/**
* The performance level (PL) of the cloud disk that caches data. We recommend that you use enhanced SSDs (ESSDs). Valid values:
*
* - PL0: An ESSD can provide up to 10,000 random read/write IOPS.
* - PL1: An ESSD can provide up to 50,000 random read/write IOPS.
* - PL2: An ESSD can provide up to 100,000 random read/write IOPS.
* - PL3: An ESSD can provide up to 1,000,000 random read/write IOPS.
*
*
* For more information about ESSDs, see ESSDs.
*
*
* example:
* PL1
*/
@NameInMap("DataCachePL")
public String dataCachePL;
/**
* The provisioned read/write IOPS of the ESSD AutoPL disk that caches data. Valid values: 0 to min{50,000, 1,000 x Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 x Capacity, 50,000}.
*
* For more information about ESSD AutoPL disks, see ESSD AutoPL disks.
*
*
* example:
* 40000
*/
@NameInMap("DataCacheProvisionedIops")
public Integer dataCacheProvisionedIops;
/**
*
* This parameter is not available for use.
*
*
* example:
* This is an example.
*/
@NameInMap("Description")
public String description;
/**
* The IP addresses of DNS servers.
*/
@NameInMap("DnsConfigNameServers")
public java.util.List dnsConfigNameServers;
/**
* The DNS options.
*/
@NameInMap("DnsConfigOptions")
public java.util.List dnsConfigOptions;
/**
* The search domains of the DNS servers.
*/
@NameInMap("DnsConfigSearches")
public java.util.List dnsConfigSearches;
/**
* The Domain Name System (DNS) policy.
*
* example:
* Default
*/
@NameInMap("DnsPolicy")
public String dnsPolicy;
/**
* The maximum outbound bandwidth. Unit: bit/s.
*
* example:
* 10485760
*/
@NameInMap("EgressBandwidth")
public Long egressBandwidth;
/**
* The bandwidth of the EIP. Default value: 5. Unit: Mbit/s.
*
* example:
* 5
*/
@NameInMap("EipBandwidth")
public Integer eipBandwidth;
/**
* The bound EIP bandwidth plan.
*
* example:
* cbwp-bp1rxai1z4b1an454xl8m
*/
@NameInMap("EipCommonBandwidthPackage")
public String eipCommonBandwidthPackage;
/**
* The line type of the EIP. Valid values:
*
* - BGP: BGP (Multi-ISP) lines
* - BGP_PRO: BGP (Multi-ISP) Pro
*
*
* example:
* BGP
*/
@NameInMap("EipISP")
public String eipISP;
/**
* The ID of the IP address pool.
*
* example:
* pippool-bp187arfugi543y1s****
*/
@NameInMap("EipPublicIpAddressPoolId")
public String eipPublicIpAddressPoolId;
/**
* The size of the temporary storage space. Unit: GiB.
*
* example:
* 20
*/
@NameInMap("EphemeralStorage")
public Integer ephemeralStorage;
/**
* The custom hostname mappings of a container in the elastic container instance.
*/
@NameInMap("HostAliases")
public java.util.List hostAliases;
/**
* The hostname.
*
* example:
* hostname
*/
@NameInMap("HostName")
public String hostName;
/**
* The image repositories.
*/
@NameInMap("ImageRegistryCredentials")
public java.util.List imageRegistryCredentials;
/**
* The ID of the image cache.
*
* example:
* imc-2zebxkiifuyzzlhl****
*/
@NameInMap("ImageSnapshotId")
public String imageSnapshotId;
/**
* The maximum inbound bandwidth. Unit: bit/s.
*
* example:
* 1024000
*/
@NameInMap("IngressBandwidth")
public Long ingressBandwidth;
/**
* The init containers.
*/
@NameInMap("InitContainers")
public java.util.List initContainers;
/**
* The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if CostOptimization
is set to true. Valid values:
*
* - EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not provide stable computing performance in a consistent manner. Instance types of this level are suitable for business scenarios in which the CPU utilization is low. For more information, see Shared instance families.
* - EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see Overview of instance families.
* - CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see Overview of burstable instances.
*
*
* example:
* EnterpriseLevel
*/
@NameInMap("InstanceFamilyLevel")
public String instanceFamilyLevel;
/**
* The specified ECS instance types. You can specify up to five instance types.
*/
@NameInMap("InstanceTypes")
public java.util.List instanceTypes;
/**
* The number of IPv6 addresses.
*
* example:
* 1
*/
@NameInMap("Ipv6AddressCount")
public Integer ipv6AddressCount;
/**
* The state of the scaling configuration in the scaling group. Valid values:
*
* - Active: The scaling configuration is active in the scaling group. Auto Scaling uses the active scaling configuration to automatically create elastic container instances.
* - Inactive: The scaling configuration is inactive in the scaling group. Inactive scaling configurations are retained in scaling groups. However, Auto Scaling does not use inactive scaling groups to create elastic container instances.
*
*
* example:
* Active
*/
@NameInMap("LifecycleState")
public String lifecycleState;
/**
* The weight of an elastic container instance as a Server Load Balancer (SLB) backend server. Valid values: 1 to 100.
* Default value: 50.
*
* example:
* 50
*/
@NameInMap("LoadBalancerWeight")
public Integer loadBalancerWeight;
/**
* The memory size. Unit: GiB.
* You can specify CPU and Memory to define the range of instance types. For example, if you set CPU to 2 and Memory to 16, the instance types that have 2 vCPUs and 16 GiB are returned. If you specify CPU and Memory, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones and preferentially creates instances by using the lowest-priced instance type.
*
* You can specify CPU and Memory to define instance types only when you set Scaling Policy to Cost Optimization and no instance type is specified in the scaling configuration.
*
*
* example:
* 4
*/
@NameInMap("Memory")
public Float memory;
/**
* The endpoints of the Network Time Protocol (NTP) servers.
*/
@NameInMap("NtpServers")
public java.util.List ntpServers;
/**
* The Resource Access Management (RAM) role of the elastic container instance. Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see Use the instance RAM role by calling APIs.
*
* example:
* ram:PassRole
*/
@NameInMap("RamRoleName")
public String ramRoleName;
/**
* The region ID of the scaling group to which the scaling configuration belongs.
*
* example:
* cn-shanghai
*/
@NameInMap("RegionId")
public String regionId;
/**
* The ID of the resource group.
*
* example:
* rg-acfmwozpmmksakq
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* The restart policy of the container group. Valid values:
*
* - Never: The container group is never restarted.
* - Always: The container group is always restarted.
* - OnFailure: The container group is restarted upon failures.
*
*
* example:
* Always
*/
@NameInMap("RestartPolicy")
public String restartPolicy;
/**
* The ID of the scaling configuration.
*
* example:
* asc-2zec39vg84usxdocme6a
*/
@NameInMap("ScalingConfigurationId")
public String scalingConfigurationId;
/**
* The name of the scaling configuration.
*
* example:
* scalingconfi****
*/
@NameInMap("ScalingConfigurationName")
public String scalingConfigurationName;
/**
* The ID of the scaling group.
*
* example:
* asg-bp1frlu04fq4zv65b1bh
*/
@NameInMap("ScalingGroupId")
public String scalingGroupId;
/**
* The system information of the security context in which the elastic container instance is run.
*/
@NameInMap("SecurityContextSysCtls")
public java.util.List securityContextSysCtls;
/**
* The ID of the security group with which the elastic container instance is associated. Elastic container instances that are associated with the same security group can access each other.
*
* example:
* sg-bp18kz60mefs****
*/
@NameInMap("SecurityGroupId")
public String securityGroupId;
/**
* Indicates whether user logs are collected. Default value: false.
*
* example:
* false
*/
@NameInMap("SlsEnable")
public Boolean slsEnable;
/**
* The maximum hourly price for the preemptible instance.
* This parameter is returned only when SpotStrategy is set to SpotWithPriceLimit.
*
* example:
* 0.025
*/
@NameInMap("SpotPriceLimit")
public Float spotPriceLimit;
/**
* The preemption policy of the instance. Valid values:
*
* - NoSpot: The instance is created as a regular pay-as-you-go instance.
* - SpotWithPriceLimit: The instance is a preemptible instance with a user-defined maximum hourly price.
* - SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.
*
*
* example:
* NoSpot
*/
@NameInMap("SpotStrategy")
public String spotStrategy;
/**
* The tags of the elastic container instance. Tags are specified in the key-value format.
*/
@NameInMap("Tags")
public java.util.List tags;
/**
* The buffer time during which a program handles operations before the program stops.
*
* example:
* 60
*/
@NameInMap("TerminationGracePeriodSeconds")
public Integer terminationGracePeriodSeconds;
/**
* The volumes.
*/
@NameInMap("Volumes")
public java.util.List volumes;
public static DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration build(java.util.Map map) throws Exception {
DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration self = new DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration();
return TeaModel.build(map, self);
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setAcrRegistryInfos(java.util.List acrRegistryInfos) {
this.acrRegistryInfos = acrRegistryInfos;
return this;
}
public java.util.List getAcrRegistryInfos() {
return this.acrRegistryInfos;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setActiveDeadlineSeconds(Integer activeDeadlineSeconds) {
this.activeDeadlineSeconds = activeDeadlineSeconds;
return this;
}
public Integer getActiveDeadlineSeconds() {
return this.activeDeadlineSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setAutoCreateEip(Boolean autoCreateEip) {
this.autoCreateEip = autoCreateEip;
return this;
}
public Boolean getAutoCreateEip() {
return this.autoCreateEip;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setAutoMatchImageCache(Boolean autoMatchImageCache) {
this.autoMatchImageCache = autoMatchImageCache;
return this;
}
public Boolean getAutoMatchImageCache() {
return this.autoMatchImageCache;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setComputeCategory(java.util.List computeCategory) {
this.computeCategory = computeCategory;
return this;
}
public java.util.List getComputeCategory() {
return this.computeCategory;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setContainerGroupName(String containerGroupName) {
this.containerGroupName = containerGroupName;
return this;
}
public String getContainerGroupName() {
return this.containerGroupName;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setContainers(java.util.List containers) {
this.containers = containers;
return this;
}
public java.util.List getContainers() {
return this.containers;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setCostOptimization(Boolean costOptimization) {
this.costOptimization = costOptimization;
return this;
}
public Boolean getCostOptimization() {
return this.costOptimization;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setCpu(Float cpu) {
this.cpu = cpu;
return this;
}
public Float getCpu() {
return this.cpu;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setCpuOptionsCore(Integer cpuOptionsCore) {
this.cpuOptionsCore = cpuOptionsCore;
return this;
}
public Integer getCpuOptionsCore() {
return this.cpuOptionsCore;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setCpuOptionsThreadsPerCore(Integer cpuOptionsThreadsPerCore) {
this.cpuOptionsThreadsPerCore = cpuOptionsThreadsPerCore;
return this;
}
public Integer getCpuOptionsThreadsPerCore() {
return this.cpuOptionsThreadsPerCore;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setCreationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
public String getCreationTime() {
return this.creationTime;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDataCacheBucket(String dataCacheBucket) {
this.dataCacheBucket = dataCacheBucket;
return this;
}
public String getDataCacheBucket() {
return this.dataCacheBucket;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDataCacheBurstingEnabled(Boolean dataCacheBurstingEnabled) {
this.dataCacheBurstingEnabled = dataCacheBurstingEnabled;
return this;
}
public Boolean getDataCacheBurstingEnabled() {
return this.dataCacheBurstingEnabled;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDataCachePL(String dataCachePL) {
this.dataCachePL = dataCachePL;
return this;
}
public String getDataCachePL() {
return this.dataCachePL;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDataCacheProvisionedIops(Integer dataCacheProvisionedIops) {
this.dataCacheProvisionedIops = dataCacheProvisionedIops;
return this;
}
public Integer getDataCacheProvisionedIops() {
return this.dataCacheProvisionedIops;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDnsConfigNameServers(java.util.List dnsConfigNameServers) {
this.dnsConfigNameServers = dnsConfigNameServers;
return this;
}
public java.util.List getDnsConfigNameServers() {
return this.dnsConfigNameServers;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDnsConfigOptions(java.util.List dnsConfigOptions) {
this.dnsConfigOptions = dnsConfigOptions;
return this;
}
public java.util.List getDnsConfigOptions() {
return this.dnsConfigOptions;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDnsConfigSearches(java.util.List dnsConfigSearches) {
this.dnsConfigSearches = dnsConfigSearches;
return this;
}
public java.util.List getDnsConfigSearches() {
return this.dnsConfigSearches;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setDnsPolicy(String dnsPolicy) {
this.dnsPolicy = dnsPolicy;
return this;
}
public String getDnsPolicy() {
return this.dnsPolicy;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEgressBandwidth(Long egressBandwidth) {
this.egressBandwidth = egressBandwidth;
return this;
}
public Long getEgressBandwidth() {
return this.egressBandwidth;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEipBandwidth(Integer eipBandwidth) {
this.eipBandwidth = eipBandwidth;
return this;
}
public Integer getEipBandwidth() {
return this.eipBandwidth;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEipCommonBandwidthPackage(String eipCommonBandwidthPackage) {
this.eipCommonBandwidthPackage = eipCommonBandwidthPackage;
return this;
}
public String getEipCommonBandwidthPackage() {
return this.eipCommonBandwidthPackage;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEipISP(String eipISP) {
this.eipISP = eipISP;
return this;
}
public String getEipISP() {
return this.eipISP;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEipPublicIpAddressPoolId(String eipPublicIpAddressPoolId) {
this.eipPublicIpAddressPoolId = eipPublicIpAddressPoolId;
return this;
}
public String getEipPublicIpAddressPoolId() {
return this.eipPublicIpAddressPoolId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setEphemeralStorage(Integer ephemeralStorage) {
this.ephemeralStorage = ephemeralStorage;
return this;
}
public Integer getEphemeralStorage() {
return this.ephemeralStorage;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setHostAliases(java.util.List hostAliases) {
this.hostAliases = hostAliases;
return this;
}
public java.util.List getHostAliases() {
return this.hostAliases;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setHostName(String hostName) {
this.hostName = hostName;
return this;
}
public String getHostName() {
return this.hostName;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setImageRegistryCredentials(java.util.List imageRegistryCredentials) {
this.imageRegistryCredentials = imageRegistryCredentials;
return this;
}
public java.util.List getImageRegistryCredentials() {
return this.imageRegistryCredentials;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setImageSnapshotId(String imageSnapshotId) {
this.imageSnapshotId = imageSnapshotId;
return this;
}
public String getImageSnapshotId() {
return this.imageSnapshotId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setIngressBandwidth(Long ingressBandwidth) {
this.ingressBandwidth = ingressBandwidth;
return this;
}
public Long getIngressBandwidth() {
return this.ingressBandwidth;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setInitContainers(java.util.List initContainers) {
this.initContainers = initContainers;
return this;
}
public java.util.List getInitContainers() {
return this.initContainers;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setInstanceFamilyLevel(String instanceFamilyLevel) {
this.instanceFamilyLevel = instanceFamilyLevel;
return this;
}
public String getInstanceFamilyLevel() {
return this.instanceFamilyLevel;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setInstanceTypes(java.util.List instanceTypes) {
this.instanceTypes = instanceTypes;
return this;
}
public java.util.List getInstanceTypes() {
return this.instanceTypes;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setIpv6AddressCount(Integer ipv6AddressCount) {
this.ipv6AddressCount = ipv6AddressCount;
return this;
}
public Integer getIpv6AddressCount() {
return this.ipv6AddressCount;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setLifecycleState(String lifecycleState) {
this.lifecycleState = lifecycleState;
return this;
}
public String getLifecycleState() {
return this.lifecycleState;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setLoadBalancerWeight(Integer loadBalancerWeight) {
this.loadBalancerWeight = loadBalancerWeight;
return this;
}
public Integer getLoadBalancerWeight() {
return this.loadBalancerWeight;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setMemory(Float memory) {
this.memory = memory;
return this;
}
public Float getMemory() {
return this.memory;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setNtpServers(java.util.List ntpServers) {
this.ntpServers = ntpServers;
return this;
}
public java.util.List getNtpServers() {
return this.ntpServers;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setRamRoleName(String ramRoleName) {
this.ramRoleName = ramRoleName;
return this;
}
public String getRamRoleName() {
return this.ramRoleName;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setRestartPolicy(String restartPolicy) {
this.restartPolicy = restartPolicy;
return this;
}
public String getRestartPolicy() {
return this.restartPolicy;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setScalingConfigurationId(String scalingConfigurationId) {
this.scalingConfigurationId = scalingConfigurationId;
return this;
}
public String getScalingConfigurationId() {
return this.scalingConfigurationId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setScalingConfigurationName(String scalingConfigurationName) {
this.scalingConfigurationName = scalingConfigurationName;
return this;
}
public String getScalingConfigurationName() {
return this.scalingConfigurationName;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setScalingGroupId(String scalingGroupId) {
this.scalingGroupId = scalingGroupId;
return this;
}
public String getScalingGroupId() {
return this.scalingGroupId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setSecurityContextSysCtls(java.util.List securityContextSysCtls) {
this.securityContextSysCtls = securityContextSysCtls;
return this;
}
public java.util.List getSecurityContextSysCtls() {
return this.securityContextSysCtls;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setSlsEnable(Boolean slsEnable) {
this.slsEnable = slsEnable;
return this;
}
public Boolean getSlsEnable() {
return this.slsEnable;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setSpotPriceLimit(Float spotPriceLimit) {
this.spotPriceLimit = spotPriceLimit;
return this;
}
public Float getSpotPriceLimit() {
return this.spotPriceLimit;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setSpotStrategy(String spotStrategy) {
this.spotStrategy = spotStrategy;
return this;
}
public String getSpotStrategy() {
return this.spotStrategy;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setTags(java.util.List tags) {
this.tags = tags;
return this;
}
public java.util.List getTags() {
return this.tags;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setTerminationGracePeriodSeconds(Integer terminationGracePeriodSeconds) {
this.terminationGracePeriodSeconds = terminationGracePeriodSeconds;
return this;
}
public Integer getTerminationGracePeriodSeconds() {
return this.terminationGracePeriodSeconds;
}
public DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration setVolumes(java.util.List volumes) {
this.volumes = volumes;
return this;
}
public java.util.List getVolumes() {
return this.volumes;
}
}
}