public class CreateWaypointRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clusterId
The ID of the cluster on the data plane.
|
Boolean |
HPAEnabled
Specifies whether to enable Horizontal Pod Autoscaling (HPA).
|
Integer |
HPAMaxReplicas
The maximum number of waypoint proxy pods when HPA is enabled.
|
Integer |
HPAMinReplicas
The minimum number of waypoint proxy pods when HPA is enabled.
|
Integer |
HPATargetCPU
The expected CPU utilization when HPA is enabled.
|
Integer |
HPATargetMemory
The expected memory usage when HPA is enabled.
|
String |
limitCPU
The maximum number of CPU cores that are available to the waypoint proxy pods.
|
String |
limitMemory
The maximum size of the memory that is available to the waypoint proxy pods.
|
String |
namespace
The namespace.
|
Boolean |
preferECI
Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).
|
Integer |
replicas
The number of waypoint proxy pods.
|
String |
requestCPU
The number of CPU cores requested by the waypoint proxy pods.
|
String |
requestMemory
The size of the memory requested by the waypoint proxy pods.
|
String |
serviceAccount
The service account on which the waypoint proxy takes effect.
|
String |
serviceMeshId
The Service Mesh (ASM) instance ID.
|
| 构造器和说明 |
|---|
CreateWaypointRequest() |
@NameInMap(value="ClusterId") public String clusterId
The ID of the cluster on the data plane.
@NameInMap(value="HPAEnabled") public Boolean HPAEnabled
Specifies whether to enable Horizontal Pod Autoscaling (HPA).
@NameInMap(value="HPAMaxReplicas") public Integer HPAMaxReplicas
The maximum number of waypoint proxy pods when HPA is enabled.
@NameInMap(value="HPAMinReplicas") public Integer HPAMinReplicas
The minimum number of waypoint proxy pods when HPA is enabled.
@NameInMap(value="HPATargetCPU") public Integer HPATargetCPU
The expected CPU utilization when HPA is enabled.
@NameInMap(value="HPATargetMemory") public Integer HPATargetMemory
The expected memory usage when HPA is enabled.
@NameInMap(value="LimitCPU") public String limitCPU
The maximum number of CPU cores that are available to the waypoint proxy pods.
@NameInMap(value="LimitMemory") public String limitMemory
The maximum size of the memory that is available to the waypoint proxy pods.
@NameInMap(value="Namespace") public String namespace
The namespace.
@NameInMap(value="PreferECI") public Boolean preferECI
Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).
@NameInMap(value="Replicas") public Integer replicas
The number of waypoint proxy pods.
@NameInMap(value="RequestCPU") public String requestCPU
The number of CPU cores requested by the waypoint proxy pods.
@NameInMap(value="RequestMemory") public String requestMemory
The size of the memory requested by the waypoint proxy pods.
@NameInMap(value="ServiceAccount") public String serviceAccount
The service account on which the waypoint proxy takes effect. If you do not specify this parameter, the waypoint proxy takes effect for the entire namespace.
@NameInMap(value="ServiceMeshId") public String serviceMeshId
The Service Mesh (ASM) instance ID.
public static CreateWaypointRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateWaypointRequest setClusterId(String clusterId)
public String getClusterId()
public CreateWaypointRequest setHPAEnabled(Boolean HPAEnabled)
public Boolean getHPAEnabled()
public CreateWaypointRequest setHPAMaxReplicas(Integer HPAMaxReplicas)
public Integer getHPAMaxReplicas()
public CreateWaypointRequest setHPAMinReplicas(Integer HPAMinReplicas)
public Integer getHPAMinReplicas()
public CreateWaypointRequest setHPATargetCPU(Integer HPATargetCPU)
public Integer getHPATargetCPU()
public CreateWaypointRequest setHPATargetMemory(Integer HPATargetMemory)
public Integer getHPATargetMemory()
public CreateWaypointRequest setLimitCPU(String limitCPU)
public String getLimitCPU()
public CreateWaypointRequest setLimitMemory(String limitMemory)
public String getLimitMemory()
public CreateWaypointRequest setNamespace(String namespace)
public String getNamespace()
public CreateWaypointRequest setPreferECI(Boolean preferECI)
public Boolean getPreferECI()
public CreateWaypointRequest setReplicas(Integer replicas)
public Integer getReplicas()
public CreateWaypointRequest setRequestCPU(String requestCPU)
public String getRequestCPU()
public CreateWaypointRequest setRequestMemory(String requestMemory)
public String getRequestMemory()
public CreateWaypointRequest setServiceAccount(String serviceAccount)
public String getServiceAccount()
public CreateWaypointRequest setServiceMeshId(String serviceMeshId)
public String getServiceMeshId()
Copyright © 2023. All rights reserved.