ListInstances

更新时间:
复制 MD 格式

Queries a list of Distribution Switch (DSW) instances.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

paidsw:ListInstances

get

*All Resource

*

None None

Request syntax

GET /api/v2/instances HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

No

The ID of the workspace. For more information about how to obtain the workspace ID, see ListWorkspaces. By default, this parameter is not specified, which indicates that instances in the default workspace of the current sub-account are returned. For more information about how to view the default workspace, see GetDefaultWorkspace. To query instances in all workspaces, set this parameter to ALL.

40823

InstanceName

string

No

The name of the instance. If you specify this parameter, a case-insensitive fuzzy search is performed on instance names. By default, this parameter is not specified, which indicates that no filter is applied.

training_data

ResourceId

string

No

The ID of the resource quota. This parameter is used to filter instances. For more information about how to obtain the ID of a resource quota, see ListQuotas. By default, this parameter is not specified, which indicates that only instances of the pay-as-you-go resource group are returned. If you set this parameter to ALL, all instances are returned.

ALL

Status

string

No

The instance status that you want to use to filter instances. By default, this parameter is not specified, which indicates that instances in all states are queried.

Valid values:

  • Creating :

    The instance is being created.

  • SaveFailed :

    The image failed to be saved.

  • Stopped :

    The instance is stopped.

  • Failed :

    The instance fails.

  • ResourceAllocating :

    Resources are being allocated.

  • Stopping :

    The instance is being stopped.

  • Updating :

    The instance is being updated.

  • Saving :

    The image is being saved.

  • Queuing :

    The instance is in the queue.

  • Recovering :

    The instance is being recovered.

  • Starting :

    The instance is being started.

  • Running :

    The instance is running.

  • Saved :

    The image is saved.

  • Deleting :

    The instance is being deleted.

  • EnvPreparing :

    The environment is being prepared.

Running

PaymentType

string

No

The billing method of the instance. You can use this parameter to filter instances. By default, this parameter is not specified, which indicates that instances of all billing methods are queried.

Valid values:

  • PayAsYouGo :

    pay-as-you-go

  • Subscription :

    subscription

PayAsYouGo

Accessibility

string

No

The visibility of the instance in its workspace. You can use this parameter to filter instances. By default, this parameter is not specified, which indicates that instances of all visibility settings are queried. Valid values:

  • PRIVATE (default): The instance is visible to the instance creator and administrators in the workspace.

  • PUBLIC: The instance is visible to all users in the workspace.

PRIVATE

AcceleratorType

string

No

The type of the accelerator. You can use this parameter to filter instances. By default, this parameter is not specified, which indicates that instances that use all types of accelerators are queried. Valid values:

  • CPU: The instance uses only CPUs for computing.

  • GPU: The instance uses GPUs for accelerated computing.

Valid values:

  • CPU :

    CPU

  • GPU :

    GPU

CPU

PageNumber

integer

No

The page number. Pages start from page 1. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Default value: 10.

10

SortBy

string

No

The sorting field.

Valid values:

  • Priority :

    priority

  • GmtCreateTime :

    the creation time

  • GmtModifiedTime :

    the modification time

GmtCreateTime

Order

string

No

The sorting order. Valid values: DESC and ASC. Default value: DESC.

Valid values:

  • ASC :

    ascending order

  • DESC :

    descending order

DESC

InstanceId

string

No

If you specify this parameter, the system performs an exact match to filter instances. For more information about how to obtain an instance ID, see ListInstances. You can specify multiple instance IDs and separate them with commas (,).

dsw-730xxxxxxxxxx

Labels

object

No

If you specify this parameter, the system filters instances based on their tags. You can specify a maximum of four tags. If you specify multiple tags, the tags are combined by using the AND operator.

{ "key1": "value1", "key2": "value2", "key3": "value3" }

CreateUserId

string

No

If you specify this parameter, the system filters instances based on the user ID of the instance creator.

12345*****67890

GpuType

string

No

