'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'eflo-cnp', 'version' => '2023-08-28', ], 'directories' => [ [ 'id' => 204161, 'title' => '资源', 'type' => 'directory', 'children' => [ 'CreateResource', 'ValidateResource', 'GetResource', ], ], [ 'id' => 204165, 'title' => '模型', 'type' => 'directory', 'children' => [ 'ListWorkloads', 'GetWorkload', ], ], [ 'id' => 204168, 'title' => '实验', 'type' => 'directory', 'children' => [ 'StopExperiment', 'GetExperiment', 'DeleteExperiment', 'ListExperiments', 'GetExperimentResultData', 'CheckServiceLinkedRoleEfloCnpForDeleting', ], ], [ 'id' => 204174, 'title' => '实验模版', 'type' => 'directory', 'children' => [ 'CreateExperimentPlanTemplate', 'UpdateExperimentPlanTemplate', 'GetExperimentPlanTemplate', 'DeleteExperimentPlanTemplate', 'ListExperimentPlanTemplates', 'GetResourcePredictResult', ], ], [ 'id' => 204181, 'title' => '实验计划', 'type' => 'directory', 'children' => [ 'CreateExperimentPlan', 'UpdateExperimentPlan', 'GetExperimentPlan', 'DeleteExperimentPlan', 'ListExperimentPlans', 'ChangeResourceGroup', 'UntagResources', 'TagResources', 'ListTagResources', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateResource' => [ 'summary' => '添加集群信息。', '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' => '集群名称', 'type' => 'string', 'required' => true, 'example' => 'tre-1', ], ], [ 'name' => 'ClusterDesc', 'in' => 'query', 'schema' => [ 'title' => '集群描述', 'description' => '集群描述', 'type' => 'string', 'required' => false, 'example' => '集群1', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'title' => '集群Id', 'description' => '集群Id', 'type' => 'string', 'required' => true, 'example' => 'ehpc-sh-fj71c0ycfw', ], ], [ 'name' => 'MachineTypes', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '规格类型', 'description' => '规格类型', 'type' => 'object', 'properties' => [ 'MemoryInfo' => [ 'title' => '内存信息', 'description' => '内存信息', 'type' => 'string', 'required' => false, 'example' => '32x 64GB DDR4 4800 Memory', ], 'Type' => [ 'title' => '类型', 'description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'Private', ], 'BondNum' => [ 'title' => '网络bond的数量', 'description' => '网络bond的数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', ], 'NodeCount' => [ 'title' => '节点个数', 'description' => '节点个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'CpuInfo' => [ 'title' => 'cpu的信息', 'description' => 'cpu的信息', 'type' => 'string', 'required' => true, 'example' => '2x Intel Saphhire Rapid 8469C 48C CPU', ], 'NetworkInfo' => [ 'title' => '网络信息', 'description' => '网络信息', 'type' => 'string', 'required' => false, 'example' => '1x 200Gbps Dual Port BF3 DPU for VPC\\\\n4x 200Gbps Dual Port EIC', ], 'GpuInfo' => [ 'title' => 'gpu的信息', 'description' => 'gpu的信息', 'type' => 'string', 'required' => true, 'example' => '8x NVIDIA SXM4 80GB A100 GPU', ], 'DiskInfo' => [ 'title' => '磁盘信息', 'description' => '磁盘信息', 'type' => 'string', 'required' => false, 'example' => '2x 480GB SATA SSD \\n 4x 3.84TB NVMe SSD', ], 'NetworkMode' => [ 'title' => '网络模式', 'description' => '网络模式', 'type' => 'string', 'required' => false, 'example' => '2', ], 'Name' => [ 'title' => '规格名称', 'description' => '规格名称', 'type' => 'string', 'required' => false, 'example' => 'efg1.nvga1n', ], ], 'required' => true, ], ], [ 'name' => 'UserAccessParam', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '用户授权参数', 'description' => '用户授权参数', 'type' => 'object', 'properties' => [ 'AccessId' => [ 'title' => '用户id', 'description' => '用户id', 'type' => 'string', 'required' => true, 'example' => 'dev', ], 'AccessKey' => [ 'title' => '用户key', 'description' => '用户key', 'type' => 'string', 'required' => true, 'example' => 'test', ], 'WorkspaceId' => [ 'title' => '工作空间ID', 'description' => '工作空间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' => '资源对象', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'integer', 'format' => 'int64', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '添加集群信息', ], 'ValidateResource' => [ 'summary' => '校验集群信息。', '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' => '资源ID', 'type' => 'string', 'required' => true, 'example' => 'ehpc-sh-ouypm5aucy', ], ], [ 'name' => 'UserAccessParam', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '用户授权参数', 'description' => '用户授权参数', 'type' => 'object', 'properties' => [ 'AccessId' => [ 'title' => '用户id', 'description' => '用户id', 'type' => 'string', 'required' => false, 'example' => 'dev', ], 'AccessKey' => [ 'title' => '用户key', 'description' => '用户key', 'type' => 'string', 'required' => false, 'example' => 'test', ], 'WorkspaceId' => [ 'title' => '工作空间ID', 'description' => '工作空间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' => '资源对象', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '校验集群信息', ], 'GetResource' => [ 'summary' => '获取集群信息。', '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' => '灵骏的集群ID', 'type' => 'string', 'required' => true, 'example' => 'ehpc-bj-uo8f26cpmo', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '资源对象', 'description' => '资源对象', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'ResourceId' => [ 'title' => '集群id', 'description' => '集群id', 'type' => 'integer', 'format' => 'int64', 'example' => '189', ], 'ClusterId' => [ 'title' => '集群id', 'description' => '集群id', 'type' => 'string', 'example' => '3123121223', ], 'ClusterName' => [ 'title' => '集群名称', 'description' => '集群名称', 'type' => 'string', 'example' => 'main_cluster', ], 'ClusterDesc' => [ 'title' => '集群描述', 'description' => '集群描述', 'type' => 'string', 'example' => 'test', ], 'CpuCoreLimit' => [ 'title' => '已使用cpu', 'description' => '已使用cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuLimit' => [ 'title' => '已使用gpu', 'description' => '已使用gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryLimit' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'MaxGpu' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MaxCpuCore' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'MaxMemory' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'UserAccessParam' => [ 'title' => '用户授权参数', 'description' => '用户授权参数', 'type' => 'object', 'properties' => [ 'AccessId' => [ 'title' => '用户id', 'description' => '用户id', 'type' => 'string', 'example' => 'dev', ], 'AccessKey' => [ 'title' => '用户key', 'description' => '用户key', 'type' => 'string', 'example' => 'test', ], 'WorkspaceId' => [ 'title' => '工作空间ID', 'description' => '工作空间ID', 'type' => 'string', 'example' => 'test', ], 'Endpoint' => [ 'title' => 'endpoint', 'description' => 'endpoint', 'type' => 'string', 'example' => 'test', ], ], ], 'MachineType' => [ 'title' => '规格类型', 'description' => '规格类型', 'type' => 'object', 'properties' => [ 'MemoryInfo' => [ 'title' => '内存信息', 'description' => '内存信息', 'type' => 'string', 'example' => '32x 64GB DDR4 4800 Memory', ], 'Type' => [ 'title' => '类型', 'description' => '类型', 'type' => 'string', 'example' => 'Private', ], 'BondNum' => [ 'title' => '网络bond的数量', 'description' => '网络bond的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5', ], 'NodeCount' => [ 'title' => '节点个数', 'description' => '节点个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CpuInfo' => [ 'title' => 'cpu的信息', 'description' => 'cpu的信息', 'type' => 'string', 'example' => '2x Intel Saphhire Rapid 8469C 48C CPU', ], 'NetworkInfo' => [ 'title' => '网络信息', 'description' => '网络信息', 'type' => 'string', 'example' => '1x 200Gbps Dual Port BF3 DPU for VPC\\n4x 200Gbps Dual Port EIC', ], 'GpuInfo' => [ 'title' => 'gpu的信息', 'description' => 'gpu的信息', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'DiskInfo' => [ 'title' => '磁盘信息', 'description' => '磁盘信息', 'type' => 'string', 'example' => '2x 480GB SATA SSD\\n4x 3.84TB NVMe SSD', ], 'NetworkMode' => [ 'title' => '网络模式', 'description' => '网络模式', 'type' => 'string', 'example' => '2', ], 'Name' => [ 'title' => '规格名称', 'description' => '规格名称', 'type' => 'string', 'example' => 'efg2.p8en', ], ], ], 'ResourceNodes' => [ 'title' => '资源节点列表', 'description' => '资源节点列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'lingj19q90jp66nq-mg2pa0p2l2bipnsi-17', ], ], ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '25859897-35C8-5015-8365-7A3CE52F4854', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取集群信息', ], 'ListWorkloads' => [ 'summary' => '获取模型列表。', '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' => '作用域', 'type' => 'string', 'required' => false, 'example' => 'common', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'WorkloadDescription' => [ 'title' => '负载描述', 'description' => '负载描述', 'type' => 'string', 'example' => 'test', ], 'WorkloadType' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'AI', ], 'Family' => [ 'title' => '负载簇, AI、GPU', 'description' => '负载簇, AI、GPU', 'type' => 'string', 'example' => 'AI', ], 'Scene' => [ 'title' => '负载使用场景', 'description' => '负载使用场景', 'type' => 'string', 'example' => 'NLP-LLM', ], 'Scope' => [ 'title' => '负载使用的范围标识', 'description' => '负载使用的范围标识', 'type' => 'string', 'example' => 'common', ], 'JobKind' => [ 'title' => '训练任务类型', 'description' => '训练任务类型', 'type' => 'string', 'example' => 'PyTorchJob', ], 'DefaultCpuPerWorker' => [ 'title' => '默认cpu分配数', 'description' => '默认cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'DefaultGpuPerWorker' => [ 'title' => '默认gpu分配数', 'description' => '默认gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'DefaultMemoryPerWorker' => [ 'title' => '默认内存GB分配数', 'description' => '默认内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'DefaultShareMemory' => [ 'title' => '默认共享内存GB分配数', 'description' => '默认共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ParamSettings' => [ 'title' => '参数设置', 'description' => '参数设置', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParamName' => [ 'title' => '参数名称', 'description' => '参数名称', 'type' => 'string', 'example' => 'ITERATION', ], 'ParamDesc' => [ 'title' => '参数描述', 'description' => '参数描述', 'type' => 'string', 'example' => '迭代数', ], 'ParamValue' => [ 'title' => '参数值', 'description' => '参数值', 'type' => 'string', 'example' => '100', ], 'DefaultValue' => [ 'title' => '参数默认值', 'description' => '参数默认值', 'type' => 'string', 'example' => '100', ], 'ParamRegex' => [ 'title' => '参数正则表达式', 'description' => '参数正则表达式', 'type' => 'string', 'example' => '[0-9]+', ], 'ParamType' => [ 'title' => '参数类型', 'description' => '参数类型', 'type' => 'string', 'example' => 'number', ], ], ], ], 'StaticConfig' => [ 'title' => '静态配置', 'description' => '静态配置', 'type' => 'object', 'properties' => [ 'FrameWork' => [ 'title' => '框架', 'description' => '框架', 'type' => 'string', 'example' => 'PyTorch', ], 'SoftwareStack' => [ 'title' => '软件栈', 'description' => '软件栈', 'type' => 'string', 'example' => 'python', ], 'Os' => [ 'title' => '系统', 'description' => '系统', 'type' => 'string', 'example' => 'linux', ], 'Parameters' => [ 'title' => '参数量', 'description' => '参数量', 'type' => 'string', 'example' => '7B', ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '4AC08332-436C-57A3-9FBA-26772B1A9901', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取模型列表', ], 'GetWorkload' => [ 'summary' => '获取模型信息。', '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' => '负载id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '13', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'WorkloadDescription' => [ 'title' => '负载描述', 'description' => '负载描述', 'type' => 'string', 'example' => 'test', ], 'WorkloadType' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'AI', ], 'Family' => [ 'title' => '负载簇, AI、GPU', 'description' => '负载簇, AI、GPU', 'type' => 'string', 'example' => 'AI', ], 'Scene' => [ 'title' => '负载使用场景', 'description' => '负载使用场景', 'type' => 'string', 'example' => 'NLP-LLM', ], 'Scope' => [ 'title' => '负载使用的范围标识', 'description' => '负载使用的范围标识', 'type' => 'string', 'example' => 'common', ], 'JobKind' => [ 'title' => '训练任务类型', 'description' => '训练任务类型', 'type' => 'string', 'example' => 'PyTorchJob', ], 'DefaultCpuPerWorker' => [ 'title' => '默认cpu分配数', 'description' => '默认cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'DefaultGpuPerWorker' => [ 'title' => '默认gpu分配数', 'description' => '默认gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'DefaultMemoryPerWorker' => [ 'title' => '默认内存GB分配数', 'description' => '默认内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'DefaultShareMemory' => [ 'title' => '默认共享内存GB分配数', 'description' => '默认共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ParamSettings' => [ 'title' => '参数设置', 'description' => '参数设置', 'type' => 'array', 'items' => [ 'description' => '参数', 'type' => 'object', 'properties' => [ 'ParamName' => [ 'title' => '参数名称', 'description' => '参数名称', 'type' => 'string', 'example' => 'ITERATION', ], 'ParamDesc' => [ 'title' => '参数描述', 'description' => '参数描述', 'type' => 'string', 'example' => '迭代数', ], 'ParamValue' => [ 'title' => '参数值', 'description' => '参数值', 'type' => 'string', 'example' => '100', ], 'DefaultValue' => [ 'title' => '参数默认值', 'description' => '参数默认值', 'type' => 'string', 'example' => '100', ], 'ParamRegex' => [ 'title' => '参数正则表达式', 'description' => '参数正则表达式', 'type' => 'string', 'example' => '[0-9]+', ], 'ParamType' => [ 'title' => '参数类型', 'description' => '参数类型', 'type' => 'string', 'example' => 'number', ], ], ], ], 'StaticConfig' => [ 'title' => '静态配置', 'description' => '静态配置', 'type' => 'object', 'properties' => [ 'FrameWork' => [ 'title' => '框架', 'description' => '框架', 'type' => 'string', 'example' => 'PyTorch', ], 'SoftwareStack' => [ 'title' => '软件栈', 'description' => '软件栈', 'type' => 'string', 'example' => 'python', ], 'Os' => [ 'title' => '系统', 'description' => '系统', 'type' => 'string', 'example' => 'linux', ], 'Parameters' => [ 'title' => '参数量', 'description' => '参数量', 'type' => 'string', 'example' => '7B', ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取模型信息', ], 'StopExperiment' => [ 'summary' => '停止实验。', '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' => '计划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' => '是否成功', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '停止实验', ], 'GetExperiment' => [ 'summary' => '获取实验详情。', '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' => '实验ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '234', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => 'Resource Group Id', 'type' => 'string', 'required' => false, 'example' => 'rg-kdsfjascjfm3', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '实验对象', 'description' => '实验对象', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'Task' => [ 'title' => '实验任务', 'description' => '实验任务', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'example' => '167420', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-03-05 18:24:08', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-03-05 18:24:08', ], 'StartTime' => [ 'title' => '开始时间', 'description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-03-05 18:24:08', ], 'EndTime' => [ 'title' => '结束时间', 'description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-03-05 18:34:08', ], 'Params' => [ 'title' => '实验参数', 'description' => '实验参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '环境参数', 'example' => '{}', ], ], 'Scene' => [ 'title' => '场景', 'description' => '场景', 'type' => 'string', 'example' => 'baseline', ], 'Status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'success', ], ], ], 'Workload' => [ 'title' => '负载信息', 'description' => '负载信息', 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'WorkloadDescription' => [ 'title' => '负载描述', 'description' => '负载描述', 'type' => 'string', 'example' => 'test', ], 'WorkloadType' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'AI', ], 'Family' => [ 'title' => '负载簇, AI、GPU', 'description' => '负载簇, AI、GPU', 'type' => 'string', 'example' => 'AI', ], 'Scene' => [ 'title' => '负载使用场景', 'description' => '负载使用场景', 'type' => 'string', 'example' => 'NLP-LLM', ], 'Scope' => [ 'title' => '负载使用的范围标识', 'description' => '负载使用的范围标识', 'type' => 'string', 'example' => 'common', ], 'JobKind' => [ 'title' => '训练任务类型', 'description' => '训练任务类型', 'type' => 'string', 'example' => 'PyTorchJob', ], 'DefaultCpuPerWorker' => [ 'title' => '默认cpu分配数', 'description' => '默认cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'DefaultGpuPerWorker' => [ 'title' => '默认gpu分配数', 'description' => '默认gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'DefaultMemoryPerWorker' => [ 'title' => '默认内存GB分配数', 'description' => '默认内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'DefaultShareMemory' => [ 'title' => '默认共享内存GB分配数', 'description' => '默认共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ParamSettings' => [ 'title' => '参数设置', 'description' => '参数设置', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParamName' => [ 'title' => '参数名称', 'description' => '参数名称', 'type' => 'string', 'example' => 'ITERATION', ], 'ParamDesc' => [ 'title' => '参数描述', 'description' => '参数描述', 'type' => 'string', 'example' => '迭代数', ], 'ParamValue' => [ 'title' => '参数值', 'description' => '参数值', 'type' => 'string', 'example' => '100', ], 'DefaultValue' => [ 'title' => '参数默认值', 'description' => '参数默认值', 'type' => 'string', 'example' => '100', ], 'ParamRegex' => [ 'title' => '参数正则表达式', 'description' => '参数正则表达式', 'type' => 'string', 'example' => '[0-9]+', ], 'ParamType' => [ 'title' => '参数类型', 'description' => '参数类型', 'type' => 'string', 'example' => 'number', ], ], ], ], 'StaticConfig' => [ 'title' => '静态配置', 'description' => '静态配置', 'type' => 'object', 'properties' => [ 'FrameWork' => [ 'title' => '框架', 'description' => '框架', 'type' => 'string', 'example' => 'pyTorch', ], 'SoftwareStack' => [ 'title' => '软件栈', 'description' => '软件栈', 'type' => 'string', 'example' => 'python', ], 'Os' => [ 'title' => '系统', 'description' => '系统', 'type' => 'string', 'example' => 'linux', ], 'Parameters' => [ 'title' => '参数量', 'description' => '参数量', 'type' => 'string', 'example' => '7B', ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'Resource' => [ 'title' => '集群信息', 'description' => '集群信息', 'type' => 'object', 'properties' => [ 'ResourceId' => [ 'title' => '集群id', 'description' => '集群id', 'type' => 'integer', 'format' => 'int64', 'example' => '189', ], 'ResourceName' => [ 'title' => '集群名称', 'description' => '集群名称', 'type' => 'string', 'example' => 'ecs.r8y.4xlarge', ], 'CpuCoreLimit' => [ 'title' => '已使用cpu', 'description' => '已使用cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuLimit' => [ 'title' => '已使用gpu', 'description' => '已使用gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryLimit' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'MaxGpu' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MaxCpuCore' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'MaxMemory' => [ 'title' => '已使用内存', 'description' => '已使用内存', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'UserAccessParam' => [ 'title' => '用户授权参数', 'description' => '用户授权参数', 'type' => 'object', 'properties' => [ 'AccessId' => [ 'title' => '用户id', 'description' => '用户id', 'type' => 'string', 'example' => 'dev', ], 'AccessKey' => [ 'title' => '用户key', 'description' => '用户key', 'type' => 'string', 'example' => 'test', ], 'WorkspaceId' => [ 'title' => '工作空间ID', 'description' => '工作空间ID', 'type' => 'string', 'example' => '123434542498', ], 'Endpoint' => [ 'title' => 'endpoint', 'description' => 'endpoint', 'type' => 'string', 'example' => 'test', ], ], ], 'MachineType' => [ 'title' => '规格类型', 'description' => '规格类型', 'type' => 'object', 'properties' => [ 'MemoryInfo' => [ 'title' => '内存信息', 'description' => '内存信息', 'type' => 'string', 'example' => '32x 64GB DDR4 3200 Memory', ], 'Type' => [ 'title' => '类型', 'description' => '类型', 'type' => 'string', 'example' => 'Public', ], 'BondNum' => [ 'title' => '网络bond的数量', 'description' => '网络bond的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5', ], 'NodeCount' => [ 'title' => '节点个数', 'description' => '节点个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CpuInfo' => [ 'title' => 'cpu的信息', 'description' => 'cpu的信息', 'type' => 'string', 'example' => '2x Intel Icelake 8369B 32C CPU', ], 'NetworkInfo' => [ 'title' => '网络信息', 'description' => '网络信息', 'type' => 'string', 'example' => '1x 100Gbps DP NIC for VPC \\n 4x 100Gbps DP RoCE NIC', ], 'GpuInfo' => [ 'title' => 'gpu的信息', 'description' => 'gpu的信息', 'type' => 'string', 'example' => '8x NVIDIA SXM4 80GB A100 GPU', ], 'DiskInfo' => [ 'title' => '磁盘信息', 'description' => '磁盘信息', 'type' => 'string', 'example' => '2x 480GB SATA SSD \\n 4x 3.84TB NVMe SSD', ], 'NetworkMode' => [ 'title' => '网络模式', 'description' => '网络模式', 'type' => 'string', 'example' => '2', ], 'Name' => [ 'title' => '规格名称', 'description' => '规格名称', 'type' => 'string', 'example' => 'efg1.nvga1n', ], ], ], 'ResourceNodes' => [ 'title' => '资源节点列表', 'description' => '资源节点列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'InputCheck', ], ], ], ], ], ], 'ExperimentId' => [ 'title' => '实验id', 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '1726882991828688898', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-11-29 02:16:35', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-11-29 02:16:35', ], 'ExperimentName' => [ 'title' => '实验名称', 'description' => '实验名称', 'type' => 'string', 'example' => 'test', ], 'ExperimentType' => [ 'title' => '实验类型', 'description' => '实验类型', 'type' => 'string', 'example' => 'AI', ], 'ResourceName' => [ 'title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'cifnews-guoyuan', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'StartTime' => [ 'title' => '任务开始时间', 'description' => '任务开始时间', 'type' => 'string', 'example' => '2024-11-29 02:16:35', ], 'EndTime' => [ 'title' => '任务结束时间', 'description' => '任务结束时间', 'type' => 'string', 'example' => '2024-11-29 02:26:35', ], 'Status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'RUNNING', ], 'Results' => [ 'title' => '任务结果', 'description' => '任务结果', 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'title' => '参数名称', 'description' => '参数名称', 'type' => 'integer', 'format' => 'int64', 'example' => '1748274952976261121', ], 'Duration' => [ 'title' => '时间', 'description' => '时间', 'type' => 'number', 'format' => 'double', 'example' => '764', ], 'SecondsPerIteration' => [ 'title' => '每次迭代的秒数', 'description' => '每次迭代的秒数', 'type' => 'number', 'format' => 'double', 'example' => '1000', ], 'SamplesPerSecond' => [ 'title' => '每秒采样数', 'description' => '每秒采样数', 'type' => 'number', 'format' => 'double', 'example' => '10', ], 'Mfu' => [ 'description' => 'MFU', 'type' => 'number', 'format' => 'double', 'example' => '54.2', ], 'WarningWorker' => [ 'title' => '警告worker', 'description' => '警告worker', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '9', ], 'Hostname' => [ 'description' => '服务地址', 'type' => 'string', 'example' => 'whza008403', ], 'PodName' => [ 'description' => 'Pod名称。', 'type' => 'string', 'example' => 'fluxserv-6fc89b45cf-w8wq6', ], 'GpuNum' => [ 'description' => 'GPU数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'GpuName' => [ 'description' => 'GPU名称', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'WarningFlag' => [ 'title' => '是否有报警', 'description' => '是否有报警', 'type' => 'boolean', 'example' => 'true', ], 'WarningMsg' => [ 'title' => '报警信息', 'description' => '报警信息', 'type' => 'string', 'example' => '存在慢节点', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'description' => '是否有错误', 'type' => 'boolean', 'example' => 'true', ], 'ErrorMsg' => [ 'title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '错误信息', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'description' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '14', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'description' => '吞吐量', 'type' => 'number', 'format' => 'double', 'example' => '15', ], ], ], ], 'ErrorWorker' => [ 'description' => '错误节点', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '97', ], 'Hostname' => [ 'description' => '服务地址', 'type' => 'string', 'example' => '60.188.98.209', ], 'PodName' => [ 'description' => 'Pod名称。', 'type' => 'string', 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', ], 'GpuNum' => [ 'description' => 'GPU数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'GpuName' => [ 'description' => 'GPU名称', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'WarningFlag' => [ 'title' => '是否有报警', 'description' => '是否有报警', 'type' => 'boolean', 'example' => 'false', ], 'WarningMsg' => [ 'title' => '报警信息', 'description' => '报警信息', 'type' => 'string', 'example' => '无', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'description' => '是否有错误', 'type' => 'boolean', 'example' => 'true', ], 'ErrorMsg' => [ 'title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'Connection reset', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'description' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '12', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'description' => '吞吐量', 'type' => 'number', 'format' => 'double', 'example' => '23', ], ], ], ], 'WarningBoundList' => [ 'description' => '警告节点', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Iteration' => [ 'description' => '迭代', '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' => '任务无效结果', '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' => 'GPU数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'GpuName' => [ 'description' => 'GPU名称', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'WarningFlag' => [ 'title' => '是否有报警', 'description' => '是否有报警', 'type' => 'boolean', 'example' => 'false', ], 'WarningMsg' => [ 'title' => '报警信息', 'description' => '报警信息', 'type' => 'string', 'example' => '无', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'description' => '是否有错误', 'type' => 'boolean', 'example' => 'false', ], 'ErrorMsg' => [ 'title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '无', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'description' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '16', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'description' => '吞吐量', 'type' => 'number', 'format' => 'double', 'example' => '28', ], ], ], ], 'TaskIndividualResultMap' => [ 'description' => '任务无效结果', 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'type' => 'integer', 'format' => 'int64', 'example' => '54', 'description' => '实验id', ], 'Hostname' => [ 'type' => 'string', 'example' => 'p-jt-waf-app1'."\n", 'description' => '主机ip', ], 'PodName' => [ 'type' => 'string', 'description' => 'Pod名称', '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' => '是否warning', 'example' => 'false', ], 'WarningMsg' => [ 'title' => '报警信息', 'type' => 'string', 'description' => '警告内容', 'example' => '无', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'type' => 'boolean', 'description' => '是否errror', 'example' => 'false', ], 'ErrorMsg' => [ 'title' => '错误信息', 'type' => 'string', 'example' => '无', 'description' => '错误内容', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '45', 'description' => 'TFLOPS', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'type' => 'number', 'format' => 'double', 'description' => '吞吐量', 'example' => '23', ], ], ], 'description' => '结果对象', ], ], ], ], 'SetParams' => [ 'title' => '运行的负载参数', 'description' => '运行的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], 'GetParams' => [ 'title' => '解析的负载参数', 'description' => '解析的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], 'EnvParams' => [ 'title' => '运行的环境参数', 'description' => '运行的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'example' => '1.0.0', ], 'ResourceNodes' => [ 'title' => '指定的节点', 'description' => '指定的节点', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'p-jt-waf-app1', ], 'TotalCPU' => [ 'title' => '总的cpu', 'description' => '总的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'TotalGPU' => [ 'title' => '总的gpu', 'description' => '总的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'TotalMemory' => [ 'title' => '总的memory', 'description' => '总的memory', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'RequestCPU' => [ 'title' => '当前请求的cpu', 'description' => '当前请求的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'RequestGPU' => [ 'title' => '当前请求的gpu', 'description' => '当前请求的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'RequestMemory' => [ 'title' => '当前请求的memory', 'description' => '当前请求的memory', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], ], ], ], 'ExtendParam' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验详情', ], 'DeleteExperiment' => [ 'summary' => '删除实验。', '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' => '计划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' => '是否成功', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '删除实验', ], 'ListExperiments' => [ 'summary' => '获取实验列表。', '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' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '189', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'title' => '次序', 'description' => '次序', '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' => '实验对象列表', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'title' => '实验id', 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '1684537476910997506', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-10-22 10:18:10', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-10-22 10:18:10', ], 'ExperimentName' => [ 'title' => '实验名称', 'description' => '实验名称', 'type' => 'string', 'example' => 'test', ], 'ExperimentType' => [ 'title' => '实验类型', 'description' => '实验类型', 'type' => 'string', 'example' => 'AI', ], 'ResourceName' => [ 'title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'ecs.r8y.4xlarge', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'StartTime' => [ 'title' => '任务开始时间', 'description' => '任务开始时间', 'type' => 'string', 'example' => '2024-10-22 10:18:10', ], 'EndTime' => [ 'title' => '任务结束时间', 'description' => '任务结束时间', 'type' => 'string', 'example' => '2024-10-22 10:28:10', ], 'Status' => [ 'title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => 'RUNNING', ], 'Results' => [ 'title' => '任务结果', 'description' => '任务结果', 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'title' => '参数名称', 'description' => '参数名称', 'type' => 'integer', 'format' => 'int64', 'example' => '440', ], 'Duration' => [ 'title' => '时间', 'description' => '时间', 'type' => 'number', 'format' => 'double', 'example' => '20', ], 'SecondsPerIteration' => [ 'title' => '每次迭代的秒数', 'description' => '每次迭代的秒数', 'type' => 'number', 'format' => 'double', 'example' => '89', ], 'SamplesPerSecond' => [ 'title' => '每秒采样数', 'description' => '每秒采样数', 'type' => 'number', 'format' => 'double', 'example' => '10', ], 'Mfu' => [ 'description' => 'MFU', 'type' => 'number', 'format' => 'double', 'example' => '34', ], 'WarningWorker' => [ 'title' => '警告worker', 'description' => '警告worker', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '113', ], 'Hostname' => [ 'description' => '主机ip', 'type' => 'string', 'example' => '101.66.165.102', ], 'PodName' => [ 'description' => 'Pod名称', 'type' => 'string', 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', ], 'GpuNum' => [ 'description' => 'GPU数量', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuName' => [ 'description' => 'GPU名称', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'WarningFlag' => [ 'title' => '是否有报警', 'description' => '是否有报警', 'type' => 'boolean', 'example' => 'false', ], 'WarningMsg' => [ 'title' => '报警信息', 'description' => '报警信息', 'type' => 'string', 'example' => '无', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'description' => '是否有错误', 'type' => 'boolean', 'example' => 'false', ], 'ErrorMsg' => [ 'title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '无', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'description' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '43', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'description' => '吞吐量', 'type' => 'number', 'format' => 'double', 'example' => '53', ], ], ], ], 'ErrorWorker' => [ 'description' => '错误节点', 'type' => 'array', 'items' => [ 'description' => '错误节点', 'type' => 'object', 'properties' => [ 'ExperimentId' => [ 'description' => '实验id', 'type' => 'integer', 'format' => 'int64', 'example' => '176', ], 'Hostname' => [ 'description' => '主机ip', 'type' => 'string', 'example' => 'etcd_cluster_c0n2', ], 'PodName' => [ 'description' => 'Pod名称', 'type' => 'string', 'example' => 'fluxserv-6fc89b45cf-w8wq6', ], 'GpuNum' => [ 'description' => 'GPU数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'GpuName' => [ 'description' => 'GPU名称', 'type' => 'string', 'example' => '8x OAM 810 GPU', ], 'WarningFlag' => [ 'title' => '是否有报警', 'description' => '是否有报警', 'type' => 'boolean', 'example' => 'false', ], 'WarningMsg' => [ 'title' => '报警信息', 'description' => '报警信息', 'type' => 'string', 'example' => '无', ], 'ErrorFlag' => [ 'title' => '是否有错误', 'description' => '是否有错误', 'type' => 'boolean', 'example' => 'false', ], 'ErrorMsg' => [ 'title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '无', ], 'Tflops' => [ 'title' => 'TFLOPS值', 'description' => 'TFLOPS值', 'type' => 'number', 'format' => 'double', 'example' => '42', ], 'SamplesPerSecond' => [ 'title' => '吞吐量', 'description' => '吞吐量', 'type' => 'number', 'format' => 'double', 'example' => '65', ], ], ], ], ], ], 'SetParams' => [ 'title' => '运行的负载参数', 'description' => '运行的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], 'GetParams' => [ 'title' => '解析的负载参数', 'description' => '解析的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '参数', 'example' => '{}', ], ], 'EnvParams' => [ 'title' => '运行的环境参数', 'description' => '运行的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'example' => '1.0.0', ], 'ResourceNodes' => [ 'title' => '指定的节点', 'description' => '指定的节点', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'lingj1xxnjt1k4nv-mg18v52pydyuumae-0', ], 'TotalCPU' => [ 'title' => '总的cpu', 'description' => '总的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'TotalGPU' => [ 'title' => '总的gpu', 'description' => '总的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'TotalMemory' => [ 'title' => '总的memory', 'description' => '总的memory', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'RequestCPU' => [ 'title' => '当前请求的cpu', 'description' => '当前请求的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'RequestGPU' => [ 'title' => '当前请求的gpu', 'description' => '当前请求的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'RequestMemory' => [ 'title' => '当前请求的memory', 'description' => '当前请求的memory', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], ], ], ], 'ExtendParam' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '参数', 'example' => '{}', ], ], ], ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验列表', ], 'GetExperimentResultData' => [ 'summary' => '获取实验结果数据。', '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' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '234', ], ], [ 'name' => 'Hostname', 'in' => 'query', 'schema' => [ 'title' => '主机名', 'description' => '主机名', 'type' => 'string', 'required' => false, 'example' => 'iZj6ccwd7zwfms7hzaz2riZ', ], ], [ 'name' => 'WorkloadType', 'in' => 'query', 'schema' => [ 'title' => '负载类型', 'description' => '负载类型', '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>', 'description' => 'CnpResult>', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'array', 'items' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ 'Hostname' => [ 'description' => '主机ip', 'type' => 'string', 'example' => 'p-jt-waf-app1', ], 'PodName' => [ 'description' => 'Pod名称', 'type' => 'string', 'example' => 'hzs-forge-sdxl-online-7ff4d86444-pc95h', ], 'GpuNum' => [ 'description' => 'GPU数量', 'type' => 'string', 'example' => '8', ], 'MetricsInfos' => [ 'title' => '指标信息列表', 'description' => '指标信息列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Timestamp' => [ 'description' => '操作时间戳', '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' => '指标值', 'type' => 'number', 'format' => 'double', 'example' => '126', ], 'Gpu_num' => [ 'title' => 'gpu', 'description' => 'gpu', 'type' => 'string', 'example' => '8', ], ], ], ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'C1D34EC2-AB13-56F4-8322-F15AE563EA04', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验结果数据', ], 'CheckServiceLinkedRoleEfloCnpForDeleting' => [ 'summary' => 'slr权限校验。', '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' => 'API角色', 'type' => 'string', 'required' => false, 'example' => 'arn:aws:iam::345678901234:role/eflo-cnp-role', ], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => [ 'title' => '服务名称', 'description' => '服务名称', 'type' => 'string', 'required' => false, 'example' => 'eflo-cnp', ], ], [ 'name' => 'SPIRegionId', 'in' => 'query', 'schema' => [ 'title' => 'SPI的地域', 'description' => 'SPI的地域', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'DeletionTaskId', 'in' => 'query', 'schema' => [ 'title' => '删除的任务ID', 'description' => '删除的任务ID', 'type' => 'string', 'required' => false, 'example' => 'task-003', ], ], [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'title' => '主账号ID', 'description' => '主账号ID', 'type' => 'string', 'required' => false, 'example' => '345678901234', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'DeleteSlrResultVO', 'description' => 'DeleteSlrResultVO', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '6C212C4A-2CB3-56E6-BA2F-1CE2B03C5C94', ], 'Deletable' => [ 'description' => '是否可以删除。取值:'."\n" .'- `true`: 可删除。'."\n" .'- `false`: 不可删除。', 'type' => 'boolean', 'example' => 'True', ], 'Resources' => [ 'description' => '资源列表。', 'type' => 'array', 'items' => [ 'description' => '资源', 'type' => 'object', 'properties' => [ 'Region' => [ 'description' => '地域。', 'type' => 'string', 'example' => 'cn-beijing', ], 'Resources' => [ 'description' => '资源列表。', 'type' => 'array', 'items' => [ 'description' => '资源', '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' => '校验服务角色', ], 'CreateExperimentPlanTemplate' => [ 'summary' => '创建实验计划模版。', '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' => [ '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', ], ], ], ], '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', 'format' => 'int64', 'example' => '464086216', ], ], ], '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' => '创建实验计划模版', ], 'UpdateExperimentPlanTemplate' => [ 'summary' => '更新测试计划模板', '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' => '模板code', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '349623', ], ], [ 'name' => 'TemplatePipeline', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '模板流水线', 'description' => '模板流水线', 'type' => 'array', 'items' => [ 'description' => 'Template Pipeline', 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '14', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'required' => true, 'example' => 'test', ], 'Scene' => [ 'title' => '使用场景,例如"baseline"', 'description' => '使用场景,例如"baseline"', 'type' => 'string', 'required' => true, 'example' => 'baseline', ], 'SettingParams' => [ 'title' => '配置的负载参数', 'description' => '配置的负载参数', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'description' => 'Configured Workload Parameters', 'example' => 'batch_size', ], ], 'EnvParams' => [ 'title' => '配置的环境参数', 'description' => '配置的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'required' => false, 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'required' => false, 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'required' => false, 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'required' => false, 'example' => '1.0.0', ], ], 'required' => true, ], 'PipelineOrder' => [ 'title' => '节点序号', 'description' => '节点序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], ], 'required' => false, ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'CreatorUid' => [ 'title' => '主账号uid', 'description' => '主账号uid', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312312312', ], 'TemplateId' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '17815441', ], 'TemplateCode' => [ 'title' => '模板Code', 'description' => '模板Code', 'type' => 'integer', 'format' => 'int64', 'example' => '472840184', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-10-22 10:18:10', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-07-07 02:08:54', ], 'TemplateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => 'test', ], 'TemplateDescription' => [ 'title' => '模板描述', 'description' => '模板描述', 'type' => 'string', 'example' => 'test', ], 'PrivacyLevel' => [ 'title' => '隐私级别', 'description' => '隐私级别', 'type' => 'string', 'example' => 'private', ], 'TemplatePipelineParam' => [ 'title' => '模板流水线', 'description' => '模板流水线', 'type' => 'array', 'items' => [ 'description' => 'Template Pipeline', 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'Scene' => [ 'title' => '使用场景,例如"baseline"', 'description' => '使用场景,例如"baseline"', 'type' => 'string', 'example' => 'baseline', ], 'SettingParams' => [ 'title' => '配置的负载参数', 'description' => '配置的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => 'Configured Workload Parameters', 'example' => 'batch_size', ], ], 'EnvParams' => [ 'title' => '配置的环境参数', 'description' => '配置的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'example' => '1.0.0', ], 'ResourceNodes' => [ 'title' => '指定的节点', 'description' => '指定的节点', 'type' => 'array', 'items' => [ 'description' => '节点', 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'honeypot', ], 'TotalCPU' => [ 'title' => '总的cpu', 'description' => '总的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'TotalGPU' => [ 'title' => '总的gpu', 'description' => '总的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'TotalMemory' => [ 'title' => '总的memory', 'description' => '总的memory', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'RequestCPU' => [ 'title' => '当前请求的cpu', 'description' => '当前请求的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'RequestGPU' => [ 'title' => '当前请求的gpu', 'description' => '当前请求的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'RequestMemory' => [ 'title' => '当前请求的memory', 'description' => '当前请求的memory', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], 'ExtendParam' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '额外的参数', 'example' => '{}', ], ], ], ], 'PipelineOrder' => [ 'title' => '节点序号', 'description' => '节点序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'IsDelete' => [ 'title' => '是否删除', 'description' => '是否删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '修改实验计划模版', ], 'GetExperimentPlanTemplate' => [ 'summary' => '查询测试计划模板详情', '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' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '315797', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'CreatorUid' => [ 'title' => '主账号uid', 'description' => '主账号uid', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312312312', ], 'TemplateId' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '17615126', ], 'TemplateCode' => [ 'title' => '模板Code', 'description' => '模板Code', 'type' => 'integer', 'format' => 'int64', 'example' => '464086216', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-11-29 02:16:35', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-10-22 10:18:10', ], 'TemplateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => '模板1', ], 'TemplateDescription' => [ 'title' => '模板描述', 'description' => '模板描述', 'type' => 'string', 'example' => 'test', ], 'PrivacyLevel' => [ 'title' => '隐私级别', 'description' => '隐私级别', 'type' => 'string', 'example' => 'private', ], 'TemplatePipelineParam' => [ 'title' => '模板流水线', 'description' => '模板流水线', 'type' => 'array', 'items' => [ 'description' => '模板流水线', 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'Scene' => [ 'title' => '使用场景,例如"baseline"', 'description' => '使用场景,例如"baseline"', 'type' => 'string', 'example' => 'baseline', ], 'SettingParams' => [ 'title' => '配置的负载参数', 'description' => '配置的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '配置的负载参数', 'example' => 'batch_size', ], ], 'EnvParams' => [ 'title' => '配置的环境参数', 'description' => '配置的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'example' => '1.0.0', ], 'ResourceNodes' => [ 'title' => '指定的节点', 'description' => '指定的节点', 'type' => 'array', 'items' => [ 'description' => '节点', 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'exclusive_coud', ], 'TotalCPU' => [ 'title' => '总的cpu', 'description' => '总的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'TotalGPU' => [ 'title' => '总的gpu', 'description' => '总的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'TotalMemory' => [ 'title' => '总的memory', 'description' => '总的memory', 'type' => 'integer', 'format' => 'int64', 'example' => '2048', ], 'RequestCPU' => [ 'title' => '当前请求的cpu', 'description' => '当前请求的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'RequestGPU' => [ 'title' => '当前请求的gpu', 'description' => '当前请求的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'RequestMemory' => [ 'title' => '当前请求的memory', 'description' => '当前请求的memory', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', ], ], ], ], 'ExtendParam' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '额外的参数', 'example' => '{}', ], ], ], ], 'PipelineOrder' => [ 'title' => '节点序号', 'description' => '节点序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'IsDelete' => [ 'title' => '是否删除', 'description' => '是否删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验计划模版', ], 'DeleteExperimentPlanTemplate' => [ 'summary' => '删除实验计划模版。', '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' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '346527', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '4D3FD55F-3BCD-5914-9B74-A1F4961327E7', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '删除实验计划模版', ], 'ListExperimentPlanTemplates' => [ 'summary' => '获取实验计划模版列表。', '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' => '模板的共享级别,默认私有,public、private', 'type' => 'string', 'required' => false, 'example' => 'private', 'default' => 'private', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询结果', 'description' => '查询结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'CreatorUid' => [ 'title' => '主账号uid', 'description' => '主账号uid', 'type' => 'integer', 'format' => 'int64', 'example' => '178154411231232', ], 'TemplateId' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '17815441', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-11-29 02:16:35', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-11-29 02:16:35', ], 'TemplateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => '模版名称', ], 'TemplateDescription' => [ 'title' => '模板描述', 'description' => '模板描述', 'type' => 'string', 'example' => 'test', ], 'PrivacyLevel' => [ 'title' => '隐私级别', 'description' => '隐私级别', 'type' => 'string', 'example' => 'private', ], 'TemplatePipelineParam' => [ 'title' => '模板流水线', 'description' => '模板流水线', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '13', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'Scene' => [ 'title' => '使用场景,例如"baseline"', 'description' => '使用场景,例如"baseline"', 'type' => 'string', 'example' => 'baseline', ], 'SettingParams' => [ 'title' => '配置的负载参数', 'description' => '配置的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], 'EnvParams' => [ 'title' => '配置的环境参数', 'description' => '配置的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'description' => 'cuda版本', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'description' => 'NCCL版本', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'description' => 'GPU驱动版本号。', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'description' => 'PyTorch版本', 'type' => 'string', 'example' => '1.0.0', ], ], ], 'PipelineOrder' => [ 'title' => '节点序号', 'description' => '节点序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], 'VersionId' => [ 'title' => '版本号', 'description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'IsDelete' => [ 'title' => '是否删除', 'description' => '是否删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'TemplateCode' => [ 'description' => '模板Code。', 'type' => 'integer', 'format' => 'int64', 'example' => '237202524', ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'AAE4AFED-7AE6-52FA-80B6-448E63760552', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验计划模版列表', ], 'GetResourcePredictResult' => [ 'summary' => '获取集群评测结果。', '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' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '315797', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'title' => '资源ID', 'description' => '资源ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '36', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询结果', 'description' => '查询结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取集群评测结果', ], 'CreateExperimentPlan' => [ 'summary' => '创建实验计划。', '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' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '349623', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'title' => '资源ID', 'description' => '资源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '189', ], ], [ 'name' => 'ExternalParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'required' => false, 'example' => '{}', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'title' => '资源组id', 'description' => '资源组id', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzij65sf2rr5i', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '资源标签', 'description' => '资源标签', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => [ 'title' => '键', 'description' => '键', 'type' => 'string', 'required' => false, 'example' => 'owner', ], 'Value' => [ 'title' => '值', 'description' => '值', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'PlanTemplateName', 'in' => 'query', 'schema' => [ 'description' => '计划模版名称', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'integer', 'format' => 'int64', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '创建实验计划', ], 'UpdateExperimentPlan' => [ 'summary' => '更新实验计划', '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' => '实验计划id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '189', ], ], [ 'name' => 'PlanTemplateName', 'in' => 'query', 'schema' => [ 'title' => '实验计划名称', 'description' => '实验计划名称', 'type' => 'string', 'required' => true, 'example' => 'test', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '结果', 'description' => '结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '修改实验计划', ], 'GetExperimentPlan' => [ 'summary' => '获取实验计划详情。', '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' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '189', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询结果', 'description' => '查询结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ 'PlanId' => [ 'title' => '计划ID', 'description' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'example' => '189', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-07-07 02:08:54', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-07-07 02:08:54', ], 'TemplateId' => [ 'title' => '关联的测试计划模板ID', 'description' => '关联的测试计划模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2162', ], 'TemplateName' => [ 'title' => '关联的测试计划模板名称', 'description' => '关联的测试计划模板名称', 'type' => 'string', 'example' => 'MM', ], 'ResourceId' => [ 'title' => '关联的资源ID', 'description' => '关联的资源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '260860230684', ], 'PlanPipeline' => [ 'title' => '测试计划pipeline', 'description' => '测试计划pipeline', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'WorkloadId' => [ 'title' => '负载id', 'description' => '负载id', 'type' => 'integer', 'format' => 'int64', 'example' => '14', ], 'WorkloadName' => [ 'title' => '负载名称', 'description' => '负载名称', 'type' => 'string', 'example' => 'test', ], 'ResourceId' => [ 'title' => '资源id', 'description' => '资源id', 'type' => 'integer', 'format' => 'int64', 'example' => '36', ], 'ResourceName' => [ 'title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'GPU', ], 'Scene' => [ 'title' => '使用场景,例如"baseline"', 'description' => '使用场景,例如"baseline"', 'type' => 'string', 'example' => 'baseline', ], 'SettingParams' => [ 'title' => '配置的负载参数', 'description' => '配置的负载参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], 'EnvParams' => [ 'title' => '配置的环境参数', 'description' => '配置的环境参数', 'type' => 'object', 'properties' => [ 'CpuPerWorker' => [ 'title' => 'cpu分配数', 'description' => 'cpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'GpuPerWorker' => [ 'title' => 'gpu分配数', 'description' => 'gpu分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'MemoryPerWorker' => [ 'title' => '内存GB分配数', 'description' => '内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'ShareMemory' => [ 'title' => '共享内存GB分配数', 'description' => '共享内存GB分配数', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], 'WorkerNum' => [ 'title' => '节点数', 'description' => '节点数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'CudaVersion' => [ 'title' => 'cudaVersion', 'description' => 'cudaVersion', 'type' => 'string', 'example' => '1.0.0', ], 'NCCLVersion' => [ 'title' => 'NCCLVersion', 'description' => 'NCCLVersion', 'type' => 'string', 'example' => '1.0.0', ], 'GpuDriverVersion' => [ 'title' => 'GpuDriverVersion', 'description' => 'GpuDriverVersion', 'type' => 'string', 'example' => '1.0.0', ], 'PyTorchVersion' => [ 'title' => 'PyTorchVersion', 'description' => 'PyTorchVersion', 'type' => 'string', 'example' => '1.0.0', ], 'ResourceNodes' => [ 'title' => '指定的节点', 'description' => '指定的节点', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => [ 'title' => '节点名称', 'description' => '节点名称', 'type' => 'string', 'example' => 'ods_galaxy_gateway_tickets', ], 'TotalCPU' => [ 'title' => '总的cpu', 'description' => '总的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'TotalGPU' => [ 'title' => '总的gpu', 'description' => '总的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'TotalMemory' => [ 'title' => '总的memory', 'description' => '总的memory', 'type' => 'integer', 'format' => 'int64', 'example' => '500', ], 'RequestCPU' => [ 'title' => '当前请求的cpu', 'description' => '当前请求的cpu', 'type' => 'integer', 'format' => 'int32', 'example' => '90', ], 'RequestGPU' => [ 'title' => '当前请求的gpu', 'description' => '当前请求的gpu', 'type' => 'integer', 'format' => 'int32', 'example' => '8', ], 'RequestMemory' => [ 'title' => '当前请求的memory', 'description' => '当前请求的memory', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], ], ], ], 'ExtendParam' => [ 'title' => '额外的参数', 'description' => '额外的参数', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{}', 'description' => '参数', ], ], ], ], 'PipelineOrder' => [ 'title' => '节点序号', 'description' => '节点序号', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], 'ResourceGroupId' => [ 'title' => '资源组id', 'description' => '资源组id', 'type' => 'string', 'example' => 'rg-acfmvmpzi7lmxhq', ], 'Tags' => [ 'description' => '标签', 'type' => 'array', 'items' => [ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'appName', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'test', ], ], ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '6DBAC169-93D1-5DCD-8109-30FB623B3197', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '获取实验计划详情', ], 'DeleteExperimentPlan' => [ 'summary' => '删除实验计划。', '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' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '189', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询结果', 'description' => '查询结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '删除实验计划', ], 'ListExperimentPlans' => [ 'summary' => '获取实验计划列表。', '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' => '资源', 'type' => 'array', 'items' => [ 'description' => '资源名称', 'type' => 'string', 'required' => false, 'example' => 'cls-pim0anlrtm3ef4vstou001', ], 'required' => false, ], ], [ 'name' => 'PlanTaskStatus', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '执行状态', 'description' => '执行状态', 'type' => 'array', 'items' => [ 'description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', ], 'required' => false, ], ], [ 'name' => 'CreatTimeOrder', 'in' => 'query', 'schema' => [ 'title' => '创建时间排序规则', 'description' => '创建时间排序规则', 'type' => 'string', 'required' => false, 'example' => 'desc', ], ], [ 'name' => 'StartTimeOrder', 'in' => 'query', 'schema' => [ 'title' => '开始时间排序规则', 'description' => '开始时间排序规则', 'type' => 'string', 'required' => false, 'example' => 'desc', ], ], [ 'name' => 'EndTimeOrder', 'in' => 'query', 'schema' => [ 'title' => '结束时间排序规则', 'description' => '结束时间排序规则', 'type' => 'string', 'required' => false, 'example' => 'desc', ], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => [ 'title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '0', ], ], [ 'name' => 'Size', 'in' => 'query', 'schema' => [ 'title' => '条数', 'description' => '条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'default' => '10', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'title' => '资源组id', 'description' => '资源组id', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzij65sf2rr5i', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '标签组', 'type' => 'array', 'items' => [ 'description' => '标签信息。'."\n" ."\n" .'一次最多支持输入20个标签信息。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '172', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '96', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '189', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询结果', 'description' => '查询结果', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'array', 'items' => [ 'description' => '查询结果。', 'type' => 'object', 'properties' => [ 'PlanId' => [ 'title' => '计划ID', 'description' => '计划ID', 'type' => 'integer', 'format' => 'int64', 'example' => '189', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-07-08 10:12:42', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '更新时间', 'type' => 'string', 'example' => '2024-07-08 10:12:42', ], 'TemplateId' => [ 'title' => '关联的测试计划模板ID', 'description' => '关联的测试计划模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6', ], 'TemplateName' => [ 'title' => '关联的测试计划模板名称', 'description' => '关联的测试计划模板名称', 'type' => 'string', 'example' => 'test', ], 'ResourceName' => [ 'title' => '关联的资源名称', 'description' => '关联的资源名称', 'type' => 'string', 'example' => 'q_ecs_xpec_postpay_c', ], 'PlanTaskStatus' => [ 'title' => '测试计划执行状态', 'description' => '测试计划执行状态', 'type' => 'object', 'additionalProperties' => [ 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => '状态', ], ], 'StartTime' => [ 'title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2024-07-08 10:12:42', ], 'EndTime' => [ 'title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2024-07-08 10:22:42', ], 'ResourceGroupId' => [ 'title' => '资源组id', 'description' => '资源组id', 'type' => 'string', 'example' => 'rg-aek5behqmwbfhuy', ], 'Tags' => [ 'description' => '标签组', 'type' => 'array', 'items' => [ 'description' => '标签', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'owner', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'test', ], ], ], ], 'ResourceId' => [ 'description' => '资源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '189', ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'FA9F1DE7-103B-5C18-AE9E-EB2BFF11C685', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'AccessDeniedDetail' => [ 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], ], ], ], ], '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' => '获取实验计划列表', ], 'ChangeResourceGroup' => [ 'summary' => '资源转组', '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' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ExperimentPlan', 'default' => 'ExperimentPlan', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'title' => '资源Id', 'description' => '资源Id', 'type' => 'string', 'required' => true, 'example' => '123', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'title' => '地域Id', 'description' => '地域Id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'title' => '目标资源组', 'description' => '目标资源组', 'type' => 'string', 'required' => true, 'example' => 'rg-aek25k3b4pbhc4a', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '结果', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '请求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' => '资源转组', ], 'UntagResources' => [ 'summary' => '资源去除用户标签', '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' => '资源类型', 'type' => 'string', 'required' => true, 'example' => 'ExperimentPlan', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源Id', 'type' => 'array', 'items' => [ 'description' => '资源Id', 'type' => 'string', 'required' => false, 'example' => '189', ], 'required' => true, 'maxItems' => 51, ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签键组,最多20个子项', 'type' => 'array', 'items' => [ 'description' => '标签键列表,n 的取值范围为 1, 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' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'CnpResult', 'description' => 'CnpResult', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'string', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '25859897-35C8-5015-8365-7A3CE52F4854', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '资源去除用户标签', ], 'TagResources' => [ 'summary' => '资源打用户标签', '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' => '资源类型', 'type' => 'string', 'required' => true, 'example' => 'ExperimentPlan', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源Id', 'type' => 'array', 'items' => [ 'description' => '资源Id', 'type' => 'string', 'required' => false, 'example' => '189', ], 'required' => true, 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签列表,最多20个。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'owner', 'maxLength' => 128, ], 'Value' => [ 'description' => '指标值', 'type' => 'string', 'required' => false, 'example' => 'syg', 'maxLength' => 256, ], ], 'required' => false, ], 'required' => true, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'CnpResult', 'description' => 'CnpResult', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'string', 'example' => '[]', ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => 'E67E2E4C-2B47-5C55-AA17-1D771E070AEF', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '资源打用户标签', ], 'ListTagResources' => [ 'summary' => '查询资源标签', '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' => '资源类型', 'type' => 'string', 'required' => true, 'example' => 'ExperimentPlan', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源Id', 'type' => 'array', 'items' => [ 'description' => '资源Id', 'type' => 'string', 'required' => false, 'example' => '189', ], 'required' => false, 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要查询的标签列表。N的取值范围1~20。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键,n 的取值范围为 [1, 20]。', 'type' => 'string', 'required' => false, 'example' => 'owner', ], 'Value' => [ 'description' => '指标值', 'type' => 'string', 'required' => false, 'example' => 'syg', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'title' => '下一个查询开始Token', 'description' => '下一个查询开始Token', 'type' => 'string', 'required' => false, 'example' => 'F0lqbr2JpLDppro1RahGKViWtqXr3L28cePimcRn', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'CnpListTagResponse', 'description' => 'CnpListTagResponse', 'type' => 'object', 'properties' => [ 'NextToken' => [ 'title' => '下一个查询开始Token,NextToken为空说明没有下一个', 'description' => '下一个查询开始Token,NextToken为空说明没有下一个', 'type' => 'string', 'example' => 'uPZbmbpgxp2/6vNWNPoase3Eqy+gL9pdDBH7KGZXMuZ9GxmBbMJcTP/dlrNqRaWF', ], 'TagResources' => [ 'title' => '资源列表列表', 'description' => '资源列表', 'type' => 'array', 'items' => [ 'description' => '数组长度最大为20。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'title' => '标签键', 'description' => '标签键', 'type' => 'string', 'example' => 'owner', ], 'TagValue' => [ 'title' => '标签值', 'description' => '标签值', 'type' => 'string', 'example' => 'syg', ], 'ResourceId' => [ 'title' => '资源ID', 'description' => '资源ID', 'type' => 'string', 'example' => '189', ], 'ResourceType' => [ 'title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ExperimentPlan', ], ], ], ], 'RequestId' => [ 'title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB', ], 'AccessDeniedDetail' => [ 'title' => '无权限信息', 'description' => '无权限信息', 'type' => 'string', 'example' => '{}', ], 'TotalCount' => [ 'title' => '查询总数', 'description' => '查询总数', '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' => '查询资源标签', ], ], 'endpoints' => [ [ 'regionId' => 'cn-wulanchabu', 'endpoint' => 'eflo-cnp.cn-wulanchabu.aliyuncs.com', ], [ 'regionId' => 'cn-heyuan', 'endpoint' => 'eflo-cnp.cn-heyuan.aliyuncs.com', ], ], ];