Skip to content

BundleProps

Properties for defining a Bundle.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-bundle

Initializer

import { BundleProps } from '@alicloud/ros-cdk-ecd'
const bundleProps: BundleProps = { ... }

Properties

Name Type Description
desktopType string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Property imageId: The ID of the image.
rootDiskSizeGib number | @alicloud/ros-cdk-core.IResolvable Property rootDiskSizeGib: The root disk size gib.
userDiskSizeGib @alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[] Property userDiskSizeGib: The size of the data disk.
bundleName string | @alicloud/ros-cdk-core.IResolvable Property bundleName: The name of the bundle.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the bundle.
language string | @alicloud/ros-cdk-core.IResolvable Property language: The language.
rootDiskPerformanceLevel string | @alicloud/ros-cdk-core.IResolvable Property rootDiskPerformanceLevel: The root disk performance level.
userDiskPerformanceLevel string | @alicloud/ros-cdk-core.IResolvable Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3.

desktopTypeRequired

public readonly desktopType: string | IResolvable;
  • Type: string | @alicloud/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.


imageIdRequired

public readonly imageId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property imageId: The ID of the image.


rootDiskSizeGibRequired

public readonly rootDiskSizeGib: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property rootDiskSizeGib: The root disk size gib.


userDiskSizeGibRequired

public readonly userDiskSizeGib: IResolvable | number | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[]

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

public readonly bundleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bundleName: The name of the bundle.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the bundle.


languageOptional

public readonly language: string | IResolvable;
  • Type: string | @alicloud/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


rootDiskPerformanceLevelOptional

public readonly rootDiskPerformanceLevel: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property rootDiskPerformanceLevel: The root disk performance level.

Valid values: PL0 PL1 PL2 PL3


userDiskPerformanceLevelOptional

public readonly userDiskPerformanceLevel: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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