ImageProps
Properties for defining a Image.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-image
Initializer
import { ImageProps } from '@alicloud/ros-cdk-pai'
const imageProps: ImageProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
imageName | string | @alicloud/ros-cdk-core.IResolvable | Property imageName: The image name. |
imageUri | string | @alicloud/ros-cdk-core.IResolvable | Property imageUri: The Image address, which contains the version number. |
accessibility | string | @alicloud/ros-cdk-core.IResolvable | Property accessibility: Visibility of the mirror, possible values: - PUBLIC: all members of the current workspace can operate. |
labels | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LabelsProperty[] | Property labels: Labels. |
workspaceId | string | @alicloud/ros-cdk-core.IResolvable | Property workspaceId: The ID of the workspace to which the image belongs. |
imageNameRequired
public readonly imageName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageName: The image name.
imageUriRequired
public readonly imageUri: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageUri: The Image address, which contains the version number.
accessibilityOptional
public readonly accessibility: string | IResolvable;
- Type: string | @alicloud/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
public readonly labels: IResolvable | IResolvable | LabelsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LabelsProperty[]
Property labels: Labels.
workspaceIdOptional
public readonly workspaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property workspaceId: The ID of the workspace to which the image belongs.