ApplicationPodProps
Properties for defining a ApplicationPod.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-acs-applicationpod
Initializer
import com.aliyun.ros.cdk.acs.ApplicationPodProps;
ApplicationPodProps.builder()
.computeClass(java.lang.String)
.computeClass(IResolvable)
.computeQos(java.lang.String)
.computeQos(IResolvable)
.cpuCoreNumber(java.lang.String)
.cpuCoreNumber(IResolvable)
.image(java.lang.String)
.image(IResolvable)
.kind(java.lang.String)
.kind(IResolvable)
.memory(java.lang.Number)
.memory(IResolvable)
// .diskConfig(IResolvable)
// .diskConfig(DiskConfigProperty)
// .gpuCoreNumber(java.lang.Number)
// .gpuCoreNumber(IResolvable)
// .gpuModelSeries(java.lang.String)
// .gpuModelSeries(IResolvable)
// .gpuType(java.lang.String)
// .gpuType(IResolvable)
// .replicas(java.lang.Number)
// .replicas(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
computeClass | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property computeClass: Compute class of the application pod. |
computeQos | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property computeQos: Compute QoS of the application pod. |
cpuCoreNumber | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property cpuCoreNumber: CPU core number required by the container. |
image | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property image: Container image for the application pod. |
kind | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet). |
memory | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property memory: Memory size (in GB) required by the container. |
diskConfig | com.aliyun.ros.cdk.core.IResolvable OR DiskConfigProperty | Property diskConfig: Disk configurations for the application pod. |
gpuCoreNumber | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property gpuCoreNumber: GPU core number, if using GPU. |
gpuModelSeries | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property gpuModelSeries: GPU model series, if using GPU. |
gpuType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property gpuType: GPU type, default is nvidia.com\/gpu. |
replicas | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property replicas: Number of replicas for Deployment or StatefulSet. |
zoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property zoneId: Zone ID for the application pod. |
computeClassRequired
public java.lang.Object getComputeClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property computeClass: Compute class of the application pod.
computeQosRequired
public java.lang.Object getComputeQos();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property computeQos: Compute QoS of the application pod.
cpuCoreNumberRequired
public java.lang.Object getCpuCoreNumber();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cpuCoreNumber: CPU core number required by the container.
imageRequired
public java.lang.Object getImage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property image: Container image for the application pod.
kindRequired
public java.lang.Object getKind();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet).
memoryRequired
public java.lang.Object getMemory();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property memory: Memory size (in GB) required by the container.
diskConfigOptional
public java.lang.Object getDiskConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR DiskConfigProperty
Property diskConfig: Disk configurations for the application pod.
gpuCoreNumberOptional
public java.lang.Object getGpuCoreNumber();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property gpuCoreNumber: GPU core number, if using GPU.
gpuModelSeriesOptional
public java.lang.Object getGpuModelSeries();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gpuModelSeries: GPU model series, if using GPU.
gpuTypeOptional
public java.lang.Object getGpuType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gpuType: GPU type, default is nvidia.com\/gpu.
replicasOptional
public java.lang.Object getReplicas();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property replicas: Number of replicas for Deployment or StatefulSet.
zoneIdOptional
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: Zone ID for the application pod.