Skip to content

ImageProps

Properties for defining a Image.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-image

Initializer

import ros_cdk_pai
ros_cdk_pai.ImageProps(
  image_name: typing.Union[str, IResolvable],
  image_uri: typing.Union[str, IResolvable],
  accessibility: typing.Union[str, IResolvable] = None,
  labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]] = None,
  workspace_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
image_name typing.Union[str, ros_cdk_core.IResolvable] Property imageName: The image name.
image_uri typing.Union[str, ros_cdk_core.IResolvable] Property imageUri: The Image address, which contains the version number.
accessibility typing.Union[str, ros_cdk_core.IResolvable] Property accessibility: Visibility of the mirror, possible values: - PUBLIC: all members of the current workspace can operate.
labels typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]] Property labels: Labels.
workspace_id typing.Union[str, ros_cdk_core.IResolvable] Property workspaceId: The ID of the workspace to which the image belongs.

image_nameRequired

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

Property imageName: The image name.


image_uriRequired

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

Property imageUri: The Image address, which contains the version number.


accessibilityOptional

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

Property accessibility: Visibility of the mirror, possible values: - PUBLIC: all members of the current workspace can operate.

  • PRIVATE: Only the creator can operate.

labelsOptional

labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]]

Property labels: Labels.


workspace_idOptional

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

Property workspaceId: The ID of the workspace to which the image belongs.