If you specify this parameter, the system filters instances based on their GPU model.

NVIDIA A10

MinCpu

string

No

The minimum number of vCPUs. The unit is 0.001 vCPU. 1000 indicates one vCPU. If you specify this parameter, the system filters out instances that have a smaller number of vCPUs than the value of this parameter.

2000

MaxCpu

string

No

The maximum number of vCPUs. The unit is 0.001 vCPU. 1000 indicates one vCPU. If you specify this parameter, the system filters out instances that have a greater number of vCPUs than the value of this parameter.

30000

MinGpu

string

No

The minimum number of GPUs. The unit is 0.001 GPU. 1000 indicates one GPU. If you specify this parameter, the system filters out instances that have a smaller number of GPUs than the value of this parameter.

100

MaxGpu

string

No

The maximum number of GPUs. The unit is 0.001 GPU. 1000 indicates one GPU. If you specify this parameter, the system filters out instances that have a greater number of GPUs than the value of this parameter.

8000

MinMemory

string

No

The minimum memory size of the instance. Unit: GB. If you specify this parameter, the system filters out instances whose memory size is smaller than the value of this parameter.

4

MaxMemory

string

No

The maximum memory size of the instance. Unit: GB. If you specify this parameter, the system filters out instances whose memory size is greater than the value of this parameter.

48

MinGpuMemory

string

No

The minimum memory size of a single GPU. Unit: GB. If you specify this parameter, the system filters out instances whose GPU memory size is smaller than the value of this parameter.

8

MaxGpuMemory

string

No

The maximum memory size of a single GPU. Unit: GB. If you specify this parameter, the system filters out instances whose GPU memory size is greater than the value of this parameter.

16

ImageName

string

No

The image name. If you specify this parameter, the system filters instances based on the image name.

modelscope:1.9.4-pytorch2.0.1tensorflow2.13.0-cpu-py38-ubuntu20.04

Tag

array<object>

No

The tags. If you specify this parameter, the system filters instances based on their tags. You can specify a maximum of four tags. If you specify multiple tags, the tags are combined by using the AND operator.

object

No

The tag information.

Key

string

No

The tag key.

tag1

Value

string

No

The tag value.

value1

OversoldInfo

string

No

The type of the idle resources that are actually used by the instance. If you specify this parameter, the system filters instances based on the type of idle resources that are actually used by the instances. Valid values:

  • ForbiddenQuotaOverSold: guaranteed resources.

  • ForceQuotaOverSold: idle resources.

  • PendingQuotaOverSold: The resource allocation is pending.

ForceQuotaOverSold

OversoldType

string

No

The type of idle resources that are specified by the user. If you specify this parameter, the system filters instances based on the type of idle resources. Valid values:

  • ForceQuotaOverSold: uses only idle resources.

  • AcceptQuotaOverSold: accepts idle resources.

  • ForbiddenQuotaOverSold: uses guaranteed resources.

AcceptQuotaOverSold

CreateTimeAfter

string

No

If you specify this parameter, the system filters out instances that are created on or after the specified time.

2024-01-12T14:36:01Z

CreateTimeBefore

string

No

If you specify this parameter, the system filters out instances that are created on or before the specified time.

2024-01-12T15:36:01Z

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

E7D55162-4489-1619-AAF5-3F97D5FCA948

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

Message

string

The response message.

"XXX"

Code

string

The status code. Valid values:

  • InternalError: An internal error occurred. This code is returned for all errors except for ValidationError.

  • ValidationError: A parameter validation error occurred.

null

HttpStatusCode

integer

The HTTP status code. Valid values:

  • 400

  • 404

null

TotalCount

integer

The total number of instances.

35

Instances

array<object>

A list of instances on the current page.

array<object>

Details of an instance.

WorkspaceId

string

The workspace ID.

40823

WorkspaceName

string

The workspace name.

training_data

InstanceId

string

The instance ID.

dsw-730xxxxxxxxxx

InstanceName

string

The instance name.

training_data

EcsSpec

string

