BundleProps
Properties for defining a Bundle
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-bundle
Initializer
import com.aliyun.ros.cdk.ecd.BundleProps;
BundleProps.builder()
.desktopType(java.lang.String)
.desktopType(IResolvable)
.imageId(java.lang.String)
.imageId(IResolvable)
.rootDiskSizeGib(java.lang.Number)
.rootDiskSizeGib(IResolvable)
.userDiskSizeGib(IResolvable)
.userDiskSizeGib(java.util.List<java.lang.Number)
.userDiskSizeGib(IResolvable>)
// .bundleName(java.lang.String)
// .bundleName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .language(java.lang.String)
// .language(IResolvable)
// .rootDiskPerformanceLevel(java.lang.String)
// .rootDiskPerformanceLevel(IResolvable)
// .userDiskPerformanceLevel(java.lang.String)
// .userDiskPerformanceLevel(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
desktopType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property desktopType: Desktop specifications.You can call Describundles to query the desktop bundle and get the currently supported desktop specification from the returned desktopType. Explain that ordinary mirrors cannot choose the GPU specifications, and the GPU type mirror can only choose the GPU specification. |
imageId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageId: The ID of the image. |
rootDiskSizeGib |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property rootDiskSizeGib: The root disk size gib. |
userDiskSizeGib |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property userDiskSizeGib: The size of the data disk. |
bundleName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bundleName: The name of the bundle. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the bundle. |
language |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property language: The language. |
rootDiskPerformanceLevel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property rootDiskPerformanceLevel: The root disk performance level. |
userDiskPerformanceLevel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3. |
desktopType
Required
public java.lang.Object getDesktopType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property desktopType: Desktop specifications.You can call Describundles to query the desktop bundle and get the currently supported desktop specification from the returned desktopType. Explain that ordinary mirrors cannot choose the GPU specifications, and the GPU type mirror can only choose the GPU specification.
imageId
Required
public java.lang.Object getImageId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageId: The ID of the image.
rootDiskSizeGib
Required
public java.lang.Object getRootDiskSizeGib();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property rootDiskSizeGib: The root disk size gib.
userDiskSizeGib
Required
public java.lang.Object getUserDiskSizeGib();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property userDiskSizeGib: The size of the data disk.
Currently, only one data disk can be set. Unit: GiB.
- The size of the data disk that supports the setting corresponds to the specification.
- The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
bundleName
Optional
public java.lang.Object getBundleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bundleName: The name of the bundle.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the bundle.
language
Optional
public java.lang.Object getLanguage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property language: The language.
Valid values: zh-CN: Simplified Chinese zh-HK: Traditional Chinese (Hong Kong) en-US: English ja-JP: Japanese
rootDiskPerformanceLevel
Optional
public java.lang.Object getRootDiskPerformanceLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property rootDiskPerformanceLevel: The root disk performance level.
Valid values: PL0 PL1 PL2 PL3
userDiskPerformanceLevel
Optional
public java.lang.Object getUserDiskPerformanceLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3.