summaryrefslogtreecommitdiff
path: root/data/en_us/pai-dsw/2021-02-26
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/pai-dsw/2021-02-26')
-rw-r--r--data/en_us/pai-dsw/2021-02-26/api-docs.php1967
1 files changed, 235 insertions, 1732 deletions
diff --git a/data/en_us/pai-dsw/2021-02-26/api-docs.php b/data/en_us/pai-dsw/2021-02-26/api-docs.php
index 437c245..5f3c4f7 100644
--- a/data/en_us/pai-dsw/2021-02-26/api-docs.php
+++ b/data/en_us/pai-dsw/2021-02-26/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'pai-dsw',
- 'version' => '2021-02-26',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'pai-dsw', 'version' => '2021-02-26'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'GetInstance',
- ],
+ 'children' => ['GetInstance'],
],
],
'components' => [
@@ -23,110 +17,19 @@
'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',
- ],
+ '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' => [
@@ -135,22 +38,8 @@
'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',
- ],
+ 'Name' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'EnableCluster', 'backendName' => 'Name'],
+ 'Value' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'True', 'backendName' => 'Value'],
],
],
'Dataset' => [
@@ -159,54 +48,12 @@
'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',
- ],
+ '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' => [
@@ -215,66 +62,13 @@
'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',
- ],
+ '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' => [
@@ -283,272 +77,39 @@
'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',
- ],
+ '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' => [
@@ -557,22 +118,8 @@
'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',
- ],
+ 'Namespace' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'dsw', 'backendName' => 'Namespace'],
+ 'NamespaceStatus' => ['title' => '', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'NORMAL', 'backendName' => 'NamespaceStatus'],
],
],
'ImageRepository' => [
@@ -581,62 +128,13 @@
'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',
- ],
+ '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' => [
@@ -645,258 +143,43 @@
'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',
- ],
+ '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',
- ],
+ 'items' => ['visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Image'],
'backendName' => 'UserImageList',
],
'DatasetList' => [
@@ -904,11 +187,7 @@
'description' => '',
'visibility' => 'public',
'type' => 'array',
- 'items' => [
- 'visibility' => 'public',
- 'extendType' => 'true',
- '$ref' => '#/components/schemas/Dataset',
- ],
+ 'items' => ['visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Dataset'],
'backendName' => 'DatasetList',
],
],
@@ -919,47 +198,11 @@
'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',
- ],
+ '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' => [
@@ -968,78 +211,15 @@
'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',
- ],
+ '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' => [
@@ -1048,61 +228,13 @@
'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',
- ],
+ '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' => [
@@ -1111,180 +243,26 @@
'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',
- ],
+ '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' => [
@@ -1293,30 +271,9 @@
'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',
- ],
+ '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' => [
@@ -1325,46 +282,11 @@
'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',
- ],
+ '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' => [
@@ -1373,32 +295,9 @@
'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',
- ],
+ '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' => [
@@ -1407,99 +306,23 @@
'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',
- ],
+ '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',
- ],
+ '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' => [
@@ -1508,38 +331,10 @@
'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',
- ],
+ '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' => [
@@ -1548,70 +343,14 @@
'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',
- ],
+ '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' => [
@@ -1620,87 +359,16 @@
'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',
- ],
+ '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'],
],
],
],
@@ -1709,24 +377,15 @@
'GetInstance' => [
'summary' => '获取实例详情',
'path' => '/api/v1/instances/{InstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
@@ -1734,13 +393,7 @@
[
'name' => 'InstanceId',
'in' => 'path',
- 'schema' => [
- 'title' => '实例ID',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dsw-cac06e348ceb****',
- ],
+ 'schema' => ['title' => '实例ID', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'dsw-cac06e348ceb****'],
],
],
'responses' => [
@@ -1750,108 +403,23 @@
'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',
- ],
+ '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'],
],
],
],
@@ -1861,93 +429,28 @@
],
],
'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' => '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'],
],
];