The ECS specification of the instance.

ecs.c6.large

Status

string

The status of the instance.

Running

InstanceUrl

string

The instance URL.

https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/

JupyterlabUrl

string

The JupyterLab URL.

https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/

WebIDEUrl

string

The Web IDE URL.

https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/

TerminalUrl

string

The terminal URL.

https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/

AccumulatedRunningTimeInMs

integer

The accumulated running time, in milliseconds.

3600000

ImageId

string

The image ID.

image-05cefd0be2exxxx

ImageUrl

string

The image URL.

registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu

ImageName

string

The image name.

py36_cpu_tf1.12_ubuntu

GmtCreateTime

string

The time when the instance was created.

2021-01-12T14:36:01Z

GmtModifiedTime

string

The time when the instance was last modified.

2021-01-12T14:36:01Z

UserId

string

The user ID.

1612285282502324

UserName

string

The username.

测试用户

Datasets

array<object>

The list of datasets.

object

The dataset object.

DatasetId

string

The dataset ID.

d-vsqjvsjp4orp5l206u

DatasetVersion

string

The dataset version.

v1

Uri

string

The URI of the specified dataset.

oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/

MountPath

string

The mount path in the container.

/mnt/data

MountAccess

string

The read/write permissions. Valid values are RW (read/write) and RO (read-only).

Valid values:

  • RW :

    read/write

  • RO :

    read-only

RW

Options

string

The mount options for the dataset.

{ "fs.oss.download.thread.concurrency": "10", "fs.oss.upload.thread.concurrency": "10", "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink" }

OptionType

string

The type of the mount configuration item.

FastReadWrite

Dynamic

boolean

Specifies whether to enable dynamic mounting. Default value: false.

false

UserVpc

object

The VPC settings.

VpcId

string

The VPC ID.

vpc-xxxxx

VSwitchId

string

The VSwitch ID.

vsw-xxxxx

SecurityGroupId

string

The security group ID.

sg-xxxxxx

ExtendedCIDRs

array

The list of extended CIDR blocks for network connectivity.

["192.168.0.1/24", "192.168.1.1/24"]

string

An extended CIDR block for network connectivity.

192.168.0.1/24

DefaultRoute

string

The default route.

eth0 | eth1

ForwardInfos

array

A list of port forwarding rules.

ForwardInfoResponse

A port forwarding rule.

BandwidthLimit

BandwidthLimit

Ip

string

InstanceShutdownTimer

object

The scheduled shutdown task for the instance.

InstanceId

string

The instance ID.

dsw-730xxxxxxxxxx

GmtCreateTime

string

The time when the task was created.

2021-01-12T14:36:01Z

GmtModifiedTime

string

The time when the task was last modified.

2021-01-12T14:36:01Z

DueTime

string

The scheduled shutdown time.

2021-01-12T14:36:01Z

RemainingTimeInMs

integer

The remaining time before shutdown, in milliseconds.

3600000

ReasonCode

string

The instance error code.

Internal Error

ReasonMessage

string

The reason for the instance error.

ImagePullBackOff

PaymentType

string

The billing method. Valid values:

  • PayAsYouGo: pay-as-you-go

  • Subscription: subscription

PayAsYouGo

LatestSnapshot

object

The most recent snapshot of the instance.

ImageId

string

The image ID.

image-05cefd0be2exxxx

ImageName

string

The image name.

py36_cpu_tf1.12_ubuntu

ImageUrl

string

The image URL.

registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu

RepositoryUrl

string

The image repository URL.

https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images

GmtCreateTime

string

The time when the snapshot was created.

2021-01-12T14:36:01Z

GmtModifiedTime

string

The time when the snapshot was last modified.

2021-01-12T14:36:01Z

ReasonCode

string

The error code for the instance snapshot.

Internal Error

ReasonMessage

string

The error message for the instance snapshot.

ImagePullBackOff

Status

string

The status of the instance snapshot.

Pushing

AcceleratorType

string

