diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/eflo-cnp/2023-08-28/api-docs.php | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/eflo-cnp/2023-08-28/api-docs.php')
| -rw-r--r-- | data/en_us/eflo-cnp/2023-08-28/api-docs.php | 6559 |
1 files changed, 6559 insertions, 0 deletions
diff --git a/data/en_us/eflo-cnp/2023-08-28/api-docs.php b/data/en_us/eflo-cnp/2023-08-28/api-docs.php new file mode 100644 index 0000000..7c6733e --- /dev/null +++ b/data/en_us/eflo-cnp/2023-08-28/api-docs.php @@ -0,0 +1,6559 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'eflo-cnp', + 'version' => '2023-08-28', + ], + 'directories' => [ + [ + 'id' => 204161, + 'title' => 'Resource', + 'type' => 'directory', + 'children' => [ + 'CreateResource', + 'ValidateResource', + 'GetResource', + ], + ], + [ + 'id' => 204165, + 'title' => 'Workload', + 'type' => 'directory', + 'children' => [ + 'ListWorkloads', + 'GetWorkload', + ], + ], + [ + 'id' => 204168, + 'title' => 'Experiment', + 'type' => 'directory', + 'children' => [ + 'StopExperiment', + 'GetExperiment', + 'DeleteExperiment', + 'ListExperiments', + 'GetExperimentResultData', + 'CheckServiceLinkedRoleEfloCnpForDeleting', + ], + ], + [ + 'id' => 204174, + 'title' => 'Experimental Template', + 'type' => 'directory', + 'children' => [ + 'CreateExperimentPlanTemplate', + 'UpdateExperimentPlanTemplate', + 'GetExperimentPlanTemplate', + 'DeleteExperimentPlanTemplate', + 'ListExperimentPlanTemplates', + 'GetResourcePredictResult', + ], + ], + [ + 'id' => 204181, + 'title' => 'Experiment Plan', + 'type' => 'directory', + 'children' => [ + 'CreateExperimentPlan', + 'UpdateExperimentPlan', + 'GetExperimentPlan', + 'DeleteExperimentPlan', + 'ListExperimentPlans', + 'ChangeResourceGroup', + 'UntagResources', + 'TagResources', + 'ListTagResources', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateResource' => [ + 'summary' => 'Create Evaluation Resource', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195094', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'schema' => [ + 'title' => '集群名称', + 'description' => 'Cluster Name', + 'type' => 'string', + 'required' => true, + 'example' => 'tre-1-ppu', + ], + ], + [ + 'name' => 'ClusterDesc', + 'in' => 'query', + 'schema' => [ + 'title' => '集群描述', + 'description' => 'Cluster Description', + 'type' => 'string', + 'required' => false, + 'example' => 'ppu集群', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => [ + 'title' => '集群Id', + 'description' => 'Cluster ID', + 'type' => 'string', + 'required' => true, + 'example' => 'ehpc-sh-fj71c0ycfw', + ], + ], + [ + 'name' => 'MachineTypes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '规格类型', + 'description' => 'Machine Types', + 'type' => 'object', + 'properties' => [ + 'MemoryInfo' => [ + 'title' => '内存信息', + 'description' => 'Memory Information', + 'type' => 'string', + 'required' => false, + 'example' => '32x 64GB DDR4 4800 Memory', + ], + 'Type' => [ + 'title' => '类型', + 'description' => 'Type', + 'type' => 'string', + 'required' => false, + 'example' => 'Private', + ], + 'BondNum' => [ + 'title' => '网络bond的数量', + 'description' => 'Number of Network Bonds', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '5', + ], + 'NodeCount' => [ + 'title' => '节点个数', + 'description' => 'Number of Nodes', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'CpuInfo' => [ + 'title' => 'cpu的信息', + 'description' => 'CPU Information', + 'type' => 'string', + 'required' => true, + 'example' => '2x Intel Saphhire Rapid 8469C 48C CPU', + ], + 'NetworkInfo' => [ + 'title' => '网络信息', + 'description' => 'Network Information', + 'type' => 'string', + 'required' => false, + 'example' => '1x 200Gbps Dual Port BF3 DPU for VPC\\\\n4x 200Gbps Dual Port EIC', + ], + 'GpuInfo' => [ + 'title' => 'gpu的信息', + 'description' => 'GPU Information', + 'type' => 'string', + 'required' => true, + 'example' => '8x NVIDIA SXM4 80GB A100 GPU', + ], + 'DiskInfo' => [ + 'title' => '磁盘信息', + 'description' => 'Disk Information', + 'type' => 'string', + 'required' => false, + 'example' => '2x 480GB SATA SSD \\n 4x 3.84TB NVMe SSD', + ], + 'NetworkMode' => [ + 'title' => '网络模式', + 'description' => 'Network Mode', + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + 'Name' => [ + 'title' => '规格名称', + 'description' => 'Specification Name', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1n', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'UserAccessParam', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '用户授权参数', + 'description' => 'User Access Parameters', + 'type' => 'object', + 'properties' => [ + 'AccessId' => [ + 'title' => '用户id', + 'description' => 'User ID', + 'type' => 'string', + 'required' => true, + 'example' => 'dev', + ], + 'AccessKey' => [ + 'title' => '用户key', + 'description' => 'User Key', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'WorkspaceId' => [ + 'title' => '工作空间ID', + 'description' => 'Workspace ID', + 'type' => 'string', + 'required' => true, + 'example' => '1245688643', + ], + 'Endpoint' => [ + 'title' => 'endpoint', + 'description' => 'Endpoint', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '资源对象', + 'description' => 'Resource Object', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total Count', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 0,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Add Cluster Information', + 'translator' => 'machine', + ], + 'ValidateResource' => [ + 'summary' => 'Resource Connectivity Test', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195095', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源ID', + 'description' => 'Resource ID', + 'type' => 'string', + 'required' => true, + 'example' => 'ehpc-sh-ouypm5aucy', + ], + ], + [ + 'name' => 'UserAccessParam', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '用户授权参数', + 'description' => 'User Authorization Parameters', + 'type' => 'object', + 'properties' => [ + 'AccessId' => [ + 'title' => '用户id', + 'description' => 'User ID', + 'type' => 'string', + 'required' => false, + 'example' => 'dev', + ], + 'AccessKey' => [ + 'title' => '用户key', + 'description' => 'User Key', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'WorkspaceId' => [ + 'title' => '工作空间ID', + 'description' => 'Workspace ID', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Endpoint' => [ + 'title' => 'endpoint', + 'description' => 'Endpoint', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '资源对象', + 'description' => 'Resource Object', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request Id', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Validate Cluster Information', + 'translator' => 'machine', + ], + 'GetResource' => [ + 'summary' => 'Get Resource Information', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195097', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => [ + 'title' => '灵骏的集群ID', + 'description' => 'The cluster ID of Lingjun', + 'type' => 'string', + 'required' => true, + 'example' => 'ehpc-bj-uo8f26cpmo', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '资源对象', + 'description' => 'Resource object', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => [ + 'title' => '集群id', + 'description' => 'Cluster ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '189', + ], + 'ClusterId' => [ + 'title' => '集群id', + 'description' => 'Cluster ID', + 'type' => 'string', + 'example' => '3123121223', + ], + 'ClusterName' => [ + 'title' => '集群名称', + 'description' => 'Cluster name', + 'type' => 'string', + 'example' => 'main_cluster', + ], + 'ClusterDesc' => [ + 'title' => '集群描述', + 'description' => 'Cluster description', + 'type' => 'string', + 'example' => 'test', + ], + 'CpuCoreLimit' => [ + 'title' => '已使用cpu', + 'description' => 'Used CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuLimit' => [ + 'title' => '已使用gpu', + 'description' => 'Used GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryLimit' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'MaxGpu' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MaxCpuCore' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'MaxMemory' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'UserAccessParam' => [ + 'title' => '用户授权参数', + 'description' => 'User authorization parameters', + 'type' => 'object', + 'properties' => [ + 'AccessId' => [ + 'title' => '用户id', + 'description' => 'User ID', + 'type' => 'string', + 'example' => 'dev', + ], + 'AccessKey' => [ + 'title' => '用户key', + 'description' => 'User key', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkspaceId' => [ + 'title' => '工作空间ID', + 'description' => 'Workspace ID', + 'type' => 'string', + 'example' => 'test', + ], + 'Endpoint' => [ + 'title' => 'endpoint', + 'description' => 'Endpoint', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + 'MachineType' => [ + 'title' => '规格类型', + 'description' => 'Machine type', + 'type' => 'object', + 'properties' => [ + 'MemoryInfo' => [ + 'title' => '内存信息', + 'description' => 'Memory information', + 'type' => 'string', + 'example' => '32x 64GB DDR4 4800 Memory', + ], + 'Type' => [ + 'title' => '类型', + 'description' => 'Type', + 'type' => 'string', + 'example' => 'Private', + ], + 'BondNum' => [ + 'title' => '网络bond的数量', + 'description' => 'Number of network bonds', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'NodeCount' => [ + 'title' => '节点个数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CpuInfo' => [ + 'title' => 'cpu的信息', + 'description' => 'CPU information', + 'type' => 'string', + 'example' => '2x Intel Saphhire Rapid 8469C 48C CPU', + ], + 'NetworkInfo' => [ + 'title' => '网络信息', + 'description' => 'Network information', + 'type' => 'string', + 'example' => '1x 200Gbps Dual Port BF3 DPU for VPC\\n4x 200Gbps Dual Port EIC', + ], + 'GpuInfo' => [ + 'title' => 'gpu的信息', + 'description' => 'GPU information', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'DiskInfo' => [ + 'title' => '磁盘信息', + 'description' => 'Disk information', + 'type' => 'string', + 'example' => '2x 480GB SATA SSD\\n4x 3.84TB NVMe SSD', + ], + 'NetworkMode' => [ + 'title' => '网络模式', + 'description' => 'Network mode', + 'type' => 'string', + 'example' => '2', + ], + 'Name' => [ + 'title' => '规格名称', + 'description' => 'Specification name', + 'type' => 'string', + 'example' => 'efg2.p8en', + ], + ], + ], + 'ResourceNodes' => [ + 'title' => '资源节点列表', + 'description' => 'List of resource nodes', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'lingj19q90jp66nq-mg2pa0p2l2bipnsi-17', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '25859897-35C8-5015-8365-7A3CE52F4854', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total count of the query', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ResourceId\\": 189,\\n \\"ClusterId\\": \\"3123121223\\",\\n \\"ClusterName\\": \\"main_cluster\\",\\n \\"ClusterDesc\\": \\"test\\",\\n \\"CpuCoreLimit\\": 90,\\n \\"GpuLimit\\": 8,\\n \\"MemoryLimit\\": 500,\\n \\"MaxGpu\\": 8,\\n \\"MaxCpuCore\\": 90,\\n \\"MaxMemory\\": 500,\\n \\"UserAccessParam\\": {\\n \\"AccessId\\": \\"dev\\",\\n \\"AccessKey\\": \\"test\\",\\n \\"WorkspaceId\\": \\"test\\",\\n \\"Endpoint\\": \\"test\\"\\n },\\n \\"MachineType\\": {\\n \\"MemoryInfo\\": \\"32x 64GB DDR4 4800 Memory\\",\\n \\"Type\\": \\"Private\\",\\n \\"BondNum\\": 5,\\n \\"NodeCount\\": 1,\\n \\"CpuInfo\\": \\"2x Intel Saphhire Rapid 8469C 48C CPU\\",\\n \\"NetworkInfo\\": \\"1x 200Gbps Dual Port BF3 DPU for VPC\\\\\\\\n4x 200Gbps Dual Port EIC\\",\\n \\"GpuInfo\\": \\"8x OAM 810 GPU\\",\\n \\"DiskInfo\\": \\"2x 480GB SATA SSD\\\\\\\\n4x 3.84TB NVMe SSD\\",\\n \\"NetworkMode\\": \\"2\\",\\n \\"Name\\": \\"efg2.p8en\\"\\n },\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"lingj19q90jp66nq-mg2pa0p2l2bipnsi-17\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"25859897-35C8-5015-8365-7A3CE52F4854\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Cluster Information', + 'translator' => 'machine', + ], + 'ListWorkloads' => [ + 'summary' => 'Get Workload List', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '194285', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Scope', + 'in' => 'query', + 'schema' => [ + 'title' => '作用域', + 'description' => 'Scope', + 'type' => 'string', + 'required' => false, + 'example' => 'common', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadDescription' => [ + 'title' => '负载描述', + 'description' => 'Workload Description', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadType' => [ + 'title' => '负载名称', + 'description' => 'Workload Type', + 'type' => 'string', + 'example' => 'AI', + ], + 'Family' => [ + 'title' => '负载簇, AI、GPU', + 'description' => 'Workload Cluster, AI, GPU', + 'type' => 'string', + 'example' => 'AI', + ], + 'Scene' => [ + 'title' => '负载使用场景', + 'description' => 'Workload Usage Scenario', + 'type' => 'string', + 'example' => 'NLP-LLM', + ], + 'Scope' => [ + 'title' => '负载使用的范围标识', + 'description' => 'Scope Identifier for Workload Usage', + 'type' => 'string', + 'example' => 'common', + ], + 'JobKind' => [ + 'title' => '训练任务类型', + 'description' => 'Training Job Type', + 'type' => 'string', + 'example' => 'PyTorchJob', + ], + 'DefaultCpuPerWorker' => [ + 'title' => '默认cpu分配数', + 'description' => 'Default CPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'DefaultGpuPerWorker' => [ + 'title' => '默认gpu分配数', + 'description' => 'Default GPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'DefaultMemoryPerWorker' => [ + 'title' => '默认内存GB分配数', + 'description' => 'Default Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'DefaultShareMemory' => [ + 'title' => '默认共享内存GB分配数', + 'description' => 'Default Shared Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ParamSettings' => [ + 'title' => '参数设置', + 'description' => 'Parameter Settings', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamName' => [ + 'title' => '参数名称', + 'description' => 'Parameter Name', + 'type' => 'string', + 'example' => 'ITERATION', + ], + 'ParamDesc' => [ + 'title' => '参数描述', + 'description' => 'Parameter Description', + 'type' => 'string', + 'example' => 'number', + ], + 'ParamValue' => [ + 'title' => '参数值', + 'description' => 'Parameter Value', + 'type' => 'string', + 'example' => '100', + ], + 'DefaultValue' => [ + 'title' => '参数默认值', + 'description' => 'Default Parameter Value', + 'type' => 'string', + 'example' => '100', + ], + 'ParamRegex' => [ + 'title' => '参数正则表达式', + 'description' => 'Parameter Regular Expression', + 'type' => 'string', + 'example' => '[0-9]+', + ], + 'ParamType' => [ + 'title' => '参数类型', + 'description' => 'Parameter type', + 'type' => 'string', + 'example' => 'number', + ], + ], + ], + ], + 'StaticConfig' => [ + 'title' => '静态配置', + 'description' => 'Static Configuration', + 'type' => 'object', + 'properties' => [ + 'FrameWork' => [ + 'title' => '框架', + 'description' => 'Framework', + 'type' => 'string', + 'example' => 'PyTorch', + ], + 'SoftwareStack' => [ + 'title' => '软件栈', + 'description' => 'Software Stack', + 'type' => 'string', + 'example' => 'python', + ], + 'Os' => [ + 'title' => '系统', + 'description' => 'Operating System', + 'type' => 'string', + 'example' => 'linux', + ], + 'Parameters' => [ + 'title' => '参数量', + 'description' => 'Number of Parameters', + 'type' => 'string', + 'example' => '7B', + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '4AC08332-436C-57A3-9FBA-26772B1A9901', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access Denied Information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"WorkloadDescription\\": \\"test\\",\\n \\"WorkloadType\\": \\"AI\\",\\n \\"Family\\": \\"AI\\",\\n \\"Scene\\": \\"NLP-LLM\\",\\n \\"Scope\\": \\"common\\",\\n \\"JobKind\\": \\"PyTorchJob\\",\\n \\"DefaultCpuPerWorker\\": 90,\\n \\"DefaultGpuPerWorker\\": 8,\\n \\"DefaultMemoryPerWorker\\": 500,\\n \\"DefaultShareMemory\\": 500,\\n \\"ParamSettings\\": [\\n {\\n \\"ParamName\\": \\"ITERATION\\",\\n \\"ParamDesc\\": \\"迭代数\\",\\n \\"ParamValue\\": \\"100\\",\\n \\"DefaultValue\\": \\"100\\",\\n \\"ParamRegex\\": \\"[0-9]+\\",\\n \\"ParamType\\": \\"number\\"\\n }\\n ],\\n \\"StaticConfig\\": {\\n \\"FrameWork\\": \\"PyTorch\\",\\n \\"SoftwareStack\\": \\"python\\",\\n \\"Os\\": \\"linux\\",\\n \\"Parameters\\": \\"7B\\"\\n },\\n \\"VersionId\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"4AC08332-436C-57A3-9FBA-26772B1A9901\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + 'title' => 'Get Model List', + 'translator' => 'machine', + ], + 'GetWorkload' => [ + 'summary' => 'Retrieve workload information by ID', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194273', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'WorkloadId', + 'in' => 'query', + 'schema' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '13', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadDescription' => [ + 'title' => '负载描述', + 'description' => 'Workload Description', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadType' => [ + 'title' => '负载名称', + 'description' => 'Workload Type', + 'type' => 'string', + 'example' => 'AI', + ], + 'Family' => [ + 'title' => '负载簇, AI、GPU', + 'description' => 'Workload Cluster, e.g., AI, GPU', + 'type' => 'string', + 'example' => 'AI', + ], + 'Scene' => [ + 'title' => '负载使用场景', + 'description' => 'Workload Usage Scenario', + 'type' => 'string', + 'example' => 'NLP-LLM', + ], + 'Scope' => [ + 'title' => '负载使用的范围标识', + 'description' => 'Scope Identifier for Workload Usage', + 'type' => 'string', + 'example' => 'common', + ], + 'JobKind' => [ + 'title' => '训练任务类型', + 'description' => 'Training Job Type', + 'type' => 'string', + 'example' => 'PyTorchJob', + ], + 'DefaultCpuPerWorker' => [ + 'title' => '默认cpu分配数', + 'description' => 'Default CPU Allocation per Worker', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'DefaultGpuPerWorker' => [ + 'title' => '默认gpu分配数', + 'description' => 'Default GPU Allocation per Worker', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'DefaultMemoryPerWorker' => [ + 'title' => '默认内存GB分配数', + 'description' => 'Default Memory (GB) Allocation per Worker', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'DefaultShareMemory' => [ + 'title' => '默认共享内存GB分配数', + 'description' => 'Default Shared Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ParamSettings' => [ + 'title' => '参数设置', + 'description' => 'Parameter Settings', + 'type' => 'array', + 'items' => [ + 'description' => 'Parameter', + 'type' => 'object', + 'properties' => [ + 'ParamName' => [ + 'title' => '参数名称', + 'description' => 'Parameter Name', + 'type' => 'string', + 'example' => 'ITERATION', + ], + 'ParamDesc' => [ + 'title' => '参数描述', + 'description' => 'Parameter Description', + 'type' => 'string', + 'example' => 'number', + ], + 'ParamValue' => [ + 'title' => '参数值', + 'description' => 'Parameter Value', + 'type' => 'string', + 'example' => '100', + ], + 'DefaultValue' => [ + 'title' => '参数默认值', + 'description' => 'Default Parameter Value', + 'type' => 'string', + 'example' => '100', + ], + 'ParamRegex' => [ + 'title' => '参数正则表达式', + 'description' => 'Parameter Regular Expression', + 'type' => 'string', + 'example' => '[0-9]+', + ], + 'ParamType' => [ + 'title' => '参数类型', + 'description' => 'Parameter type', + 'type' => 'string', + 'example' => 'number', + ], + ], + ], + ], + 'StaticConfig' => [ + 'title' => '静态配置', + 'description' => 'Static Configuration', + 'type' => 'object', + 'properties' => [ + 'FrameWork' => [ + 'title' => '框架', + 'description' => 'Framework', + 'type' => 'string', + 'example' => 'PyTorch', + ], + 'SoftwareStack' => [ + 'title' => '软件栈', + 'description' => 'Software Stack', + 'type' => 'string', + 'example' => 'python', + ], + 'Os' => [ + 'title' => '系统', + 'description' => 'Operating System', + 'type' => 'string', + 'example' => 'linux', + ], + 'Parameters' => [ + 'title' => '参数量', + 'description' => 'Parameter Volume', + 'type' => 'string', + 'example' => '7B', + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access Denied Information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"WorkloadDescription\\": \\"test\\",\\n \\"WorkloadType\\": \\"AI\\",\\n \\"Family\\": \\"AI\\",\\n \\"Scene\\": \\"NLP-LLM\\",\\n \\"Scope\\": \\"common\\",\\n \\"JobKind\\": \\"PyTorchJob\\",\\n \\"DefaultCpuPerWorker\\": 90,\\n \\"DefaultGpuPerWorker\\": 8,\\n \\"DefaultMemoryPerWorker\\": 500,\\n \\"DefaultShareMemory\\": 500,\\n \\"ParamSettings\\": [\\n {\\n \\"ParamName\\": \\"ITERATION\\",\\n \\"ParamDesc\\": \\"迭代数\\",\\n \\"ParamValue\\": \\"100\\",\\n \\"DefaultValue\\": \\"100\\",\\n \\"ParamRegex\\": \\"[0-9]+\\",\\n \\"ParamType\\": \\"number\\"\\n }\\n ],\\n \\"StaticConfig\\": {\\n \\"FrameWork\\": \\"PyTorch\\",\\n \\"SoftwareStack\\": \\"python\\",\\n \\"Os\\": \\"linux\\",\\n \\"Parameters\\": \\"7B\\"\\n },\\n \\"VersionId\\": 1\\n },\\n \\"RequestId\\": \\"E67E2E4C-2B47-5C55-AA17-1D771E070AEF\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Model Information', + 'translator' => 'machine', + ], + 'StopExperiment' => [ + 'summary' => 'Stop Experiment', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195093', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '234', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Resource Group Id', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-kdsflsdfj23m', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '是否成功', + 'description' => 'Whether the operation was successful', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total number of queries', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Stop Experiment', + 'translator' => 'machine', + ], + 'GetExperiment' => [ + 'summary' => 'Get Experiment Details', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195099', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'title' => '实验ID', + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '234', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'description' => 'Resource Group Id', + 'example' => 'rg-sdsmfg23', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '实验对象', + 'description' => 'Experiment object', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'Task' => [ + 'title' => '实验任务', + 'description' => 'Experiment task', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务id', + 'description' => 'Task ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '167420', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-03-05 18:24:08', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-03-05 18:24:08', + ], + 'StartTime' => [ + 'title' => '开始时间', + 'description' => 'Start time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-03-05 18:24:08', + ], + 'EndTime' => [ + 'title' => '结束时间', + 'description' => 'End time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-03-05 18:34:08', + ], + 'Params' => [ + 'title' => '实验参数', + 'description' => 'Experiment parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Environment parameters', + 'example' => '{}', + ], + ], + 'Scene' => [ + 'title' => '场景', + 'description' => 'Scene', + 'type' => 'string', + 'example' => 'baseline', + ], + 'Status' => [ + 'title' => '状态', + 'description' => 'Status', + 'type' => 'string', + 'example' => 'success', + ], + ], + ], + 'Workload' => [ + 'title' => '负载信息', + 'description' => 'Workload information', + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadDescription' => [ + 'title' => '负载描述', + 'description' => 'Workload description', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkloadType' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'AI', + ], + 'Family' => [ + 'title' => '负载簇, AI、GPU', + 'description' => 'Workload cluster, AI, GPU', + 'type' => 'string', + 'example' => 'AI', + ], + 'Scene' => [ + 'title' => '负载使用场景', + 'description' => 'Workload usage scenario', + 'type' => 'string', + 'example' => 'NLP-LLM', + ], + 'Scope' => [ + 'title' => '负载使用的范围标识', + 'description' => 'Scope', + 'type' => 'string', + 'example' => 'common', + ], + 'JobKind' => [ + 'title' => '训练任务类型', + 'description' => 'JobKind', + 'type' => 'string', + 'example' => 'PyTorchJob', + ], + 'DefaultCpuPerWorker' => [ + 'title' => '默认cpu分配数', + 'description' => 'Default CPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'DefaultGpuPerWorker' => [ + 'title' => '默认gpu分配数', + 'description' => 'Default GPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'DefaultMemoryPerWorker' => [ + 'title' => '默认内存GB分配数', + 'description' => 'Default memory (GB) allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'DefaultShareMemory' => [ + 'title' => '默认共享内存GB分配数', + 'description' => 'Default shared memory (GB) allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ParamSettings' => [ + 'title' => '参数设置', + 'description' => 'Parameter settings', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamName' => [ + 'title' => '参数名称', + 'description' => 'Parameter name', + 'type' => 'string', + 'example' => 'ITERATION', + ], + 'ParamDesc' => [ + 'title' => '参数描述', + 'description' => 'Parameter description', + 'type' => 'string', + 'example' => 'number', + ], + 'ParamValue' => [ + 'title' => '参数值', + 'description' => 'Parameter value', + 'type' => 'string', + 'example' => '100', + ], + 'DefaultValue' => [ + 'title' => '参数默认值', + 'description' => 'Default parameter value', + 'type' => 'string', + 'example' => '100', + ], + 'ParamRegex' => [ + 'title' => '参数正则表达式', + 'description' => 'Parameter regular expression', + 'type' => 'string', + 'example' => '[0-9]+', + ], + 'ParamType' => [ + 'title' => '参数类型', + 'description' => 'Parameter type', + 'type' => 'string', + 'example' => 'number', + ], + ], + ], + ], + 'StaticConfig' => [ + 'title' => '静态配置', + 'description' => 'Static configuration', + 'type' => 'object', + 'properties' => [ + 'FrameWork' => [ + 'title' => '框架', + 'description' => 'Framework', + 'type' => 'string', + 'example' => 'pyTorch', + ], + 'SoftwareStack' => [ + 'title' => '软件栈', + 'description' => 'Software stack', + 'type' => 'string', + 'example' => 'python', + ], + 'Os' => [ + 'title' => '系统', + 'description' => 'Operating system', + 'type' => 'string', + 'example' => 'linux', + ], + 'Parameters' => [ + 'title' => '参数量', + 'description' => 'Number of parameters', + 'type' => 'string', + 'example' => '7B', + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + 'Resource' => [ + 'title' => '集群信息', + 'description' => 'cluster info', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => [ + 'title' => '集群id', + 'description' => 'Cluster ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '189', + ], + 'ResourceName' => [ + 'title' => '集群名称', + 'description' => 'Cluster name', + 'type' => 'string', + 'example' => 'ecs.r8y.4xlarge', + ], + 'CpuCoreLimit' => [ + 'title' => '已使用cpu', + 'description' => 'Used CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuLimit' => [ + 'title' => '已使用gpu', + 'description' => 'Used GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryLimit' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'MaxGpu' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MaxCpuCore' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'MaxMemory' => [ + 'title' => '已使用内存', + 'description' => 'Used memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'UserAccessParam' => [ + 'title' => '用户授权参数', + 'description' => 'User authorization parameters', + 'type' => 'object', + 'properties' => [ + 'AccessId' => [ + 'title' => '用户id', + 'description' => 'User ID', + 'type' => 'string', + 'example' => 'dev', + ], + 'AccessKey' => [ + 'title' => '用户key', + 'description' => 'User key', + 'type' => 'string', + 'example' => 'test', + ], + 'WorkspaceId' => [ + 'title' => '工作空间ID', + 'description' => 'Workspace ID', + 'type' => 'string', + 'example' => '123434542498', + ], + 'Endpoint' => [ + 'title' => 'endpoint', + 'description' => 'Endpoint', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + 'MachineType' => [ + 'title' => '规格类型', + 'description' => 'Instance type', + 'type' => 'object', + 'properties' => [ + 'MemoryInfo' => [ + 'title' => '内存信息', + 'description' => 'Memory information', + 'type' => 'string', + 'example' => '32x 64GB DDR4 3200 Memory', + ], + 'Type' => [ + 'title' => '类型', + 'description' => 'Type', + 'type' => 'string', + 'example' => 'Public', + ], + 'BondNum' => [ + 'title' => '网络bond的数量', + 'description' => 'Number of network bonds', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'NodeCount' => [ + 'title' => '节点个数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CpuInfo' => [ + 'title' => 'cpu的信息', + 'description' => 'CPU information', + 'type' => 'string', + 'example' => '2x Intel Icelake 8369B 32C CPU', + ], + 'NetworkInfo' => [ + 'title' => '网络信息', + 'description' => 'Network information', + 'type' => 'string', + 'example' => '1x 100Gbps DP NIC for VPC \\n 4x 100Gbps DP RoCE NIC', + ], + 'GpuInfo' => [ + 'title' => 'gpu的信息', + 'description' => 'GPU information', + 'type' => 'string', + 'example' => '8x NVIDIA SXM4 80GB A100 GPU', + ], + 'DiskInfo' => [ + 'title' => '磁盘信息', + 'description' => 'Disk information', + 'type' => 'string', + 'example' => '2x 480GB SATA SSD \\n 4x 3.84TB NVMe SSD', + ], + 'NetworkMode' => [ + 'title' => '网络模式', + 'description' => 'Network mode', + 'type' => 'string', + 'example' => '2', + ], + 'Name' => [ + 'title' => '规格名称', + 'description' => 'Specification name', + 'type' => 'string', + 'example' => 'efg1.nvga1n', + ], + ], + ], + 'ResourceNodes' => [ + 'title' => '资源节点列表', + 'description' => 'Resource node list', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'InputCheck', + ], + ], + ], + ], + ], + ], + 'ExperimentId' => [ + 'title' => '实验id', + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1726882991828688898', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-11-29 02:16:35', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-11-29 02:16:35', + ], + 'ExperimentName' => [ + 'title' => '实验名称', + 'description' => 'Experiment name', + 'type' => 'string', + 'example' => 'test', + ], + 'ExperimentType' => [ + 'title' => '实验类型', + 'description' => 'Experiment type', + 'type' => 'string', + 'example' => 'AI', + ], + 'ResourceName' => [ + 'title' => '资源名称', + 'description' => 'Resource name', + 'type' => 'string', + 'example' => 'cifnews-guoyuan', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'test', + ], + 'StartTime' => [ + 'title' => '任务开始时间', + 'description' => 'Task start time', + 'type' => 'string', + 'example' => '2024-11-29 02:16:35', + ], + 'EndTime' => [ + 'title' => '任务结束时间', + 'description' => 'Task end time', + 'type' => 'string', + 'example' => '2024-11-29 02:26:35', + ], + 'Status' => [ + 'title' => '状态', + 'description' => 'Status', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'Results' => [ + 'title' => '任务结果', + 'description' => 'Task results', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'title' => '参数名称', + 'description' => 'Parameter name', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1748274952976261121', + ], + 'Duration' => [ + 'title' => '时间', + 'description' => 'Duration', + 'type' => 'number', + 'format' => 'double', + 'example' => '764', + ], + 'SecondsPerIteration' => [ + 'title' => '每次迭代的秒数', + 'description' => 'Seconds per iteration', + 'type' => 'number', + 'format' => 'double', + 'example' => '1000', + ], + 'SamplesPerSecond' => [ + 'title' => '每秒采样数', + 'description' => 'Samples Per Second', + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + ], + 'Mfu' => [ + 'description' => 'MFU', + 'type' => 'number', + 'format' => 'double', + 'example' => '54.2', + ], + 'WarningWorker' => [ + 'title' => '警告worker', + 'description' => 'Warning worker', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '9', + ], + 'Hostname' => [ + 'description' => 'Service address', + 'type' => 'string', + 'example' => 'whza008403', + ], + 'PodName' => [ + 'description' => 'Pod name.', + 'type' => 'string', + 'example' => 'fluxserv-6fc89b45cf-w8wq6', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'GpuName' => [ + 'description' => 'GPU name', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'description' => 'Whether there is an alarm', + 'type' => 'boolean', + 'example' => 'true', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'description' => 'Alarm message', + 'type' => 'string', + 'example' => 'warging message', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'description' => 'Whether there is an error', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'description' => 'Error message', + 'type' => 'string', + 'example' => 'error message', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'description' => 'TFLOPS value', + 'type' => 'number', + 'format' => 'double', + 'example' => '14', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'description' => 'Throughput', + 'type' => 'number', + 'format' => 'double', + 'example' => '15', + ], + ], + ], + ], + 'ErrorWorker' => [ + 'description' => 'Error node', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '97', + ], + 'Hostname' => [ + 'description' => 'Service address', + 'type' => 'string', + 'example' => '60.188.98.209', + ], + 'PodName' => [ + 'description' => 'Pod name.', + 'type' => 'string', + 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'GpuName' => [ + 'description' => 'GPU name', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'description' => 'Whether there is a warning', + 'type' => 'boolean', + 'example' => 'false', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'description' => 'Warning message', + 'type' => 'string', + 'example' => 'warning message', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'description' => 'error flag', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'description' => 'error message', + 'type' => 'string', + 'example' => 'Connection reset', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'description' => 'TFLOPS', + 'type' => 'number', + 'format' => 'double', + 'example' => '12', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'description' => 'Samples Per Second', + 'type' => 'number', + 'format' => 'double', + 'example' => '23', + ], + ], + ], + ], + 'WarningBoundList' => [ + 'description' => 'Warning bound list', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Iteration' => [ + 'description' => 'Iteration', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Upper' => [ + 'description' => 'UPPER', + 'type' => 'number', + 'format' => 'double', + 'example' => '56', + ], + 'Lower' => [ + 'description' => 'LOWER', + 'type' => 'number', + 'format' => 'double', + 'example' => '14', + ], + ], + ], + ], + 'TaskIndividualResultList' => [ + 'description' => 'Task individual result list', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '实验ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '48', + ], + 'Hostname' => [ + 'description' => '节点主机名称。', + 'type' => 'string', + 'example' => 'p-jt-waf-app1', + ], + 'PodName' => [ + 'description' => 'Pod名称。', + 'type' => 'string', + 'example' => 'fluxserv-6fc89b45cf-w8wq6', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'GpuName' => [ + 'description' => 'GPU name', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'description' => 'Whether there is a warning', + 'type' => 'boolean', + 'example' => 'false', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'description' => 'Warning message', + 'type' => 'string', + 'example' => 'warning message', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'description' => 'Whether there is an error', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'description' => 'Error message', + 'type' => 'string', + 'example' => 'error message', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'description' => 'TFLOPS value', + 'type' => 'number', + 'format' => 'double', + 'example' => '16', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'description' => 'Throughput', + 'type' => 'number', + 'format' => 'double', + 'example' => '28', + ], + ], + ], + ], + 'TaskIndividualResultMap' => [ + 'description' => 'Invalid task results', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '54', + 'description' => 'Experiment ID', + ], + 'Hostname' => [ + 'type' => 'string', + 'example' => 'p-jt-waf-app1'."\n", + 'description' => 'Host IP', + ], + 'PodName' => [ + 'type' => 'string', + 'description' => 'Pod name', + 'example' => 'fluxserv-6fc89b45cf-w8wq6', + ], + 'GpuNum' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'GPU数量', + 'example' => '8', + ], + 'GpuName' => [ + 'type' => 'string', + 'description' => 'GPU名称', + 'example' => '8x OAM 810 GPU'."\n", + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'type' => 'boolean', + 'description' => 'Whether there is a warning', + 'example' => 'false', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'type' => 'string', + 'description' => 'Warning message', + 'example' => 'warning message', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'type' => 'boolean', + 'description' => 'Whether there is an error', + 'example' => 'false', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'type' => 'string', + 'example' => 'error message', + 'description' => 'Error message', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'type' => 'number', + 'format' => 'double', + 'example' => '45', + 'description' => 'TFLOPS value', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'type' => 'number', + 'format' => 'double', + 'description' => 'Throughput', + 'example' => '23', + ], + ], + ], + 'description' => 'Result object', + ], + ], + ], + ], + 'SetParams' => [ + 'title' => '运行的负载参数', + 'description' => 'Running workload parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameter', + ], + ], + 'GetParams' => [ + 'title' => '解析的负载参数', + 'description' => 'Parsed workload parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameter', + ], + ], + 'EnvParams' => [ + 'title' => '运行的环境参数', + 'description' => 'Running environment parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU allocation number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory Per Worker', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Share Memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Worker number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'cudaVersion', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU driver version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ResourceNodes' => [ + 'title' => '指定的节点', + 'description' => 'Specified nodes', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'p-jt-waf-app1', + ], + 'TotalCPU' => [ + 'title' => '总的cpu', + 'description' => 'Total CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'TotalGPU' => [ + 'title' => '总的gpu', + 'description' => 'Total GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'TotalMemory' => [ + 'title' => '总的memory', + 'description' => 'Total memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'RequestCPU' => [ + 'title' => '当前请求的cpu', + 'description' => 'Requested CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'RequestGPU' => [ + 'title' => '当前请求的gpu', + 'description' => 'Requested GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'RequestMemory' => [ + 'title' => '当前请求的memory', + 'description' => 'Requested memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + ], + ], + ], + 'ExtendParam' => [ + 'title' => '额外的参数', + 'description' => 'Additional parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'params', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'RequestId', + 'type' => 'string', + 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied detail', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Task\\": {\\n \\"TaskId\\": 167420,\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 0,\\n \\"Params\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"Scene\\": \\"baseline\\",\\n \\"Status\\": \\"success\\"\\n },\\n \\"Workload\\": {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"WorkloadDescription\\": \\"test\\",\\n \\"WorkloadType\\": \\"AI\\",\\n \\"Family\\": \\"AI\\",\\n \\"Scene\\": \\"NLP-LLM\\",\\n \\"Scope\\": \\"common\\",\\n \\"JobKind\\": \\"PyTorchJob\\",\\n \\"DefaultCpuPerWorker\\": 90,\\n \\"DefaultGpuPerWorker\\": 8,\\n \\"DefaultMemoryPerWorker\\": 500,\\n \\"DefaultShareMemory\\": 500,\\n \\"ParamSettings\\": [\\n {\\n \\"ParamName\\": \\"ITERATION\\",\\n \\"ParamDesc\\": \\"迭代数\\",\\n \\"ParamValue\\": \\"100\\",\\n \\"DefaultValue\\": \\"100\\",\\n \\"ParamRegex\\": \\"[0-9]+\\",\\n \\"ParamType\\": \\"number\\"\\n }\\n ],\\n \\"StaticConfig\\": {\\n \\"FrameWork\\": \\"pyTorch\\",\\n \\"SoftwareStack\\": \\"python\\",\\n \\"Os\\": \\"linux\\",\\n \\"Parameters\\": \\"7B\\"\\n },\\n \\"VersionId\\": 1\\n },\\n \\"Resource\\": {\\n \\"ResourceId\\": 189,\\n \\"ResourceName\\": \\"ecs.r8y.4xlarge\\",\\n \\"CpuCoreLimit\\": 90,\\n \\"GpuLimit\\": 8,\\n \\"MemoryLimit\\": 500,\\n \\"MaxGpu\\": 8,\\n \\"MaxCpuCore\\": 90,\\n \\"MaxMemory\\": 500,\\n \\"UserAccessParam\\": {\\n \\"AccessId\\": \\"dev\\",\\n \\"AccessKey\\": \\"test\\",\\n \\"WorkspaceId\\": \\"123434542498\\",\\n \\"Endpoint\\": \\"test\\"\\n },\\n \\"MachineType\\": {\\n \\"MemoryInfo\\": \\"32x 64GB DDR4 3200 Memory\\",\\n \\"Type\\": \\"Public\\",\\n \\"BondNum\\": 5,\\n \\"NodeCount\\": 1,\\n \\"CpuInfo\\": \\"2x Intel Icelake 8369B 32C CPU\\",\\n \\"NetworkInfo\\": \\"1x 100Gbps DP NIC for VPC \\\\\\\\n 4x 100Gbps DP RoCE NIC\\",\\n \\"GpuInfo\\": \\"8x NVIDIA SXM4 80GB A100 GPU\\",\\n \\"DiskInfo\\": \\"2x 480GB SATA SSD \\\\\\\\n 4x 3.84TB NVMe SSD\\",\\n \\"NetworkMode\\": \\"2\\",\\n \\"Name\\": \\"efg1.nvga1n\\"\\n },\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"InputCheck\\"\\n }\\n ]\\n },\\n \\"ExperimentId\\": 1726882991828689000,\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"ExperimentName\\": \\"test\\",\\n \\"ExperimentType\\": \\"AI\\",\\n \\"ResourceName\\": \\"cifnews-guoyuan\\",\\n \\"WorkloadName\\": \\"test\\",\\n \\"StartTime\\": \\"2024-11-29 02:16:35\\",\\n \\"EndTime\\": \\"2024-11-29 02:26:35\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"Results\\": {\\n \\"ExperimentId\\": 1748274952976261000,\\n \\"Duration\\": 764,\\n \\"SecondsPerIteration\\": 1000,\\n \\"SamplesPerSecond\\": 10,\\n \\"Mfu\\": 54.2,\\n \\"WarningWorker\\": [\\n {\\n \\"ExperimentId\\": 9,\\n \\"Hostname\\": \\"whza008403\\",\\n \\"PodName\\": \\"fluxserv-6fc89b45cf-w8wq6\\",\\n \\"GpuNum\\": 8,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\",\\n \\"WarningFlag\\": true,\\n \\"WarningMsg\\": \\"存在慢节点\\",\\n \\"ErrorFlag\\": true,\\n \\"ErrorMsg\\": \\"错误信息\\",\\n \\"Tflops\\": 14,\\n \\"SamplesPerSecond\\": 15\\n }\\n ],\\n \\"ErrorWorker\\": [\\n {\\n \\"ExperimentId\\": 97,\\n \\"Hostname\\": \\"60.188.98.209\\",\\n \\"PodName\\": \\"hzs-forge-sdxl-online-7ff4d86444-pc95h\\",\\n \\"GpuNum\\": 8,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\",\\n \\"WarningFlag\\": false,\\n \\"WarningMsg\\": \\"无\\",\\n \\"ErrorFlag\\": true,\\n \\"ErrorMsg\\": \\"Connection reset\\",\\n \\"Tflops\\": 12,\\n \\"SamplesPerSecond\\": 23\\n }\\n ],\\n \\"WarningBoundList\\": [\\n {\\n \\"Iteration\\": 10,\\n \\"Upper\\": 56,\\n \\"Lower\\": 14\\n }\\n ],\\n \\"TaskIndividualResultList\\": [\\n {\\n \\"ExperimentId\\": 48,\\n \\"Hostname\\": \\"p-jt-waf-app1\\",\\n \\"PodName\\": \\"fluxserv-6fc89b45cf-w8wq6\\",\\n \\"GpuNum\\": 8,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\",\\n \\"WarningFlag\\": false,\\n \\"WarningMsg\\": \\"无\\",\\n \\"ErrorFlag\\": false,\\n \\"ErrorMsg\\": \\"无\\",\\n \\"Tflops\\": 16,\\n \\"SamplesPerSecond\\": 28\\n }\\n ],\\n \\"TaskIndividualResultMap\\": {\\n \\"key\\": [\\n {\\n \\"ExperimentId\\": 54,\\n \\"Hostname\\": \\"p-jt-waf-app1\\\\n\\",\\n \\"PodName\\": \\"fluxserv-6fc89b45cf-w8wq6\\",\\n \\"GpuNum\\": 8,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\\\n\\",\\n \\"WarningFlag\\": false,\\n \\"WarningMsg\\": \\"无\\",\\n \\"ErrorFlag\\": false,\\n \\"ErrorMsg\\": \\"无\\",\\n \\"Tflops\\": 45,\\n \\"SamplesPerSecond\\": 23\\n }\\n ]\\n }\\n },\\n \\"SetParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"GetParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\",\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"p-jt-waf-app1\\",\\n \\"TotalCPU\\": 90,\\n \\"TotalGPU\\": 8,\\n \\"TotalMemory\\": 500,\\n \\"RequestCPU\\": 90,\\n \\"RequestGPU\\": 8,\\n \\"RequestMemory\\": 500\\n }\\n ],\\n \\"ExtendParam\\": {\\n \\"key\\": \\"{}\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"E67E2E4C-2B47-5C55-AA17-1D771E070AEF\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Experiment Details', + 'translator' => 'machine', + ], + 'DeleteExperiment' => [ + 'summary' => 'Delete Experiment', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195100', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '234', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Resource Group Id', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-sdkfjgnvd24', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '是否成功', + 'description' => 'Whether the operation was successful', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'boolean', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total count of queries', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Delete Experiment', + 'translator' => 'machine', + ], + 'ListExperiments' => [ + 'summary' => 'Query the experiment list based on the plan ID', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195098', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '189', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'title' => '次序', + 'description' => 'Order', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源组id', + 'description' => '资源组id', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-uo8f26cpmo', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '实验对象列表', + 'description' => 'List of experiment objects', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'title' => '实验id', + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1684537476910997506', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-10-22 10:18:10', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update time', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-10-22 10:18:10', + ], + 'ExperimentName' => [ + 'title' => '实验名称', + 'description' => 'Experiment name', + 'type' => 'string', + 'example' => 'test', + ], + 'ExperimentType' => [ + 'title' => '实验类型', + 'description' => 'Experiment type', + 'type' => 'string', + 'example' => 'AI', + ], + 'ResourceName' => [ + 'title' => '资源名称', + 'description' => 'Resource name', + 'type' => 'string', + 'example' => 'ecs.r8y.4xlarge', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'test', + ], + 'StartTime' => [ + 'title' => '任务开始时间', + 'description' => 'Task start time', + 'type' => 'string', + 'example' => '2024-10-22 10:18:10', + ], + 'EndTime' => [ + 'title' => '任务结束时间', + 'description' => 'Task end time', + 'type' => 'string', + 'example' => '2024-10-22 10:28:10', + ], + 'Status' => [ + 'title' => '状态', + 'description' => 'Status', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'Results' => [ + 'title' => '任务结果', + 'description' => 'Task results', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'title' => '参数名称', + 'description' => 'Parameter name', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '440', + ], + 'Duration' => [ + 'title' => '时间', + 'description' => 'Duration', + 'type' => 'number', + 'format' => 'double', + 'example' => '20', + ], + 'SecondsPerIteration' => [ + 'title' => '每次迭代的秒数', + 'description' => 'Seconds per iteration', + 'type' => 'number', + 'format' => 'double', + 'example' => '89', + ], + 'SamplesPerSecond' => [ + 'title' => '每秒采样数', + 'description' => 'Samples per second', + 'type' => 'number', + 'format' => 'double', + 'example' => '10', + ], + 'Mfu' => [ + 'description' => 'MFU', + 'type' => 'number', + 'format' => 'double', + 'example' => '34', + ], + 'WarningWorker' => [ + 'title' => '警告worker', + 'description' => 'Warning worker', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '113', + ], + 'Hostname' => [ + 'description' => 'Host IP', + 'type' => 'string', + 'example' => '101.66.165.102', + ], + 'PodName' => [ + 'description' => 'Pod name', + 'type' => 'string', + 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuName' => [ + 'description' => 'GPU name', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'description' => 'Whether there is an alarm', + 'type' => 'boolean', + 'example' => 'false', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'description' => 'Alarm message', + 'type' => 'string', + 'example' => 'warning msg', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'description' => 'Whether there is an error', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'description' => 'Error message', + 'type' => 'string', + 'example' => 'error msg', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'description' => 'TFLOPS value', + 'type' => 'number', + 'format' => 'double', + 'example' => '43', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'description' => 'Throughput', + 'type' => 'number', + 'format' => 'double', + 'example' => '53', + ], + ], + ], + ], + 'ErrorWorker' => [ + 'description' => 'Error nodes', + 'type' => 'array', + 'items' => [ + 'description' => 'Error nodes', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '176', + ], + 'Hostname' => [ + 'description' => 'Host IP', + 'type' => 'string', + 'example' => 'etcd_cluster_c0n2', + ], + 'PodName' => [ + 'description' => 'Pod name', + 'type' => 'string', + 'example' => 'fluxserv-6fc89b45cf-w8wq6', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'GpuName' => [ + 'description' => 'GPU name', + 'type' => 'string', + 'example' => '8x OAM 810 GPU', + ], + 'WarningFlag' => [ + 'title' => '是否有报警', + 'description' => 'Whether there is an alarm', + 'type' => 'boolean', + 'example' => 'false', + ], + 'WarningMsg' => [ + 'title' => '报警信息', + 'description' => 'Alarm information', + 'type' => 'string', + 'example' => 'warning msg', + ], + 'ErrorFlag' => [ + 'title' => '是否有错误', + 'description' => 'Whether there is an error', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrorMsg' => [ + 'title' => '错误信息', + 'description' => 'Error information', + 'type' => 'string', + 'example' => 'error msg', + ], + 'Tflops' => [ + 'title' => 'TFLOPS值', + 'description' => 'TFLOPS value', + 'type' => 'number', + 'format' => 'double', + 'example' => '42', + ], + 'SamplesPerSecond' => [ + 'title' => '吞吐量', + 'description' => 'Throughput', + 'type' => 'number', + 'format' => 'double', + 'example' => '65', + ], + ], + ], + ], + ], + ], + 'SetParams' => [ + 'title' => '运行的负载参数', + 'description' => 'Load parameters in operation', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameter', + ], + ], + 'GetParams' => [ + 'title' => '解析的负载参数', + 'description' => 'Parsed load parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Parameter', + 'example' => '{}', + ], + ], + 'EnvParams' => [ + 'title' => '运行的环境参数', + 'description' => 'Environment parameters in operation', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'Number of CPUs allocated', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'Number of GPUs allocated', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Amount of memory (GB) allocated', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Amount of shared memory (GB) allocated', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU driver version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ResourceNodes' => [ + 'title' => '指定的节点', + 'description' => 'Specified nodes', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'lingj1xxnjt1k4nv-mg18v52pydyuumae-0', + ], + 'TotalCPU' => [ + 'title' => '总的cpu', + 'description' => 'Total CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'TotalGPU' => [ + 'title' => '总的gpu', + 'description' => 'Total GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'TotalMemory' => [ + 'title' => '总的memory', + 'description' => 'Total memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'RequestCPU' => [ + 'title' => '当前请求的cpu', + 'description' => 'Requested CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'RequestGPU' => [ + 'title' => '当前请求的gpu', + 'description' => 'Requested GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'RequestMemory' => [ + 'title' => '当前请求的memory', + 'description' => 'Requested memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + ], + ], + ], + 'ExtendParam' => [ + 'title' => '额外的参数', + 'description' => 'Additional parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Parameter', + 'example' => '{}', + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ExperimentId\\": 1684537476910997500,\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"ExperimentName\\": \\"test\\",\\n \\"ExperimentType\\": \\"AI\\",\\n \\"ResourceName\\": \\"ecs.r8y.4xlarge\\",\\n \\"WorkloadName\\": \\"test\\",\\n \\"StartTime\\": \\"2024-10-22 10:18:10\\",\\n \\"EndTime\\": \\"2024-10-22 10:28:10\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"Results\\": {\\n \\"ExperimentId\\": 440,\\n \\"Duration\\": 20,\\n \\"SecondsPerIteration\\": 89,\\n \\"SamplesPerSecond\\": 10,\\n \\"Mfu\\": 34,\\n \\"WarningWorker\\": [\\n {\\n \\"ExperimentId\\": 113,\\n \\"Hostname\\": \\"101.66.165.102\\",\\n \\"PodName\\": \\"hzs-forge-sdxl-online-7ff4d86444-pc95h\\",\\n \\"GpuNum\\": 90,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\",\\n \\"WarningFlag\\": false,\\n \\"WarningMsg\\": \\"无\\",\\n \\"ErrorFlag\\": false,\\n \\"ErrorMsg\\": \\"无\\",\\n \\"Tflops\\": 43,\\n \\"SamplesPerSecond\\": 53\\n }\\n ],\\n \\"ErrorWorker\\": [\\n {\\n \\"ExperimentId\\": 176,\\n \\"Hostname\\": \\"etcd_cluster_c0n2\\",\\n \\"PodName\\": \\"fluxserv-6fc89b45cf-w8wq6\\",\\n \\"GpuNum\\": 8,\\n \\"GpuName\\": \\"8x OAM 810 GPU\\",\\n \\"WarningFlag\\": false,\\n \\"WarningMsg\\": \\"无\\",\\n \\"ErrorFlag\\": false,\\n \\"ErrorMsg\\": \\"无\\",\\n \\"Tflops\\": 42,\\n \\"SamplesPerSecond\\": 65\\n }\\n ]\\n },\\n \\"SetParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"GetParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\",\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"lingj1xxnjt1k4nv-mg18v52pydyuumae-0\\",\\n \\"TotalCPU\\": 90,\\n \\"TotalGPU\\": 8,\\n \\"TotalMemory\\": 500,\\n \\"RequestCPU\\": 90,\\n \\"RequestGPU\\": 8,\\n \\"RequestMemory\\": 500\\n }\\n ],\\n \\"ExtendParam\\": {\\n \\"key\\": \\"{}\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Experiment List', + 'translator' => 'machine', + ], + 'GetExperimentResultData' => [ + 'summary' => 'Fetch Experiment Result Data', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194764', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Experiment ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '234', + ], + ], + [ + 'name' => 'Hostname', + 'in' => 'query', + 'schema' => [ + 'title' => '主机名', + 'description' => 'Hostname', + 'type' => 'string', + 'required' => false, + 'example' => 'iZj6ccwd7zwfms7hzaz2riZ', + ], + ], + [ + 'name' => 'WorkloadType', + 'in' => 'query', + 'schema' => [ + 'title' => '负载类型', + 'description' => 'Workload Type', + 'type' => 'string', + 'required' => false, + 'example' => 'AI', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Resource Group Id', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-sfjgskdfj3k4', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CnpResult<List<ExperimentDataResultVO>>', + 'description' => 'CnpResult<List<ExperimentDataResultVO>>', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'array', + 'items' => [ + 'description' => 'Results', + 'type' => 'object', + 'properties' => [ + 'Hostname' => [ + 'description' => 'Host IP', + 'type' => 'string', + 'example' => 'p-jt-waf-app1', + ], + 'PodName' => [ + 'description' => 'Pod Name', + 'type' => 'string', + 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', + ], + 'GpuNum' => [ + 'description' => 'Number of GPUs', + 'type' => 'string', + 'example' => '8', + ], + 'MetricsInfos' => [ + 'title' => '指标信息列表', + 'description' => 'List of Metrics Information', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Timestamp' => [ + 'description' => 'Operation Timestamp', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715393860', + ], + 'Iteration' => [ + 'title' => 'iteration', + 'description' => 'Iteration', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Tflops' => [ + 'description' => 'TFLOPS', + 'type' => 'number', + 'format' => 'double', + 'example' => '43', + ], + 'Value' => [ + 'title' => '指标值', + 'description' => 'Metric Value', + 'type' => 'number', + 'format' => 'double', + 'example' => '126', + ], + 'Gpu_num' => [ + 'title' => 'gpu', + 'description' => 'GPU', + 'type' => 'string', + 'example' => '8', + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => 'C1D34EC2-AB13-56F4-8322-F15AE563EA04', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access Denied Details', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total Count of Queries', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Hostname\\": \\"p-jt-waf-app1\\",\\n \\"PodName\\": \\"hzs-forge-sdxl-online-7ff4d86444-pc95h\\",\\n \\"GpuNum\\": \\"8\\",\\n \\"MetricsInfos\\": [\\n {\\n \\"Timestamp\\": 1715393860,\\n \\"Iteration\\": 100,\\n \\"Tflops\\": 43,\\n \\"Value\\": 126,\\n \\"Gpu_num\\": \\"8\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"C1D34EC2-AB13-56F4-8322-F15AE563EA04\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Fetch Experiment Result Data', + 'translator' => 'machine', + ], + 'CheckServiceLinkedRoleEfloCnpForDeleting' => [ + 'summary' => 'Check slr service role', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '195191', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RoleArn', + 'in' => 'query', + 'schema' => [ + 'title' => 'API角色', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n" + ."\n" + .'The trusted entity of the RAM role is an Alibaba Cloud account. For more information, see [Create a RAM role for a trusted Alibaba Cloud account](~~93691~~) or [CreateRole](~~28710~~).'."\n" + ."\n" + .'Format: `acs:ram::<account_id>:role/<role_name>`.'."\n" + ."\n" + .'You can view the ARN in the RAM console or by calling operations. The following items describe the validity periods of storage addresses:'."\n" + ."\n" + .'* For more information about how to view the ARN in the RAM console, see [How do I find the ARN of the RAM role?](~~39744~~)'."\n" + .'* For more information about how to view the ARN by calling operations, see [ListRoles](~~28713~~) or [GetRole](~~28711~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'arn:aws:iam::345678901234:role/eflo-cnp-role', + ], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => [ + 'title' => '服务名称', + 'description' => 'The Service Name.', + 'type' => 'string', + 'required' => false, + 'example' => 'eflo-cnp', + ], + ], + [ + 'name' => 'SPIRegionId', + 'in' => 'query', + 'schema' => [ + 'title' => 'SPI的地域', + 'description' => 'The ID of the region.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DeletionTaskId', + 'in' => 'query', + 'schema' => [ + 'title' => '删除的任务ID', + 'description' => 'The ID of the deletion task.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'task-003', + ], + ], + [ + 'name' => 'AccountId', + 'in' => 'query', + 'schema' => [ + 'title' => '主账号ID', + 'description' => 'The ID of the cloud account.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '345678901234', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DeleteSlrResultVO', + 'description' => 'DeleteSlrResultVO', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '6C212C4A-2CB3-56E6-BA2F-1CE2B03C5C94', + ], + 'Deletable' => [ + 'description' => 'Indicates whether the SLR can be deleted. Valid values:'."\n" + ."\n" + .'* `true`: The SLR can be deleted.'."\n" + .'* `false`: The SLR cannot be deleted.'."\n", + 'type' => 'boolean', + 'example' => 'True', + ], + 'Resources' => [ + 'description' => 'The resources.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the resource.', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => 'The region.'."\n", + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'Resources' => [ + 'description' => 'The resources.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The resource name.', + 'type' => 'string', + 'example' => '1049462126009625', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C212C4A-2CB3-56E6-BA2F-1CE2B03C5C94\\",\\n \\"Deletable\\": true,\\n \\"Resources\\": [\\n {\\n \\"Region\\": \\"cn-beijing\\",\\n \\"Resources\\": [\\n \\"1049462126009625\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Check Service Role', + ], + 'CreateExperimentPlanTemplate' => [ + 'summary' => 'Create/Update Test Plan Template', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195306', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '4724', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => [ + 'title' => '模板名称', + 'description' => 'Template Name', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + [ + 'name' => 'TemplateDescription', + 'in' => 'query', + 'schema' => [ + 'title' => '模板介绍', + 'description' => 'Template Description', + 'type' => 'string', + 'required' => false, + 'example' => 'The template installs jdk and tomcat on a new ECS instance.', + ], + ], + [ + 'name' => 'PrivacyLevel', + 'in' => 'query', + 'schema' => [ + 'title' => '隐私级别', + 'description' => 'Privacy Level', + 'type' => 'string', + 'required' => true, + 'example' => 'private', + ], + ], + [ + 'name' => 'TemplatePipeline', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '模板流水线', + 'description' => 'Template Pipeline', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '14', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage Scenario, e.g., "baseline"', + 'type' => 'string', + 'required' => true, + 'example' => 'baseline', + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured Environment Parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory (GB) allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared Memory (GB) allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA Version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL Version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU Driver Version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch Version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + ], + 'required' => true, + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node Order Number', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured Workload Parameters', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'key-value pair', + ], + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'CreatorUid' => [ + 'title' => '主账号uid', + 'description' => 'Primary Account UID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312312312', + ], + 'TemplateId' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17615126', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation Time', + 'type' => 'string', + 'example' => '2024-11-19T02:01:05Z', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update Time', + 'type' => 'string', + 'example' => '2023-10-16T01:58Z', + ], + 'TemplateName' => [ + 'title' => '模板名称', + 'description' => 'Template Name', + 'type' => 'string', + 'example' => 'test', + ], + 'TemplateDescription' => [ + 'title' => '模板描述', + 'description' => 'Template Description', + 'type' => 'string', + 'example' => 'test', + ], + 'PrivacyLevel' => [ + 'title' => '隐私级别', + 'description' => 'Privacy Level', + 'type' => 'string', + 'example' => 'private', + ], + 'TemplatePipelineParam' => [ + 'title' => '模板流水线', + 'description' => 'Template Pipeline', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage Scenario, e.g., "baseline"', + 'type' => 'string', + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured Workload Parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'key-value', + 'example' => '{}', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured Environment Parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of Nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'cudaVersion', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU Driver Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + ], + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Pipeline Order', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + 'description' => 'Template pipeline', + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'IsDelete' => [ + 'title' => '是否删除', + 'description' => 'Is Deleted', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'TemplateCode' => [ + 'description' => 'Template Code', + 'type' => 'integer', + 'example' => '1', + 'format' => 'int64', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access Denied Detail', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"CreatorUid\\": 12312312312312,\\n \\"TemplateId\\": 17615126,\\n \\"CreateTime\\": \\"2024-11-19T02:01:05Z\\",\\n \\"UpdateTime\\": \\"2023-10-16T01:58Z\\",\\n \\"TemplateName\\": \\"test\\",\\n \\"TemplateDescription\\": \\"test\\",\\n \\"PrivacyLevel\\": \\"private\\",\\n \\"TemplatePipelineParam\\": [\\n {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"Scene\\": \\"baseline\\",\\n \\"SettingParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\"\\n },\\n \\"PipelineOrder\\": 1\\n }\\n ],\\n \\"VersionId\\": 1,\\n \\"IsDelete\\": 0,\\n \\"TemplateCode\\": 464086216\\n },\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Create Experiment Plan Template', + 'translator' => 'machine', + ], + 'UpdateExperimentPlanTemplate' => [ + 'summary' => 'Update Test Plan Template', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '262197', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板code', + 'description' => 'Template code', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '349623', + ], + ], + [ + 'name' => 'TemplatePipeline', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '模板流水线', + 'description' => 'Template pipeline', + 'type' => 'array', + 'items' => [ + 'description' => 'Template Pipeline', + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '14', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage scenario, e.g., "baseline"', + 'type' => 'string', + 'required' => true, + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured workload parameters', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Configured Workload Parameters', + 'example' => 'batch_size', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured environment parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory GB allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared memory GB allocation count', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU driver version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch version', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + ], + ], + 'required' => true, + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node order number', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'CreatorUid' => [ + 'title' => '主账号uid', + 'description' => 'Primary account UID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312312312', + ], + 'TemplateId' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17815441', + ], + 'TemplateCode' => [ + 'title' => '模板Code', + 'description' => 'Template code', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '472840184', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Create Time', + 'type' => 'string', + 'example' => '2024-10-22 10:18:10', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update Time', + 'type' => 'string', + 'example' => '2024-07-07 02:08:54', + ], + 'TemplateName' => [ + 'title' => '模板名称', + 'description' => 'Template Name', + 'type' => 'string', + 'example' => 'test', + ], + 'TemplateDescription' => [ + 'title' => '模板描述', + 'description' => 'Template Description', + 'type' => 'string', + 'example' => 'test', + ], + 'PrivacyLevel' => [ + 'title' => '隐私级别', + 'description' => 'Privacy Level', + 'type' => 'string', + 'example' => 'private', + ], + 'TemplatePipelineParam' => [ + 'title' => '模板流水线', + 'description' => 'Template Pipeline', + 'type' => 'array', + 'items' => [ + 'description' => 'Template Pipeline', + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage Scenario, e.g., "baseline"', + 'type' => 'string', + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured Workload Parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Configured Workload Parameters', + 'example' => 'batch_size', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured Environment Parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared Memory (GB) Allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of Nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU Driver Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ResourceNodes' => [ + 'title' => '指定的节点', + 'description' => 'Specified Nodes', + 'type' => 'array', + 'items' => [ + 'description' => 'Node', + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node Name', + 'type' => 'string', + 'example' => 'honeypot', + ], + 'TotalCPU' => [ + 'title' => '总的cpu', + 'description' => 'Total CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalGPU' => [ + 'title' => '总的gpu', + 'description' => 'Total GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalMemory' => [ + 'title' => '总的memory', + 'description' => 'Total Memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'RequestCPU' => [ + 'title' => '当前请求的cpu', + 'description' => 'Requested CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'RequestGPU' => [ + 'title' => '当前请求的gpu', + 'description' => 'Requested GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'RequestMemory' => [ + 'title' => '当前请求的memory', + 'description' => 'Requested Memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + 'ExtendParam' => [ + 'title' => '额外的参数', + 'description' => 'Extend Param', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Additional parameters', + 'example' => '{}', + ], + ], + ], + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node sequence number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'IsDelete' => [ + 'title' => '是否删除', + 'description' => 'Whether it is deleted', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"CreatorUid\\": 12312312312312,\\n \\"TemplateId\\": 17815441,\\n \\"TemplateCode\\": 472840184,\\n \\"CreateTime\\": \\"2024-10-22 10:18:10\\",\\n \\"UpdateTime\\": \\"2024-07-07 02:08:54\\",\\n \\"TemplateName\\": \\"test\\",\\n \\"TemplateDescription\\": \\"test\\",\\n \\"PrivacyLevel\\": \\"private\\",\\n \\"TemplatePipelineParam\\": [\\n {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"Scene\\": \\"baseline\\",\\n \\"SettingParams\\": {\\n \\"key\\": \\"batch_size\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\",\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"honeypot\\",\\n \\"TotalCPU\\": 100,\\n \\"TotalGPU\\": 100,\\n \\"TotalMemory\\": 100,\\n \\"RequestCPU\\": 10,\\n \\"RequestGPU\\": 10,\\n \\"RequestMemory\\": 10\\n }\\n ],\\n \\"ExtendParam\\": {\\n \\"key\\": \\"{}\\"\\n }\\n },\\n \\"PipelineOrder\\": 1\\n }\\n ],\\n \\"VersionId\\": 1,\\n \\"IsDelete\\": 0\\n },\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Modify Experiment Plan Template', + 'translator' => 'machine', + ], + 'GetExperimentPlanTemplate' => [ + 'summary' => 'Query Test Plan Template Details', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '262199', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '315797', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'CreatorUid' => [ + 'title' => '主账号uid', + 'description' => 'Primary account UID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312312312', + ], + 'TemplateId' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17615126', + ], + 'TemplateCode' => [ + 'title' => '模板Code', + 'description' => 'Template Code', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '464086216', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation Time', + 'type' => 'string', + 'example' => '2024-11-29 02:16:35', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update Time', + 'type' => 'string', + 'example' => '2024-10-22 10:18:10', + ], + 'TemplateName' => [ + 'title' => '模板名称', + 'description' => 'Template Name', + 'type' => 'string', + 'example' => 'Test', + ], + 'TemplateDescription' => [ + 'title' => '模板描述', + 'description' => 'Template Description', + 'type' => 'string', + 'example' => 'test', + ], + 'PrivacyLevel' => [ + 'title' => '隐私级别', + 'description' => 'Privacy Level', + 'type' => 'string', + 'example' => 'private', + ], + 'TemplatePipelineParam' => [ + 'title' => '模板流水线', + 'description' => 'Template Pipeline', + 'type' => 'array', + 'items' => [ + 'description' => 'Template Pipeline', + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload Name', + 'type' => 'string', + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage scenario, e.g., "baseline"', + 'type' => 'string', + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured workload parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Configured workload parameters', + 'example' => 'batch_size', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured environment parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Allocated memory in GB', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared memory in GB', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU driver version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ResourceNodes' => [ + 'title' => '指定的节点', + 'description' => 'Specified nodes', + 'type' => 'array', + 'items' => [ + 'description' => 'Node', + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'exclusive_coud', + ], + 'TotalCPU' => [ + 'title' => '总的cpu', + 'description' => 'Total CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalGPU' => [ + 'title' => '总的gpu', + 'description' => 'Total GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalMemory' => [ + 'title' => '总的memory', + 'description' => 'Total memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2048', + ], + 'RequestCPU' => [ + 'title' => '当前请求的cpu', + 'description' => '当前请求的cpu', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'RequestGPU' => [ + 'title' => '当前请求的gpu', + 'description' => 'Requested GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'RequestMemory' => [ + 'title' => '当前请求的memory', + 'description' => 'Requested memory', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1024', + ], + ], + ], + ], + 'ExtendParam' => [ + 'title' => '额外的参数', + 'description' => 'Additional parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => 'Additional parameters', + 'example' => '{}', + ], + ], + ], + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node sequence number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'IsDelete' => [ + 'title' => '是否删除', + 'description' => 'Whether deleted', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"CreatorUid\\": 12312312312312,\\n \\"TemplateId\\": 17615126,\\n \\"TemplateCode\\": 464086216,\\n \\"CreateTime\\": \\"2024-11-29 02:16:35\\",\\n \\"UpdateTime\\": \\"2024-10-22 10:18:10\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"TemplateDescription\\": \\"test\\",\\n \\"PrivacyLevel\\": \\"private\\",\\n \\"TemplatePipelineParam\\": [\\n {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"Scene\\": \\"baseline\\",\\n \\"SettingParams\\": {\\n \\"key\\": \\"batch_size\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\",\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"exclusive_coud\\",\\n \\"TotalCPU\\": 100,\\n \\"TotalGPU\\": 100,\\n \\"TotalMemory\\": 2048,\\n \\"RequestCPU\\": 10,\\n \\"RequestGPU\\": 10,\\n \\"RequestMemory\\": 1024\\n }\\n ],\\n \\"ExtendParam\\": {\\n \\"key\\": \\"{}\\"\\n }\\n },\\n \\"PipelineOrder\\": 1\\n }\\n ],\\n \\"VersionId\\": 1,\\n \\"IsDelete\\": 0\\n },\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Experiment Plan Template', + 'translator' => 'machine', + ], + 'DeleteExperimentPlanTemplate' => [ + 'summary' => 'Delete Test Plan Template', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195194', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '346527', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'boolean', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '4D3FD55F-3BCD-5914-9B74-A1F4961327E7', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total Count', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"4D3FD55F-3BCD-5914-9B74-A1F4961327E7\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Delete Experiment Plan Template', + 'translator' => 'machine', + ], + 'ListExperimentPlanTemplates' => [ + 'summary' => 'Query Test Plan Template List', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194771', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PrivacyLevel', + 'in' => 'query', + 'schema' => [ + 'title' => '模板的共享级别,默认私有,public、private', + 'description' => 'The sharing level of the template, default is private, options are public and private.', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + 'default' => 'private', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '查询结果', + 'description' => 'Query result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreatorUid' => [ + 'title' => '主账号uid', + 'description' => 'Primary account UID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '178154411231232', + ], + 'TemplateId' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17815441', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation time', + 'type' => 'string', + 'example' => '2024-11-29 02:16:35', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update time', + 'type' => 'string', + 'example' => '2024-11-29 02:16:35', + ], + 'TemplateName' => [ + 'title' => '模板名称', + 'description' => 'Template name', + 'type' => 'string', + 'example' => 'test', + ], + 'TemplateDescription' => [ + 'title' => '模板描述', + 'description' => 'Template description', + 'type' => 'string', + 'example' => 'test', + ], + 'PrivacyLevel' => [ + 'title' => '隐私级别', + 'description' => 'Privacy level', + 'type' => 'string', + 'example' => 'private', + ], + 'TemplatePipelineParam' => [ + 'title' => '模板流水线', + 'description' => 'Template pipeline', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'test', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage scenario, e.g., "baseline"', + 'type' => 'string', + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured workload parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameters', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured environment parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'GPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Allocated memory in GB', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Allocated shared memory in GB', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'description' => 'Cuda Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'description' => 'NCCL Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'description' => 'The version of the GPU driver.'."\n", + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'description' => 'PyTorch Version', + 'type' => 'string', + 'example' => '1.0.0', + ], + ], + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node sequence number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + 'VersionId' => [ + 'title' => '版本号', + 'description' => 'Version ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'IsDelete' => [ + 'title' => '是否删除', + 'description' => 'Whether it is deleted', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'TemplateCode' => [ + 'description' => 'The template code.'."\n", + 'type' => 'integer', + 'example' => '475315534', + 'format' => 'int64', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => 'AAE4AFED-7AE6-52FA-80B6-448E63760552', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"CreatorUid\\": 178154411231232,\\n \\"TemplateId\\": 17815441,\\n \\"CreateTime\\": \\"2024-11-29 02:16:35\\",\\n \\"UpdateTime\\": \\"2024-11-29 02:16:35\\",\\n \\"TemplateName\\": \\"模版名称\\",\\n \\"TemplateDescription\\": \\"test\\",\\n \\"PrivacyLevel\\": \\"private\\",\\n \\"TemplatePipelineParam\\": [\\n {\\n \\"WorkloadId\\": 13,\\n \\"WorkloadName\\": \\"test\\",\\n \\"Scene\\": \\"baseline\\",\\n \\"SettingParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\"\\n },\\n \\"PipelineOrder\\": 1\\n }\\n ],\\n \\"VersionId\\": 1,\\n \\"IsDelete\\": 0,\\n \\"TemplateCode\\": 237202524\\n }\\n ],\\n \\"RequestId\\": \\"AAE4AFED-7AE6-52FA-80B6-448E63760552\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Experiment Plan Template List', + 'translator' => 'machine', + ], + 'GetResourcePredictResult' => [ + 'summary' => 'Query the resource prediction results of the test plan template', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195200', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '315797', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源ID', + 'description' => 'Resource ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '36', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '查询结果', + 'description' => 'Query result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 2,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + 'title' => 'Get Cluster Evaluation Results', + 'translator' => 'machine', + ], + 'CreateExperimentPlan' => [ + 'summary' => 'Create Experiment Plan', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194770', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'title' => '模板ID', + 'description' => 'Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '349623', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源ID', + 'description' => 'Resource ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '189', + ], + ], + [ + 'name' => 'ExternalParams', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '额外的参数', + 'description' => 'Additional parameters', + 'type' => 'object', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源组id', + 'description' => 'Resource group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzij65sf2rr5i', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源标签', + 'description' => 'Resource tags', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '键', + 'description' => 'Key', + 'type' => 'string', + 'required' => false, + 'example' => 'owner', + ], + 'Value' => [ + 'title' => '值', + 'description' => 'Value', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'PlanTemplateName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'description' => 'Plan Template Name', + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total count', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 0,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Create Experiment Plan', + 'translator' => 'machine', + ], + 'UpdateExperimentPlan' => [ + 'summary' => 'Update Experiment Plan', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '262195', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => [ + 'title' => '实验计划id', + 'description' => 'Experiment plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '189', + ], + ], + [ + 'name' => 'PlanTemplateName', + 'in' => 'query', + 'schema' => [ + 'title' => '实验计划名称', + 'description' => 'Experiment plan name', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '结果', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Modify Experiment Plan', + 'translator' => 'machine', + ], + 'GetExperimentPlan' => [ + 'summary' => 'Get Experiment Plan Details', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194769', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '189', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '查询结果', + 'description' => 'Query result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'PlanId' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '189', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation time', + 'type' => 'string', + 'example' => '2024-07-07 02:08:54', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update time', + 'type' => 'string', + 'example' => '2024-07-07 02:08:54', + ], + 'TemplateId' => [ + 'title' => '关联的测试计划模板ID', + 'description' => 'Associated test plan template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2162', + ], + 'TemplateName' => [ + 'title' => '关联的测试计划模板名称', + 'description' => 'Associated test plan template name', + 'type' => 'string', + 'example' => 'MM', + ], + 'ResourceId' => [ + 'title' => '关联的资源ID', + 'description' => 'Associated resource ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '260860230684', + ], + 'PlanPipeline' => [ + 'title' => '测试计划pipeline', + 'description' => 'Test plan pipeline', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'WorkloadId' => [ + 'title' => '负载id', + 'description' => 'Workload ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '14', + ], + 'WorkloadName' => [ + 'title' => '负载名称', + 'description' => 'Workload name', + 'type' => 'string', + 'example' => 'test', + ], + 'ResourceId' => [ + 'title' => '资源id', + 'description' => 'Resource ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '36', + ], + 'ResourceName' => [ + 'title' => '资源名称', + 'description' => 'Resource name', + 'type' => 'string', + 'example' => 'PPU', + ], + 'Scene' => [ + 'title' => '使用场景,例如"baseline"', + 'description' => 'Usage scenario, e.g., "baseline"', + 'type' => 'string', + 'example' => 'baseline', + ], + 'SettingParams' => [ + 'title' => '配置的负载参数', + 'description' => 'Configured workload parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameters', + ], + ], + 'EnvParams' => [ + 'title' => '配置的环境参数', + 'description' => 'Configured environment parameters', + 'type' => 'object', + 'properties' => [ + 'CpuPerWorker' => [ + 'title' => 'cpu分配数', + 'description' => 'CPU allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'GpuPerWorker' => [ + 'title' => 'gpu分配数', + 'description' => 'Number of GPUs allocated', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'MemoryPerWorker' => [ + 'title' => '内存GB分配数', + 'description' => 'Memory GB allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ShareMemory' => [ + 'title' => '共享内存GB分配数', + 'description' => 'Shared memory GB allocation', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'WorkerNum' => [ + 'title' => '节点数', + 'description' => 'Number of nodes', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CudaVersion' => [ + 'title' => 'cudaVersion', + 'description' => 'CUDA version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'NCCLVersion' => [ + 'title' => 'NCCLVersion', + 'description' => 'NCCL version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'GpuDriverVersion' => [ + 'title' => 'GpuDriverVersion', + 'description' => 'GPU driver version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'PyTorchVersion' => [ + 'title' => 'PyTorchVersion', + 'description' => 'PyTorch version', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ResourceNodes' => [ + 'title' => '指定的节点', + 'description' => 'Specified nodes', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'title' => '节点名称', + 'description' => 'Node name', + 'type' => 'string', + 'example' => 'ods_galaxy_gateway_tickets', + ], + 'TotalCPU' => [ + 'title' => '总的cpu', + 'description' => 'Total CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'TotalGPU' => [ + 'title' => '总的gpu', + 'description' => 'Total GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'TotalMemory' => [ + 'title' => '总的memory', + 'description' => 'Total memory', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '500', + ], + 'RequestCPU' => [ + 'title' => '当前请求的cpu', + 'description' => 'Requested CPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '90', + ], + 'RequestGPU' => [ + 'title' => '当前请求的gpu', + 'description' => 'Requested GPU', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'RequestMemory' => [ + 'title' => '当前请求的memory', + 'description' => 'Memory of the current request', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + ], + ], + ], + 'ExtendParam' => [ + 'title' => '额外的参数', + 'description' => 'Additional parameters', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => 'Parameter', + ], + ], + ], + ], + 'PipelineOrder' => [ + 'title' => '节点序号', + 'description' => 'Node order number', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + 'ResourceGroupId' => [ + 'title' => '资源组id', + 'description' => 'Resource group ID', + 'type' => 'string', + 'example' => 'rg-acfmvmpzi7lmxhq', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'type' => 'string', + 'description' => 'The tag key.'."\n", + 'example' => 'acs:testLXP:test-quota40-19', + ], + 'TagValue' => [ + 'type' => 'string', + 'description' => 'The tag value.'."\n", + 'example' => '000088aabb0019e4', + ], + ], + 'description' => 'The tag.'."\n", + ], + 'description' => 'The tag.'."\n", + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '6DBAC169-93D1-5DCD-8109-30FB623B3197', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total count of the query', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"PlanId\\": 189,\\n \\"CreateTime\\": \\"2024-07-07 02:08:54\\",\\n \\"UpdateTime\\": \\"2024-07-07 02:08:54\\",\\n \\"TemplateId\\": 2162,\\n \\"TemplateName\\": \\"MM\\",\\n \\"ResourceId\\": 260860230684,\\n \\"PlanPipeline\\": [\\n {\\n \\"WorkloadId\\": 14,\\n \\"WorkloadName\\": \\"test\\",\\n \\"ResourceId\\": 36,\\n \\"ResourceName\\": \\"GPU\\",\\n \\"Scene\\": \\"baseline\\",\\n \\"SettingParams\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"EnvParams\\": {\\n \\"CpuPerWorker\\": 90,\\n \\"GpuPerWorker\\": 8,\\n \\"MemoryPerWorker\\": 500,\\n \\"ShareMemory\\": 500,\\n \\"WorkerNum\\": 1,\\n \\"CudaVersion\\": \\"1.0.0\\",\\n \\"NCCLVersion\\": \\"1.0.0\\",\\n \\"GpuDriverVersion\\": \\"1.0.0\\",\\n \\"PyTorchVersion\\": \\"1.0.0\\",\\n \\"ResourceNodes\\": [\\n {\\n \\"NodeName\\": \\"ods_galaxy_gateway_tickets\\",\\n \\"TotalCPU\\": 90,\\n \\"TotalGPU\\": 8,\\n \\"TotalMemory\\": 500,\\n \\"RequestCPU\\": 90,\\n \\"RequestGPU\\": 8,\\n \\"RequestMemory\\": 500\\n }\\n ],\\n \\"ExtendParam\\": {\\n \\"key\\": \\"{}\\"\\n }\\n },\\n \\"PipelineOrder\\": 1\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmvmpzi7lmxhq\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"appName\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6DBAC169-93D1-5DCD-8109-30FB623B3197\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Get Experiment Plan Details', + 'translator' => 'machine', + ], + 'DeleteExperimentPlan' => [ + 'summary' => 'Delete Experiment Plan', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '262196', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'query', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'Plan ID.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '189', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '查询结果', + 'description' => 'Query Result.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data.', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access Denied Information.', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total Count.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound', + 'errorMessage' => 'not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E67E2E4C-2B47-5C55-AA17-1D771E070AEF\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Delete Experiment Plan', + 'translator' => 'machine', + ], + 'ListExperimentPlans' => [ + 'summary' => 'Query Experiment Plan List', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194768', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterTOL3OM', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceName', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '资源', + 'description' => 'Resource', + 'type' => 'array', + 'items' => [ + 'description' => 'Resource Name', + 'type' => 'string', + 'required' => false, + 'example' => 'cls-pim0anlrtm3ef4vstou001', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PlanTaskStatus', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '执行状态', + 'description' => 'Execution Status', + 'type' => 'array', + 'items' => [ + 'description' => 'Status', + 'type' => 'string', + 'required' => false, + 'example' => 'RUNNING', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CreatTimeOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '创建时间排序规则', + 'description' => 'Creation Time Sorting Rule', + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + ], + ], + [ + 'name' => 'StartTimeOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '开始时间排序规则', + 'description' => 'Start Time Sorting Rule', + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + ], + ], + [ + 'name' => 'EndTimeOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '结束时间排序规则', + 'description' => 'End Time Sorting Rule', + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + ], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => [ + 'title' => '页数', + 'description' => 'Page Number', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '0', + ], + ], + [ + 'name' => 'Size', + 'in' => 'query', + 'schema' => [ + 'title' => '条数', + 'description' => 'Number of Items', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + 'default' => '10', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源组id', + 'description' => 'Resource Group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzij65sf2rr5i', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'owner', + ], + 'Value' => [ + 'description' => 'Tag value', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'Template Id', + 'example' => '96', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'Resource ID', + 'example' => '189', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '查询结果', + 'description' => 'Query Result', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'array', + 'items' => [ + 'description' => 'Data', + 'type' => 'object', + 'properties' => [ + 'PlanId' => [ + 'title' => '计划ID', + 'description' => 'Plan ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '189', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'Creation Time', + 'type' => 'string', + 'example' => '2024-07-08 10:12:42', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'Update Time', + 'type' => 'string', + 'example' => '2024-07-08 10:12:42', + ], + 'TemplateId' => [ + 'title' => '关联的测试计划模板ID', + 'description' => 'Associated Test Plan Template ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6', + ], + 'TemplateName' => [ + 'title' => '关联的测试计划模板名称', + 'description' => 'Associated Test Plan Template Name', + 'type' => 'string', + 'example' => 'test', + ], + 'ResourceName' => [ + 'title' => '关联的资源名称', + 'description' => 'Associated Resource Name', + 'type' => 'string', + 'example' => 'q_ecs_xpec_postpay_c', + ], + 'PlanTaskStatus' => [ + 'title' => '测试计划执行状态', + 'description' => 'Test Plan Execution Status', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'description' => 'Status', + ], + ], + 'StartTime' => [ + 'title' => '开始时间', + 'description' => 'Start Time', + 'type' => 'string', + 'example' => '2024-07-08 10:12:42', + ], + 'EndTime' => [ + 'title' => '结束时间', + 'description' => 'End Time', + 'type' => 'string', + 'example' => '2024-07-08 10:22:42', + ], + 'ResourceGroupId' => [ + 'title' => '资源组id', + 'description' => 'Resource Group ID', + 'type' => 'string', + 'example' => 'rg-aek5behqmwbfhuy', + ], + 'Tags' => [ + 'description' => 'The tag.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'owner', + ], + 'TagValue' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + 'ResourceId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => 'The resource ID.'."\n", + 'example' => '189', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => 'FA9F1DE7-103B-5C18-AE9E-EB2BFF11C685', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'AccessDeniedDetail' => [ + 'description' => 'Access Denied Detail', + 'type' => 'string', + 'example' => '{}', + 'title' => '无权限信息', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"PlanId\\": 189,\\n \\"CreateTime\\": \\"2024-07-08 10:12:42\\",\\n \\"UpdateTime\\": \\"2024-07-08 10:12:42\\",\\n \\"TemplateId\\": 6,\\n \\"TemplateName\\": \\"test\\",\\n \\"ResourceName\\": \\"q_ecs_xpec_postpay_c\\",\\n \\"PlanTaskStatus\\": {\\n \\"key\\": 1\\n },\\n \\"StartTime\\": \\"2024-07-08 10:12:42\\",\\n \\"EndTime\\": \\"2024-07-08 10:22:42\\",\\n \\"ResourceGroupId\\": \\"rg-aek5behqmwbfhuy\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"owner\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ],\\n \\"ResourceId\\": 189\\n }\\n ],\\n \\"RequestId\\": \\"FA9F1DE7-103B-5C18-AE9E-EB2BFF11C685\\",\\n \\"TotalCount\\": 0,\\n \\"AccessDeniedDetail\\": \\"{}\\"\\n}","type":"json"}]', + 'title' => 'Get Experiment Plan List', + 'translator' => 'machine', + ], + 'ChangeResourceGroup' => [ + 'summary' => 'Change resource group', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213735', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ExperimentPlan', + 'default' => 'ExperimentPlan', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源Id', + 'description' => 'The resource id.', + 'type' => 'string', + 'required' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域Id', + 'description' => 'Region Id', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '目标资源组', + 'description' => 'The resource group id.', + 'type' => 'string', + 'required' => true, + 'example' => 'rg-aek25k3b4pbhc4a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request Id', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParameter.RegionId', + 'errorMessage' => 'The RegionId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'MissingParameter.ResourceId', + 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'MissingParameter.ResourceGroupId', + 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'InvalidResourceGroup', + 'errorMessage' => 'The specified ResourceGroupId is invalid', + ], + [ + 'errorCode' => 'SystemError', + 'errorMessage' => 'A system error occurred while processing your request', + ], + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => ' The specified resource is not found', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission.ChangeResourceGroup', + 'errorMessage' => 'You are not authorized to change resourcegroup', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\"\\n}","type":"json"}]', + 'title' => 'Change resource group', + 'translator' => 'machine', + ], + 'UntagResources' => [ + 'summary' => 'Remove User Tags from Resources', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '260246', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'Resource type', + 'type' => 'string', + 'required' => true, + 'example' => 'ExperimentPlan', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Resource ID', + 'type' => 'array', + 'items' => [ + 'description' => 'Resource ID', + 'type' => 'string', + 'required' => false, + 'example' => '189', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Tag key group, up to 20 items', + 'type' => 'array', + 'items' => [ + 'description' => 'List of tag keys, n ranges from 1 to 20.', + 'type' => 'string', + 'required' => false, + 'example' => 'owner', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', + 'description' => 'Whether to delete all, only effective when TagKey.N is empty. Allowed values: true, false, True, False. Default is false.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CnpResult<String>', + 'description' => 'CnpResult<String>', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'string', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '25859897-35C8-5015-8365-7A3CE52F4854', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"25859897-35C8-5015-8365-7A3CE52F4854\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Remove User Tags from Resources', + 'translator' => 'machine', + ], + 'TagResources' => [ + 'summary' => 'Tag Resources with User Labels', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '260245', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'Resource type', + 'type' => 'string', + 'required' => true, + 'example' => 'ExperimentPlan', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'ResourceId', + 'type' => 'array', + 'items' => [ + 'description' => 'ResourceId', + 'type' => 'string', + 'required' => false, + 'example' => '189', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'List of tags, up to 20.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'Tag key.', + 'type' => 'string', + 'required' => false, + 'example' => 'owner', + 'maxLength' => 128, + ], + 'Value' => [ + 'description' => 'Tag value', + 'type' => 'string', + 'required' => false, + 'example' => 'syg', + 'maxLength' => 256, + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CnpResult<String>', + 'description' => 'CnpResult<String>', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '数据', + 'description' => 'Data', + 'type' => 'string', + 'example' => '[]', + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied details', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"E67E2E4C-2B47-5C55-AA17-1D771E070AEF\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Tag Resources with User Labels', + 'translator' => 'machine', + ], + 'ListTagResources' => [ + 'summary' => 'Query Resource Tags', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '260247', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterFASAIP', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'Resource type', + 'type' => 'string', + 'required' => true, + 'example' => 'ExperimentPlan', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'ResourceId', + 'type' => 'array', + 'items' => [ + 'description' => 'ResourceId', + 'type' => 'string', + 'required' => false, + 'example' => '189', + ], + 'required' => false, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of tags to be queried. The value range for N is 1~20.', + 'type' => 'array', + 'items' => [ + 'description' => 'Tags of the resource.'."\n" + ."\n" + .'Supports up to 20 tags at most.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'Tag key, with n in the range [1, 20].', + 'type' => 'string', + 'required' => false, + 'example' => 'owner', + ], + 'Value' => [ + 'description' => 'Tag value', + 'type' => 'string', + 'required' => false, + 'example' => 'syg', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'title' => '下一个查询开始Token', + 'description' => 'Next token for the next query', + 'type' => 'string', + 'required' => false, + 'example' => 'F0lqbr2JpLDppro1RahGKViWtqXr3L28cePimcRn', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'CnpListTagResponse<TagResourceVO>', + 'description' => 'CnpListTagResponse<TagResourceVO>', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'title' => '下一个查询开始Token,NextToken为空说明没有下一个', + 'description' => 'Next token for the next query. An empty NextToken indicates there are no more results.', + 'type' => 'string', + 'example' => 'uPZbmbpgxp2/6vNWNPoase3Eqy+gL9pdDBH7KGZXMuZ9GxmBbMJcTP/dlrNqRaWF', + ], + 'TagResources' => [ + 'title' => '资源列表列表', + 'description' => 'List of resources', + 'type' => 'array', + 'items' => [ + 'description' => 'The maximum length of the array is 20.', + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'title' => '标签键', + 'description' => 'Tag key', + 'type' => 'string', + 'example' => 'owner', + ], + 'TagValue' => [ + 'title' => '标签值', + 'description' => 'Tag value', + 'type' => 'string', + 'example' => 'syg', + ], + 'ResourceId' => [ + 'title' => '资源ID', + 'description' => 'ResourceId', + 'type' => 'string', + 'example' => '189', + ], + 'ResourceType' => [ + 'title' => '资源类型', + 'description' => 'Resource type', + 'type' => 'string', + 'example' => 'ExperimentPlan', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'Request ID', + 'type' => 'string', + 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', + ], + 'AccessDeniedDetail' => [ + 'title' => '无权限信息', + 'description' => 'Access denied information', + 'type' => 'string', + 'example' => '{}', + ], + 'TotalCount' => [ + 'title' => '查询总数', + 'description' => 'Total', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParameter.ResourceIdOrTag', + 'errorMessage' => 'Either ResourceId or Tag must be specified.', + ], + [ + 'errorCode' => 'InvalidNextToken', + 'errorMessage' => 'The NextToken is invalid.', + ], + [ + 'errorCode' => 'NumberExceed.ResourceIds', + 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', + ], + [ + 'errorCode' => 'MissingParameter.ResourceIds', + 'errorMessage' => 'You must specify ResourceIds.', + ], + [ + 'errorCode' => 'Duplicate.ResourceId', + 'errorMessage' => 'The request contains duplicated ResourceId.', + ], + [ + 'errorCode' => 'NumberExceed.Tags', + 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', + ], + [ + 'errorCode' => 'Duplicate.TagKey', + 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', + ], + [ + 'errorCode' => 'InvalidResourceId.NotFound', + 'errorMessage' => 'The ResourceId does not exist.', + ], + [ + 'errorCode' => 'InvalidParameter.TagKey', + 'errorMessage' => 'The specified Tag.n.Key is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.TagValue', + 'errorMessage' => 'The specified Tag.n.Value is invalid.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"uPZbmbpgxp2/6vNWNPoase3Eqy+gL9pdDBH7KGZXMuZ9GxmBbMJcTP/dlrNqRaWF\\",\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"owner\\",\\n \\"TagValue\\": \\"syg\\",\\n \\"ResourceId\\": \\"189\\",\\n \\"ResourceType\\": \\"ExperimentPlan\\"\\n }\\n ],\\n \\"RequestId\\": \\"5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB\\",\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + 'title' => 'Query Resource Tags', + 'translator' => 'machine', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'eflo-cnp.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan', + 'endpoint' => 'eflo-cnp.cn-heyuan.aliyuncs.com', + ], + ], +]; |
