Skip to content

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.

DesktopTypeRequired

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.


ImageIdRequired

ImageId interface{}
  • Type: interface{}

Property imageId: The ID of the image.


RootDiskSizeGibRequired

RootDiskSizeGib interface{}
  • Type: interface{}

Property rootDiskSizeGib: The root disk size gib.


UserDiskSizeGibRequired

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.

BundleNameOptional

BundleName interface{}
  • Type: interface{}

Property bundleName: The name of the bundle.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the bundle.


LanguageOptional

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


RootDiskPerformanceLevelOptional

RootDiskPerformanceLevel interface{}
  • Type: interface{}

Property rootDiskPerformanceLevel: The root disk performance level.

Valid values: PL0 PL1 PL2 PL3


UserDiskPerformanceLevelOptional

UserDiskPerformanceLevel interface{}
  • Type: interface{}

Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3.