BundleProps
Properties for defining a Bundle
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-bundle
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecd"
&alicloudroscdkecd.BundleProps {
DesktopType: interface{},
ImageId: interface{},
RootDiskSizeGib: interface{},
UserDiskSizeGib: interface{},
BundleName: interface{},
Description: interface{},
Language: interface{},
RootDiskPerformanceLevel: interface{},
UserDiskPerformanceLevel: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DesktopType |
interface{} |
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 |
interface{} |
Property imageId: The ID of the image. |
RootDiskSizeGib |
interface{} |
Property rootDiskSizeGib: The root disk size gib. |
UserDiskSizeGib |
interface{} |
Property userDiskSizeGib: The size of the data disk. |
BundleName |
interface{} |
Property bundleName: The name of the bundle. |
Description |
interface{} |
Property description: The description of the bundle. |
Language |
interface{} |
Property language: The language. |
RootDiskPerformanceLevel |
interface{} |
Property rootDiskPerformanceLevel: The root disk performance level. |
UserDiskPerformanceLevel |
interface{} |
Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3. |
DesktopType
Required
DesktopType interface{}
- Type: interface{}
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
ImageId interface{}
- Type: interface{}
Property imageId: The ID of the image.
RootDiskSizeGib
Required
RootDiskSizeGib interface{}
- Type: interface{}
Property rootDiskSizeGib: The root disk size gib.
UserDiskSizeGib
Required
UserDiskSizeGib interface{}
- Type: interface{}
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
BundleName interface{}
- Type: interface{}
Property bundleName: The name of the bundle.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the bundle.
Language
Optional
Language interface{}
- Type: interface{}
Property language: The language.
Valid values: zh-CN: Simplified Chinese zh-HK: Traditional Chinese (Hong Kong) en-US: English ja-JP: Japanese
RootDiskPerformanceLevel
Optional
RootDiskPerformanceLevel interface{}
- Type: interface{}
Property rootDiskPerformanceLevel: The root disk performance level.
Valid values: PL0 PL1 PL2 PL3
UserDiskPerformanceLevel
Optional
UserDiskPerformanceLevel interface{}
- Type: interface{}
Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3.