文档

通用数据结构

更新时间:

Cluster

Cluster

参数名称

类型

示例值

描述

ClusterId

String

c07f93axxxxxxxx

集群ID

Owner

String

134xxxxxxxx

集群Owner

VpcId

String

vpc-xxxxxxxx

虚拟网络ID

VSwitchId

String

vsw-xxxxxxxx

虚拟交换机ID

Name

String

test-cluster

名称

ClusterType

String

ManagedKubernetes

类型

State

String

Running

状态

Config

String

k8sConfigFile

配置

Nas

String

3157748031

文件系统

PrivateNasPath

String

/

私有文件系统路径

PrivateContainerPath

String

/home/admin/workspace

私有挂载路径

PublicNasPath

String

/

公共文件系统路径

PublicContainerPath

String

/home/admin/workspace/workgroup

公共文件系统挂载路径

Config

Config

参数名称

类型

示例值

描述

Name

String

EnableCluster

配置名称

Value

String

True

配置值

Dataset

Dataset

参数名称

类型

示例值

描述

DatasetId

String

d-xxxxxxxx

数据集ID

DefaultMountPath

String

/mnt/data

默认挂载路径

Name

String

test-dataset

名称

MountPath

String

/mnt/myData

实际挂载路径

NasPath

String

/

文件系统被挂载的路径

FileSystemId

String

01bd34b09b

文件系统ID

EcsSpec

ecs规格

参数名称

类型

示例值

描述

InstanceType

String

ecs.gn6e-c12g1.3xlarge

实例规格

Cpu

Long

1

CPU核心数

Gpu

Long

1

GPU卡数

MemoryInGiB

Long

100

内存大小

SystemDiskCategory

String

ssd

系统盘类型

SystemDiskSizeInGiB

Long

10000

系统盘大小

GpuType

String

v100

GPU卡型

Image

Image

参数名称

类型

示例值

描述

ImageId

String

img-d7adefa77718****

ID

ImageName

String

test

名称

InstanceId

String

dsw-d7adefa77718****

实例ID

AcceleratorType

String

cpu

镜像资源类型(CPU,GPU)

Framework

String

tensorflow

深度学习框架(Tensorflow,Pytorch)

FrameworkVersion

String

2.0

框架版本

OS

String

ubuntu

操作系统分发版(Ubuntu,Alios)

OSVersion

String

18.04

操作系统分发版版本

CudaVersion

String

10.0

CUDA框架版本

Type

String

official

镜像类型(official:官方,custom:自定义)

WorkspaceImageId

String

img-xxxx

对应的工作空间镜像ID

Repository

String

registry-vpc.cn-hangzhou.aliyuncs.com/xxx/xxx

仓库

Namespace

String

dsw

命名空间

Tag

String

1.5

标签

GmtCreateTime

String

2021-10-25T04:42:28Z

创建时间

GmtModifiedTime

String

2021-10-25T04:42:28Z

修改时间

Author

String

134xxxxxxxx

镜像创建者

PythonVersion

String

3.6

镜像python版本

Shared

Boolean

false

镜像是否被其他人使用

ResourceType

Long

1

资源类型(1:CPU,2:GPU)

RootImageId

String

img-xxx

根镜像ID

Description

String

xxx

描述

Stage

String

Saved

镜像状态

StageCode

Long

1

镜像状态编码

FromImageId

String

img-xxx

父镜像ID

FromImageName

String

pytorch1.5

父镜像名称

SuggestedName

String

user_xxxxx

镜像建议名称

ImageUrl

String

registry-vpc.cn-hangzhou.aliyuncs.com/dsw/tensorflow:1.5

镜像URL

Region

String

cn-hangzhou

地区

EcsImageKey

String

e-xxxxxxx

ecs镜像ID

ShortImageUrl

String

dsw/tensorflow:1.5

镜像短URL

RepositoryPage

String

https://cr.console.aliyun.com/repository/cn-hangzhou/cloud-dsw/tensorflow/details

镜像仓库aliyun页面

ShortRepository

String

dsw

仓库短名称

ImageNamespace

镜像管理命名空间

参数名称

类型

