Skip to content

ImageProps

Properties for defining a Image.

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

Initializer

import com.aliyun.ros.cdk.pai.ImageProps;
ImageProps.builder()
    .imageName(java.lang.String)
    .imageName(IResolvable)
    .imageUri(java.lang.String)
    .imageUri(IResolvable)
//  .accessibility(java.lang.String)
//  .accessibility(IResolvable)
//  .labels(IResolvable)
//  .labels(java.util.List<IResolvable)
//  .labels(LabelsProperty>)
//  .workspaceId(java.lang.String)
//  .workspaceId(IResolvable)
    .build();

Properties

Name Type Description
imageName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageName: The image name.
imageUri java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageUri: The Image address, which contains the version number.
accessibility java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessibility: Visibility of the mirror, possible values: - PUBLIC: all members of the current workspace can operate.
labels com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLabelsProperty> Property labels: Labels.
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: The ID of the workspace to which the image belongs.

imageNameRequired

public java.lang.Object getImageName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property imageName: The image name.


imageUriRequired

public java.lang.Object getImageUri();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


accessibilityOptional

public java.lang.Object getAccessibility();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getLabels();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLabelsProperty>

Property labels: Labels.


workspaceIdOptional

public java.lang.Object getWorkspaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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