diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/pai-dlc/2020-12-03/api-docs.php | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/pai-dlc/2020-12-03/api-docs.php')
| -rw-r--r-- | data/pai-dlc/2020-12-03/api-docs.php | 4417 |
1 files changed, 1474 insertions, 2943 deletions
diff --git a/data/pai-dlc/2020-12-03/api-docs.php b/data/pai-dlc/2020-12-03/api-docs.php index 160d5b5..fdd79fd 100644 --- a/data/pai-dlc/2020-12-03/api-docs.php +++ b/data/pai-dlc/2020-12-03/api-docs.php @@ -1,260 +1,131 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'pai-dlc', - 'version' => '2020-12-03', - ], + 'info' => ['style' => 'ROA', 'product' => 'pai-dlc', 'version' => '2020-12-03'], 'components' => [ 'schemas' => [ - 'AIMasterMessage' => [ - 'type' => 'object', - 'properties' => [ - 'MessageEvent' => [ - 'type' => 'string', - ], - 'MessageContent' => [ - 'type' => 'string', - ], - 'Extended' => [ - 'type' => 'string', - ], - 'JobRestartCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'RestartType' => [ - 'type' => 'string', - ], - 'MessageVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], 'AliyunAccounts' => [ 'type' => 'object', 'properties' => [ - 'AliyunUid' => [ - 'type' => 'string', - ], - 'EmployeeId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], + 'AliyunUid' => ['type' => 'string'], + 'EmployeeId' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], ], ], 'AssignNodeSpec' => [ 'type' => 'object', 'properties' => [ - 'EnableAssignNode' => [ - 'type' => 'boolean', - ], - 'NodeNames' => [ - 'type' => 'string', - ], - 'AntiAffinityNodeNames' => [ - 'type' => 'string', - ], + 'EnableAssignNode' => ['type' => 'boolean'], + 'NodeNames' => ['type' => 'string'], + 'AntiAffinityNodeNames' => ['type' => 'string'], 'HyperNodes' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/HyperNodeSpec', - ], + 'items' => ['$ref' => '#/components/schemas/HyperNodeSpec'], ], 'AntiAffinityHyperNodes' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/HyperNodeSpec', - ], + 'items' => ['$ref' => '#/components/schemas/HyperNodeSpec'], ], ], ], 'AssumeUserInfo' => [ 'type' => 'object', 'properties' => [ - 'SecurityToken' => [ - 'type' => 'string', - ], - 'AccessKeyId' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], + 'SecurityToken' => ['type' => 'string'], + 'AccessKeyId' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'Id' => ['type' => 'string'], ], ], - 'AutoScalingSpec' => [ + 'AutoscalingMetricSpec' => [ 'type' => 'object', 'properties' => [ - 'ScalingStrategy' => [ - 'type' => 'string', - ], - 'MinReplicas' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MaxReplicas' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PodsToDelete' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'AutoscalingMetricSpec' => [ - '$ref' => '#/components/schemas/AutoscalingMetricSpec', - ], + 'MetricName' => ['type' => 'string'], + 'TargetValue' => ['type' => 'integer', 'format' => 'int32'], + 'StabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32'], + 'Tolerance' => ['type' => 'string'], ], ], - 'AutoscalingMetricSpec' => [ + 'AutoScalingSpec' => [ 'type' => 'object', 'properties' => [ - 'MetricName' => [ - 'type' => 'string', - ], - 'TargetValue' => [ - 'type' => 'integer', - 'format' => 'int32', + 'ScalingStrategy' => ['type' => 'string'], + 'MinReplicas' => ['type' => 'integer', 'format' => 'int32'], + 'MaxReplicas' => ['type' => 'integer', 'format' => 'int32'], + 'PodsToDelete' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'AutoscalingMetricSpec' => ['$ref' => '#/components/schemas/AutoscalingMetricSpec'], ], ], 'CodeSourceItem' => [ 'type' => 'object', 'properties' => [ - 'CodeSourceId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'CodeRepo' => [ - 'type' => 'string', - ], - 'CodeBranch' => [ - 'type' => 'string', - ], - 'CodeCommit' => [ - 'type' => 'string', - ], - 'CodeRepoUserName' => [ - 'type' => 'string', - ], - 'CodeRepoAccessToken' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], + 'CodeRepo' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'CodeRepoAccessToken' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], + 'UserId' => ['type' => 'string'], + 'CodeCommit' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'CodeSourceId' => ['type' => 'string'], + 'CodeBranch' => ['type' => 'string'], + 'CodeRepoUserName' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], ], ], 'ContainerSpec' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Image' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Image' => ['type' => 'string'], 'Command' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'Args' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'WorkingDir' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'WorkingDir' => ['type' => 'string'], 'Env' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/EnvVar', - ], - ], - 'Resources' => [ - '$ref' => '#/components/schemas/ResourceRequirements', + 'items' => ['$ref' => '#/components/schemas/EnvVar'], ], + 'Resources' => ['$ref' => '#/components/schemas/ResourceRequirements'], ], ], 'CredentialConfig' => [ 'type' => 'object', 'properties' => [ - 'EnableCredentialInject' => [ - 'type' => 'boolean', - ], - 'AliyunEnvRoleKey' => [ - 'type' => 'string', - ], + 'EnableCredentialInject' => ['type' => 'boolean'], + 'AliyunEnvRoleKey' => ['type' => 'string'], 'CredentialConfigItems' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CredentialConfigItem', - ], + 'items' => ['$ref' => '#/components/schemas/CredentialConfigItem'], ], ], ], 'CredentialConfigItem' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], + 'Key' => ['type' => 'string'], + 'Type' => ['type' => 'string'], 'Roles' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CredentialRole', - ], + 'items' => ['$ref' => '#/components/schemas/CredentialRole'], ], ], ], 'CredentialRole' => [ 'type' => 'object', 'properties' => [ - 'RoleArn' => [ - 'type' => 'string', - ], - 'RoleType' => [ - 'type' => 'string', - ], - 'AssumeRoleFor' => [ - 'type' => 'string', - ], - 'Policy' => [ - 'type' => 'string', - ], - 'AssumeUserInfo' => [ - '$ref' => '#/components/schemas/AssumeUserInfo', - ], + 'RoleArn' => ['type' => 'string'], + 'RoleType' => ['type' => 'string'], + 'AssumeRoleFor' => ['type' => 'string'], + 'Policy' => ['type' => 'string'], + 'AssumeUserInfo' => ['$ref' => '#/components/schemas/AssumeUserInfo'], ], ], 'DataJuicerConfig' => [ @@ -263,276 +134,122 @@ 'ExecutionMode' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'standalone', - 'distributed', - ], + 'enum' => ['standalone', 'distributed'], ], 'CommandType' => [ 'type' => 'string', - 'enum' => [ - 'shell', - 'config', - ], - ], - 'EnableResourceEstimation' => [ - 'type' => 'boolean', - ], - 'ResourceLimit' => [ - '$ref' => '#/components/schemas/ResourceLimit', + 'enum' => ['shell', 'config'], ], + 'EnableResourceEstimation' => ['type' => 'boolean'], + 'ResourceLimit' => ['$ref' => '#/components/schemas/ResourceLimit'], ], ], 'DataSourceItem' => [ 'type' => 'object', 'properties' => [ - 'DataSourceType' => [ - 'type' => 'string', - ], - 'DataSourceId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'FileSystemId' => [ - 'type' => 'string', - ], - 'Path' => [ - 'type' => 'string', - ], - 'Endpoint' => [ - 'type' => 'string', - ], - 'Options' => [ - 'type' => 'string', - ], - 'MountPath' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], + 'DataSourceType' => ['type' => 'string'], + 'DataSourceId' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'FileSystemId' => ['type' => 'string'], + 'Path' => ['type' => 'string'], + 'Endpoint' => ['type' => 'string'], + 'Options' => ['type' => 'string'], + 'MountPath' => ['type' => 'string'], + 'UserId' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], ], ], 'DebuggerConfig' => [ 'type' => 'object', 'properties' => [ - 'DebuggerConfigId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], - ], - ], - 'DebuggerJob' => [ - 'type' => 'object', - 'properties' => [ - 'DebuggerJobId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtSubmittedTime' => [ - 'type' => 'string', - ], - 'GmtRunningTime' => [ - 'type' => 'string', - ], - 'GmtSucceedTime' => [ - 'type' => 'string', - ], - 'GmtStoppedTime' => [ - 'type' => 'string', - ], - 'GmtFailedTime' => [ - 'type' => 'string', - ], - 'GmtFinishTime' => [ - 'type' => 'string', - ], - 'WorkspaceName' => [ - 'type' => 'string', - ], - ], - ], - 'DebuggerJobIssue' => [ - 'type' => 'object', - 'properties' => [ - 'JobDebuggerIssueId' => [ - 'type' => 'string', - ], - 'JobId' => [ - 'type' => 'string', - ], - 'RuleName' => [ - 'type' => 'string', - ], - 'ReasonCode' => [ - 'type' => 'string', - ], - 'ReasonMessage' => [ - 'type' => 'string', - ], - 'DebuggerJobIssue' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - ], - ], - 'DebuggerResult' => [ - 'type' => 'object', - 'properties' => [ - 'JobId' => [ - 'type' => 'string', - ], - 'JobDisplayName' => [ - 'type' => 'string', - ], - 'JobUserId' => [ - 'type' => 'string', - ], - 'DebuggerJobStatus' => [ - 'type' => 'string', - ], - 'DebuggerReportURL' => [ - 'type' => 'string', - ], - 'DebuggerJobIssues' => [ - 'type' => 'string', + 'DebuggerConfigId' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], + 'Content' => ['type' => 'string'], + ], + ], + 'DownloadJobResult' => [ + 'type' => 'object', + 'properties' => [ + 'DownloadJobId' => ['type' => 'string'], + 'UserId' => ['type' => 'string'], + 'TenantId' => ['type' => 'string'], + 'WorkspaceId' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'SourceJobId' => ['type' => 'string'], + 'StartTime' => ['type' => 'string'], + 'EndTime' => ['type' => 'string'], + 'LogCount' => ['type' => 'integer', 'format' => 'int32'], + 'Status' => ['type' => 'string'], + 'DownloadUrl' => ['type' => 'string'], + 'UrlExpireTime' => ['type' => 'string'], + 'GmtCreated' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'PodIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'DebuggerConfigContent' => [ - 'type' => 'string', + 'PodUids' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'FileType' => ['type' => 'string'], ], ], 'EcsSpec' => [ 'type' => 'object', 'properties' => [ - 'InstanceType' => [ - 'type' => 'string', - ], - 'AcceleratorType' => [ - 'type' => 'string', - ], - 'Cpu' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Gpu' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GpuType' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GpuMemory' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'IsAvailable' => [ - 'type' => 'boolean', - ], - 'ResourceType' => [ - 'type' => 'string', - ], - 'DefaultGPUDriver' => [ - 'type' => 'string', - ], + 'InstanceType' => ['type' => 'string'], + 'AcceleratorType' => ['type' => 'string'], + 'Cpu' => ['type' => 'integer', 'format' => 'int32'], + 'Gpu' => ['type' => 'integer', 'format' => 'int32'], + 'GpuType' => ['type' => 'string'], + 'Memory' => ['type' => 'integer', 'format' => 'int32'], + 'GpuMemory' => ['type' => 'integer', 'format' => 'int32'], + 'IsAvailable' => ['type' => 'boolean'], + 'ResourceType' => ['type' => 'string'], + 'DefaultGPUDriver' => ['type' => 'string'], 'SupportedGPUDrivers' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'SpotStockStatus' => [ - 'type' => 'string', - ], - 'NonProtectSpotDiscount' => [ - 'type' => 'number', - 'format' => 'float', + 'items' => ['type' => 'string'], ], + 'SpotStockStatus' => ['type' => 'string'], + 'NonProtectSpotDiscount' => ['type' => 'number', 'format' => 'float'], 'PaymentTypes' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], + 'ElasticSpotSpec' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string'], + 'SpotPriceLimit' => ['type' => 'number', 'format' => 'double'], + 'SpotDiscountLimit' => ['type' => 'number', 'format' => 'double'], + 'SpotStrategy' => ['type' => 'string'], + ], + ], 'EnvVar' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Value' => ['type' => 'string'], ], ], 'EventInfo' => [ 'type' => 'object', 'properties' => [ - 'PodId' => [ - 'type' => 'string', - ], - 'PodUid' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'Time' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], + 'PodId' => ['type' => 'string'], + 'PodUid' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'Time' => ['type' => 'string'], + 'Content' => ['type' => 'string'], ], ], 'ExtraPodSpec' => [ @@ -540,711 +257,314 @@ 'properties' => [ 'SideCarContainers' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ContainerSpec', - ], + 'items' => ['$ref' => '#/components/schemas/ContainerSpec'], ], 'InitContainers' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ContainerSpec', - ], + 'items' => ['$ref' => '#/components/schemas/ContainerSpec'], ], 'PodLabels' => [ 'type' => 'object', 'deprecated' => true, - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'PodAnnotations' => [ 'type' => 'object', 'deprecated' => true, - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SharedVolumeMountPaths' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Lifecycle' => [ - '$ref' => '#/components/schemas/Lifecycle', - ], - ], - ], - 'FreeResourceClusterControlItem' => [ - 'type' => 'object', - 'properties' => [ - 'FreeResourceClusterControlId' => [ - 'type' => 'string', - ], - 'RegionID' => [ - 'type' => 'string', - ], - 'ClusterID' => [ - 'type' => 'string', - ], - 'ClusterName' => [ - 'type' => 'string', - ], - 'EnableFreeResource' => [ - 'type' => 'boolean', - ], - 'CrossClusters' => [ - 'type' => 'boolean', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], - ], - ], - 'FreeResourceDetail' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'type' => 'string', - ], - 'Amount' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['type' => 'string'], ], + 'Lifecycle' => ['$ref' => '#/components/schemas/Lifecycle'], + 'MainContainerSecurityContext' => ['$ref' => '#/components/schemas/SecurityContext'], ], ], 'FreeResourceItem' => [ 'type' => 'object', 'properties' => [ - 'FreeResourceId' => [ - 'type' => 'string', - ], - 'RegionID' => [ - 'type' => 'string', - ], - 'ClusterID' => [ - 'type' => 'string', - ], - 'ClusterName' => [ - 'type' => 'string', - ], - 'ResourceType' => [ - 'type' => 'string', - ], - 'AvailableNumber' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], + 'FreeResourceId' => ['type' => 'string'], + 'RegionID' => ['type' => 'string'], + 'ClusterID' => ['type' => 'string'], + 'ClusterName' => ['type' => 'string'], + 'ResourceType' => ['type' => 'string'], + 'AvailableNumber' => ['type' => 'integer', 'format' => 'int64'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], ], ], 'GPUDetail' => [ 'type' => 'object', 'properties' => [ - 'GPU' => [ - 'type' => 'string', - ], - 'GPUType' => [ - 'type' => 'string', - ], - 'GPUTypeFullName' => [ - 'type' => 'string', - ], + 'GPU' => ['type' => 'string'], + 'GPUType' => ['type' => 'string'], + 'GPUTypeFullName' => ['type' => 'string'], ], ], 'HyperNodeSpec' => [ 'type' => 'object', 'properties' => [ - 'HyperNodeName' => [ - 'type' => 'string', - ], - 'NodeNames' => [ - 'type' => 'string', - ], + 'HyperNodeName' => ['type' => 'string'], + 'NodeNames' => ['type' => 'string'], ], ], 'ImageConfig' => [ 'type' => 'object', 'properties' => [ - 'DockerRegistry' => [ - 'type' => 'string', - ], - 'Username' => [ - 'type' => 'string', - ], - 'Password' => [ - 'type' => 'string', - ], - 'Auth' => [ - 'type' => 'string', - ], + 'DockerRegistry' => ['type' => 'string'], + 'Username' => ['type' => 'string'], + 'Password' => ['type' => 'string'], + 'Auth' => ['type' => 'string'], ], ], 'ImageItem' => [ 'type' => 'object', 'properties' => [ - 'ImageTag' => [ - 'type' => 'string', - ], - 'ImageUrl' => [ - 'type' => 'string', - ], - 'ImageUrlVpc' => [ - 'type' => 'string', - ], - 'ImageProviderType' => [ - 'type' => 'string', - ], - 'AcceleratorType' => [ - 'type' => 'string', - ], - 'Framework' => [ - 'type' => 'string', - ], - 'AuthorId' => [ - 'type' => 'string', - ], - ], - ], - 'JobDebuggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'DebuggerConfigId' => [ - 'type' => 'string', - ], - 'JobId' => [ - 'type' => 'string', - ], - 'DebuggerConfigContent' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], + 'ImageTag' => ['type' => 'string'], + 'ImageUrl' => ['type' => 'string'], + 'ImageUrlVpc' => ['type' => 'string'], + 'ImageProviderType' => ['type' => 'string'], + 'AcceleratorType' => ['type' => 'string'], + 'Framework' => ['type' => 'string'], + 'AuthorId' => ['type' => 'string'], ], ], 'JobElasticSpec' => [ 'type' => 'object', 'properties' => [ - 'EnableElasticTraining' => [ - 'type' => 'boolean', - ], - 'MinParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MaxParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'AIMasterType' => [ - 'type' => 'string', - ], - 'AIMasterDockerImage' => [ - 'type' => 'string', - ], - 'EnablePsJobElasticWorker' => [ - 'type' => 'boolean', - ], - 'EnableAIMaster' => [ - 'type' => 'boolean', - ], - 'EnablePsResourceEstimate' => [ - 'type' => 'boolean', - ], - 'EnablePsJobElasticPS' => [ - 'type' => 'boolean', - ], - 'PSMinParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PSMaxParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ElasticStrategy' => [ - 'type' => 'string', - ], - 'EnableEDP' => [ - 'type' => 'boolean', - ], - 'EDPMaxParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'EDPMinParallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'EnableElasticTraining' => ['type' => 'boolean'], + 'MinParallelism' => ['type' => 'integer', 'format' => 'int32'], + 'MaxParallelism' => ['type' => 'integer', 'format' => 'int32'], + 'AIMasterType' => ['type' => 'string'], + 'AIMasterDockerImage' => ['type' => 'string'], + 'EnablePsJobElasticWorker' => ['type' => 'boolean'], + 'EnableAIMaster' => ['type' => 'boolean'], + 'EnablePsResourceEstimate' => ['type' => 'boolean'], + 'EnablePsJobElasticPS' => ['type' => 'boolean'], + 'PSMinParallelism' => ['type' => 'integer', 'format' => 'int32'], + 'PSMaxParallelism' => ['type' => 'integer', 'format' => 'int32'], + 'ElasticStrategy' => ['type' => 'string'], + 'EnableEDP' => ['type' => 'boolean'], + 'EDPMaxParallelism' => ['type' => 'integer', 'format' => 'int32'], + 'EDPMinParallelism' => ['type' => 'integer', 'format' => 'int32'], ], ], 'JobItem' => [ 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'type' => 'string', - ], - 'CredentialConfig' => [ - '$ref' => '#/components/schemas/CredentialConfig', - ], - 'JobType' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], + 'JobId' => ['type' => 'string'], + 'CredentialConfig' => ['$ref' => '#/components/schemas/CredentialConfig'], + 'JobType' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], 'UserVpc' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'SwitchId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'SwitchId' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], 'ExtendedCidrs' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'DefaultRoute' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'DefaultRoute' => ['type' => 'string'], ], ], - 'UserId' => [ - 'type' => 'string', - ], - 'Username' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'WorkspaceName' => [ - 'type' => 'string', - ], - 'ResourceId' => [ - 'type' => 'string', - ], - 'ResourceLevel' => [ - 'type' => 'string', - ], - 'ReasonCode' => [ - 'type' => 'string', - ], - 'ReasonMessage' => [ - 'type' => 'string', - ], + 'UserId' => ['type' => 'string'], + 'Username' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'WorkspaceId' => ['type' => 'string'], + 'WorkspaceName' => ['type' => 'string'], + 'ResourceId' => ['type' => 'string'], + 'ResourceLevel' => ['type' => 'string'], + 'ReasonCode' => ['type' => 'string'], + 'ReasonMessage' => ['type' => 'string'], 'JobSpecs' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/JobSpec', - ], - ], - 'UserCommand' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/JobSpec'], ], + 'UserCommand' => ['type' => 'string'], 'DataSources' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DataSourceId' => [ - 'type' => 'string', - ], - 'MountPath' => [ - 'type' => 'string', - ], + 'DataSourceId' => ['type' => 'string'], + 'MountPath' => ['type' => 'string'], ], ], ], 'CodeSource' => [ 'type' => 'object', 'properties' => [ - 'CodeSourceId' => [ - 'type' => 'string', - ], - 'Branch' => [ - 'type' => 'string', - ], - 'Commit' => [ - 'type' => 'string', - ], - 'MountPath' => [ - 'type' => 'string', - ], + 'CodeSourceId' => ['type' => 'string'], + 'Branch' => ['type' => 'string'], + 'Commit' => ['type' => 'string'], + 'MountPath' => ['type' => 'string'], ], ], 'ThirdpartyLibs' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'NodeNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'ThirdpartyLibDir' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'ThirdpartyLibDir' => ['type' => 'string'], 'Envs' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SystemEnvs' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtSubmittedTime' => [ - 'type' => 'string', - ], - 'GmtRunningTime' => [ - 'type' => 'string', - ], - 'GmtSuccessedTime' => [ - 'type' => 'string', - ], - 'GmtStoppedTime' => [ - 'type' => 'string', - ], - 'GmtFailedTime' => [ - 'type' => 'string', - ], - 'GmtFinishTime' => [ - 'type' => 'string', - ], - 'GmtModifiedTime' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'JobMaxRunningTimeMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Settings' => [ - '$ref' => '#/components/schemas/JobSettings', - ], - 'EnabledDebugger' => [ - 'type' => 'boolean', - ], - 'IsDeleted' => [ - 'type' => 'boolean', - ], - 'EnablePreemptibleJob' => [ - 'type' => 'boolean', - ], - 'ResourceName' => [ - 'type' => 'string', - ], - 'WorkingDir' => [ - 'type' => 'string', - ], - 'UserScript' => [ - 'type' => 'string', - ], - 'RestartTimes' => [ - 'type' => 'string', - ], - 'RequestCPU' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RequestMemory' => [ - 'type' => 'string', - ], - 'ResourceQuotaName' => [ - 'type' => 'string', - ], - 'RequestGPU' => [ - 'type' => 'string', - ], - 'NodeCount' => [ - 'type' => 'string', - ], - 'Priority' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'SubStatus' => [ - 'type' => 'string', - ], - 'UseOversoldResource' => [ - 'type' => 'boolean', - ], - 'ResourceType' => [ - 'type' => 'string', - ], - 'Accessibility' => [ - 'type' => 'string', - ], - 'ClusterId' => [ - 'type' => 'string', - ], - 'TenantId' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], + ], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtSubmittedTime' => ['type' => 'string'], + 'GmtRunningTime' => ['type' => 'string'], + 'GmtSuccessedTime' => ['type' => 'string'], + 'GmtStoppedTime' => ['type' => 'string'], + 'GmtFailedTime' => ['type' => 'string'], + 'GmtFinishTime' => ['type' => 'string'], + 'GmtModifiedTime' => ['type' => 'string'], + 'Duration' => ['type' => 'integer', 'format' => 'int64'], + 'JobMaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64'], + 'Settings' => ['$ref' => '#/components/schemas/JobSettings'], + 'EnabledDebugger' => ['type' => 'boolean'], + 'IsDeleted' => ['type' => 'boolean'], + 'EnablePreemptibleJob' => ['type' => 'boolean'], + 'ResourceName' => ['type' => 'string'], + 'WorkingDir' => ['type' => 'string'], + 'UserScript' => ['type' => 'string'], + 'RestartTimes' => ['type' => 'string'], + 'RequestCPU' => ['type' => 'integer', 'format' => 'int64'], + 'RequestMemory' => ['type' => 'string'], + 'ResourceQuotaName' => ['type' => 'string'], + 'RequestGPU' => ['type' => 'string'], + 'NodeCount' => ['type' => 'string'], + 'Priority' => ['type' => 'integer', 'format' => 'int32'], + 'SubStatus' => ['type' => 'string'], + 'UseOversoldResource' => ['type' => 'boolean'], + 'ResourceType' => ['type' => 'string'], + 'Accessibility' => ['type' => 'string'], + 'ClusterId' => ['type' => 'string'], + 'TenantId' => ['type' => 'string'], 'StatusHistory' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/StatusTransitionItem', - ], - ], - 'ElasticSpec' => [ - '$ref' => '#/components/schemas/JobElasticSpec', + 'items' => ['$ref' => '#/components/schemas/StatusTransitionItem'], ], + 'ElasticSpec' => ['$ref' => '#/components/schemas/JobElasticSpec'], 'Pods' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PodItem', - ], - ], - 'TemplateId' => [ - 'type' => 'string', - ], - 'TemplateName' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/PodItem'], ], + 'TemplateId' => ['type' => 'string'], + 'TemplateName' => ['type' => 'string'], 'JobReplicaStatuses' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/JobReplicaStatus', - ], + 'items' => ['$ref' => '#/components/schemas/JobReplicaStatus'], ], + 'SchedulingStrategy' => ['type' => 'string'], + 'RetryCount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'JobReplicaStatus' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'Active' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'EstimatedPodCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'EstimatedAutoScalingSpec' => [ - '$ref' => '#/components/schemas/AutoScalingSpec', - ], - 'EstimatedResourceConfig' => [ - '$ref' => '#/components/schemas/ResourceConfig', - ], - 'Queuing' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Dequeued' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Type' => ['type' => 'string'], + 'Active' => ['type' => 'integer', 'format' => 'int32'], + 'EstimatedPodCount' => ['type' => 'integer', 'format' => 'int64'], + 'EstimatedAutoScalingSpec' => ['$ref' => '#/components/schemas/AutoScalingSpec'], + 'EstimatedResourceConfig' => ['$ref' => '#/components/schemas/ResourceConfig'], + 'Queuing' => ['type' => 'integer', 'format' => 'int32'], + 'Dequeued' => ['type' => 'integer', 'format' => 'int32'], + 'CurrentSpotInstanceType' => ['type' => 'string'], ], ], 'JobSettings' => [ 'type' => 'object', 'properties' => [ - 'BusinessUserId' => [ - 'type' => 'string', - ], - 'Caller' => [ - 'type' => 'string', - ], + 'BusinessUserId' => ['type' => 'string'], + 'Caller' => ['type' => 'string'], 'Tags' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'PipelineId' => [ - 'type' => 'string', - ], - 'EnableTideResource' => [ - 'type' => 'boolean', - ], - 'EnableErrorMonitoringInAIMaster' => [ - 'type' => 'boolean', - ], - 'ErrorMonitoringArgs' => [ - 'type' => 'string', - ], - 'EnableRDMA' => [ - 'type' => 'boolean', - ], - 'EnableOssAppend' => [ - 'type' => 'boolean', - ], - 'OversoldType' => [ - 'type' => 'string', - ], - 'AdvancedSettings' => [ - 'type' => 'object', - ], - 'Driver' => [ - 'type' => 'string', - ], - 'EnableSanityCheck' => [ - 'type' => 'boolean', - ], - 'SanityCheckArgs' => [ - 'type' => 'string', - ], - 'JobReservedMinutes' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'additionalProperties' => ['type' => 'string'], + ], + 'PipelineId' => ['type' => 'string'], + 'EnableTideResource' => ['type' => 'boolean'], + 'EnableErrorMonitoringInAIMaster' => ['type' => 'boolean'], + 'ErrorMonitoringArgs' => ['type' => 'string'], + 'EnableRDMA' => ['type' => 'boolean'], + 'EnableOssAppend' => ['type' => 'boolean'], + 'OversoldType' => ['type' => 'string'], + 'AdvancedSettings' => ['type' => 'object'], + 'Driver' => ['type' => 'string'], + 'EnableSanityCheck' => ['type' => 'boolean'], + 'SanityCheckArgs' => ['type' => 'string'], + 'JobReservedMinutes' => ['type' => 'integer', 'format' => 'int32'], 'JobReservedPolicy' => [ 'type' => 'string', - 'enum' => [ - 'Always', - 'OnFailure', - 'OnSucceed', - ], + 'enum' => ['Always', 'OnFailure', 'OnSucceed'], ], - 'EnableCPUAffinity' => [ - 'type' => 'boolean', - ], - 'DisableEcsStockCheck' => [ - 'type' => 'boolean', - ], - 'AllocateAllRDMADevices' => [ - 'type' => 'boolean', - ], - 'EnableDSWDev' => [ - 'type' => 'boolean', - ], - 'DataJuicerConfig' => [ - '$ref' => '#/components/schemas/DataJuicerConfig', - ], - 'ModelConfig' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - 'AllowUnschedulableNodes' => [ - 'type' => 'boolean', + 'EnableCPUAffinity' => ['type' => 'boolean'], + 'DisableEcsStockCheck' => ['type' => 'boolean'], + 'AllocateAllRDMADevices' => ['type' => 'boolean'], + 'EnableDSWDev' => ['type' => 'boolean'], + 'DataJuicerConfig' => ['$ref' => '#/components/schemas/DataJuicerConfig'], + 'ModelConfig' => ['$ref' => '#/components/schemas/ModelConfig'], + 'AllowUnschedulableNodes' => ['type' => 'boolean'], + 'Shell' => [ + 'type' => 'string', + 'enum' => ['/bin/sh', '/bin/bash'], ], ], ], 'JobSpec' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'Image' => [ - 'type' => 'string', - ], - 'ImageConfig' => [ - '$ref' => '#/components/schemas/ImageConfig', - ], - 'PodCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'EcsSpec' => [ - 'type' => 'string', - ], - 'ExtraPodSpec' => [ - '$ref' => '#/components/schemas/ExtraPodSpec', - ], - 'ResourceConfig' => [ - '$ref' => '#/components/schemas/ResourceConfig', - ], - 'UseSpotInstance' => [ - 'type' => 'boolean', - 'deprecated' => true, - ], - 'SpotSpec' => [ - '$ref' => '#/components/schemas/SpotSpec', - ], - 'AssignNodeSpec' => [ - '$ref' => '#/components/schemas/AssignNodeSpec', - ], + 'Type' => ['type' => 'string'], + 'Image' => ['type' => 'string'], + 'ImageConfig' => ['$ref' => '#/components/schemas/ImageConfig'], + 'PodCount' => ['type' => 'integer', 'format' => 'int64'], + 'ExtraPodSpec' => ['$ref' => '#/components/schemas/ExtraPodSpec'], + 'ResourceConfig' => ['$ref' => '#/components/schemas/ResourceConfig'], + 'UseSpotInstance' => ['type' => 'boolean', 'deprecated' => true], + 'SpotSpec' => ['$ref' => '#/components/schemas/SpotSpec'], + 'AssignNodeSpec' => ['$ref' => '#/components/schemas/AssignNodeSpec'], 'LocalMountSpecs' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/LocalMountSpec', - ], - ], - 'AutoScalingSpec' => [ - '$ref' => '#/components/schemas/AutoScalingSpec', - ], - 'ServiceSpec' => [ - '$ref' => '#/components/schemas/ServiceSpec', - ], - 'IsCheif' => [ - 'type' => 'boolean', - 'deprecated' => true, - ], - 'IsChief' => [ - 'type' => 'boolean', - ], - 'RestartPolicy' => [ - 'type' => 'string', - ], - 'SystemDisk' => [ - '$ref' => '#/components/schemas/SystemDisk', - ], + 'items' => ['$ref' => '#/components/schemas/LocalMountSpec'], + ], + 'AutoScalingSpec' => ['$ref' => '#/components/schemas/AutoScalingSpec'], + 'ServiceSpec' => ['$ref' => '#/components/schemas/ServiceSpec'], + 'IsCheif' => ['type' => 'boolean', 'deprecated' => true], + 'IsChief' => ['type' => 'boolean'], + 'RestartPolicy' => ['type' => 'string'], + 'SystemDisk' => ['$ref' => '#/components/schemas/SystemDisk'], + 'EcsSpec' => ['type' => 'string'], + 'QuotaId' => ['type' => 'string'], + 'ConsiderInSuccessPolicy' => ['type' => 'boolean'], 'StartupDependencies' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/StartupDependency', - ], + 'items' => ['$ref' => '#/components/schemas/StartupDependency'], + ], + 'ElasticSpotSpecs' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ElasticSpotSpec'], ], ], ], 'JobTemplateVersionDetail' => [ 'type' => 'object', 'properties' => [ - 'Version' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Content' => [ - 'type' => 'string', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], - 'GmtCreated' => [ - 'type' => 'string', - 'format' => 'iso8601_normal', - ], + 'Version' => ['type' => 'integer', 'format' => 'int32'], + 'Content' => ['type' => 'string'], + 'CreatedBy' => ['type' => 'string'], + 'GmtCreated' => ['type' => 'string', 'format' => 'iso8601_normal'], 'Constraints' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -1259,9 +579,7 @@ 'properties' => [ 'Command' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -1275,9 +593,7 @@ 'properties' => [ 'Command' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -1288,295 +604,148 @@ 'LocalMountSpec' => [ 'type' => 'object', 'properties' => [ - 'MountPath' => [ - 'type' => 'string', - ], - 'MountMode' => [ - 'type' => 'string', - ], - 'LocalPath' => [ - 'type' => 'string', - ], + 'MountMode' => ['type' => 'string'], + 'LocalPath' => ['type' => 'string'], + 'MountPath' => ['type' => 'string'], ], ], 'LogInfo' => [ 'type' => 'object', 'properties' => [ - 'PodUid' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], - 'Time' => [ - 'type' => 'string', - ], - 'IsTruncated' => [ - 'type' => 'boolean', - ], - 'PodId' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'Source' => [ - 'type' => 'string', - ], + 'PodUid' => ['type' => 'string'], + 'Content' => ['type' => 'string'], + 'Time' => ['type' => 'string'], + 'IsTruncated' => ['type' => 'boolean'], + 'PodId' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'Source' => ['type' => 'string'], ], ], 'Member' => [ 'type' => 'object', 'properties' => [ - 'MemberId' => [ - 'type' => 'string', - ], - 'MemberType' => [ - 'type' => 'string', - ], + 'MemberId' => ['type' => 'string'], + 'MemberType' => ['type' => 'string'], ], ], 'Metric' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Value' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'Time' => ['type' => 'integer', 'format' => 'int64'], + 'Value' => ['type' => 'number', 'format' => 'float'], ], ], 'ModelConfig' => [ 'type' => 'object', 'properties' => [ - 'ModelName' => [ - 'type' => 'string', - ], - 'ModelTemplate' => [ - '$ref' => '#/components/schemas/ModelTemplate', - ], + 'ModelName' => ['type' => 'string'], + 'ModelTemplate' => ['$ref' => '#/components/schemas/ModelTemplate'], ], ], 'ModelTemplate' => [ 'type' => 'object', 'properties' => [ - 'ModelName' => [ - 'type' => 'string', - ], - 'Provider' => [ - 'type' => 'string', - ], - 'Collections' => [ - 'type' => 'string', - ], - ], - ], - 'NodeMetric' => [ - 'type' => 'object', - 'properties' => [ - 'NodeName' => [ - 'type' => 'string', - ], - 'Metrics' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Metric', - ], - ], + 'ModelName' => ['type' => 'string'], + 'Provider' => ['type' => 'string'], + 'Collections' => ['type' => 'string'], ], ], 'PodItem' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'PodId' => [ - 'type' => 'string', - ], - 'PodUid' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'Ip' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtStartTime' => [ - 'type' => 'string', - ], - 'GmtFinishTime' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], + 'PodId' => ['type' => 'string'], + 'PodUid' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'Ip' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtStartTime' => ['type' => 'string'], + 'GmtFinishTime' => ['type' => 'string'], 'HistoryPods' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PodItem', - ], - ], - 'SubStatus' => [ - 'type' => 'string', - ], - 'NodeName' => [ - 'type' => 'string', - ], - 'PodIp' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/PodItem'], ], + 'SubStatus' => ['type' => 'string'], + 'NodeName' => ['type' => 'string'], + 'PodIp' => ['type' => 'string'], 'PodIps' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PodNetworkInterface', - ], + 'items' => ['$ref' => '#/components/schemas/PodNetworkInterface'], ], ], ], 'PodMetric' => [ 'type' => 'object', 'properties' => [ - 'PodId' => [ - 'type' => 'string', - ], + 'PodId' => ['type' => 'string'], 'Metrics' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Metric', - ], + 'items' => ['$ref' => '#/components/schemas/Metric'], ], ], ], 'PodNetworkInterface' => [ 'type' => 'object', 'properties' => [ - 'InterfaceName' => [ - 'type' => 'string', - ], - 'Ip' => [ - 'type' => 'string', - ], + 'InterfaceName' => ['type' => 'string'], + 'Ip' => ['type' => 'string'], ], ], 'Quota' => [ 'type' => 'object', 'properties' => [ - 'QuotaId' => [ - 'type' => 'string', - ], - 'QuotaName' => [ - 'type' => 'string', - ], - 'QuotaType' => [ - 'type' => 'string', - ], - 'UsedQuota' => [ - '$ref' => '#/components/schemas/QuotaDetail', - ], - 'TotalQuota' => [ - '$ref' => '#/components/schemas/QuotaDetail', - ], - 'ClusterId' => [ - 'type' => 'string', - ], - 'ClusterName' => [ - 'type' => 'string', - ], - 'TotalTideQuota' => [ - '$ref' => '#/components/schemas/QuotaDetail', - ], - 'UsedTideQuota' => [ - '$ref' => '#/components/schemas/QuotaDetail', - ], - 'QuotaConfig' => [ - '$ref' => '#/components/schemas/QuotaConfig', - ], + 'QuotaId' => ['type' => 'string'], + 'QuotaName' => ['type' => 'string'], + 'QuotaType' => ['type' => 'string'], + 'UsedQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], + 'TotalQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], + 'ClusterId' => ['type' => 'string'], + 'ClusterName' => ['type' => 'string'], + 'TotalTideQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], + 'UsedTideQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], + 'QuotaConfig' => ['$ref' => '#/components/schemas/QuotaConfig'], ], ], 'QuotaConfig' => [ 'type' => 'object', 'properties' => [ - 'EnableTideResource' => [ - 'type' => 'boolean', - ], - 'ResourceLevel' => [ - 'type' => 'string', - ], - 'AllowedMaxPriority' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'EnableDLC' => [ - 'type' => 'boolean', - ], - 'EnableDSW' => [ - 'type' => 'boolean', - ], + 'EnableTideResource' => ['type' => 'boolean'], + 'ResourceLevel' => ['type' => 'string'], + 'AllowedMaxPriority' => ['type' => 'integer', 'format' => 'int32'], + 'EnableDLC' => ['type' => 'boolean'], + 'EnableDSW' => ['type' => 'boolean'], ], ], 'QuotaDetail' => [ 'type' => 'object', 'properties' => [ - 'CPU' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'string', - ], - 'GPU' => [ - 'type' => 'string', - ], - 'GPUType' => [ - 'type' => 'string', - ], - 'GPUTypeFullName' => [ - 'type' => 'string', - ], + 'CPU' => ['type' => 'string'], + 'Memory' => ['type' => 'string'], + 'GPU' => ['type' => 'string'], + 'GPUType' => ['type' => 'string'], + 'GPUTypeFullName' => ['type' => 'string'], 'GPUDetails' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GPUDetail', - ], + 'items' => ['$ref' => '#/components/schemas/GPUDetail'], ], ], ], 'ResourceConfig' => [ 'type' => 'object', 'properties' => [ - 'CPU' => [ - 'type' => 'string', - ], - 'GPU' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'string', - ], - 'SharedMemory' => [ - 'type' => 'string', - ], - 'GPUType' => [ - 'type' => 'string', - ], + 'CPU' => ['type' => 'string'], + 'GPU' => ['type' => 'string'], + 'Memory' => ['type' => 'string'], + 'SharedMemory' => ['type' => 'string'], + 'GPUType' => ['type' => 'string'], ], ], 'ResourceLimit' => [ 'type' => 'object', 'properties' => [ - 'CPU' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'string', - ], - 'GPU' => [ - 'type' => 'string', - ], + 'CPU' => ['type' => 'string'], + 'Memory' => ['type' => 'string'], + 'GPU' => ['type' => 'string'], ], ], 'ResourceRequirements' => [ @@ -1584,87 +753,48 @@ 'properties' => [ 'Limits' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'Requests' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], 'Resources' => [ 'type' => 'object', 'properties' => [ - 'CPU' => [ - 'type' => 'string', - ], - 'GPU' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'string', - ], + 'CPU' => ['type' => 'string'], + 'GPU' => ['type' => 'string'], + 'Memory' => ['type' => 'string'], ], ], 'SanityCheckResultItem' => [ 'type' => 'object', 'properties' => [ - 'Phase' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'StartedAt' => [ - 'type' => 'string', - ], - 'FinishedAt' => [ - 'type' => 'string', - ], - 'CheckNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Phase' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'StartedAt' => ['type' => 'string'], + 'FinishedAt' => ['type' => 'string'], + 'CheckNumber' => ['type' => 'integer', 'format' => 'int32'], ], ], 'SeccompProfile' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'LocalhostProfile' => [ - 'type' => 'string', - ], + 'Type' => ['type' => 'string'], + 'LocalhostProfile' => ['type' => 'string'], ], ], 'SecurityContext' => [ 'type' => 'object', 'properties' => [ - 'RunAsUser' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Privileged' => [ - 'type' => 'boolean', - ], - 'Capabilities' => [ - '$ref' => '#/components/schemas/SecurityContextCapabilities', - ], - 'RunAsGroup' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SeccompProfile' => [ - '$ref' => '#/components/schemas/SeccompProfile', - ], + 'RunAsUser' => ['type' => 'integer', 'format' => 'int64'], + 'RunAsGroup' => ['type' => 'integer', 'format' => 'int64'], + 'SeccompProfile' => ['$ref' => '#/components/schemas/SeccompProfile'], + 'Privileged' => ['type' => 'boolean'], + 'Capabilities' => ['$ref' => '#/components/schemas/SecurityContextCapabilities'], ], ], 'SecurityContextCapabilities' => [ @@ -1672,379 +802,165 @@ 'properties' => [ 'Add' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'Drop' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'ServiceExposure' => [ 'type' => 'object', 'properties' => [ - 'ServiceId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'JobId' => [ - 'type' => 'string', - ], - 'PodId' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'Port' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Status' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], + 'ServiceId' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'JobId' => ['type' => 'string'], + 'PodId' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + 'Port' => ['type' => 'integer', 'format' => 'int32'], + 'Status' => ['type' => 'string'], + 'Message' => ['type' => 'string'], ], ], 'ServiceSpec' => [ 'type' => 'object', 'properties' => [ - 'ServiceMode' => [ - 'type' => 'string', - ], + 'DefaultPort' => ['type' => 'integer', 'format' => 'int32'], + 'ServiceMode' => ['type' => 'string'], 'ExtraPorts' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'DefaultPort' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], ], ], 'SmartCache' => [ 'type' => 'object', 'properties' => [ - 'SmartCacheId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'MountPath' => [ - 'type' => 'string', - ], - 'Type' => [ - 'type' => 'string', - ], - 'FileSystemId' => [ - 'type' => 'string', - ], - 'Path' => [ - 'type' => 'string', - ], - 'Endpoint' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'string', - ], - 'Options' => [ - 'type' => 'string', - ], - 'CacheWorkerSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CacheWorkerNum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Path' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'Options' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'Duration' => ['type' => 'string'], + 'SmartCacheId' => ['type' => 'string'], + 'CacheWorkerNum' => ['type' => 'integer', 'format' => 'int64'], + 'MountPath' => ['type' => 'string'], + 'CacheWorkerSize' => ['type' => 'integer', 'format' => 'int64'], + 'Type' => ['type' => 'string'], + 'Endpoint' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], + 'UserId' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'FileSystemId' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], ], ], 'SpotSpec' => [ 'type' => 'object', 'properties' => [ - 'SpotStrategy' => [ - 'type' => 'string', - ], - 'SpotDiscountLimit' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'SpotPriceLimit' => [ - 'type' => 'number', - 'format' => 'float', - ], + 'SpotStrategy' => ['type' => 'string'], + 'SpotDiscountLimit' => ['type' => 'number', 'format' => 'float'], + 'SpotPriceLimit' => ['type' => 'number', 'format' => 'float'], ], ], 'StartupDependency' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'OnPhase' => [ - 'type' => 'string', - 'required' => false, - ], - 'MinReplicas' => [ - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['type' => 'string', 'required' => false], + 'OnPhase' => ['type' => 'string', 'required' => false], + 'MinReplicas' => ['type' => 'string', 'required' => false], ], ], 'StatusTransitionItem' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'StartTime' => [ - 'type' => 'string', - ], - 'EndTime' => [ - 'type' => 'string', - ], - 'ReasonCode' => [ - 'type' => 'string', - ], - 'ReasonMessage' => [ - 'type' => 'string', - ], + 'Status' => ['type' => 'string'], + 'StartTime' => ['type' => 'string'], + 'EndTime' => ['type' => 'string'], + 'ReasonCode' => ['type' => 'string'], + 'ReasonMessage' => ['type' => 'string'], ], ], 'SystemDisk' => [ 'type' => 'object', 'properties' => [ - 'Size' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'Category' => [ - 'type' => 'string', - 'required' => false, - ], - 'PerformanceLevel' => [ - 'type' => 'string', - 'required' => false, - ], + 'Size' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'Category' => ['type' => 'string', 'required' => false], + 'PerformanceLevel' => ['type' => 'string', 'required' => false], ], ], 'Tensorboard' => [ 'type' => 'object', 'properties' => [ - 'TensorboardId' => [ - 'type' => 'string', - ], - 'TensorboardUrl' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], - 'GmtFinishTime' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'DataSourceId' => [ - 'type' => 'string', - ], - 'SummaryPath' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'Username' => [ - 'type' => 'string', - ], - 'ReasonCode' => [ - 'type' => 'string', - ], - 'ReasonMessage' => [ - 'type' => 'string', - ], - 'JobId' => [ - 'type' => 'string', - ], + 'TensorboardId' => ['type' => 'string'], + 'TensorboardUrl' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'Duration' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], + 'GmtFinishTime' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], + 'DataSourceId' => ['type' => 'string'], + 'SummaryPath' => ['type' => 'string'], + 'UserId' => ['type' => 'string'], + 'Username' => ['type' => 'string'], + 'ReasonCode' => ['type' => 'string'], + 'ReasonMessage' => ['type' => 'string'], + 'JobId' => ['type' => 'string'], 'TensorboardDataSources' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TensorboardDataSourceSpec', - 'required' => false, - ], - ], - 'TensorboardSpec' => [ - '$ref' => '#/components/schemas/TensorboardSpec', - ], - 'QuotaId' => [ - 'type' => 'string', - ], - 'Priority' => [ - 'type' => 'string', - ], - 'QuotaName' => [ - 'type' => 'string', - ], - 'Accessibility' => [ - 'type' => 'string', - ], - 'Cpu' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SummaryRelativePath' => [ - 'type' => 'string', - ], - 'MaxRunningTimeMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'DataSourceType' => [ - 'type' => 'string', - ], - 'Options' => [ - 'type' => 'string', - ], - 'Memory' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Token' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/TensorboardDataSourceSpec', 'required' => false], ], + 'TensorboardSpec' => ['$ref' => '#/components/schemas/TensorboardSpec'], + 'QuotaId' => ['type' => 'string'], + 'Priority' => ['type' => 'string'], + 'QuotaName' => ['type' => 'string'], + 'Accessibility' => ['type' => 'string'], ], ], 'TensorboardDataSourceSpec' => [ 'type' => 'object', 'properties' => [ - 'DirectoryName' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'DataSourceType' => [ - 'type' => 'string', - ], - 'Uri' => [ - 'type' => 'string', - ], - 'SourceType' => [ - 'type' => 'string', - ], - 'SummaryPath' => [ - 'type' => 'string', - ], - 'FullSummaryPath' => [ - 'type' => 'string', - ], + 'DirectoryName' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'DataSourceType' => ['type' => 'string'], + 'Uri' => ['type' => 'string'], + 'SourceType' => ['type' => 'string'], + 'SummaryPath' => ['type' => 'string'], + 'FullSummaryPath' => ['type' => 'string'], ], ], 'TensorboardSpec' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'EcsType' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'SwitchId' => [ - 'type' => 'string', - ], + 'VpcId' => ['type' => 'string'], + 'EcsType' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], + 'SwitchId' => ['type' => 'string'], ], ], 'Workspace' => [ 'type' => 'object', 'properties' => [ - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'WorkspaceName' => [ - 'type' => 'string', - ], - 'Creator' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifyTime' => [ - 'type' => 'string', - ], + 'WorkspaceId' => ['type' => 'string'], + 'WorkspaceName' => ['type' => 'string'], + 'Creator' => ['type' => 'string'], + 'GmtCreateTime' => ['type' => 'string'], + 'GmtModifyTime' => ['type' => 'string'], 'Quotas' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Quota', - ], - ], - 'TotalResources' => [ - '$ref' => '#/components/schemas/Resources', + 'items' => ['$ref' => '#/components/schemas/Quota'], ], + 'TotalResources' => ['$ref' => '#/components/schemas/Resources'], 'Members' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Member', - ], + 'items' => ['$ref' => '#/components/schemas/Member'], ], 'WorkspaceAdmins' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Member', - ], + 'items' => ['$ref' => '#/components/schemas/Member'], ], ], ], @@ -2053,24 +969,15 @@ 'apis' => [ 'CreateJob' => [ 'path' => '/api/v1/jobs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2081,31 +988,15 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'DisplayName' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 1024, - ], - 'JobType' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 32, - ], + 'DisplayName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024], + 'JobType' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 32], 'JobSpecs' => [ 'type' => 'array', 'required' => true, - 'items' => [ - '$ref' => '#/components/schemas/JobSpec', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/JobSpec', 'required' => false], 'minItems' => 1, ], - 'UserCommand' => [ - 'type' => 'string', - 'required' => true, - ], + 'UserCommand' => ['type' => 'string', 'required' => true], 'DataSources' => [ 'type' => 'array', 'required' => false, @@ -2113,34 +1004,15 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'DataSourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'MountPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'Uri' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'string', - 'required' => false, - ], - 'DataSourceVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'MountAccess' => [ - 'type' => 'string', - 'required' => false, - ], - 'EnableCache' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'DataSourceId' => ['type' => 'string', 'required' => false], + 'MountPath' => ['type' => 'string', 'required' => false], + 'Uri' => ['type' => 'string', 'required' => false], + 'Options' => ['type' => 'string', 'required' => false], + 'DataSourceVersion' => ['type' => 'string', 'required' => false], + 'MountAccess' => ['type' => 'string', 'required' => false], + 'EnableCache' => ['type' => 'boolean', 'required' => false], + 'AccessPointId' => ['type' => 'string'], + 'RoleChain' => ['type' => 'string'], ], ], ], @@ -2148,119 +1020,55 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CodeSourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Branch' => [ - 'type' => 'string', - 'required' => false, - ], - 'Commit' => [ - 'type' => 'string', - 'required' => false, - ], - 'MountPath' => [ - 'type' => 'string', - 'required' => false, - ], + 'CodeSourceId' => ['type' => 'string', 'required' => false], + 'Branch' => ['type' => 'string', 'required' => false], + 'Commit' => ['type' => 'string', 'required' => false], + 'MountPath' => ['type' => 'string', 'required' => false], ], ], 'UserVpc' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SwitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'VpcId' => ['type' => 'string', 'required' => false], + 'SwitchId' => ['type' => 'string', 'required' => false], + 'SecurityGroupId' => ['type' => 'string', 'required' => false], 'ExtendedCIDRs' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'DefaultRoute' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'DefaultRoute' => ['type' => 'string', 'required' => false], ], ], 'ThirdpartyLibs' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'ThirdpartyLibDir' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'ThirdpartyLibDir' => ['type' => 'string', 'required' => false], 'Envs' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'JobMaxRunningTimeMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], - 'ResourceId' => [ + 'JobMaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1'], + 'WorkspaceId' => ['type' => 'string', 'required' => false], + 'ResourceId' => ['type' => 'string', 'required' => false], + 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Settings' => ['$ref' => '#/components/schemas/JobSettings', 'required' => false], + 'ElasticSpec' => ['$ref' => '#/components/schemas/JobElasticSpec', 'required' => false], + 'DebuggerConfigContent' => ['type' => 'string', 'required' => false], + 'Options' => ['type' => 'string', 'required' => false], + 'SuccessPolicy' => ['type' => 'string', 'required' => false], + 'CredentialConfig' => ['$ref' => '#/components/schemas/CredentialConfig', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], + 'TemplateId' => ['type' => 'string', 'required' => false], + 'TemplateVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Description' => ['type' => 'string'], + 'SchedulingStrategy' => [ 'type' => 'string', - 'required' => false, - ], - 'Priority' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Settings' => [ - '$ref' => '#/components/schemas/JobSettings', - 'required' => false, - ], - 'ElasticSpec' => [ - '$ref' => '#/components/schemas/JobElasticSpec', - 'required' => false, - ], - 'DebuggerConfigContent' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'string', - 'required' => false, - ], - 'SuccessPolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'CredentialConfig' => [ - '$ref' => '#/components/schemas/CredentialConfig', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, + 'enum' => ['Auto', 'Binpack', 'Spread'], ], 'CustomEnvs' => [ 'type' => 'array', @@ -2269,97 +1077,95 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Visible' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], + 'Visible' => ['type' => 'string', 'required' => false], ], ], ], - 'TemplateId' => [ - 'type' => 'string', - 'required' => false, - ], - 'TemplateVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], ], ], ], ], ], - 'DeleteJob' => [ - 'path' => '/api/v1/jobs/{JobId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateJobTemplate' => [ + 'path' => '/api/v1/jobtemplates', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'TemplateName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024], + 'Description' => ['type' => 'string', 'required' => false], + 'WorkspaceId' => ['type' => 'string', 'required' => true, 'maxLength' => 128], + 'Metadata' => ['type' => 'object', 'required' => false], + 'Content' => ['type' => 'string', 'required' => true], + 'Constraints' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'UpdateJob' => [ - 'path' => '/api/v1/jobs/{JobId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRayHistoryServer' => [ + 'path' => '/api/v1/rayhistoryservers', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'DisplayName' => ['type' => 'string', 'required' => true], + 'StoragePath' => ['type' => 'string', 'required' => true], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'ResourceId' => ['type' => 'string', 'required' => false], + 'EcsSpec' => ['type' => 'string', 'required' => false], + 'MaxRuntimeMinutes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'CreateTensorboard' => [ + 'path' => '/api/v1/tensorboards', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -2368,813 +1174,662 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Priority' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', + 'WorkspaceId' => ['type' => 'string', 'required' => false], + 'JobId' => ['type' => 'string', 'required' => false], + 'DataSourceId' => ['type' => 'string', 'required' => false], + 'DataSourceType' => ['type' => 'string', 'required' => false], + 'Uri' => ['type' => 'string', 'required' => false], + 'Options' => ['type' => 'string', 'required' => false], + 'SummaryPath' => ['type' => 'string', 'required' => false], + 'SummaryRelativePath' => ['type' => 'string', 'required' => false], + 'DisplayName' => ['type' => 'string', 'required' => false], + 'SourceType' => ['type' => 'string', 'required' => false], + 'SourceId' => ['type' => 'string', 'required' => false], + 'MaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'DataSources' => [ + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/DataSourceItem', 'required' => false], ], - 'JobSpecs' => [ + 'Cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'Memory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'TensorboardDataSources' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/JobSpec', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/TensorboardDataSourceSpec', 'required' => false], ], + 'TensorboardSpec' => ['$ref' => '#/components/schemas/TensorboardSpec', 'required' => false], + 'QuotaId' => ['type' => 'string', 'required' => false], + 'Priority' => ['type' => 'string', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'StopJob' => [ - 'path' => '/api/v1/jobs/{JobId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteJob' => [ + 'path' => '/api/v1/jobs/{JobId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListJobs' => [ - 'path' => '/api/v1/jobs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteJobTemplate' => [ + 'path' => '/api/v1/jobtemplates/{TemplateId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'DisplayName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 1024, - ], - ], - [ - 'name' => 'JobType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 32, - ], + 'name' => 'TemplateId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], + ], + ], + 'DeleteRayHistoryServer' => [ + 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 200, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'RayHistoryServerId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteTensorboard' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '1000', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100', - ], + 'name' => 'TensorboardId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], + ], + ], + 'GetDashboard' => [ + 'path' => '/api/v1/jobs/{jobId}/dashboard', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ShowOwn', + 'name' => 'isShared', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, + 'enum' => ['true', 'false'], ], ], [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ResourceId', + 'name' => 'token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'BusinessUserId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetJob' => [ + 'path' => '/api/v1/jobs/{JobId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Caller', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], + 'name' => 'JobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ - 'name' => 'PipelineId', + 'name' => 'NeedDetail', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], + ], + ], + 'GetJobEvents' => [ + 'path' => '/api/v1/jobs/{JobId}/events', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FromAllWorkspaces', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'JobId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'UserIdForFilter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Username', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ResourceQuotaName', + 'name' => 'MaxEventsNum', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], ], [ - 'name' => 'Accessibility', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'OversoldInfo', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetJobMetrics' => [ + 'path' => '/api/v1/jobs/{JobId}/metrics', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PaymentType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'JobIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'JobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'DisplayNameSearchMode', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ReasonSearch', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'UserCommandSearch', + 'name' => 'TimeStep', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ImageSearch', + 'name' => 'MetricType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TimeRangeField', + 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetJobSanityCheckResult' => [ + 'path' => '/api/v1/jobs/{JobId}/sanitycheckresult', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NumericRangeField', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'NumericRangeMin', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'JobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'NumericRangeMax', + 'name' => 'SanityCheckNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'], ], [ - 'name' => 'EnableAssignNode', + 'name' => 'SanityCheckPhase', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TemplateId', + 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetJob' => [ - 'path' => '/api/v1/jobs/{JobId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetJobTemplate' => [ + 'path' => '/api/v1/jobtemplates/{TemplateId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'TemplateId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], [ - 'name' => 'NeedDetail', + 'name' => 'Version', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetJobSanityCheckResult' => [ - 'path' => '/api/v1/jobs/{JobId}/sanitycheckresult', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetMetrics' => [ + 'path' => '/api/v1/cms/metrics', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'JobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SanityCheckNumber', + 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SanityCheckPhase', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + '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], ], [ 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListJobSanityCheckResults' => [ - 'path' => '/api/v1/jobs/{JobId}/sanitycheckresults', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPodEvents' => [ + 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/events', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Order', + 'name' => 'PodId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'PodUid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + '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], ], ], ], 'GetPodLogs' => [ 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodUid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxLines', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DownloadToFile', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetPodEvents' => [ - 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/events', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRayDashboard' => [ + 'path' => '/api/v1/jobs/{jobId}/rayDashboard', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'jobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PodId', - 'in' => 'path', + 'name' => 'isShared', + 'in' => 'query', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'boolean', + 'required' => false, + 'enum' => ['true', 'false'], ], ], [ - 'name' => 'PodUid', + 'name' => 'token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetRayHistoryServer' => [ + 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MaxEventsNum', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ + [ + 'name' => 'RayHistoryServerId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetTensorboard' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'TensorboardId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], + ], + [ + 'name' => 'JodId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetJobMetrics' => [ - 'path' => '/api/v1/jobs/{JobId}/metrics', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTensorboardSharedUrl' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}/sharedurl', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'TensorboardId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'StartTime', + 'name' => 'ExpireTimeSeconds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetToken' => [ + 'path' => '/api/v1/tokens', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'TimeStep', + 'name' => 'TargetType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricType', + 'name' => 'TargetId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Token', + 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'GetJobEvents' => [ - 'path' => '/api/v1/jobs/{JobId}/events', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWebTerminal' => [ + 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/webterminal', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MaxEventsNum', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '10000', - ], + 'name' => 'PodId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'PodUid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'IsShared', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'ListEcsSpecs' => [ 'path' => '/api/v1/ecsspecs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3185,496 +1840,431 @@ [ 'name' => 'AcceleratorType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'InstanceTypes', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetWebTerminal' => [ - 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/webterminal', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListJobSanityCheckResults' => [ + 'path' => '/api/v1/jobs/{JobId}/sanitycheckresults', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PodId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PodUid', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'IsShared', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetToken' => [ - 'path' => '/api/v1/tokens', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListJobTemplates' => [ + 'path' => '/api/v1/jobtemplates', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TargetType', + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 256], + ], + [ + 'name' => 'SortBy', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['GmtCreateTime', 'GmtModifyTime', 'TemplateName'], ], ], [ - 'name' => 'TargetId', + 'name' => 'Order', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['asc', 'desc'], ], ], [ - 'name' => 'ExpireTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], ], ], - 'CreateTensorboard' => [ - 'path' => '/api/v1/tensorboards', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListJobs' => [ + 'path' => '/api/v1/jobs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'JobId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DataSourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DataSourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'Uri' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'string', - 'required' => false, - ], - 'SummaryPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'SummaryRelativePath' => [ - 'type' => 'string', - 'required' => false, - ], - 'DisplayName' => [ - 'type' => 'string', - 'required' => false, - ], - 'SourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'SourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'MaxRunningTimeMinutes' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'DataSources' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/DataSourceItem', - 'required' => false, - ], - ], - 'Cpu' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'Memory' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'TensorboardDataSources' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/TensorboardDataSourceSpec', - 'required' => false, - ], - ], - 'TensorboardSpec' => [ - '$ref' => '#/components/schemas/TensorboardSpec', - 'required' => false, - ], - 'QuotaId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Priority' => [ - 'type' => 'string', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 1024], ], - ], - ], - 'DeleteTensorboard' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'JobType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 32], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'WorkspaceId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], ], [ - 'name' => 'TensorboardId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'StartTensorboard' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}/start', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'WorkspaceId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '1000'], ], [ - 'name' => 'TensorboardId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], - ], - ], - 'UpdateTensorboard' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ShowOwn', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TensorboardId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MaxRunningTimeMinutes', + 'name' => 'BusinessUserId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], ], [ + 'name' => 'PipelineId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'FromAllWorkspaces', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'UserIdForFilter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ResourceQuotaName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'Accessibility', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Priority', + 'name' => 'OversoldInfo', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'JobIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DisplayNameSearchMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ReasonSearch', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'UserCommandSearch', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ImageSearch', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TimeRangeField', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NumericRangeField', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NumericRangeMin', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'NumericRangeMax', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EnableAssignNode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], ], - 'StopTensorboard' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRayHistoryServers' => [ + 'path' => '/api/v1/rayhistoryservers', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TensorboardId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ShowOwn', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ModifiedAfter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IdPrefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'UserIdForFilter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'StoragePath', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTensorboards' => [ 'path' => '/api/v1/tensorboards', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3683,450 +2273,391 @@ 'APP' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Verbose', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '1000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '1000'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShowOwn', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'PaymentType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Username', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'SetJobTemplateDefaultVersion' => [ + 'path' => '/api/v1/jobtemplates/{TemplateId}/defaultversion', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Version' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'], + ], ], ], ], ], - 'GetTensorboard' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}', - 'methods' => [ - 'get', + 'StartRayHistoryServer' => [ + 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}/start', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RayHistoryServerId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'StartTensorboard' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}/start', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 256, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], + ], + ], + 'StopJob' => [ + 'path' => '/api/v1/jobs/{JobId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'JodId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Token', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'JobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetTensorboardSharedUrl' => [ - 'path' => '/api/v1/tensorboards/{TensorboardId}/sharedurl', - 'methods' => [ - 'get', + 'StopRayHistoryServer' => [ + 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RayHistoryServerId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'StopTensorboard' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TensorboardId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], + ], ], - 'produces' => [ - 'application/json', + ], + 'UpdateJob' => [ + 'path' => '/api/v1/jobs/{JobId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TensorboardId', + 'name' => 'JobId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ExpireTimeSeconds', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], + 'JobSpecs' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/JobSpec', 'required' => false], + ], + 'Description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetRayDashboard' => [ - 'path' => '/api/v1/jobs/{jobId}/rayDashboard', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateJobTemplate' => [ + 'path' => '/api/v1/jobtemplates/{TemplateId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'jobId', + 'name' => 'TemplateId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], [ - 'name' => 'isShared', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'true', - 'false', + 'properties' => [ + 'TemplateName' => ['type' => 'string', 'required' => false], + 'Description' => ['type' => 'string', 'required' => false], + 'Metadata' => ['type' => 'object', 'required' => false], + 'Content' => ['type' => 'string', 'required' => false], + 'Constraints' => ['type' => 'object', 'required' => false], + 'SetAsDefault' => ['type' => 'boolean', 'required' => false], + 'version' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - [ - 'name' => 'token', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'GetDashboard' => [ - 'path' => '/api/v1/jobs/{jobId}/dashboard', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTensorboard' => [ + 'path' => '/api/v1/tensorboards/{TensorboardId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'jobId', + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TensorboardId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ - 'name' => 'isShared', + 'name' => 'MaxRunningTimeMinutes', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - 'enum' => [ - 'true', - 'false', - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'token', + 'name' => 'Accessibility', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pai-dlc.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'pai-dlc.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pai-dlc.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pai-dlc.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pai-dlc.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'pai-dlc.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pai-dlc.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pai-dlc.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pai-dlc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pai-dlc.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pai-dlc.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pai-dlc.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pai-dlc.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pai-dlc.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pai-dlc.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'pai-dlc.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'us-southeast-1', - 'endpoint' => 'pai-dlc.us-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pai-dlc.me-east-1.aliyuncs.com', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shenzhen.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-beijing.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-beijing.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-northeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-northeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-shanghai.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shanghai.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-guangzhou.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-guangzhou.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-hongkong.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-hongkong.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-3.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-3.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-5.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-5.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-7.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-7.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-hangzhou.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-8.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-8.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-8.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-west-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-west-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-east-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-east-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-southeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-southeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-southeast-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.eu-central-1.aliyuncs.com', 'endpoint' => 'pai-dlc.eu-central-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'pai-dlc.me-east-1.aliyuncs.com', 'endpoint' => 'pai-dlc.me-east-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'pai-dlc.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], ]; |
