1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'pai-dsw', 'version' => '2021-02-26'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => ['GetInstance'],
],
],
'components' => [
'schemas' => [
'Cluster' => [
'title' => 'A short description of struct',
'description' => 'Cluster',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'ClusterId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'c07f93axxxxxxxx', 'backendName' => 'ClusterId'],
'Owner' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '134xxxxxxxx', 'backendName' => 'Owner'],
'VpcId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc-xxxxxxxx', 'backendName' => 'VpcId'],
'VSwitchId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vsw-xxxxxxxx', 'backendName' => 'VSwitchId'],
'Name' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test-cluster', 'backendName' => 'Name'],
'ClusterType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ManagedKubernetes', 'backendName' => 'ClusterType'],
'State' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'State'],
'Config' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'k8sConfigFile', 'backendName' => 'Config'],
'Nas' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '3157748031', 'backendName' => 'Nas'],
'PrivateNasPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/', 'backendName' => 'PrivateNasPath'],
'PrivateContainerPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/home/admin/workspace', 'backendName' => 'PrivateContainerPath'],
'PublicNasPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/', 'backendName' => 'PublicNasPath'],
'PublicContainerPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/home/admin/workspace/workgroup', 'backendName' => 'PublicNasPath'],
],
],
'Config' => [
'title' => 'A short description of struct',
'description' => 'Config',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'EnableCluster', 'backendName' => 'Name'],
'Value' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'True', 'backendName' => 'Value'],
],
],
'Dataset' => [
'title' => '',
'description' => 'Dataset',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'DatasetId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'd-xxxxxxxx', 'backendName' => 'DatasetId'],
'DefaultMountPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/mnt/data', 'backendName' => 'DefaultMountPath'],
'Name' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test-dataset', 'backendName' => 'Name'],
'MountPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/mnt/myData', 'backendName' => 'MountPath'],
'NasPath' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '/', 'backendName' => 'NasPath'],
'FileSystemId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '01bd34b09b', 'backendName' => 'FileSystemId'],
],
],
'EcsSpec' => [
'title' => '',
'description' => '',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ecs.gn6e-c12g1.3xlarge', 'backendName' => 'InstanceType'],
'Cpu' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'Cpu'],
'Gpu' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'Gpu'],
'MemoryInGiB' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'MemoryInGiB'],
'SystemDiskCategory' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ssd', 'backendName' => 'SystemDiskCategory'],
'SystemDiskSizeInGiB' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'backendName' => 'SystemDiskSizeInGiB'],
'GpuType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'v100', 'backendName' => 'GpuType'],
],
],
'Image' => [
'title' => 'image',
'description' => 'Image',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'ImageId' => ['title' => '', 'description' => 'ID', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-d7adefa77718****', 'backendName' => 'ImageId'],
'ImageName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test', 'backendName' => 'ImageName'],
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceId'],
'AcceleratorType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'cpu', 'backendName' => 'AcceleratorType'],
'Framework' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'tensorflow', 'backendName' => 'Framework'],
'FrameworkVersion' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2.0', 'backendName' => 'FrameworkVersion'],
'OS' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ubuntu', 'backendName' => 'OS'],
'OSVersion' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '18.04', 'backendName' => 'OSVersion'],
'CudaVersion' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '10.0', 'backendName' => 'CudaVersion'],
'Type' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'official', 'backendName' => 'Type'],
'WorkspaceImageId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-xxxx', 'backendName' => 'WorkspaceImageId'],
'Repository' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/xxx/xxx', 'backendName' => 'Repository'],
'Namespace' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw', 'backendName' => 'Namespace'],
'Tag' => ['title' => 'Tag', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '1.5', 'backendName' => 'Tag'],
'GmtCreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-10-25T04:42:28Z', 'backendName' => 'GmtCreateTime'],
'GmtModifiedTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-10-25T04:42:28Z', 'backendName' => 'GmtModifiedTime'],
'Author' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '134xxxxxxxx', 'backendName' => 'Author'],
'PythonVersion' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '3.6', 'backendName' => 'PythonVersion'],
'Shared' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'Shared'],
'ResourceType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'ResourceType'],
'RootImageId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-xxx', 'backendName' => 'RootImageId'],
'Description' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'xxx', 'backendName' => 'Description'],
'Stage' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Saved', 'backendName' => 'Stage'],
'StageCode' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'StageCode'],
'FromImageId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-xxx', 'backendName' => 'FromImageId'],
'FromImageName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'pytorch1.5', 'backendName' => 'FromImageName'],
'SuggestedName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'user_xxxxx', 'backendName' => 'SuggestedName'],
'ImageUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/dsw/tensorflow:1.5', 'backendName' => 'ImageUrl'],
'Region' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'Region'],
'EcsImageKey' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'e-xxxxxxx', 'backendName' => 'EcsImageKey'],
'ShortImageUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw/tensorflow:1.5', 'backendName' => 'ShortImageUrl'],
'RepositoryPage' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'https://cr.console.aliyun.com/repository/cn-hangzhou/cloud-dsw/tensorflow/details', 'backendName' => 'RepositoryPage'],
'ShortRepository' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw', 'backendName' => 'ShortRepository'],
],
],
'ImageNamespace' => [
'title' => 'A short description of struct',
'description' => '',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'Namespace' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw', 'backendName' => 'Namespace'],
'NamespaceStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'NORMAL', 'backendName' => 'NamespaceStatus'],
],
],
'ImageRepository' => [
'title' => 'A short description of struct',
'description' => '',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'RegionId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'],
'RepoNamespace' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw', 'backendName' => 'RepoNamespace'],
'RepoName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'tensorflow', 'backendName' => 'RepoName'],
'RepoStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'NORMAL', 'backendName' => 'RepoStatus'],
'Repository' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'Repository'],
'GmtCreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-08-26T06:56:38Z', 'backendName' => 'GmtCreateTime'],
'GmtModifiedTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-08-26T06:56:38Z', 'backendName' => 'GmtModifiedTime'],
],
],
'Instance' => [
'title' => 'A short description of struct',
'description' => 'Instance',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceId'],
'InstanceName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test', 'backendName' => 'InstanceName'],
'EcsSpec' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ecs.g6.8xlarge', 'backendName' => 'EcsSpec'],
'InstanceStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'InstanceStatus'],
'JupyterlabUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/lab/', 'backendName' => 'JupyterlabUrl'],
'WebIdeUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/ide/', 'backendName' => 'WebIdeUrl'],
'TerminalUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/terminals/tty', 'backendName' => 'TerminalUrl'],
'AccumulativeRunningTimeInMinutes' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'backendName' => 'AccumulativeRunningTimeInMinutes'],
'ImageId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-d7adefa77718*****', 'backendName' => 'ImageId'],
'ImageUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.****', 'backendName' => 'ImageUrl'],
'GmtCreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-01T00:00:00Z', 'backendName' => 'GmtCreateTime'],
'GmtModifiedTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-02T00:00:00Z', 'backendName' => 'GmtModifiedTime'],
'UserId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '161228528250****', 'backendName' => 'UserId'],
'NasFileSystemId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '0051a4****', 'backendName' => 'NasFileSystemId'],
'UserVpc' => ['title' => '', 'description' => '', 'visibility' => 'public', 'backendName' => 'UserVpc', '$ref' => '#/components/schemas/UserVpc'],
'InstanceShutdownTimer' => ['title' => '', 'description' => '', 'visibility' => 'public', 'backendName' => 'InstanceShutdownTimer', '$ref' => '#/components/schemas/InstanceShutdownTimer'],
'WorkspaceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '1234****', 'backendName' => 'WorkspaceId'],
'WorkspaceName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'zx****', 'backendName' => 'WorkspaceName'],
'InstanceUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '//dsw-cn-beijing.data.aliyun.com/notebook.htm?instance=', 'backendName' => 'InstanceUrl'],
'Message' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'imagePullBackOff', 'backendName' => 'Message'],
'ShutdownEnabled' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'ShutdownEnabled'],
'AccumulativeRunningTimeInMillis' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'backendName' => 'AccumulativeRunningTimeInMillis'],
'ImageName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'ImageName'],
'CreateUser' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'CreateUser'],
'ImageType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'ImageType'],
'PayType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'PayType'],
'PayTypeName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'PayTypeName'],
'InstanceVersion' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'InstanceVersion'],
'IsPublic' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'IsPublic'],
'Resource' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'backendName' => 'Resource'],
'ResourceType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'ResourceType'],
'UserImageList' => [
'title' => '',
'description' => '',
'visibility' => 'public',
'type' => 'array',
'items' => ['visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Image'],
'backendName' => 'UserImageList',
],
'DatasetList' => [
'title' => '',
'description' => '',
'visibility' => 'public',
'type' => 'array',
'items' => ['visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Dataset'],
'backendName' => 'DatasetList',
],
],
],
'InstanceShutdownTimer' => [
'title' => 'A short description of struct',
'description' => 'InstanceShutdownTimer',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceSnapshot'],
'ScheduleTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-01T01:00:00Z', 'backendName' => 'ScheduleTime'],
'GmtModifiedTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-01T00:00:00Z', 'backendName' => 'GmtModifiedTime'],
'GmtCreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-01T00:00:00Z', 'backendName' => 'GmtCreateTime'],
'TtlInMillis' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1000000', 'backendName' => 'TtlInMillis'],
],
],
'InstanceSnapshot' => [
'title' => 'A short description of struct',
'description' => 'InstanceSnapshot',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceId'],
'InstanceSnapshotId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'img-d7adefa77718****', 'backendName' => 'InstanceSnapshotId'],
'InstanceSnapshotStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Saved', 'backendName' => 'InstanceSnapshotStatus'],
'InstanceSnapshotName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'testSnapshot', 'backendName' => 'InstanceSnapshotName'],
'InstanceSnapshotTag' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'testSnapshot', 'backendName' => 'InstanceSnapshotTag'],
'InstanceSnapshotRepoUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.****', 'backendName' => 'InstanceSnapshotRepoUrl'],
'GmtCreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-02T00:00:00Z', 'backendName' => 'GmtCreateTime'],
'GmtModifiedTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-04-02T00:00:00Z', 'backendName' => 'GmtModifiedTime'],
'InstanceSnapshotDescription' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'testSnapshot', 'backendName' => 'InstanceSnapshotDescription'],
],
],
'InstanceStatus' => [
'title' => 'A short description of struct',
'description' => '',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceId'],
'InstanceStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'InstanceStatus'],
'Msg' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'create timeout', 'backendName' => 'Msg'],
'Type' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'V3', 'backendName' => 'Type'],
'AccumulativeRunningTimeInMinutes' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'AccumulativeRunningTimeInMinutes'],
'InstanceShutdownTimer' => ['description' => '', 'visibility' => 'public', 'backendName' => 'InstanceShutdownTimer', '$ref' => '#/components/schemas/InstanceShutdownTimer'],
'ShutdownEnabled' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'ShutdownEnabled'],
],
],
'InstanceType' => [
'title' => '',
'description' => 'InstanceType',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceTypeId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ecs.g6.2large', 'backendName' => 'InstanceTypeId'],
'SystemDiskCategory' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ssd', 'backendName' => 'SystemDiskCategory'],
'SystemDiskSize' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'backendName' => 'SystemDiskSize'],
'PriceCNY' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '6.5', 'backendName' => 'PriceCNY'],
'PriceUSD' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '1.6', 'backendName' => 'PriceUSD'],
'DomesticPrice' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '6.5', 'backendName' => 'DomesticPrice'],
'Discount' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '1', 'backendName' => 'Discount'],
'ResourceType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'GPU', 'backendName' => 'ResourceType'],
'International' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'International'],
'CpuCoreCount' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '16', 'backendName' => 'CpuCoreCount'],
'MemorySize' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '128', 'backendName' => 'MemorySize'],
'InstanceTypeFamily' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'ecs.g6', 'backendName' => 'InstanceTypeFamily'],
'LocalStorageCapacity' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'backendName' => 'LocalStorageCapacity'],
'GPUAmount' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'backendName' => 'GPUAmount'],
'GPUSpec' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'V100', 'backendName' => 'GPUAmount'],
'Price' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'number', 'format' => 'float', 'example' => '6.5', 'backendName' => 'Price'],
'InstanceBandwidthRx' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'backendName' => 'InstanceBandwidthRx'],
'InstanceBandwidthTx' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'backendName' => 'InstanceBandwidthTx'],
'InstancePpsRx' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'backendName' => 'InstancePpsRx'],
'InstancePpsTx' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'backendName' => 'InstancePpsTx'],
],
],
'Nas' => [
'title' => 'A short description of struct',
'description' => 'Nas',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'FileSystemId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '01bd34b09b', 'backendName' => 'FileSystemId'],
'Status' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'Status'],
'Description' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'for test', 'backendName' => 'Description'],
],
],
'Region' => [
'title' => 'A short description of struct',
'description' => 'Region',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'RegionId' => ['title' => 'id', 'description' => 'ID', 'visibility' => 'public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'],
'RegionName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'RegionName'],
'RegionCity' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'RegionCity'],
'RegionState' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'RegionState'],
'ServiceUrl' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'https://dsw-cn-hangzhou.data.aliyun.com', 'backendName' => 'ServiceUrl'],
],
],
'ResourceInfo' => [
'title' => 'A short description of struct',
'description' => 'ResourceInfo',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'PayType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'backendName' => 'PayType'],
'ResourceType' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'ResourceType'],
'Name' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'pai.medium.2xM40', 'backendName' => 'Name'],
],
],
'SecurityGroup' => [
'title' => 'A short description of struct',
'description' => 'SecurityGroup',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'SecurityGroupId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'sg-xxxxxxxx', 'backendName' => 'SecurityGroupId'],
'VpcId' => ['title' => 'vpc id', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc-xxxxxxxx', 'backendName' => 'VpcId'],
'SecurityGroupName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test-security-group', 'backendName' => 'SecurityGroupName'],
'Description' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test security group', 'backendName' => 'Description'],
'CreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-08-26T06:56:38Z', 'backendName' => 'CreateTime'],
],
],
'Status' => [
'visibility' => 'public',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw-d7adefa77718****', 'backendName' => 'InstanceId'],
'InstanceStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'InstanceStatus'],
'Msg' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'create timeout', 'backendName' => 'Msg'],
'Type' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'V3', 'backendName' => 'Type'],
'AccumulativeRunningTimeInMinutes' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'AccumulativeRunningTimeInMinutes'],
'InstanceShutdownTimer' => ['description' => '', 'visibility' => 'public', 'backendName' => 'InstanceShutdownTimer', '$ref' => '#/components/schemas/InstanceShutdownTimer'],
],
],
'UserVpc' => [
'title' => 'A short description of struct',
'description' => 'UserVpc',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'VpcId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc-bp1i4x5wj2kgro93l****', 'backendName' => 'VpcId'],
'VswitchId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vsw-bp1irltu139f5qufw****', 'backendName' => 'VswitchId'],
'RoleArn' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'acs:ram::123456789012****:role/appserverrole', 'backendName' => 'RoleArn'],
'SecurityGroupId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'sg-bp10mttdnsk58y5n****', 'backendName' => 'SecurityGroupId'],
],
],
'Vpc' => [
'title' => 'A short description of struct',
'description' => 'Vpc',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'VpcId' => ['title' => 'vpc id', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc-xxxxxxxx', 'backendName' => 'VpcId'],
'Status' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Available', 'backendName' => 'Status'],
'VpcName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test-vpc', 'backendName' => 'VpcName'],
'CreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-08-26T06:56:38Z', 'backendName' => 'CreateTime'],
'CidrBlock' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-08-26T06:56:38Z', 'backendName' => 'CidrBlock'],
'VRouterId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vrt-xxxxxxxx', 'backendName' => 'VRouterId'],
'Description' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc for test', 'backendName' => 'Description'],
'IsDefault' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'IsDefault'],
],
],
'VSwitch' => [
'title' => 'A short description of struct',
'description' => 'VSwitch',
'visibility' => 'public',
'type' => 'object',
'properties' => [
'VSwitchId' => ['title' => 'VSwitch Id', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vsw-xxxxxxxx', 'backendName' => 'VSwitchId'],
'VpcId' => ['title' => 'vpc id', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vpc-xxxxxxxx', 'backendName' => 'VpcId'],
'Status' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Available', 'backendName' => 'Status'],
'CidrBlock' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '192.168.0.0/16', 'backendName' => 'CidrBlock'],
'ZoneId' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'cn-hangzhou-k', 'backendName' => 'ZoneId'],
'AvailableIpAddressCount' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '251', 'backendName' => 'AvailableIpAddressCount'],
'Description' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'vswitch for test', 'backendName' => 'Description'],
'VSwitchName' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test-vswitch', 'backendName' => 'VSwitchName'],
'CreateTime' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '2021-06-15T01:08:27Z', 'backendName' => 'CreateTime'],
'IsDefault' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'IsDefault'],
],
],
],
],
'apis' => [
'GetInstance' => [
'summary' => '获取实例详情',
'path' => '/api/v1/instances/{InstanceId}',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'path',
'schema' => ['title' => '实例ID', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'dsw-cac06e348ceb****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '',
'type' => 'object',
'properties' => [
'InstanceName' => ['title' => '实例名称', 'description' => '实例的名称', 'type' => 'string', 'example' => 'predicting_price'],
'InstanceId' => ['title' => '实例ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => 'dsw-d7adefa77718bc8e', 'readOnly' => true],
'RequestId' => ['title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E'],
'EcsSpec' => ['title' => 'ecs规格', 'description' => '', 'type' => 'string', 'example' => 'ecs.c6.large'],
'InstanceStatus' => ['title' => '实例状态', 'description' => '', 'type' => 'string', 'example' => 'Running'],
'JupyterlabUrl' => ['title' => 'jupyter链接', 'description' => '', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/lab/'],
'WebIdeUrl' => ['title' => 'web ide链接', 'description' => '', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/ide/'],
'TerminalUrl' => ['title' => '命令行终端链接', 'description' => '', 'type' => 'string', 'example' => 'https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/terminals/tty'],
'AccumulativeRunningTimeInMinutes' => ['title' => '累计运行时间(分钟)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'ImageId' => ['title' => '镜像ID', 'description' => '', 'type' => 'string', 'example' => 'img-d7adefa77718bc8e'],
'ImageUrl' => ['title' => '镜像链接', 'description' => '', 'type' => 'string', 'example' => 'registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.avx512'],
'GmtCreateTime' => ['title' => '实例创建时间(GMT)', 'description' => '', 'type' => 'string', 'example' => '2021-04-01T00:00:00Z'],
'GmtModifiedTime' => ['title' => '实例修改时间(GMT)', 'description' => '', 'type' => 'string', 'example' => '2021-04-02T00:00:00Z'],
'UserId' => ['title' => '用户ID', 'description' => '', 'type' => 'string', 'example' => '161228528250****'],
'NasFileSystemId' => ['title' => 'nas文件系统ID', 'description' => '', 'type' => 'string', 'example' => '0051a4bcca'],
'UserVpc' => ['title' => '被打通VPC配置', 'description' => '', '$ref' => '#/components/schemas/UserVpc'],
'InstanceShutdownTimer' => ['title' => '定时关机任务', 'description' => '', '$ref' => '#/components/schemas/InstanceShutdownTimer'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceName\\": \\"predicting_price\\",\\n \\"InstanceId\\": \\"dsw-d7adefa77718bc8e\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"EcsSpec\\": \\"ecs.c6.large\\",\\n \\"InstanceStatus\\": \\"Running\\",\\n \\"JupyterlabUrl\\": \\"https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/lab/\\",\\n \\"WebIdeUrl\\": \\"https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/ide/\\",\\n \\"TerminalUrl\\": \\"https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/terminals/tty\\",\\n \\"AccumulativeRunningTimeInMinutes\\": 10,\\n \\"ImageId\\": \\"img-d7adefa77718bc8e\\",\\n \\"ImageUrl\\": \\"registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.avx512\\",\\n \\"GmtCreateTime\\": \\"2021-04-01T00:00:00Z\\",\\n \\"GmtModifiedTime\\": \\"2021-04-02T00:00:00Z\\",\\n \\"UserId\\": \\"161228528250****\\",\\n \\"NasFileSystemId\\": \\"0051a4bcca\\",\\n \\"UserVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1i4x5wj2kgro93l****\\",\\n \\"VswitchId\\": \\"vsw-bp1irltu139f5qufw****\\",\\n \\"RoleArn\\": \\"acs:ram::123456789012****:role/appserverrole\\",\\n \\"SecurityGroupId\\": \\"sg-bp10mttdnsk58y5n****\\"\\n },\\n \\"InstanceShutdownTimer\\": {\\n \\"InstanceId\\": \\"dsw-d7adefa77718****\\",\\n \\"ScheduleTime\\": \\"2021-04-01T01:00:00Z\\",\\n \\"GmtModifiedTime\\": \\"2021-04-01T00:00:00Z\\",\\n \\"GmtCreateTime\\": \\"2021-04-01T00:00:00Z\\",\\n \\"TtlInMillis\\": 1000000\\n }\\n}","errorExample":""},{"type":"xml","example":"<InstanceName>predicting_price</InstanceName>\\n<InstanceId>dsw-d7adefa77718bc8e</InstanceId>\\n<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>\\n<EcsSpec>ecs.c6.large</EcsSpec>\\n<InstanceStatus>Running</InstanceStatus>\\n<JupyterlabUrl>https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/lab/</JupyterlabUrl>\\n<WebIdeUrl>https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/ide/</WebIdeUrl>\\n<TerminalUrl>https://dsw-gateway-cn-beijing.aliyun.com/dsw-****/terminals/tty</TerminalUrl>\\n<AccumulativeRunningTimeInMinutes>10</AccumulativeRunningTimeInMinutes>\\n<ImageId>img-d7adefa77718bc8e</ImageId>\\n<ImageUrl>registry.cn-shanghai.aliyuncs.com/pai_product/image:pai-images-dsw-ubuntu18.04-py3.6-paitf1.15-build.avx512</ImageUrl>\\n<GmtCreateTime>2021-04-01T00:00:00Z</GmtCreateTime>\\n<GmtModifiedTime>2021-04-02T00:00:00Z</GmtModifiedTime>\\n<UserId>161228528250****</UserId>\\n<NasFileSystemId>0051a4bcca</NasFileSystemId>\\n<UserVpc>\\n <VpcId>vpc-bp1i4x5wj2kgro93lj7z6</VpcId>\\n <VswitchId>vsw-bp1irltu139f5qufwxrl4</VswitchId>\\n <RoleArn>acs:ram::1234567890123456:role/appserverrole</RoleArn>\\n <SecurityGroupId>sg-bp10mttdnsk58y5nlxhh</SecurityGroupId>\\n</UserVpc>\\n<InstanceShutdownTimer>\\n <InstanceId>dsw-d7adefa77718bc8e</InstanceId>\\n <ScheduleTime>2021-04-01T01:00:00Z</ScheduleTime>\\n <GmtModifiedTime>2021-04-01T00:00:00Z</GmtModifiedTime>\\n <GmtCreateTime>2021-04-01T00:00:00Z</GmtCreateTime>\\n</InstanceShutdownTimer>","errorExample":""}]',
'title' => 'GetInstance',
],
],
'endpoints' => [
['regionId' => 'us-west-1', 'endpoint' => 'pai-dsw.us-west-1.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'endpoint' => 'pai-dsw.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'endpoint' => 'pai-dsw.ap-southeast-1.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'endpoint' => 'pai-dsw.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-beijing', 'endpoint' => 'pai-dsw.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'endpoint' => 'pai-dsw.cn-hangzhou.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'pai-dsw.cn-shanghai-finance-1.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'endpoint' => 'pai-dsw.ap-northeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'endpoint' => 'pai-dsw.ap-southeast-5.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'endpoint' => 'pai-dsw.cn-guangzhou.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'endpoint' => 'pai-dsw.ap-northeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-7', 'endpoint' => 'pai-dsw.ap-southeast-7.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'endpoint' => 'pai-dsw.ap-southeast-3.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'endpoint' => 'pai-dsw.cn-chengdu.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'endpoint' => 'pai-dsw.cn-shenzhen.aliyuncs.com'],
['regionId' => 'ap-south-1', 'endpoint' => 'pai-dsw.ap-south-1.aliyuncs.com'],
['regionId' => 'us-southeast-1', 'endpoint' => 'pai-dsw.us-southeast-1.aliyuncs.com'],
['regionId' => 'me-central-1', 'endpoint' => 'pai-dsw.me-central-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'endpoint' => 'pai-dsw.eu-central-1.aliyuncs.com'],
['regionId' => 'me-east-1', 'endpoint' => 'pai-dsw.me-east-1.aliyuncs.com'],
['regionId' => 'us-east-1', 'endpoint' => 'pai-dsw.us-east-1.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'endpoint' => 'pai-dsw.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'ap-southeast-8', 'endpoint' => 'pai-dsw.ap-southeast-8.aliyuncs.com'],
],
];
|