The accelerator type for the instance. Valid values:

  • CPU

  • GPU

CPU

Accessibility

string

The visibility of the instance in the workspace. Valid values:

  • PRIVATE (default): The instance is visible only to its creator and workspace administrators.

  • PUBLIC: The instance is visible to all users in the workspace.

PRIVATE

EnvironmentVariables

object

The environment variables.

{userName: "Chris"}

string

A user-defined environment variable. After the DSW instance starts, the specified environment variables are injected into the container.

MAAS

ResourceId

string

The resource ID. This parameter is returned for subscription instances.

dsw-123456789

ResourceName

string

The resource specification.

  • For pay-as-you-go instances, this is the purchased ECS specification.

  • For subscription instances, this is the requested number of CPU cores and memory size.

resource_group

Priority

integer

The priority of the instance. Resources are allocated to instances with higher priority first.

1

RequestedResource

object

The resource configuration.

{"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}

CPU

string

The number of CPU cores.

32

Memory

string

The memory size.

32

SharedMemory

string

The size of the shared memory.

32

GPU

string

The number of GPUs.

4

GPUType

string

The GPU card type.

NVIDIA A10

Labels

array<object>

The user-defined tags for the instance.

{'foo': 'bar'}

object

The user-defined tag.

Key

string

The key of the user-defined tag.

stsTokenOwner

Value

string

The value of the user-defined tag.

123xxxxxxxx

IdleInstanceCuller

object

The idle shutdown rule for the instance.

{"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}

InstanceId

string

The instance ID.

dsw-730xxxxxxxxxx

CpuPercentThreshold

integer

The CPU utilization threshold, in percent. Valid values: 1 to 100. If the CPU utilization is below this value, the instance is considered idle.

20

GpuPercentThreshold

integer

The GPU utilization threshold, in percent. Valid values: 1 to 100. This setting applies only to GPU instances. An instance is considered idle only when both its CPU and GPU utilization fall below their respective thresholds.

10

MaxIdleTimeInMinutes

integer

The maximum idle time threshold, in minutes. If the idle duration exceeds this value, the system automatically stops the DSW instance.

60

IdleTimeInMinutes

integer

The current idle duration of the instance, in minutes.

30

InstanceSnapshotList

array<object>

The list of instance snapshots.

[]

object

An instance snapshot.

ImageId

string

The image ID.

image-05cefd0be2exxxx

ImageName

string

The image name.

py36_cpu_tf1.12_ubuntu

ImageUrl

string

The image URL.

registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu

RepositoryUrl

string

The image repository URL.

https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images

GmtCreateTime

string

The time when the snapshot was created.

2021-01-12T14:36:01Z

GmtModifiedTime

string

The time when the snapshot was last modified.

2021-01-12T14:36:01Z

ReasonCode

string

The error code for the instance snapshot.

Internal Error

ReasonMessage

string

The error message for the instance snapshot.

ImagePullBackOff

Status

string

The status of the instance snapshot.

Pushing

CloudDisks

array<object>

The list of cloud disks for the instance.

[]

object

Capacity

string

The capacity of the cloud disk.

30Gi

SubType

string

The usage of the cloud disk. A value of rootfs indicates that the disk is mounted as a root file system.

rootfs

MountPath

string

The mount path of the cloud disk in the container.

/mmt/workspace

Path

string

The directory to be mounted in the cloud disk.

/workspace

WorkspaceSource

string

The storage pointed to by the workspace. If this parameter is not specified, NAS, CloudDisk, or local disk is used in sequence.

d-123456789

Driver

string

The NVIDIA driver configuration.

535.54.03

CredentialConfig CredentialConfig

The credential injection configuration.

Affinity

object

The affinity configuration.

CPU

object

The CPU affinity configuration. This parameter is supported only for subscription general-purpose computing instances.

Enable

boolean

Specifies whether to enable CPU affinity.

true: Enabled. false: Disabled.

true

ImageAuth

string

The Base64-encoded value of the account and password information for a user's private image. The password part will be hidden.

aGFyYm9yYWlAeGltYWxheWE6KioqKioq

Tags

array<object>

Tag list.

object

Tag information.

TagKey

string

Tag key.

tag1

TagValue

string

Tag value.

value1

DynamicMount DynamicMount

Dynamic mount configuration.

OversoldType

string

Type of instance idle resources.

OversoldInfo

string

Information about the idle resources that the instance actually uses.

ServiceConfig

ServiceConfig

Configuration information for instance services (such as IDE and Jupyter).

TenantId

string

MigrationOptions

object

Instance migration options

Examples

Success response

JSON format

{
  "RequestId": "E7D55162-4489-1619-AAF5-3F97D5FCA948",
  "Success": true,
  "Message": "\"XXX\"",
  "Code": "null",
  "HttpStatusCode": 0,
  "TotalCount": 35,
  "Instances": [
    {
      "WorkspaceId": "40823",
      "WorkspaceName": "training_data",
      "InstanceId": "dsw-730xxxxxxxxxx",
      "InstanceName": "training_data",
      "EcsSpec": "ecs.c6.large",
      "Status": "Running",
      "InstanceUrl": "https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/",
      "JupyterlabUrl": "https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/",
      "WebIDEUrl": "https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/",
      "TerminalUrl": "https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/",
      "AccumulatedRunningTimeInMs": 3600000,
      "ImageId": "image-05cefd0be2exxxx",
      "ImageUrl": "registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu",
      "ImageName": "py36_cpu_tf1.12_ubuntu",
      "GmtCreateTime": "2021-01-12T14:36:01Z",
      "GmtModifiedTime": "2021-01-12T14:36:01Z",
      "UserId": "1612285282502324",
      "UserName": "测试用户",
      "Datasets": [
        {
          "DatasetId": "d-vsqjvsjp4orp5l206u",
          "DatasetVersion": "v1",
          "Uri": "oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/",
          "MountPath": "/mnt/data",
          "MountAccess": "RW",
          "Options": "{\n  \"fs.oss.download.thread.concurrency\": \"10\",\n  \"fs.oss.upload.thread.concurrency\": \"10\",\n  \"fs.jindo.args\": \"-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink\"\n}",
          "OptionType": "FastReadWrite",
          "Dynamic": false
        }
      ],
      "UserVpc": {
        "VpcId": "vpc-xxxxx",
        "VSwitchId": "vsw-xxxxx",
        "SecurityGroupId": "sg-xxxxxx",
        "ExtendedCIDRs": [
          "192.168.0.1/24"
        ],
        "DefaultRoute": "eth0 | eth1",
        "ForwardInfos": [
          {
            "Enable": true,
            "ContainerName": "dsw-notebook",
            "ForwardPort": "22",
            "NatGatewayId": "ngw-bp1uewa15k4iy5770****",
            "EipAllocationId": "eip-25877c70gddh****",
            "SSHPublicKey": "ssh-rsa AAAAB3****************************\n",
            "ConnectInfo": {
              "Phase": "Ready",
              "Message": "DNAT and privateZone are both ready.",
              "Intranet": {
                "Endpoint": "dsw-notebook-22-urz3u6cnu0uts7ej9r.dsw-5cc6083084818f60.dsw.pai.alibaba.com",
                "Port": "22"
              },
              "Internet": {
                "Endpoint": "47.111.119.114",
                "Port": "22"
              }
            },
            "Name": "ssh",
            "ExternalPort": "1024",
            "AccessType": [
              "intranet"
            ],
            "NlbGatewayId": ""
          }
        ],
        "BandwidthLimit": {
          "EgressWhitelists": [
            ""
          ],
          "IngressRate": "",
          "EgressRate": "",
          "IngressWhitelists": [
            ""
          ]
        },
        "Ip": ""
      },
      "InstanceShutdownTimer": {
        "InstanceId": "dsw-730xxxxxxxxxx",
        "GmtCreateTime": "2021-01-12T14:36:01Z",
        "GmtModifiedTime": "2021-01-12T14:36:01Z",
        "DueTime": "2021-01-12T14:36:01Z",
        "RemainingTimeInMs": 3600000
      },
      "ReasonCode": "Internal Error",
      "ReasonMessage": "ImagePullBackOff",
      "PaymentType": "PayAsYouGo",
      "LatestSnapshot": {
        "ImageId": "image-05cefd0be2exxxx",
        "ImageName": "py36_cpu_tf1.12_ubuntu",
        "ImageUrl": "registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu",
        "RepositoryUrl": "https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images",
        "GmtCreateTime": "2021-01-12T14:36:01Z",
        "GmtModifiedTime": "2021-01-12T14:36:01Z",
        "ReasonCode": "Internal Error",
        "ReasonMessage": "ImagePullBackOff",
        "Status": "Pushing"
      },
      "AcceleratorType": "CPU",
      "Accessibility": "PRIVATE",
      "EnvironmentVariables": {
        "key": "MAAS"
      },
      "ResourceId": "dsw-123456789",
      "ResourceName": "resource_group",
      "Priority": 1,
      "RequestedResource": {
        "CPU": "32",
        "Memory": "32",
        "SharedMemory": "32",
        "GPU": "4",
        "GPUType": "NVIDIA A10"
      },
      "Labels": [
        {
          "Key": "stsTokenOwner",
          "Value": "123xxxxxxxx"
        }
      ],
      "IdleInstanceCuller": {
        "InstanceId": "dsw-730xxxxxxxxxx",
        "CpuPercentThreshold": 20,
        "GpuPercentThreshold": 10,
        "MaxIdleTimeInMinutes": 60,
        "IdleTimeInMinutes": 30
      },
      "InstanceSnapshotList": [
        {
          "ImageId": "image-05cefd0be2exxxx",
          "ImageName": "py36_cpu_tf1.12_ubuntu",
          "ImageUrl": "registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu",
          "RepositoryUrl": "https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images",
          "GmtCreateTime": "2021-01-12T14:36:01Z",
          "GmtModifiedTime": "2021-01-12T14:36:01Z",
          "ReasonCode": "Internal Error",
          "ReasonMessage": "ImagePullBackOff",
          "Status": "Pushing"
        }
      ],
      "CloudDisks": [
        {
          "Capacity": "30Gi",
          "SubType": "rootfs",
          "MountPath": "/mmt/workspace",
          "Path": "/workspace"
        }
      ],
      "WorkspaceSource": "d-123456789",
      "Driver": "535.54.03",
      "CredentialConfig": {
        "Enable": true,
        "AliyunEnvRoleKey": "0",
        "Configs": [
          {
            "Key": "0",
            "Type": "Role",
            "Roles": [
              {
                "RoleArn": "acs:ram::123******:role/****",
                "RoleType": "service",
                "AssumeRoleFor": "123******",
                "Policy": "{}",
                "UserInfo": {
                  "Id": "456******",
                  "Type": "S",
                  "AccessKeyId": "LT********",
                  "SecurityToken": "********"
                }
              }
            ]
          }
        ]
      },
      "Affinity": {
        "CPU": {
          "Enable": true
        }
      },
      "ImageAuth": "aGFyYm9yYWlAeGltYWxheWE6KioqKioq",
      "Tags": [
        {
          "TagKey": "tag1",
          "TagValue": "value1"
        }
      ],
      "DynamicMount": {
        "Enable": true,
        "MountPoints": [
          {
            "RootPath": "/mnt/dynamic/",
            "Options": "{}"
          }
        ]
      },
      "OversoldType": "",
      "OversoldInfo": "",
      "ServiceConfig": {
        "JupyterServerPassword": "",
        "JupyterServerAuth": "",
        "CodeServerPassword": "",
        "CodeServerAuth": ""
      },
      "TenantId": ""
    }
  ],
  "MigrationOptions": {
    "test": "test",
    "test2": 1
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.