示例值

描述

Namespace

String

dsw

命名空间

NamespaceStatus

String

NORMAL

命名空间状态

ImageRepository

镜像管理镜像仓库

参数名称

类型

示例值

描述

RegionId

String

cn-hangzhou

地区ID

RepoNamespace

String

dsw

命名空间

RepoName

String

tensorflow

仓库

RepoStatus

String

NORMAL

仓库状态

Repository

String

仓库地址

仓库

GmtCreateTime

String

2021-08-26T06:56:38Z

创建时间

GmtModifiedTime

String

2021-08-26T06:56:38Z

修改时间

Instance

Instance

参数名称

类型

示例值

描述

InstanceId

String

dsw-d7adefa77718****

实例ID。

InstanceName

String

test

实例名称。

EcsSpec

String

ecs.g6.8xlarge

实例规格(可通过PAI-DSW的ListEcsSpecsAPI获取)。

InstanceStatus

String

Running

实例状态。

JupyterlabUrl

String

https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/lab/

jupyterlab(实验室)地址。

WebIdeUrl

String

https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/ide/

web开发环境地址。

TerminalUrl

String

https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/terminals/tty

命令行地址。

AccumulativeRunningTimeInMinutes

Long

10

实例累计运行时间(分钟)。

ImageId

String

img-d7adefa77718*****

实例镜像ID。

ImageUrl

String

registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.****

实例镜像地址。

GmtCreateTime

String

2021-04-01T00:00:00Z

实例创建时间。

GmtModifiedTime

String

2021-04-02T00:00:00Z

实例最后修改时间。

UserId

String

161228528250****

用户ID。

NasFileSystemId

String

0051a4****

nas文件系统ID。

UserVpc

UserVpc

被打通VPC配置。

InstanceShutdownTimer

InstanceShutdownTimer

实例定时关机配置。

WorkspaceId

String

1234****

工作空间编号。

WorkspaceName

String

zx****

工作空间名称。

InstanceUrl

String

//dsw-cn-beijing.data.aliyun.com/notebook.htm?instance=

实例URL。

Message

String

imagePullBackOff

请求返回消息。

ImageName

String

镜像名称。

InstanceShutdownTimer

InstanceShutdownTimer

参数名称

类型

示例值

描述

InstanceId

String

dsw-d7adefa77718****

实例ID

ScheduleTime

String

2021-04-01T01:00:00Z

关机时间

GmtModifiedTime

String

2021-04-01T00:00:00Z

修改时间

GmtCreateTime

String

2021-04-01T00:00:00Z

创建时间

TtlInMillis

Long

1000000

距离关机剩余时间(毫秒)

InstanceSnapshot

InstanceSnapshot

参数名称

类型

示例值

描述

InstanceId

String

dsw-d7adefa77718****

实例ID

InstanceSnapshotId

String

img-d7adefa77718****

实例快照ID

InstanceSnapshotStatus

String

Saved

实例快照状态

InstanceSnapshotName

String

testSnapshot

实例快照名称

InstanceSnapshotTag

String

testSnapshot

实例快照镜像标签

InstanceSnapshotRepoUrl

String

registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.****

实例快照镜像仓库URL

GmtCreateTime

String

2021-04-02T00:00:00Z

创建时间

GmtModifiedTime

String

2021-04-02T00:00:00Z

修改时间

InstanceSnapshotDescription

String

testSnapshot

实例快照描述

InstanceStatus

实例状态

参数名称

类型

示例值

描述

InstanceId

String

dsw-d7adefa77718****

实例ID

InstanceStatus

String

Running

实例状态

Msg

String

create timeout

实例启停中错误消息

Type

String

V3

实例类型

AccumulativeRunningTimeInMinutes

Long

100

实例总计运行时间(分钟)

InstanceShutdownTimer

InstanceShutdownTimer

实例定时关机任务

ShutdownEnabled

Boolean

true

是否可以添加定时关机任务

InstanceType

InstanceType

参数名称

类型

示例值

描述

InstanceTypeId

String

ecs.g6.2large

实例规格

SystemDiskCategory

String

ssd

系统盘类别

