diff options
Diffstat (limited to 'data/pai-dsw')
| -rw-r--r-- | data/pai-dsw/2021-02-26/api-docs.php | 837 | ||||
| -rw-r--r-- | data/pai-dsw/2022-01-01/api-docs.php | 2874 |
2 files changed, 3711 insertions, 0 deletions
diff --git a/data/pai-dsw/2021-02-26/api-docs.php b/data/pai-dsw/2021-02-26/api-docs.php new file mode 100644 index 0000000..916490a --- /dev/null +++ b/data/pai-dsw/2021-02-26/api-docs.php @@ -0,0 +1,837 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'pai-dsw', + 'version' => '2021-02-26', + ], + 'components' => [ + 'schemas' => [ + 'Cluster' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + ], + 'Owner' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchId' => [ + 'type' => 'string', + ], + 'Name' => [ + 'type' => 'string', + ], + 'ClusterType' => [ + 'type' => 'string', + ], + 'State' => [ + 'type' => 'string', + ], + 'Config' => [ + 'type' => 'string', + ], + 'Nas' => [ + 'type' => 'string', + ], + 'PrivateNasPath' => [ + 'type' => 'string', + ], + 'PrivateContainerPath' => [ + 'type' => 'string', + ], + 'PublicNasPath' => [ + 'type' => 'string', + ], + 'PublicContainerPath' => [ + 'type' => 'string', + ], + ], + ], + 'Config' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + ], + ], + 'Dataset' => [ + 'type' => 'object', + 'properties' => [ + 'DatasetId' => [ + 'type' => 'string', + ], + 'DefaultMountPath' => [ + 'type' => 'string', + ], + 'Name' => [ + 'type' => 'string', + ], + 'MountPath' => [ + 'type' => 'string', + ], + 'NasPath' => [ + 'type' => 'string', + ], + 'FileSystemId' => [ + 'type' => 'string', + ], + ], + ], + 'EcsSpec' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + ], + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Gpu' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MemoryInGiB' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SystemDiskCategory' => [ + 'type' => 'string', + ], + 'SystemDiskSizeInGiB' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'GpuType' => [ + 'type' => 'string', + ], + ], + ], + 'Image' => [ + 'type' => 'object', + 'properties' => [ + 'ImageId' => [ + 'type' => 'string', + ], + 'ImageName' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'AcceleratorType' => [ + 'type' => 'string', + ], + 'Framework' => [ + 'type' => 'string', + ], + 'FrameworkVersion' => [ + 'type' => 'string', + ], + 'OS' => [ + 'type' => 'string', + ], + 'OSVersion' => [ + 'type' => 'string', + ], + 'CudaVersion' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'WorkspaceImageId' => [ + 'type' => 'string', + ], + 'Repository' => [ + 'type' => 'string', + ], + 'Namespace' => [ + 'type' => 'string', + ], + 'Tag' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + ], + 'Author' => [ + 'type' => 'string', + ], + 'PythonVersion' => [ + 'type' => 'string', + ], + 'Shared' => [ + 'type' => 'boolean', + ], + 'ResourceType' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'RootImageId' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + 'Stage' => [ + 'type' => 'string', + ], + 'StageCode' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'FromImageId' => [ + 'type' => 'string', + ], + 'FromImageName' => [ + 'type' => 'string', + ], + 'SuggestedName' => [ + 'type' => 'string', + ], + 'ImageUrl' => [ + 'type' => 'string', + ], + 'Region' => [ + 'type' => 'string', + ], + 'EcsImageKey' => [ + 'type' => 'string', + ], + 'ShortImageUrl' => [ + 'type' => 'string', + ], + 'RepositoryPage' => [ + 'type' => 'string', + ], + 'ShortRepository' => [ + 'type' => 'string', + ], + ], + ], + 'ImageNamespace' => [ + 'type' => 'object', + 'properties' => [ + 'Namespace' => [ + 'type' => 'string', + ], + 'NamespaceStatus' => [ + 'type' => 'string', + ], + ], + ], + 'ImageRepository' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'type' => 'string', + ], + 'RepoNamespace' => [ + 'type' => 'string', + ], + 'RepoName' => [ + 'type' => 'string', + ], + 'RepoStatus' => [ + 'type' => 'string', + ], + 'Repository' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + ], + ], + ], + 'Instance' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceName' => [ + 'type' => 'string', + ], + 'EcsSpec' => [ + 'type' => 'string', + ], + 'InstanceStatus' => [ + 'type' => 'string', + ], + 'JupyterlabUrl' => [ + 'type' => 'string', + ], + 'WebIdeUrl' => [ + 'type' => 'string', + ], + 'TerminalUrl' => [ + 'type' => 'string', + ], + 'AccumulativeRunningTimeInMinutes' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ImageId' => [ + 'type' => 'string', + ], + 'ImageUrl' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + ], + 'UserId' => [ + 'type' => 'string', + ], + 'NasFileSystemId' => [ + 'type' => 'string', + ], + 'UserVpc' => [ + '$ref' => '#/components/schemas/UserVpc', + ], + 'InstanceShutdownTimer' => [ + '$ref' => '#/components/schemas/InstanceShutdownTimer', + ], + 'WorkspaceId' => [ + 'type' => 'string', + ], + 'WorkspaceName' => [ + 'type' => 'string', + ], + 'InstanceUrl' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'ShutdownEnabled' => [ + 'type' => 'boolean', + ], + 'AccumulativeRunningTimeInMillis' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ImageName' => [ + 'type' => 'string', + ], + 'CreateUser' => [ + 'type' => 'string', + ], + 'ImageType' => [ + 'type' => 'string', + ], + 'PayType' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PayTypeName' => [ + 'type' => 'string', + ], + 'InstanceVersion' => [ + 'type' => 'string', + ], + 'IsPublic' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Resource' => [ + 'type' => 'string', + ], + 'ResourceType' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'UserImageList' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/Image', + ], + ], + 'DatasetList' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/Dataset', + ], + ], + ], + ], + 'InstanceShutdownTimer' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'ScheduleTime' => [ + 'type' => 'string', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + ], + 'TtlInMillis' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'InstanceSnapshot' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceSnapshotId' => [ + 'type' => 'string', + ], + 'InstanceSnapshotStatus' => [ + 'type' => 'string', + ], + 'InstanceSnapshotName' => [ + 'type' => 'string', + ], + 'InstanceSnapshotTag' => [ + 'type' => 'string', + ], + 'InstanceSnapshotRepoUrl' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + ], + 'InstanceSnapshotDescription' => [ + 'type' => 'string', + ], + ], + ], + 'InstanceStatus' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceStatus' => [ + 'type' => 'string', + ], + 'Msg' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'AccumulativeRunningTimeInMinutes' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'InstanceShutdownTimer' => [ + '$ref' => '#/components/schemas/InstanceShutdownTimer', + ], + 'ShutdownEnabled' => [ + 'type' => 'boolean', + ], + ], + ], + 'InstanceType' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceTypeId' => [ + 'type' => 'string', + ], + 'SystemDiskCategory' => [ + 'type' => 'string', + ], + 'SystemDiskSize' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PriceCNY' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'PriceUSD' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'DomesticPrice' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Discount' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ResourceType' => [ + 'type' => 'string', + ], + 'International' => [ + 'type' => 'boolean', + ], + 'CpuCoreCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MemorySize' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'InstanceTypeFamily' => [ + 'type' => 'string', + ], + 'LocalStorageCapacity' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'GPUAmount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'GPUSpec' => [ + 'type' => 'string', + ], + 'Price' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'InstanceBandwidthRx' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'InstanceBandwidthTx' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'InstancePpsRx' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'InstancePpsTx' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Nas' => [ + 'type' => 'object', + 'properties' => [ + 'FileSystemId' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + ], + ], + 'Region' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'type' => 'string', + ], + 'RegionName' => [ + 'type' => 'string', + ], + 'RegionCity' => [ + 'type' => 'string', + ], + 'RegionState' => [ + 'type' => 'string', + ], + 'ServiceUrl' => [ + 'type' => 'string', + ], + ], + ], + 'ResourceInfo' => [ + 'type' => 'object', + 'properties' => [ + 'PayType' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ResourceType' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Name' => [ + 'type' => 'string', + ], + ], + ], + 'SecurityGroup' => [ + 'type' => 'object', + 'properties' => [ + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'SecurityGroupName' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + 'CreateTime' => [ + 'type' => 'string', + ], + ], + ], + 'Status' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceStatus' => [ + 'type' => 'string', + ], + 'Msg' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'AccumulativeRunningTimeInMinutes' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'InstanceShutdownTimer' => [ + '$ref' => '#/components/schemas/InstanceShutdownTimer', + ], + ], + ], + 'UserVpc' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'type' => 'string', + ], + 'VswitchId' => [ + 'type' => 'string', + ], + 'RoleArn' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + ], + ], + 'VSwitch' => [ + 'type' => 'object', + 'properties' => [ + 'VSwitchId' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'CidrBlock' => [ + 'type' => 'string', + ], + 'ZoneId' => [ + 'type' => 'string', + ], + 'AvailableIpAddressCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Description' => [ + 'type' => 'string', + ], + 'VSwitchName' => [ + 'type' => 'string', + ], + 'CreateTime' => [ + 'type' => 'string', + ], + 'IsDefault' => [ + 'type' => 'boolean', + ], + ], + ], + 'Vpc' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'VpcName' => [ + 'type' => 'string', + ], + 'CreateTime' => [ + 'type' => 'string', + ], + 'CidrBlock' => [ + 'type' => 'string', + ], + 'VRouterId' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + 'IsDefault' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'apis' => [ + 'GetInstance' => [ + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + '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', + ], + ], +]; diff --git a/data/pai-dsw/2022-01-01/api-docs.php b/data/pai-dsw/2022-01-01/api-docs.php new file mode 100644 index 0000000..9f9d398 --- /dev/null +++ b/data/pai-dsw/2022-01-01/api-docs.php @@ -0,0 +1,2874 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'pai-dsw', + 'version' => '2022-01-01', + ], + 'components' => [ + 'schemas' => [ + 'BandwidthLimit' => [ + 'type' => 'object', + 'properties' => [ + 'EgressWhitelists' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'IngressRate' => [ + 'type' => 'string', + ], + 'EgressRate' => [ + 'type' => 'string', + ], + 'IngressWhitelists' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'CredentialConfig' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + ], + 'AliyunEnvRoleKey' => [ + 'type' => 'string', + 'required' => false, + ], + 'Configs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => true, + ], + 'Type' => [ + 'type' => 'string', + 'required' => true, + ], + 'Roles' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RoleArn' => [ + 'type' => 'string', + 'required' => true, + ], + 'RoleType' => [ + 'type' => 'string', + 'required' => true, + ], + 'AssumeRoleFor' => [ + 'type' => 'string', + ], + 'Policy' => [ + 'type' => 'string', + ], + 'UserInfo' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'AccessKeyId' => [ + 'type' => 'string', + ], + 'SecurityToken' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'DemoCategory' => [ + 'type' => 'object', + 'properties' => [ + 'SubCategories' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/DemoCategory', + ], + ], + 'CategoryName' => [ + 'type' => 'string', + ], + 'CategoryCode' => [ + 'type' => 'string', + ], + 'Order' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'DynamicMount' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + ], + 'MountPoints' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/DynamicMountPoint', + ], + ], + ], + ], + 'DynamicMountPoint' => [ + 'type' => 'object', + 'properties' => [ + 'RootPath' => [ + 'type' => 'string', + 'required' => true, + ], + 'Options' => [ + 'type' => 'string', + ], + ], + ], + 'ForwardInfo' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + ], + 'ContainerName' => [ + 'type' => 'string', + ], + 'ForwardPort' => [ + 'type' => 'string', + ], + 'NatGatewayId' => [ + 'type' => 'string', + ], + 'EipAllocationId' => [ + 'type' => 'string', + ], + 'SSHPublicKey' => [ + 'type' => 'string', + ], + 'Name' => [ + 'type' => 'string', + ], + 'ExternalPort' => [ + 'type' => 'string', + ], + 'AccessType' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'ForwardInfoResponse' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + ], + 'ContainerName' => [ + 'type' => 'string', + ], + 'ForwardPort' => [ + 'type' => 'string', + ], + 'NatGatewayId' => [ + 'type' => 'string', + ], + 'EipAllocationId' => [ + 'type' => 'string', + ], + 'SSHPublicKey' => [ + 'type' => 'string', + ], + 'ConnectInfo' => [ + 'type' => 'object', + 'properties' => [ + 'Phase' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Intranet' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + ], + 'Port' => [ + 'type' => 'string', + ], + ], + ], + 'Internet' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + ], + 'Port' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'Name' => [ + 'type' => 'string', + ], + 'ExternalPort' => [ + 'type' => 'string', + ], + 'AccessType' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'PodIp' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'type' => 'string', + ], + 'Ip' => [ + 'type' => 'string', + ], + 'InterfaceName' => [ + 'type' => 'string', + ], + ], + ], + 'ServiceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'JupyterServerPassword' => [ + 'type' => 'string', + ], + 'JupyterServerAuth' => [ + 'type' => 'string', + ], + 'CodeServerPassword' => [ + 'type' => 'string', + ], + 'CodeServerAuth' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'apis' => [ + 'CreateInstance' => [ + 'path' => '/api/v2/instances', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'WorkspaceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceName' => [ + 'type' => 'string', + 'required' => false, + ], + 'EcsSpec' => [ + 'type' => 'string', + 'required' => false, + ], + 'ImageId' => [ + 'type' => 'string', + 'required' => false, + ], + 'ImageUrl' => [ + 'type' => 'string', + 'required' => false, + ], + 'Datasets' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'DatasetId' => [ + 'type' => 'string', + 'required' => false, + ], + 'DatasetVersion' => [ + 'type' => 'string', + 'required' => false, + ], + 'Uri' => [ + 'type' => 'string', + 'required' => false, + ], + 'MountPath' => [ + 'type' => 'string', + 'required' => false, + ], + 'MountAccess' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'RW', + 'RO', + ], + ], + 'Options' => [ + 'type' => 'string', + 'required' => false, + ], + 'OptionType' => [ + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + ], + 'Dynamic' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'UserVpc' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'ExtendedCIDRs' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'DefaultRoute' => [ + 'type' => 'string', + 'required' => false, + ], + 'ForwardInfos' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + '$ref' => '#/components/schemas/ForwardInfo', + 'required' => false, + ], + ], + 'BandwidthLimit' => [ + '$ref' => '#/components/schemas/BandwidthLimit', + 'required' => false, + ], + ], + ], + 'Accessibility' => [ + 'type' => 'string', + 'required' => false, + ], + 'EnvironmentVariables' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + ], + ], + 'ResourceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Priority' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'RequestedResource' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CPU' => [ + 'type' => 'string', + 'required' => false, + ], + 'Memory' => [ + 'type' => 'string', + 'required' => false, + ], + 'SharedMemory' => [ + 'type' => 'string', + 'required' => false, + ], + 'GPU' => [ + 'type' => 'string', + 'required' => false, + ], + 'GPUType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'Labels' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'CloudDisks' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Capacity' => [ + 'type' => 'string', + 'required' => false, + ], + 'SubType' => [ + 'type' => 'string', + 'required' => false, + ], + 'MountPath' => [ + 'type' => 'string', + 'required' => false, + ], + 'Path' => [ + 'type' => 'string', + 'required' => false, + ], + 'Status' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Available' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'Usage' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'Capacity' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'WorkspaceSource' => [ + 'type' => 'string', + 'required' => false, + ], + 'UserId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Driver' => [ + 'type' => 'string', + 'required' => false, + ], + 'CredentialConfig' => [ + '$ref' => '#/components/schemas/CredentialConfig', + 'required' => false, + ], + 'Affinity' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CPU' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + 'ImageAuth' => [ + 'type' => 'string', + 'required' => false, + ], + 'DynamicMount' => [ + '$ref' => '#/components/schemas/DynamicMount', + 'required' => false, + ], + 'Tag' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'UserCommand' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'OnStart' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Content' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'OversoldType' => [ + 'type' => 'string', + 'required' => false, + ], + 'AssignNodeSpec' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'NodeNames' => [ + 'type' => 'string', + 'required' => false, + ], + 'AntiAffinityNodeNames' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'SpotSpec' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'SpotStrategy' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotPriceLimit' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotDuration' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotDiscountLimit' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'MigrationOptions' => [ + 'type' => 'object', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteInstance' => [ + 'path' => '/api/v2/instances/{InstanceId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'UpdateInstance' => [ + 'path' => '/api/v2/instances/{InstanceId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceName' => [ + 'type' => 'string', + 'required' => false, + ], + 'EcsSpec' => [ + 'type' => 'string', + 'required' => false, + ], + 'ImageId' => [ + 'type' => 'string', + 'required' => false, + ], + 'ImageUrl' => [ + 'type' => 'string', + 'required' => false, + ], + 'UserVpc' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'ExtendedCIDRs' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'DefaultRoute' => [ + 'type' => 'string', + 'required' => false, + ], + 'ForwardInfos' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + '$ref' => '#/components/schemas/ForwardInfo', + 'required' => false, + ], + ], + 'BandwidthLimit' => [ + '$ref' => '#/components/schemas/BandwidthLimit', + 'required' => false, + ], + ], + ], + 'Accessibility' => [ + 'type' => 'string', + 'required' => false, + ], + 'Datasets' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'DatasetId' => [ + 'type' => 'string', + 'required' => false, + ], + 'DatasetVersion' => [ + 'type' => 'string', + 'required' => false, + ], + 'Uri' => [ + 'type' => 'string', + 'required' => false, + ], + 'MountPath' => [ + 'type' => 'string', + 'required' => false, + ], + 'MountAccess' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'RW', + 'RO', + ], + ], + 'Options' => [ + 'type' => 'string', + 'required' => false, + ], + 'OptionType' => [ + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + ], + 'Dynamic' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'DisassociateDatasets' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'DisassociateVpc' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'DisassociateForwardInfos' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'RequestedResource' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CPU' => [ + 'type' => 'string', + 'required' => false, + ], + 'Memory' => [ + 'type' => 'string', + 'required' => false, + ], + 'SharedMemory' => [ + 'type' => 'string', + 'required' => false, + ], + 'GPU' => [ + 'type' => 'string', + 'required' => false, + ], + 'GPUType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'WorkspaceSource' => [ + 'type' => 'string', + 'required' => false, + ], + 'UserId' => [ + 'type' => 'string', + 'required' => false, + ], + 'CloudDisks' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Capacity' => [ + 'type' => 'string', + 'required' => false, + ], + 'SubType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'Priority' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'Driver' => [ + 'type' => 'string', + 'required' => false, + ], + 'DisassociateDriver' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'CredentialConfig' => [ + '$ref' => '#/components/schemas/CredentialConfig', + 'required' => false, + ], + 'DisassociateCredential' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'Affinity' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CPU' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Enable' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + 'ImageAuth' => [ + 'type' => 'string', + 'required' => false, + ], + 'DynamicMount' => [ + '$ref' => '#/components/schemas/DynamicMount', + 'required' => false, + ], + 'EnvironmentVariables' => [ + 'type' => 'object', + 'required' => false, + ], + 'DisassociateEnvironmentVariables' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'UserCommand' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'OnStart' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Content' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'DisassociateUserCommand' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'OversoldType' => [ + 'type' => 'string', + 'required' => false, + ], + 'DisassociateSpot' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'SpotSpec' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'SpotStrategy' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotPriceLimit' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotDuration' => [ + 'type' => 'string', + 'required' => false, + ], + 'SpotDiscountLimit' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'DisassociateAssignNode' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'AssignNodeSpec' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'NodeNames' => [ + 'type' => 'string', + 'required' => false, + ], + 'AntiAffinityNodeNames' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'StartInstance' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'MigrationOptions' => [ + 'type' => 'object', + 'required' => false, + ], + 'DisassociateMigrationOptions' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'StartInstance' => [ + 'path' => '/api/v2/instances/{InstanceId}/start', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'StopInstance' => [ + 'path' => '/api/v2/instances/{InstanceId}/stop', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'SaveImage', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'GetInstance' => [ + 'path' => '/api/v2/instances/{InstanceId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Fields', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListInstances' => [ + 'path' => '/api/v2/instances', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AcceleratorType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Labels', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + ], + ], + [ + 'name' => 'CreateUserId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'GpuType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MinCpu', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxCpu', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MinGpu', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxGpu', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MinMemory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxMemory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MinGpuMemory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxGpuMemory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ImageName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + [ + 'name' => 'OversoldInfo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OversoldType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'CreateTimeAfter', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'CreateTimeBefore', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetInstanceEvents' => [ + 'path' => '/api/v2/instances/{InstanceId}/events', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'MaxEventsNum', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EventLevel', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'UpdateInstanceLabels' => [ + 'path' => '/api/v2/instances/{InstanceId}/labels', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Labels' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => true, + ], + 'Value' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'DeleteInstanceLabels' => [ + 'path' => '/api/v2/instances/{InstanceId}/labels', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'LabelKeys', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'DeleteInstances' => [ + 'path' => '/api/v2/batch/instances/delete', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'StopInstances' => [ + 'path' => '/api/v2/batch/instances/stop', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceIds' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'GetLifecycle' => [ + 'path' => '/api/v2/instances/{InstanceId}/lifecycle', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'SessionNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetInstanceMetrics' => [ + 'path' => '/api/v2/instance/{InstanceId}/metrics', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'MetricType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'TimeStep', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'CreateInstanceSnapshot' => [ + 'path' => '/api/v2/instances/{InstanceId}/snapshots', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'SnapshotName' => [ + 'type' => 'string', + 'required' => true, + ], + 'SnapshotDescription' => [ + 'type' => 'string', + 'required' => false, + ], + 'ImageUrl' => [ + 'type' => 'string', + 'required' => true, + ], + 'Labels' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ExcludePaths' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'Overwrite' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteInstanceSnapshot' => [ + 'path' => '/api/v2/instances/{InstanceId}/snapshots/{SnapshotId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'SnapshotId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'GetInstanceSnapshot' => [ + 'path' => '/api/v2/instances/{InstanceId}/snapshots/{SnapshotId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'SnapshotId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ListInstanceSnapshot' => [ + 'path' => '/api/v2/instances/{InstanceId}/snapshots', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetResourceGroupStatistics' => [ + 'path' => '/api/v2/resourcegroupstatistics', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'WorkspaceIds', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ListInstanceStatistics' => [ + 'path' => '/api/v2/instancestatistics', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'WorkspaceIds', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'CreateInstanceShutdownTimer' => [ + 'path' => '/api/v2/instances/{InstanceId}/shutdowntimer', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'DueTime' => [ + 'type' => 'string', + 'required' => false, + ], + 'RemainingTimeInMs' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteInstanceShutdownTimer' => [ + 'path' => '/api/v2/instances/{InstanceId}/shutdowntimer', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'GetInstanceShutdownTimer' => [ + 'path' => '/api/v2/instances/{InstanceId}/shutdowntimer', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'CreateIdleInstanceCuller' => [ + 'path' => '/api/v2/instances/{InstanceId}/idleinstanceculler', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CpuPercentThreshold' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'GpuPercentThreshold' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MaxIdleTimeInMinutes' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteIdleInstanceCuller' => [ + 'path' => '/api/v2/instances/{InstanceId}/idleinstanceculler', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'GetIdleInstanceCuller' => [ + 'path' => '/api/v2/instances/{InstanceId}/idleinstanceculler', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ListEcsSpecs' => [ + 'path' => '/api/v2/ecsspecs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'AcceleratorType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetUserConfig' => [ + 'path' => '/api/v2/userconfig', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'CreateDiagnosis' => [ + 'path' => '/api/v2/diagnoses', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'ProblemCategory' => [ + 'type' => 'string', + 'required' => true, + ], + 'GmtFailureTime' => [ + 'type' => 'string', + 'format' => 'iso8601_normal', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GetToken' => [ + 'path' => '/api/v2/tokens', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Access', + 'View', + ], + ], + ], + [ + 'name' => 'Audience', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Aliyun', + 'ThirdParty', + ], + ], + ], + ], + ], + 'GetMetrics' => [ + 'path' => '/api/v2/instance/{InstanceId}/cms/metrics', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Dimensions', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Length', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetUserCommand' => [ + 'path' => '/api/v2/usercommands/{UserCommandId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'APP' => [], + ], + ], + 'consumes' => [], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'UserCommandId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Token', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListSystemLogs' => [ + 'path' => '/api/v2/systemlogs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'SourceRequestId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Offset', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'LogRepository', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'LogLevel', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'GmtStartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'format' => 'iso8601_normal', + 'required' => false, + ], + ], + [ + 'name' => 'GmtEndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'format' => 'iso8601_normal', + 'required' => false, + ], + ], + [ + 'name' => 'ProblemCategory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'LifecycleId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetSanityCheckTask' => [ + 'path' => '/api/v2/sanitychecks/{CheckType}/{TaskId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'CheckType', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'CreateSanityCheckTask' => [ + 'path' => '/api/v2/sanitychecks/{CheckType}', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'CheckType', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + ], + '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', + ], + ], +]; |
