Skip to content

ImageProps

Properties for defining a Image.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai"
&alicloudroscdkpai.ImageProps {
    ImageName: interface{},
    ImageUri: interface{},
    Accessibility: interface{},
    Labels: interface{},
    WorkspaceId: interface{},
}

Properties

Name Type Description
ImageName interface{} Property imageName: The image name.
ImageUri interface{} Property imageUri: The Image address, which contains the version number.
Accessibility interface{} Property accessibility: Visibility of the mirror, possible values: - PUBLIC: all members of the current workspace can operate.
Labels interface{} Property labels: Labels.
WorkspaceId interface{} Property workspaceId: The ID of the workspace to which the image belongs.

ImageNameRequired

ImageName interface{}
  • Type: interface{}

Property imageName: The image name.


ImageUriRequired

ImageUri interface{}
  • Type: interface{}

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


AccessibilityOptional

Accessibility interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

Property labels: Labels.


WorkspaceIdOptional

WorkspaceId interface{}
  • Type: interface{}

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