SystemDiskSize

Long

500

系统盘大小

PriceCNY

Float

6.5

价格(人民币)

PriceUSD

Float

1.6

价格(美元)

DomesticPrice

Float

6.5

内部价

Discount

Float

1

折扣

ResourceType

String

GPU

资源类型(1: CPU, 2: GPU)

International

Boolean

false

是否国际站用户

CpuCoreCount

Long

16

CPU核心数

MemorySize

Float

128

内存大小

InstanceTypeFamily

String

ecs.g6

实例规格族

LocalStorageCapacity

Long

500

本地磁盘大小

GPUAmount

Long

4

GPU卡数

GPUSpec

String

V100

GPU卡规格

Price

Float

6.5

价格

InstanceBandwidthRx

Long

1000

实例接收带宽

InstanceBandwidthTx

Long

1000

实例发送带宽

InstancePpsRx

Long

50000

实例收包速率

InstancePpsTx

Long

50000

实例发包速率

Nas

Nas

参数名称

类型

示例值

描述

FileSystemId

String

01bd34b09b

文件系统ID

Status

String

Running

状态

Description

String

for test

描述

Region

Region

参数名称

类型

示例值

描述

RegionId

String

cn-hangzhou

ID

RegionName

String

华东2 (杭州)

名称

RegionCity

String

杭州

城市

RegionState

String

华东2

ServiceUrl

String

https://dsw-cn-hangzhou.data.aliyun.com

服务URL

ResourceInfo

ResourceInfo

参数名称

类型

示例值

描述

PayType

Long

0

付费类型(0:后付费,1:预付费)

ResourceType

Long

1

资源类型(1:CPU,2:GPU)

Name

String

pai.medium.2xM40

资源名称

SecurityGroup

SecurityGroup

参数名称

类型

示例值

描述

SecurityGroupId

String

sg-xxxxxxxx

安全组ID

VpcId

String

vpc-xxxxxxxx

虚拟网络ID

SecurityGroupName

String

test-security-group

名称

Description

String

test security group

描述

CreateTime

String

2021-08-26T06:56:38Z

创建时间

Status

参数名称

类型

示例值

描述

InstanceId

String

dsw-d7adefa77718****

实例ID

InstanceStatus

String

Running

实例状态

Msg

String

create timeout

实例启动停止中错误消息

Type

String

V3

实例类型

AccumulativeRunningTimeInMinutes

Long

100

总计运行时间(分钟)

InstanceShutdownTimer

InstanceShutdownTimer

实例定时关机配置

UserVpc

UserVpc

参数名称

类型

示例值

描述

VpcId

String

vpc-bp1i4x5wj2kgro93l****

虚拟网络ID

VswitchId

String

vsw-bp1irltu139f5qufw****

虚拟交换机ID

RoleArn

String

acs:ram::123456789012****:role/appserverrole

角色字符串

SecurityGroupId

String

sg-bp10mttdnsk58y5n****

安全组ID

VSwitch

VSwitch

参数名称

类型

示例值

描述

VSwitchId

String

vsw-xxxxxxxx

虚拟路由ID

VpcId

String

vpc-xxxxxxxx

虚拟网络ID

Status

String

Available

状态

CidrBlock

String

192.168.0.0/16

网段规划

ZoneId

String

cn-hangzhou-k

可用区ID

AvailableIpAddressCount

Long

251

可用地址数量

Description

String

vswitch for test

描述

VSwitchName

String

test-vswitch

名称

CreateTime

String

2021-06-15T01:08:27Z

创建时间

IsDefault

Boolean

false

是否默认

Vpc

Vpc

参数名称

类型

示例值

描述

VpcId

String

vpc-xxxxxxxx

虚拟网络ID

Status

String

Available

状态

VpcName

String

test-vpc

名称

CreateTime

String

2021-08-26T06:56:38Z

创建时间

CidrBlock

String

2021-08-26T06:56:38Z

网络规划

VRouterId

String

vrt-xxxxxxxx

虚拟路由ID

Description

String

vpc for test

描述

IsDefault

Boolean

false

是否默认

  • 本页导读 (1)
文档反馈