Skip to content

BundleProps

Properties for defining a Bundle.

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

Initializer

import ros_cdk_ecd
ros_cdk_ecd.BundleProps(
  desktop_type: typing.Union[str, IResolvable],
  image_id: typing.Union[str, IResolvable],
  root_disk_size_gib: typing.Union[typing.Union[int, float], IResolvable],
  user_disk_size_gib: typing.Union[IResolvable, typing.List[typing.Union[typing.Union[int, float], IResolvable]]],
  bundle_name: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  language: typing.Union[str, IResolvable] = None,
  root_disk_performance_level: typing.Union[str, IResolvable] = None,
  user_disk_performance_level: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
desktop_type typing.Union[str, 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.
image_id typing.Union[str, ros_cdk_core.IResolvable] Property imageId: The ID of the image.
root_disk_size_gib typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property rootDiskSizeGib: The root disk size gib.
user_disk_size_gib typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]]] Property userDiskSizeGib: The size of the data disk.
bundle_name typing.Union[str, ros_cdk_core.IResolvable] Property bundleName: The name of the bundle.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the bundle.
language typing.Union[str, ros_cdk_core.IResolvable] Property language: The language.
root_disk_performance_level typing.Union[str, ros_cdk_core.IResolvable] Property rootDiskPerformanceLevel: The root disk performance level.
user_disk_performance_level typing.Union[str, ros_cdk_core.IResolvable] Property userDiskPerformanceLevel: The user disk performance level.Valid values: PL0 PL1 PL2 PL3.

desktop_typeRequired

desktop_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


image_idRequired

image_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property imageId: The ID of the image.


root_disk_size_gibRequired

root_disk_size_gib: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property rootDiskSizeGib: The root disk size gib.


user_disk_size_gibRequired

user_disk_size_gib: typing.Union[IResolvable, typing.List[typing.Union[typing.Union[int, float], IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[typing.Union[int, float], 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.

bundle_nameOptional

bundle_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property bundleName: The name of the bundle.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the bundle.


languageOptional

language: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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


root_disk_performance_levelOptional

root_disk_performance_level: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property rootDiskPerformanceLevel: The root disk performance level.

Valid values: PL0 PL1 PL2 PL3


user_disk_performance_levelOptional

user_disk_performance_level: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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