From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/eflo-controller/2022-12-15/api-docs.php | 16042 ++++++++----------- data/en_us/eflo-controller/2026-06-12/api-docs.php | 130 + 2 files changed, 6906 insertions(+), 9266 deletions(-) create mode 100644 data/en_us/eflo-controller/2026-06-12/api-docs.php (limited to 'data/en_us/eflo-controller') diff --git a/data/en_us/eflo-controller/2022-12-15/api-docs.php b/data/en_us/eflo-controller/2022-12-15/api-docs.php index 45ca666..2be4122 100644 --- a/data/en_us/eflo-controller/2022-12-15/api-docs.php +++ b/data/en_us/eflo-controller/2022-12-15/api-docs.php @@ -1,468 +1,669 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'eflo-controller', - 'version' => '2022-12-15', - ], + 'info' => ['style' => 'RPC', 'product' => 'eflo-controller', 'version' => '2022-12-15'], 'directories' => [ [ - 'id' => 268833, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'CreateCluster', - 'DeleteCluster', - 'DescribeCluster', - 'ExtendCluster', - 'ListClusters', - 'ListClusterNodes', - 'ShrinkCluster', - ], - ], - [ - 'id' => 268841, - 'title' => null, + 'children' => ['CreateCluster', 'DeleteCluster', 'DescribeCluster', 'ExtendCluster', 'ListClusters', 'ListClusterNodes', 'ShrinkCluster'], 'type' => 'directory', - 'children' => [ - 'CreateNodeGroup', - 'UpdateNodeGroup', - 'DeleteNodeGroup', - 'ListNodeGroups', - ], + 'title' => 'Lingjun cluster', ], [ - 'id' => 268846, - 'title' => null, + 'children' => ['CreateNodeGroup', 'UpdateNodeGroup', 'DeleteNodeGroup', 'ListNodeGroups'], 'type' => 'directory', - 'children' => [ - 'DeleteNode', - 'DescribeNode', - 'ListFreeNodes', - 'RebootNodes', - 'ReimageNodes', - ], + 'title' => 'Lingjun node group', ], [ - 'id' => 268852, - 'title' => null, + 'children' => ['DeleteNode', 'DescribeNode', 'ListFreeNodes', 'RebootNodes', 'ReimageNodes'], 'type' => 'directory', - 'children' => [ - 'CreateVsc', - 'DescribeVsc', - 'DeleteVsc', - 'ListVscs', - ], + 'title' => 'Lingjun node', ], [ - 'id' => 268857, - 'title' => null, + 'children' => ['CreateVsc', 'DescribeVsc', 'DeleteVsc', 'ListVscs'], 'type' => 'directory', - 'children' => [ - 'UntagResources', - 'TagResources', - 'ListTagResources', - 'DescribeZones', - 'DescribeTask', - 'DescribeRegions', - 'ChangeResourceGroup', - 'ApproveOperation', - 'StopInvocation', - 'RunCommand', - 'DescribeInvocations', - 'DescribeSendFileResults', - 'SendFile', - 'ListMachineTypes', - 'CreateDiagnosticTask', - 'StopNodes', - 'ListImages', - 'DescribeDiagnosticResult', - 'CloseSession', - 'CreateSession', - 'CreateNetTestTask', - 'ListUserClusterTypes', - 'ListNetTestResults', - 'ListDiagnosticResults', - 'DescribeNetTestResult', - 'ListMachineNetworkInfo', - ], + 'title' => 'Lingjun VSC', ], [ - 'id' => 268884, - 'title' => null, - 'type' => 'directory', 'children' => [ - 'DescribeNodeType', + 'DescribeNodeType', 'UntagResources', 'TagResources', 'ListTagResources', 'DescribeZones', 'DescribeTask', 'DescribeRegions', 'ChangeResourceGroup', 'ApproveOperation', 'StopInvocation', 'RunCommand', 'DescribeInvocations', 'DescribeSendFileResults', 'SendFile', 'ListMachineTypes', 'CreateDiagnosticTask', 'StopNodes', 'ListImages', 'DescribeDiagnosticResult', 'CloseSession', + 'CreateSession', 'CreateNetTestTask', 'ListUserClusterTypes', 'ListNetTestResults', 'ListDiagnosticResults', 'DescribeNetTestResult', 'ListMachineNetworkInfo', 'ChangeNodeGroup', 'ChangeNodeTypes', 'DeleteHyperNode', 'DescribeHyperNode', 'DescribeNodeGroup', 'GetHyperNode', 'ListClusterHyperNodes', 'ListFreeHyperNodes', 'ListHyperNodes', 'ListSyslogs', 'ReportNodesStatus', ], - ], - [ - 'id' => 0, - 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'ListSyslogs', - 'ReportNodesStatus', - 'DescribeNodeGroup', - 'ChangeNodeGroup', - 'ListClusterHyperNodes', - 'ListHyperNodes', - 'ListFreeHyperNodes', - 'DescribeHyperNode', - 'ChangeNodeTypes', - 'DeleteHyperNode', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateCluster' => [ - 'summary' => 'Create a large-scale computing cluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ApproveOperation' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '196045', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterName', + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08', 'title' => ''], + ], + [ + 'name' => 'OperationType', 'in' => 'formData', 'schema' => [ - 'title' => '集群名称', - 'description' => 'Cluster name', + 'description' => 'The O\\&M operation type'."\n" + ."\n" + .'Valid value:'."\n" + ."\n" + .'* RepairMachine'."\n", 'type' => 'string', 'required' => false, - 'example' => 'Standard_Cluster', + 'enumValueTitles' => ['RepairMachine' => 'RepairMachine'], + 'example' => 'RepairMachine', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E'], + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Resource not found', 'title' => ''], + ], + 'description' => '', + 'title' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', + 'title' => 'ApproveOperation', + 'summary' => 'Approves an O\\\\\\&M operation.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveOperation'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ApproveOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], ], ], + ], + ], + 'ChangeNodeGroup' => [ + 'summary' => 'Changes the node group of a node.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ClusterType', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterRN0MBH'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '这些接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证。因此需要在接口上设置”不支持自动化测试“来做加白操作', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Nodes', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '集群类型', - 'description' => 'Cluster type', - 'type' => 'string', + 'description' => 'The node information.', + 'type' => 'array', + 'items' => ['description' => 'A list of nodes.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]'], 'required' => false, - 'example' => 'Lite', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClusterDescription', + 'name' => 'IgnoreFailedNodeTasks', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to skip failed nodes. The default value is False.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'False'."\n"], + ], + [ + 'name' => 'TargetNodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the target node group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i234242342342'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'i159136551662516768776'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ChangeNodeGroup', + 'description' => 'Creates a session, returns a frontend endpoint, and starts an auto-triggered task to track the session status.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ChangeNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', + ], + 'ChangeNodeTypes' => [ + 'summary' => 'Upgrades or downgrades the specifications of one or more nodes. Before you change the specifications, ensure that the node resources meet the requirements of the target specifications. If a node does not meet the new specification requirements, the task reports success, but the specifications are not changed. Therefore, do not rely on the task status. To confirm a successful change, query the node after the task is complete and check the returned specifications.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '162088', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeType', 'in' => 'formData', 'schema' => [ - 'title' => '集群描述', - 'description' => 'Cluster description', + 'description' => 'The node specifications.', + 'enumValueTitles' => ['zeroLeni-ebs' => 'zeroLeni-ebs', 'ebs-enhanced' => 'ebs-enhanced', 'cpfs-enhanced' => 'cpfs-enhanced', 'zeroLeni-cpfs' => 'zeroLeni-cpfs'], 'type' => 'string', + 'example' => 'cpfs-enhanced', + 'title' => '', 'required' => false, - 'example' => 'Cluster description', ], ], [ - 'name' => 'NodeGroups', + 'name' => 'NodeIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '节点组列表'."\n", - 'description' => 'Node group list'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'Node group information', - 'type' => 'object', - 'properties' => [ - 'SystemDisk' => [ - 'description' => 'System disk information', + 'items' => ['description' => 'The node ID.', 'type' => 'string', 'example' => '[\'2423423423423\']', 'title' => '', 'required' => false], + 'title' => '', + 'description' => 'A list of node IDs. You can specify a maximum of 10 nodes in a single request.', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', 'title' => ''], + 'TaskId' => ['description' => 'The task ID. A task ID is returned only if all nodes pass the precheck. If an exception occurs, this parameter is empty.', 'type' => 'string', 'example' => 'i158475611663639202234', 'title' => ''], + 'NodeResponse' => [ + 'type' => 'array', + 'items' => [ 'type' => 'object', 'properties' => [ - 'Category' => [ - 'description' => 'Disk type. The value range is:'."\n" - ."\n" - .'- cloud_essd: ESSD disk.', - 'type' => 'string', - 'required' => false, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'description' => 'Unit: GB.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9999', - ], - 'PerformanceLevel' => [ - 'description' => 'When creating an ESSD disk as the system disk, set the performance level of the disk. The value range is:'."\n" - .'- PL0: Maximum random read/write IOPS for a single disk is 10,000.'."\n" - .'- PL1: Maximum random read/write IOPS for a single disk is 50,000.', + 'Code' => [ + 'description' => 'The response code for the node.', + 'enumValueTitles' => ['STATE_INVALID' => 'The node is in an invalid state.', 'NOT_SUPPORT' => 'The node does not support changing to the target specifications.', 'RESOURCE_INSUFFICIENT' => 'The node resources do not meet the requirements of the target specifications.', 'PASSED' => 'The precheck is passed.'], 'type' => 'string', - 'required' => false, - 'example' => 'PL1', - ], - ], - 'required' => false, - ], - 'NodeGroupDescription' => [ - 'title' => '节点组描述', - 'description' => 'Node group description', - 'type' => 'string', - 'required' => false, - 'example' => 'Node group description', - ], - 'KeyPairName' => [ - 'description' => 'Key pair name.', - 'type' => 'string', - 'required' => false, - 'example' => 'test-keypair', - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件系统挂载', - 'description' => 'Whether to support file system mounting', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称', - 'description' => 'Node group name', - 'type' => 'string', - 'required' => false, - 'example' => 'emr-default', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => 'Zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], - 'UserData' => [ - 'title' => '用户自定义脚本,命令', - 'description' => 'Instance custom data. It needs to be encoded in Base64, and the original data should not exceed 16 KB.', - 'type' => 'string', - 'required' => false, - 'example' => 'ZWNobyBoZWxsbyBlY3Mh', - ], - 'VirtualGpuEnabled' => [ - 'title' => '是否支持GPU虚拟化切分', - 'description' => 'Whether to enable gpu virtualization or not', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => 'Machine type', - 'type' => 'string', - 'required' => false, - 'example' => 'efg1.nvga1', - ], - 'ImageId' => [ - 'title' => '系统镜像id', - 'description' => 'System image ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i190297201634099844192', - ], - 'Nodes' => [ - 'title' => '节点列表', - 'description' => 'Node list', - 'type' => 'array', - 'items' => [ - 'description' => 'Node list', - 'type' => 'object', - 'properties' => [ - 'DataDisk' => [ - 'description' => 'Data disk specifications.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeleteWithNode' => [ - 'description' => 'Whether the data disk is deleted with the node when it is unsubscribed', - 'type' => 'boolean', - 'required' => false, - 'default' => 'True', - 'example' => 'true', - ], - 'Category' => [ - 'description' => 'Type', - 'type' => 'string', - 'required' => false, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'description' => 'Disk size', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - 'PerformanceLevel' => [ - 'description' => 'Data disk performance level', - 'type' => 'string', - 'required' => false, - 'example' => 'PL0', - ], - 'BurstingEnabled' => [ - 'type' => 'boolean', - ], - 'ProvisionedIops' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'VpcId' => [ - 'title' => 'dpu使用的虚拟网络id', - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-0jlasms92fdxqd3wlf8ny', - ], - 'VSwitchId' => [ - 'title' => 'dpu使用的交换机id'."\n", - 'description' => 'VSwitch ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp169pi5fj151rrms4sia', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'Node ID', - 'type' => 'string', - 'required' => false, - 'example' => 'e01poc-cn-i7m2wnivf0d', - ], - 'Hostname' => [ - 'title' => '主机名'."\n", - 'description' => 'Hostname'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '8d13b784-17a9-11ed-bc7b-acde48001122', - ], - 'LoginPassword' => [ - 'title' => '登录密码', - 'description' => 'Login password', - 'type' => 'string', - 'required' => false, - 'example' => '***', - ], + 'example' => 'PASSED', + 'title' => '', ], - 'required' => false, + 'Message' => ['description' => 'The response message for the node.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node included in the response.', 'type' => 'string', 'example' => 'e01-in-067da4ca9c2', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'description' => 'The response for a single node.', + 'example' => '', ], - 'HyperNodes' => [ - 'title' => '节点列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DataDisk' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeleteWithNode' => [ - 'type' => 'boolean', - 'default' => 'True', - ], - 'Category' => [ - 'type' => 'string', - ], - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'type' => 'string', - ], - 'BurstingEnabled' => [ - 'type' => 'boolean', - ], - 'ProvisionedIops' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'title' => '', + 'description' => 'The responses for the nodes.', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ChangeNodeTypes', + 'requestParamsDescription' => 'All nodes for which you want to change specifications must be in the \\`Using\\` state and belong to the same node group. An asynchronous task ID is returned only if all nodes pass the precheck. If any node fails this check, no asynchronous task is generated. You can submit a maximum of 10 nodes in a single request.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ChangeNodeTypes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"TaskId\\": \\"i158475611663639202234\\",\\n \\"NodeResponse\\": [\\n {\\n \\"Code\\": \\"PASSED\\",\\n \\"Message\\": \\"success\\",\\n \\"NodeId\\": \\"e01-in-067da4ca9c2\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ChangeResourceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterTOL3OM'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['title' => '$.parameters[3].schema.example', 'description' => 'The type of the resource.', 'type' => 'string', 'required' => false, 'default' => 'Cluster', 'example' => 'Node'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '$.parameters[1].schema.description', 'description' => 'The ID of the resource.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i118099391667548921125'], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'query', + 'schema' => ['title' => '$.parameters[1].schema.enumValueTitles', 'description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['title' => 'Private', 'description' => 'The ID of the destination resource group.', 'type' => 'string', 'required' => true, 'example' => 'rg-aekzyqdwnfabx6q'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E'], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''], + ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''], + ], + ], + 'title' => 'ChangeResourceGroup', + 'summary' => 'Changes the resource group of a resource.', + 'changeSet' => [ + ['createdAt' => '2025-03-12T07:11:18.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\"\\n}","type":"json"}]', + ], + 'CloseSession' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220506', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'SessionToken', + 'in' => 'formData', + 'schema' => ['description' => 'Session token.', 'type' => 'string', 'required' => false, 'example' => '03f53c719015a9ad4f4f55d66cac2dac161b18e8065ca75a3220b89de389c980', 'title' => ''], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i207023871669364793713', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '07AA3A1F-321E-50D8-B834-88C411331C94', 'title' => ''], + 'SessionId' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'i206495551737511455528', 'title' => ''], + 'State' => ['description' => 'status of session', 'type' => 'string', 'example' => 'Inactive', 'title' => ''], + ], + 'description' => '', + 'title' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"07AA3A1F-321E-50D8-B834-88C411331C94\\",\\n \\"SessionId\\": \\"i206495551737511455528\\",\\n \\"State\\": \\"Inactive\\"\\n}","type":"json"}]', + 'title' => 'Disconnect Link', + 'description' => 'An interface for creating a session, returning the front-end EndPoint, and initiating a periodic task to track the session status', + 'summary' => 'Disconnect Connection', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloseSession'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:CloseSession', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + ], + ], + 'CreateCluster' => [ + 'summary' => 'Creates a Lingjun AI Computing Service cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'required' => false, 'example' => 'Standard_Cluster'], + ], + [ + 'name' => 'ClusterType', + 'in' => 'formData', + 'schema' => [ + 'title' => '', + 'description' => 'The cluster type.', + 'enumValueTitles' => ['Lite' => 'Lite'], + 'type' => 'string', + 'required' => false, + 'example' => 'Lite', + ], + ], + [ + 'name' => 'ClusterDescription', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The cluster description.', 'type' => 'string', 'required' => false, 'example' => '标准集群测试'], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The list of node groups.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node group information.', + 'type' => 'object', + 'properties' => [ + 'SystemDisk' => [ + 'description' => 'The system cloud disk information.', + 'type' => 'object', + 'properties' => [ + 'Category' => ['description' => 'The cloud disk type. Valid values:'."\n" + ."\n" + .' - cloud_essd: Enterprise SSD (ESSD).', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size. Unit: GB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9999', 'title' => ''], + 'PerformanceLevel' => ['description' => 'Settings for the performance level (PL) when an ESSD is created as the system cloud disk. Valid values:'."\n" + .'- PL0: a maximum of 10,000 random read/write IOPS per cloud disk.'."\n" + .'- PL1: a maximum of 50,000 random read/write IOPS per cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'NodeGroupDescription' => ['title' => '', 'description' => 'The node group description.', 'type' => 'string', 'required' => false, 'example' => '默认节点组'], + 'KeyPairName' => ['description' => 'The key pair name.', 'type' => 'string', 'required' => false, 'example' => 'test-keypair', 'title' => ''], + 'RamRoleName' => ['title' => '', 'description' => 'The RAM role name of the node. You can call the RAM API ListRoles to query the node RAM roles that you have created. The trusted entity of the specified role must be set to Lingjun AI Computing Service.'."\n" + .'Note: Clearing an existing role is not supported.', 'type' => 'string', 'maxLength' => 128, 'required' => false, 'example' => 'xianwen-test-ram-role'], + 'FileSystemMountEnabled' => ['title' => '', 'description' => 'Specifies whether file system mounting is supported.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'NodeGroupName' => ['title' => '', 'description' => 'The node group name.', 'type' => 'string', 'required' => false, 'example' => 'emr-default'], + 'ZoneId' => ['title' => '', 'description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i'], + 'UserData' => ['title' => '', 'description' => 'The custom executable shell script. The script must be Base64-encoded. The maximum size of the raw data is 16 KB.', 'type' => 'string', 'required' => false, 'example' => 'ZWNobyBoZWxsbyBlY3Mh'], + 'VirtualGpuEnabled' => ['title' => '', 'description' => 'Specifies whether to enable GPU splitting.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'MachineType' => ['title' => '', 'description' => 'The machine type.', 'type' => 'string', 'required' => false, 'example' => 'efg1.nvga1'], + 'ImageId' => ['title' => '', 'description' => 'The system image ID.', 'type' => 'string', 'required' => false, 'example' => 'i190297201634099844192'], + 'Nodes' => [ + 'title' => '', + 'description' => 'The list of nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of nodes.', + 'type' => 'object', + 'properties' => [ + 'DataDisk' => [ + 'description' => 'The data cloud disk specifications.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data cloud disk specification details.', + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => ['description' => 'Specifies whether the data cloud disk is deleted when the node is unsubscribed.', 'type' => 'boolean', 'default' => 'True', 'required' => false, 'example' => 'true', 'title' => ''], + 'Category' => ['description' => 'The cloud disk type.', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance parameter of the data cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'PL0', 'title' => ''], + 'BurstingEnabled' => ['description' => 'Specifies whether to enable I/O performance burst.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'ProvisionedIops' => ['description' => 'The provisioned performance (IOPS). Valid values: 0 to 50000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'VpcId' => [ - 'title' => 'dpu使用的虚拟网络id', - 'type' => 'string', - ], - 'VSwitchId' => [ - 'title' => 'dpu使用的交换机id'."\n", - 'type' => 'string', - ], - 'HyperNodeId' => [ - 'title' => '节点id', - 'type' => 'string', - ], - 'Hostname' => [ - 'title' => '主机名'."\n", - 'type' => 'string', - ], - 'LoginPassword' => [ - 'title' => '登录密码', - 'type' => 'string', - ], + 'VpcId' => ['title' => '', 'description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jlasms92fdxqd3wlf8ny'], + 'VSwitchId' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp169pi5fj151rrms4sia'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01poc-cn-i7m2wnivf0d'], + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => '8d13b784-17a9-11ed-bc7b-acde48001122'], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => '***'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], - 'LoginPassword' => [ - 'title' => '节点组内的机器登录密码', - 'description' => 'Login password', - 'type' => 'string', + 'HyperNodes' => [ + 'title' => '', + 'description' => 'The list of hyper nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The hyper node information.', + 'type' => 'object', + 'properties' => [ + 'DataDisk' => [ + 'description' => 'The list of data cloud disks.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data cloud disk information.', + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => ['description' => 'Specifies whether the data cloud disk is deleted when the node is unsubscribed.', 'type' => 'boolean', 'default' => 'True', 'required' => false, 'example' => 'true', 'title' => ''], + 'Category' => ['description' => 'The cloud disk type. Valid values:'."\n" + ."\n" + .' - cloud_essd: Enterprise SSD (ESSD).', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '180', 'title' => ''], + 'PerformanceLevel' => ['description' => 'Settings for the performance level (PL) when an ESSD is created as the data cloud disk. Valid values:'."\n" + .'- PL0: a maximum of 10,000 random read/write IOPS per cloud disk.'."\n" + .'- PL1: a maximum of 50,000 random read/write IOPS per cloud disk.'."\n" + .'- PL2: a maximum of 100,000 random read/write IOPS per cloud disk.'."\n" + .'- PL3: a maximum of 1,000,000 random read/write IOPS per cloud disk.'."\n" + ."\n" + .'Default value: PL1.', 'type' => 'string', 'required' => false, 'example' => 'PL0', 'title' => ''], + 'BurstingEnabled' => ['description' => 'Specifies whether to enable I/O performance burst.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'ProvisionedIops' => ['description' => 'The provisioned performance of read/write IOPS for the ESSD AutoPL cloud disk (per disk).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VpcId' => ['title' => '', 'description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf689skpx56nk7yfw0jhy'], + 'VSwitchId' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1xn9iq3s3p8218c4qu4'], + 'HyperNodeId' => ['title' => '', 'description' => 'The hyper node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01-dw72u2c23jk'], + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => 'q25b01265.cloud.ng152'], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => 'aaadddddfdsfdsfsdffd'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'Password', + 'example' => '', ], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => '密码'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], ], [ 'name' => 'IgnoreFailedNodeTasks', 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Whether to allow skipping failed nodes, the default value is False', - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to skip failed nodes. Default value: False.', 'type' => 'boolean', 'required' => false, 'example' => 'False'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', 'schema' => [ - 'title' => '资源组id', - 'description' => 'Resource group ID', + 'title' => '', + 'description' => 'The resource group ID.', + 'enumValueTitles' => ['rg-acfm26zesdlqa2q' => 'rg-acfm26zesdlqa2q'], 'type' => 'string', 'required' => false, 'example' => 'rg-aek2xdkc6icwfha', @@ -473,275 +674,184 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '网络信息', - 'description' => 'Network information', + 'title' => '', + 'description' => 'The network information.', 'type' => 'object', 'properties' => [ 'NewVpdInfo' => [ - 'description' => 'Vpd configuration information', + 'description' => 'The VPD configuration information.', 'type' => 'object', 'properties' => [ - 'CenId' => [ - 'title' => '云企业网id', - 'description' => 'Cloud Enterprise Network ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-1gb1eftc5qp2ao75fo', - ], - 'CloudLinkCidr' => [ - 'title' => '云链cidr', - 'description' => 'Cloud link CIDR', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.0/24', - ], - 'CloudLinkId' => [ - 'title' => '云链id', - 'description' => 'Cloud link ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vcc-cn-c4dtycm5i08', - ], - 'MonitorVpcId' => [ - 'title' => '专有网络', - 'description' => 'Virtual Private Cloud (VPC)', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-0jl2x45apm6odc2c10h25', - ], - 'MonitorVswitchId' => [ - 'title' => '专有网络交换机', - 'description' => 'VPC switch', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-0jl2w3ffbghkss0x2foff', - ], - 'VpdCidr' => [ - 'title' => '集群网段', - 'description' => 'Cluster network segment', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.0/16', - ], + 'CenId' => ['title' => '', 'description' => 'The Cloud Enterprise Network (CEN) instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cen-1gb1eftc5qp2ao75fo'], + 'CloudLinkCidr' => ['title' => '', 'description' => 'The cloud link CIDR block.', 'type' => 'string', 'required' => false, 'example' => '172.16.0.0/24'], + 'CloudLinkId' => ['title' => '', 'description' => 'The cloud link ID.', 'type' => 'string', 'required' => false, 'example' => 'vcc-cn-c4dtycm5i08'], + 'MonitorVpcId' => ['title' => '', 'description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jl2x45apm6odc2c10h25'], + 'MonitorVswitchId' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-0jl2w3ffbghkss0x2foff'], + 'VpdCidr' => ['title' => '', 'description' => 'The cluster CIDR block.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.0/16'], 'VpdSubnets' => [ - 'title' => 'vpd子网信息', - 'description' => 'Cluster subnets', + 'title' => '', + 'description' => 'The cluster subnets.', 'type' => 'array', 'items' => [ + 'description' => 'The cluster subnets.', 'type' => 'object', 'properties' => [ - 'SubnetCidr' => [ - 'title' => '子网cidr', - 'description' => 'Subnet CIDR', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.1.8/24', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => 'Zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-wulanchabu-b', - ], - 'SubnetType' => [ - 'title' => '子网类型', - 'description' => 'Subnet type', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.2.8/24', - ], + 'SubnetCidr' => ['title' => '', 'description' => 'The subnet CIDR block.', 'type' => 'string', 'required' => false, 'example' => '10.0.1.8/24'], + 'ZoneId' => ['title' => '', 'description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu-b'], + 'SubnetType' => ['title' => '', 'description' => 'The subnet type.', 'type' => 'string', 'required' => false, 'example' => '10.0.2.8/24'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'VpdInfo' => [ - 'description' => 'Reuse VPD information', + 'description' => 'The information about the reused VPD.', 'type' => 'object', 'properties' => [ - 'VpdId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vpd-vfuz6ejv', - ], + 'VpdId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpd-vfuz6ejv', 'title' => ''], 'VpdSubnets' => [ - 'description' => 'List of cluster subnet IDs', + 'description' => 'The list of cluster subnet IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'Cluster subnet ID', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-jcloe1', - ], + 'items' => ['description' => 'The cluster subnet ID.', 'type' => 'string', 'required' => false, 'example' => 'subnet-jcloe1', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'IpAllocationPolicy' => [ - 'description' => 'IP allocation policy', + 'description' => 'The IP allocation policy.', 'type' => 'array', 'items' => [ + 'description' => 'The IP allocation policy.', 'type' => 'object', 'properties' => [ 'MachineTypePolicy' => [ - 'description' => 'Machine type allocation policy', + 'description' => 'The machine type allocation policy.', 'type' => 'array', 'items' => [ + 'description' => 'The machine type allocation policy.', 'type' => 'object', 'properties' => [ 'Bonds' => [ - 'description' => 'Bond information', + 'description' => 'The bond information.', 'type' => 'array', 'items' => [ + 'description' => 'The bond information.', 'type' => 'object', 'properties' => [ - 'Subnet' => [ - 'description' => 'IP source subnet for the cluster', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.0/24', - ], - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'bond0', - ], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24', 'title' => ''], + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'bond0', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'MachineType' => [ - 'description' => 'Machine type', - 'type' => 'string', - 'required' => false, - 'example' => 'efg1.nvga8n', - ], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'required' => false, 'example' => 'efg1.nvga8n', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'BondPolicy' => [ - 'description' => 'Bond policy', + 'description' => 'The bond policy.', 'type' => 'object', 'properties' => [ 'Bonds' => [ - 'description' => 'Bond information', + 'description' => 'The bond information.', 'type' => 'array', 'items' => [ + 'description' => 'The bond information.', 'type' => 'object', 'properties' => [ - 'Subnet' => [ - 'description' => 'IP source subnet for the cluster', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.0/24', - ], - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'bond0', - ], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => '172.16.0.0/24', 'title' => ''], + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'bond0', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'BondDefaultSubnet' => [ - 'description' => 'Default bond subnet for the cluster', - 'type' => 'string', - 'required' => false, - 'example' => '172.168.0.0/24', - ], + 'BondDefaultSubnet' => ['description' => 'The default bond cluster subnet.', 'type' => 'string', 'required' => false, 'example' => '172.168.0.0/24', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'NodePolicy' => [ - 'description' => 'Node allocation policy', + 'description' => 'The node allocation policy.', 'type' => 'array', 'items' => [ + 'description' => 'The node allocation policy.', 'type' => 'object', 'properties' => [ 'Bonds' => [ - 'description' => 'Bond information', + 'description' => 'The bond information.', 'type' => 'array', 'items' => [ + 'description' => 'The bond information.', 'type' => 'object', 'properties' => [ - 'Subnet' => [ - 'description' => 'IP source subnet for the cluster', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.0/24', - ], - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'bond0'."\n", - ], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/24', 'title' => ''], + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'bond0'."\n", 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'NodeId' => [ - 'description' => 'Node ID', - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-2r42vq62001', - ], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-2r42vq62001', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'SecurityGroupId' => [ - 'description' => 'Security group ID', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-bp1d3dvbh9by7j5rujax', - ], - 'VSwitchZoneId' => [ - 'description' => 'VSwitch Zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai-b', - ], - 'VpcId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-0jl36lqzmc06qogy0t5ll', - ], - 'VSwitchId' => [ - 'description' => 'VSwitch ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-asjdfklj', - ], - 'TailIpVersion' => [ - 'description' => 'IP version', - 'type' => 'string', - 'required' => false, - 'example' => 'IPv4', - ], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp1d3dvbh9by7j5rujax', 'title' => ''], + 'VSwitchZoneId' => ['description' => 'The zone ID of the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-b', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jl36lqzmc06qogy0t5ll', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-asjdfklj', 'title' => ''], + 'TailIpVersion' => ['description' => 'The IP version.', 'type' => 'string', 'required' => false, 'example' => 'IPv4', 'title' => ''], ], 'required' => false, + 'example' => '', ], ], [ @@ -749,32 +859,23 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '资源标签', - 'description' => 'Resource tags', + 'title' => '', + 'description' => 'The resource tags.', 'type' => 'array', 'items' => [ - 'description' => 'Tag list', + 'description' => 'The tag list.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'title' => '值', - 'description' => 'Value', - 'type' => 'string', - 'required' => false, - 'example' => 'dev', - ], - 'Key' => [ - 'title' => '键', - 'description' => 'Key', - 'type' => 'string', - 'required' => false, - 'example' => 'env-name', - ], + 'Value' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'dev'], + 'Key' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'env-name'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 21, + 'example' => '', ], ], [ @@ -782,104 +883,95 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '组件(软件实例)', - 'description' => 'Components (software instances)', + 'title' => '', + 'description' => 'The components (software instances).', 'type' => 'array', 'items' => [ - 'title' => '组件类型', - 'description' => 'Component type', + 'title' => '', + 'description' => 'The component type.', 'type' => 'object', 'properties' => [ 'ComponentType' => [ - 'title' => '组件类型: "ACKEdge"(ACK边缘集群)'."\n" - .'"ARMS"(ARMS监控)', - 'description' => 'Component type', + 'title' => '', + 'description' => 'The component type.', + 'enumValueTitles' => ['ARMS' => 'ARMS monitoring.', 'ACKEdge' => 'ACK edge cluster.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'ARMS' => 'ARMS监控', - 'ACKEdge' => 'ACK边缘集群', - ], 'example' => 'ACKEdge', ], 'ComponentConfig' => [ - 'title' => '组件配置', - 'description' => 'Component configuration', + 'title' => '', + 'description' => 'The component configuration.', 'type' => 'object', 'properties' => [ - 'BasicArgs' => [ - 'description' => 'Basic component parameters', - 'type' => 'any', - 'required' => false, - 'example' => '{'."\n" - .' "EndpointPublicAccess": false,'."\n" - .' "ContainerCidr": "10.4.0.0/24",'."\n" - .' "KeyPair": "test",'."\n" - .' "NodeCidrMask": "25",'."\n" - .' "ResourceGroupId": "rg-axsadm3sdzsdvdsndstdisd",'."\n" - .' "WorkerSystemDiskCategory": "da",'."\n" - .' "WorkerSystemDiskSize": 40,'."\n" - .' "DeletionProtection": false,'."\n" - .' "KubeProxy": "iptables",'."\n" - .' "Name": "da",'."\n" - .' "LoadBalancerSpec": "slb.s1.small",'."\n" - .' "Runtime": {'."\n" - .' "Version": "19.03.15",'."\n" - .' "Name": "docker"'."\n" - .' },'."\n" - .' "IsEnterpriseSecurityGroup": true,'."\n" - .' "Vpcid": "192.168.23.0/24",'."\n" - .' "NumOfNodes": 1,'."\n" - .' "VswitchIds": ['."\n" - .' "dad"'."\n" - .' ],'."\n" - .' "ServiceCidr": "10.0.0.0/16",'."\n" - .' "SnatEntry": false,'."\n" - .' "kubernetesVersion": "1.20.11-aliyunedge.1",'."\n" - .' "WorkerInstanceTypes": ['."\n" - .' "da"'."\n" - .' ]'."\n" - .'}', - ], + 'BasicArgs' => ['description' => 'The basic parameters of the component.', 'type' => 'any', 'required' => false, 'example' => '{'."\n" + .' "EndpointPublicAccess": false,'."\n" + .' "ContainerCidr": "10.4.0.0/24",'."\n" + .' "KeyPair": "test",'."\n" + .' "NodeCidrMask": "25",'."\n" + .' "ResourceGroupId": "rg-axsadm3sdzsdvdsndstdisd",'."\n" + .' "WorkerSystemDiskCategory": "da",'."\n" + .' "WorkerSystemDiskSize": 40,'."\n" + .' "DeletionProtection": false,'."\n" + .' "KubeProxy": "iptables",'."\n" + .' "Name": "da",'."\n" + .' "LoadBalancerSpec": "slb.s1.small",'."\n" + .' "Runtime": {'."\n" + .' "Version": "19.03.15",'."\n" + .' "Name": "docker"'."\n" + .' },'."\n" + .' "IsEnterpriseSecurityGroup": true,'."\n" + .' "Vpcid": "192.168.23.0/24",'."\n" + .' "NumOfNodes": 1,'."\n" + .' "VswitchIds": ['."\n" + .' "dad"'."\n" + .' ],'."\n" + .' "ServiceCidr": "10.0.0.0/16",'."\n" + .' "SnatEntry": false,'."\n" + .' "kubernetesVersion": "1.20.11-aliyunedge.1",'."\n" + .' "WorkerInstanceTypes": ['."\n" + .' "da"'."\n" + .' ]'."\n" + .'}', 'title' => ''], 'NodeUnits' => [ - 'title' => '节点池配置, 并用于建立节点组和节点池的对应关系。 当'."\n" - .'ComponentType=”ACKEdge“时必填,其他为空。', - 'description' => 'Node pool configuration, used to establish the correspondence between node groups and node pools. Required when ComponentType is "ACKEdge", otherwise it can be empty.', + 'title' => '', + 'description' => 'The node pool configuration, which is used to establish the mapping between node groups and node pools. This parameter is required when ComponentType is set to ACKEdge. Leave this parameter empty for other component types.', 'type' => 'array', - 'items' => [ - 'description' => 'Node pool configuration, used to establish the correspondence between node groups and node pools. Required when ComponentType is "ACKEdge", otherwise it can be empty.', - 'type' => 'any', - 'required' => false, - 'example' => '{'."\n" - .' "Options": {},'."\n" - .' "Type": "edge",'."\n" - .' "ResourceGroupId": "rg-acfm2cdxm3zvnt4dsa1s1t65fi",'."\n" - .' "RelatedNodeGroups": ['."\n" - .' "tes"'."\n" - .' ],'."\n" - .' "NodeUnitKey": "da",'."\n" - .' "MaxNodes": 30'."\n" - .'}', - ], + 'items' => ['description' => 'The node pool configuration, which is used to establish the mapping between node groups and node pools. This parameter is required when ComponentType is set to ACKEdge. Leave this parameter empty for other component types.', 'type' => 'any', 'required' => false, 'example' => '{'."\n" + .' "Options": {},'."\n" + .' "Type": "edge",'."\n" + .' "ResourceGroupId": "rg-acfm2cdxm3zvnt4dsa1s1t65fi",'."\n" + .' "RelatedNodeGroups": ['."\n" + .' "tes"'."\n" + .' ],'."\n" + .' "NodeUnitKey": "da",'."\n" + .' "MaxNodes": 30'."\n" + .'}', 'title' => ''], 'required' => false, + 'example' => '', ], ], 'required' => false, + 'example' => '', ], ], 'required' => false, + 'example' => '', ], 'required' => false, + 'example' => '', ], ], [ 'name' => 'HpnZone', 'in' => 'formData', 'schema' => [ - 'description' => 'Cluster number', + 'description' => 'The cluster number.', + 'enumValueTitles' => ['A1' => 'A1'], 'type' => 'string', 'required' => false, 'example' => 'A1', + 'title' => '', ], ], [ @@ -887,53 +979,32 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'Node VSwitches', + 'description' => 'The node vSwitches.', 'type' => 'array', - 'items' => [ - 'description' => 'Node VSwitch ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-0jlx7dkziyhgf6klwnsi3', - ], + 'items' => ['description' => 'The node vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-0jlx7dkziyhgf6klwnsi3', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'OpenEniJumboFrame', 'in' => 'formData', - 'schema' => [ - 'description' => 'Whether the network interface supports jumbo frames', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether the network interface supports jumbo frames.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Response body parameters.', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'Request ID', - 'type' => 'string', - 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => 'Cluster ID', - 'type' => 'string', - 'example' => 'i116913051663373010974', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'Task ID', - 'type' => 'string', - 'example' => 'i159809891662373011015', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'i116913051663373010974'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i159809891662373011015'], ], + 'title' => '', + 'example' => '', ], ], ], @@ -942,74 +1013,52 @@ 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C683243-7915-57FB-9570-A2932C1C0F78\\",\\n \\"ClusterId\\": \\"i116913051663373010974\\",\\n \\"TaskId\\": \\"i159809891662373011015\\"\\n}","type":"json"}]', - 'title' => 'Create Cluster', - 'translator' => 'machine', - ], - 'DeleteCluster' => [ - 'summary' => 'Deletes a Lingjun cluster.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - ], - 'parameters' => [ - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i116913051662373010974', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0FC4A1C7-421C-5EAB-9361-4C0338EFA287', - ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => 'Create a cluster', + 'description' => 'Closes a remote session.', + 'changeSet' => [ + ['createdAt' => '2025-06-20T08:19:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-30T08:28:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T01:59:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-10T01:43:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-08T01:46:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-29T02:30:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-10T13:58:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-26T15:31:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-21T08:35:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-20T02:08:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-15T14:48:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-21T08:15:41.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateCluster', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'eflo:ImageSource', 'validationType' => 'always'], + ['conditionKey' => 'eflo:ImageOwnerId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FC4A1C7-421C-5EAB-9361-4C0338EFA287\\"\\n}","type":"json"}]', - 'title' => 'DeleteCluster', - 'translator' => 'machine', ], - 'DescribeCluster' => [ - 'summary' => 'Queries information about a Lingjun cluster.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDiagnosticTask' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1018,689 +1067,304 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '188554', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i118913031696573280136', 'title' => ''], + ], + [ + 'name' => 'NodeIds', + 'in' => 'formData', + 'style' => 'simple', 'schema' => [ + 'description' => 'The IDs of the nodes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\'mock-sn-200101\']', 'title' => ''], + 'required' => false, 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i119982311660892626523', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'DiagnosticType', + 'in' => 'formData', + 'schema' => ['description' => 'The diagnostics type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CheckByAiJobLogs', 'title' => ''], + ], + [ + 'name' => 'AiJobLogInfo', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ + 'description' => 'The log information.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2022-06-08T07:05:11Z', - ], - 'NodeCount' => [ - 'title' => '节点数', - 'description' => 'The number of nodes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NodeGroupCount' => [ - 'title' => '节点组数量', - 'description' => 'The number of node groups.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2022-08-23T06:36:17.000Z', - ], - 'ClusterDescription' => [ - 'title' => '集群描述', - 'description' => 'The cluster description.'."\n", - 'type' => 'string', - 'example' => 'Test cluster'."\n", - ], - 'OperatingState' => [ - 'title' => '集群状态', - 'description' => 'The cluster status.'."\n", - 'type' => 'string', - 'example' => 'running', - ], - 'Components' => [ - 'title' => '组件信息', - 'description' => 'The component information.'."\n", + 'AiJobLogs' => [ + 'description' => 'The task logs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComponentType' => [ - 'title' => '组件类型', - 'description' => 'The component type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* ARMS'."\n" - .'* ACKEdge'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'ARMS' => '', - 'ACKEdge' => '', + 'AiInstance' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + 'Logs' => [ + 'description' => 'The logs.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Datetime' => ['description' => 'The sending date in the yyyymmdd format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-08-05T10:10:01', 'title' => ''], + 'LogContent' => ['description' => 'The log content.'."\n", 'type' => 'string', 'required' => false, 'example' => 'success', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', ], - 'example' => 'ACKEdge', - ], - 'ComponentId' => [ - 'title' => '组件id', - 'description' => 'The component ID.'."\n", - 'type' => 'string', - 'example' => 'i149549021660892626529', + 'required' => false, + 'title' => '', ], + 'NodeId' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-tw-p2p2al5u1hn', 'title' => ''], ], + 'required' => false, 'description' => '', + 'title' => '', ], + 'required' => false, + 'title' => '', ], - 'ClusterId' => [ - 'title' => '集群id'."\n", - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i116913051662373010974', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'Eflo-YJ-Test-Cluster', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i152609221670466904596', - ], - 'ClusterType' => [ - 'title' => '集群类型', - 'description' => 'The cluster type.'."\n", - 'type' => 'string', - 'example' => 'AckEdgePro', - ], - 'ResourceGroupId' => [ - 'title' => '资源组id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aek2k3rqlvv6ytq', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-0jlkqysom5dmcviymep3f', - ], - 'HpnZone' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'example' => 'A2', - ], - 'ComputingIpVersion' => [ - 'description' => 'The IP type of the computing network.'."\n", - 'type' => 'string', - 'example' => 'IPv4', - ], - 'OpenEniJumboFrame' => [ - 'description' => 'The status of Jumbo Frames for the elastic network interface (ENI).'."\n", - 'type' => 'string', - 'example' => 'unsupported', - ], - 'Networks' => [ - 'title' => '网络信息', - 'description' => 'The network information.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpdId' => [ - 'title' => '集群网段id', - 'description' => 'The ID of the CIDR block for the cluster.'."\n", - 'type' => 'string', - 'example' => 'vpd-iqd7xunc', - ], - ], - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], + 'EndTime' => ['description' => 'The end time. The value is in the timestamp format. Unit: seconds.'."\n" + ."\n" + .'> This timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-08-05T10:10:01', 'title' => ''], + 'StartTime' => ['description' => 'The start time. The value is in the timestamp format. Unit: seconds.'."\n" + ."\n" + .'> This timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-10-11T00:00:00Z', 'title' => ''], ], - 'description' => '', + 'required' => false, + 'title' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A511C02A-0127-51AA-A9F9-966382C9A1B5'], + 'DiagnosticId' => ['description' => 'The ID of the diagnostics task.'."\n", 'type' => 'string', 'example' => 'diag-i150553931717380274931', 'title' => ''], + ], + 'description' => '', + 'title' => '', + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"CreateTime\\": \\"2022-06-08T07:05:11Z\\",\\n \\"NodeCount\\": 2,\\n \\"NodeGroupCount\\": 2,\\n \\"UpdateTime\\": \\"2022-08-23T06:36:17.000Z\\",\\n \\"ClusterDescription\\": \\"测试集群\\",\\n \\"OperatingState\\": \\"running\\",\\n \\"Components\\": [\\n {\\n \\"ComponentType\\": \\"ACKEdge\\",\\n \\"ComponentId\\": \\"i149549021660892626529\\"\\n }\\n ],\\n \\"ClusterId\\": \\"i116913051662373010974\\",\\n \\"ClusterName\\": \\"Eflo-YJ-Test-Cluster\\",\\n \\"TaskId\\": \\"i152609221670466904596\\",\\n \\"ClusterType\\": \\"AckEdgePro\\",\\n \\"ResourceGroupId\\": \\"rg-aek2k3rqlvv6ytq\\",\\n \\"VpcId\\": \\"vpc-0jlkqysom5dmcviymep3f\\",\\n \\"HpnZone\\": \\"A2\\",\\n \\"ComputingIpVersion\\": \\"IPv4\\",\\n \\"OpenEniJumboFrame\\": \\"unsupported\\",\\n \\"Networks\\": {\\n \\"VpdId\\": \\"vpd-iqd7xunc\\"\\n },\\n \\"VSwitchId\\": \\"vsw-0jlwrfecgcbflyosvo242\\",\\n \\"SecurityGroupId\\": \\"sg-0jlff84q4o3s58i7fkhy\\"\\n}","type":"json"}]', - 'title' => 'DescribeCluster', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A511C02A-0127-51AA-A9F9-966382C9A1B5\\",\\n \\"DiagnosticId\\": \\"diag-i150553931717380274931\\"\\n}","type":"json"}]', + 'title' => 'CreateDiagnosticTask', + 'summary' => 'Creates a diagnostics task.', 'translator' => 'machine', - ], - 'ExtendCluster' => [ - 'summary' => 'Cluster Scaling', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDiagnosticTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateDiagnosticTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'CreateNetTestTask' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '161261', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '220480', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'NetTestType', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'Cluster ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i15b480fbd2fcdbc2869cd80', - ], + 'schema' => ['description' => 'The type of network test. Valid values: DelayTest, TrafficTest, and CommTest.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'DelayTest'], ], [ - 'name' => 'NodeGroups', + 'name' => 'Port', + 'in' => 'formData', + 'schema' => ['description' => 'The test port number.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '23604'], + ], + [ + 'name' => 'TrafficTest', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '节点组', - 'description' => 'Node Groups', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Nodes' => [ - 'title' => '节点列表。当Amount参数取值为1~500时,该参数失效。', - 'description' => 'List of Nodes', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Hostname' => [ - 'title' => '主机名', - 'description' => 'Hostname', - 'type' => 'string', - 'required' => false, - 'example' => 'd044d220-33fd-11ed-86a6', - ], - 'LoginPassword' => [ - 'title' => '登录密码'."\n", - 'description' => 'Login Password'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '***', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'Node ID', - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2zdpy601', - ], - 'VpcId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-0jlasms92fdxqd3wlf8ny', - ], - 'VSwitchId' => [ - 'description' => 'VSwitch ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp169pi5fj151rrms4sia', - ], - 'DataDisk' => [ - 'description' => 'Data Disk Specifications', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeleteWithNode' => [ - 'description' => 'Whether the data disk is deleted with the node', - 'type' => 'boolean', - 'required' => false, - 'default' => 'True', - 'example' => 'true', - ], - 'Category' => [ - 'description' => 'Type', - 'type' => 'string', - 'required' => false, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'description' => 'Disk Size', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - 'PerformanceLevel' => [ - 'description' => 'Data Disk Performance Level', - 'type' => 'string', - 'required' => false, - 'example' => 'PL0', - ], - 'BurstingEnabled' => [ - 'type' => 'boolean', - ], - 'ProvisionedIops' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'HyperNodes' => [ - 'title' => '节点列表。当Amount参数取值为1~500时,该参数失效。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Hostname' => [ - 'title' => '主机名', - 'type' => 'string', - ], - 'LoginPassword' => [ - 'title' => '登录密码'."\n", - 'type' => 'string', - ], - 'HyperNodeId' => [ - 'title' => '节点id', - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchId' => [ - 'type' => 'string', - ], - 'DataDisk' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeleteWithNode' => [ - 'type' => 'boolean', - 'default' => 'True', - ], - 'Category' => [ - 'type' => 'string', - ], - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'type' => 'string', - ], - 'BurstingEnabled' => [ - 'type' => 'boolean', - ], - 'ProvisionedIops' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - ], - ], - ], - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => 'Node Group ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i16d4883a46cbadeb4bc9', - ], - 'UserData' => [ - 'title' => '用户自定义脚本,命令', - 'description' => 'Custom Data', - 'type' => 'string', - 'required' => false, - 'example' => '#!/bin/sh'."\n" - .'echo "Hello World. The time is now $(date -R)!" | tee /root/userdata_test.txt', - ], - 'ZoneId' => [ - 'description' => 'Zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], - 'Amount' => [ - 'title' => '购买节点的数量。取值范围:0~500。'."\n" - .'● 如果Amount参数取值为0,则表示不购买节点,使用已有节点进行扩容。'."\n" - .'● 如果Amount参数取值为1~500,则表示购买一定数量节点,并使用购买的节点进行扩容。'."\n" - .'默认值:0', - 'description' => 'Number of nodes to purchase. Range: 0~500. If the Amount parameter is set to 0, it means no new nodes will be purchased and existing nodes will be used for scaling. If the Amount parameter is set to 1~500, it means a certain number of nodes will be purchased and used for scaling. Default value: 0', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '4', - ], - 'ChargeType' => [ - 'title' => '节点的付费方式。当Amount参数取值为0时,该参数不生效。取值范围:'."\n" - .'● PrePaid:包年包月。'."\n" - .'● PostPaid:按量付费。'."\n" - .'默认值:PrePaid。', - 'description' => 'Payment method for the nodes. When the Amount parameter is set to 0, this parameter does not take effect. Valid values: PrePaid (Subscription); PostPaid (Pay-As-You-Go). Default value: PrePaid.', - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - ], - 'Period' => [ - 'title' => '购买节点的时长(单位:月)。取值范围:1、6、12、24、36、48。当Amount参数取值不为0且ChargeType取值为PrePaid时,该参数生效。', - 'description' => 'Duration of the node purchase (in months). Valid values: 1, 6, 12, 24, 36, 48. This parameter takes effect when the Amount parameter is not 0 and the ChargeType is set to PrePaid.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '6', - ], - 'AutoRenew' => [ - 'title' => '购买的节点是否要自动续费。当Amount参数取值不为0且ChargeType取值为PrePaid时,该参数生效。取值范围:'."\n" - .'● True:自动续费'."\n" - .'● False:不自动续费'."\n" - .'默认值:False', - 'description' => 'Whether to automatically renew the purchased nodes. This parameter takes effect when the Amount parameter is not 0 and the ChargeType is set to PrePaid. Valid values: True (auto-renewal); False (no auto-renewal). Default value: False', - 'type' => 'boolean', - 'required' => false, - 'example' => 'True', - ], - 'Hostnames' => [ - 'title' => '设置购买节点的主机名。当Amount参数取值为0时,该参数不生效。', - 'description' => 'Set the hostnames for the purchased nodes. This parameter does not take effect when the Amount parameter is set to 0.', - 'type' => 'array', - 'items' => [ - 'description' => 'Hostname.', - 'type' => 'string', - 'required' => false, - 'example' => 'i22c11282.eu95sqa', + 'description' => 'This field is empty if TrafficModel is set to Fullmesh.', + 'type' => 'object', + 'properties' => [ + 'Protocol' => ['description' => 'The network protocol. Valid values: RDMA and TCP.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'TCP'], + 'TrafficModel' => ['description' => 'The traffic model. Valid values: MTON and Fullmesh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Fullmesh'], + 'Duration' => ['description' => 'The runtime duration of the flow task, in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1'], + 'QP' => ['description' => 'If Protocol is set to TCP, specify the number of concurrent connections for the test. If Protocol is set to RDMA, specify the QP value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1'], + 'GDR' => ['description' => 'If Protocol is set to RDMA, specify True or False. This field is empty if Protocol is set to TCP.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'False'], + 'Clients' => [ + 'description' => 'The client resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'A client resource.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-cn-20s41p6cx01'], + 'Bond' => ['description' => 'The bonded port of the network interface card (NIC).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '192.168.1.1'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'xMv'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-tw-w5elqg7pw18'], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'LoginPassword' => [ - 'title' => '设置购买节点的登陆密码。当Amount参数取值为0时,该参数不生效。', - 'description' => 'Set the login password for the purchased nodes. This parameter is not effective when the Amount parameter is set to 0.', - 'type' => 'string', - 'required' => false, - 'example' => 'skkO(*89Y', - ], - 'NodeTag' => [ - 'title' => '节点的标签信息。当Amount参数取值为0时,该参数不生效。', - 'description' => 'Node tags', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '节点的标签键', - 'description' => 'Node tag key', - 'type' => 'string', - 'required' => false, - 'example' => 'key_my', - ], - 'Value' => [ - 'title' => '节点的标签值', - 'description' => 'Node tag value', - 'type' => 'string', - 'required' => false, - 'example' => 'value_my', - ], - ], - 'required' => false, + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Servers' => [ + 'description' => 'The list of servers.', + 'type' => 'array', + 'items' => [ + 'description' => 'A server in the list.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-cn-wwo3etaqu0b'], + 'Bond' => ['description' => 'The bonded NIC port.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '47.121.110.190'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'xMv'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-tw-bqisacl3z6l'], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'VpcId' => [ - 'title' => '专有网络 ID', - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-0jl3b0c0ukydlfezr13n6', - ], - 'VSwitchId' => [ - 'title' => '交换机 ID', - 'description' => 'VSwitch ID', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf65m8xqjgy55xj9jw92n', - ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'IgnoreFailedNodeTasks', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Whether to allow skipping failed node tasks, default value is False', - 'type' => 'boolean', - 'required' => false, - 'example' => 'False'."\n", - ], - ], - [ - 'name' => 'VpdSubnets', + 'name' => 'DelayTest', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'List of cluster subnets', - 'type' => 'array', - 'items' => [ - 'description' => 'VPD subnet', - 'type' => 'string', - 'required' => false, - 'example' => '["subnet-3od2fe","subnet-fdo3dv"]', + 'description' => 'Specify this parameter if NetTestType is set to DelayTest.', + 'type' => 'object', + 'properties' => [ + 'Hosts' => [ + 'description' => 'The hosts of the test nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A host of a test node.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-cn-bcd3u1aee06'], + 'Bond' => ['description' => 'The bonded NIC port.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '125.210.225.48'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'NQU'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-cn-fou43an0a05'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'IpAllocationPolicy', + 'name' => 'CommTest', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'IP allocation combination policy: Each policy can only choose one type, and multiple policies can be combined', - 'type' => 'array', - 'items' => [ - 'description' => 'IP allocation policy', - 'type' => 'object', - 'properties' => [ - 'BondPolicy' => [ - 'description' => 'Specify the cluster subnet ID based on the bond name', + 'description' => 'Specify this parameter if NetTestType is set to CommTest.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of communication library test. Valid values: ACCL and NCCL.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACCL'], + 'Model' => ['description' => 'The communication library model.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'intention_v4'], + 'GPUNum' => ['description' => 'The number of GPUs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1'], + 'Hosts' => [ + 'description' => 'The hosts.', + 'type' => 'array', + 'items' => [ + 'description' => 'A host.', 'type' => 'object', 'properties' => [ - 'BondDefaultSubnet' => [ - 'description' => 'Default bond cluster subnet', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-3od2fe', - ], - 'Bonds' => [ - 'description' => 'Bond information', - 'type' => 'array', - 'items' => [ - 'description' => 'Bond object', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'Bond0', - ], - 'Subnet' => [ - 'description' => 'IP source cluster subnet', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-3od2fe'."\n", - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'MachineTypePolicy' => [ - 'description' => 'Machine type allocation policy', - 'type' => 'array', - 'items' => [ - 'description' => 'Policy object', - 'type' => 'object', - 'properties' => [ - 'Bonds' => [ - 'description' => 'Bond information', - 'type' => 'array', - 'items' => [ - 'description' => 'Bond object', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'Bond0', - ], - 'Subnet' => [ - 'description' => 'IP source cluster subnet', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-fdo3dv', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'MachineType' => [ - 'description' => 'Machine type', - 'type' => 'string', - 'required' => false, - 'example' => 'efg1.nvga1', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'NodePolicy' => [ - 'description' => 'Node allocation policy', - 'type' => 'array', - 'items' => [ - 'description' => 'Policy object', - 'type' => 'object', - 'properties' => [ - 'Bonds' => [ - 'description' => 'Bond information', - 'type' => 'array', - 'items' => [ - 'description' => 'Bond object', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Bond name', - 'type' => 'string', - 'required' => false, - 'example' => 'Bond0', - ], - 'Subnet' => [ - 'description' => 'IP source cluster subnet', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-fdo3dv', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'NodeId' => [ - 'description' => 'Node ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i-3fdodw2', - ], - 'Hostname' => [ - 'description' => 'Hostname', - 'type' => 'string', - 'required' => false, - 'example' => 'a100-xa5dza28-0085', - ], - ], - 'required' => false, + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i111670831721110797708'], + 'IP' => ['description' => 'The IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '169.253.253.15'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'VBw'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'e01-tw-bqisacl3z6l'], ], 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'VSwitchZoneId', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'VSwitch availability zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai-b', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i119982311660892626523'], + ], + [ + 'name' => 'NetworkMode', + 'in' => 'formData', + 'schema' => ['description' => 'The network mode.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Eflo-YJ-Test-Cluster'], ], ], 'responses' => [ @@ -1708,122 +1372,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'Request ID', - 'type' => 'string', - 'example' => '03668372-18FF-5959-98D9-6B36A4643C7A', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'Task ID', - 'type' => 'string', - 'example' => 'i158475611663639202234', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE*****'], + 'TestId' => ['description' => 'The ID of the network test task. This ID is the unique identifier for the task.', 'type' => 'string', 'title' => '', 'example' => 'dr-uf6i0tv2refv8wz*****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"03668372-18FF-5959-98D9-6B36A4643C7A\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', - 'title' => 'Scale Out Cluster', - 'translator' => 'machine', - ], - 'ListClusters' => [ - 'summary' => 'Queries a list of clusters.', - 'methods' => [ - 'post', + 'title' => 'CreateNetTestTask', + 'summary' => 'Creates a network test task.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetTestTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateNetTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE*****\\",\\n \\"TestId\\": \\"dr-uf6i0tv2refv8wz*****\\"\\n}","type":"json"}]', + ], + 'CreateNodeGroup' => [ + 'summary' => 'Creates a node group in a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161259', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'NodeGroup', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", - 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', + 'description' => 'The node ID.', + 'type' => 'object', + 'properties' => [ + 'Az' => ['description' => 'The zone.', 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu-b', 'title' => ''], + 'NodeGroupDescription' => ['description' => 'The node group description.', 'type' => 'string', 'required' => false, 'example' => '节点分组描述', 'title' => ''], + 'NodeGroupName' => ['description' => 'The node group name.', 'type' => 'string', 'required' => true, 'example' => 'PAI-LINGJUN', 'title' => ''], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'required' => true, 'example' => 'mock-machine-type3', 'title' => ''], + 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'required' => true, 'example' => 'i191887641687336652616', 'title' => ''], + 'UserData' => ['title' => '', 'description' => 'A custom executable shell script that must be Base64-encoded. The maximum size of the raw data is 16 KB.', 'type' => 'string', 'required' => false, 'example' => 'ZWNobyBoZWxsbyBlY3Mh'], + 'SystemDisk' => [ + 'description' => 'The system disk configuration of the node.', + 'type' => 'object', + 'properties' => [ + 'Size' => ['description' => 'The disk size. Unit: GB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance level (PL) of the ESSD cloud disk used as the system disk. Valid values:'."\n" + .'- PL0: a maximum of 10,000 random read/write IOPS per cloud disk.'."\n" + .'- PL1: a maximum of 50,000 random read/write IOPS per cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''], + 'Category' => ['description' => 'The cloud disk type. Valid values:'."\n" + ."\n" + .' - cloud_essd: Enterprise SSD (ESSD) cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'clou_essd', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'FileSystemMountEnabled' => ['title' => '', 'description' => 'Specifies whether file storage mounting is supported.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'VirtualGpuEnabled' => ['title' => '', 'description' => 'Specifies whether GPU virtualization splitting is enabled.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'KeyPairName' => ['description' => 'The key pair name.', 'type' => 'string', 'required' => false, 'example' => 'test-keypair', 'title' => ''], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => 'test-LoginPassword'], + 'RamRoleName' => ['title' => '', 'description' => 'The RAM role name of the node. You can call the RAM API ListRoles to query the RAM roles you have created. The trusted entity of the role must be set to Lingjun AI Computing Service.'."\n" + .'> Note: Clearing an existing role is not currently supported.', 'type' => 'string', 'maxLength' => 128, 'required' => false, 'example' => 'xianwen-test-ram-role'], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MaxResults', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => 'The number of entries per page. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'i118191731740041623425', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NodeUnit', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '资源组id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2bg6wyoox6jq', - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key_aa', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value_aa', - 'maxLength' => 129, - ], - ], - 'required' => false, - ], + 'description' => 'The node information.', + 'type' => 'object', 'required' => false, - 'maxItems' => 21, + 'additionalProperties' => ['description' => 'The node information.', 'type' => 'any', 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', 'title' => ''], + 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', + 'title' => '', ], ], ], @@ -1832,180 +1488,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1', - ], - 'Clusters' => [ - 'title' => '集群信息', - 'description' => 'The clusters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The cluster.'."\n", - 'type' => 'object', - 'properties' => [ - 'Components' => [ - 'title' => '组件信息'."\n", - 'description' => 'The component information.'."\n", - 'type' => 'any', - 'example' => '{}', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i137590131672134915401', - ], - 'ClusterName' => [ - 'title' => '集群name', - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'cnp_test_cluster', - ], - 'OperatingState' => [ - 'title' => '集群状态', - 'description' => 'The cluster status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* running'."\n" - .'* expanding'."\n" - .'* shrinking'."\n" - .'* initializing'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'running' => '', - 'expanding' => '', - 'shrinking' => '', - 'initializing' => '', - ], - 'example' => 'initializing', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i156365121663149566024', - ], - 'ClusterType' => [ - 'title' => '集群类型', - 'description' => 'The cluster type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* AckEdgePro'."\n" - .'* ExclusiveBareCluster'."\n" - .'* Lite'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'AckEdgePro' => '', - 'ExclusiveBareCluster' => '', - 'Lite' => '', - ], - 'example' => 'AckEdgePro', - ], - 'NodeCount' => [ - 'title' => '节点数量', - 'description' => 'The number of nodes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'NodeGroupCount' => [ - 'title' => '节点组数量', - 'description' => 'The number of node groups.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '1672134938', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '1672134968', - ], - 'ClusterDescription' => [ - 'title' => '集群描述', - 'description' => 'The cluster description.'."\n", - 'type' => 'string', - 'example' => 'PPU-cluster2 bz', - ], - 'ResourceGroupId' => [ - 'title' => '资源组id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aek2ajbjoloa23q', - ], - 'VpcId' => [ - 'description' => 'The virtual private cloud (VPC) ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-0jlx4hol2bjboafzmffvd', - ], - 'HpnZone' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'example' => 'B1', - ], - 'ComputingIpVersion' => [ - 'description' => 'The IP type of the computing network.'."\n", - 'type' => 'string', - 'example' => 'IPv4', - ], - 'Tags' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'aa_key', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'aa_value', - ], - ], - ], - ], - ], - ], - ], - 'NextToken' => [ - 'title' => '本次调用返回的查询凭证值。'."\n", - 'description' => 'The returned pagination token which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'f4f9a292c17072a2', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], + 'NodeGroupId' => ['description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-ec3c96ff0aa4c60d', 'title' => ''], + 'NodeGroupName' => ['description' => 'The node group name.', 'type' => 'string', 'example' => 'emr-default', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"Clusters\\": [\\n {\\n \\"Components\\": \\"{}\\",\\n \\"ClusterId\\": \\"i137590131672134915401\\",\\n \\"ClusterName\\": \\"cnp_test_cluster\\",\\n \\"OperatingState\\": \\"initializing\\",\\n \\"TaskId\\": \\"i156365121663149566024\\",\\n \\"ClusterType\\": \\"AckEdgePro\\",\\n \\"NodeCount\\": 12,\\n \\"NodeGroupCount\\": 2,\\n \\"CreateTime\\": \\"1672134938\\",\\n \\"UpdateTime\\": \\"1672134968\\",\\n \\"ClusterDescription\\": \\"测试集群\\",\\n \\"ResourceGroupId\\": \\"rg-aek2ajbjoloa23q\\",\\n \\"VpcId\\": \\"vpc-0jlx4hol2bjboafzmffvd\\",\\n \\"HpnZone\\": \\"B1\\",\\n \\"ComputingIpVersion\\": \\"IPv4\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"daily\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"f4f9a292c17072a2\\"\\n}","type":"json"}]', - 'title' => 'ListClusters', - 'translator' => 'machine', - ], - 'ListClusterNodes' => [ - 'summary' => 'Queries a list of nodes in a cluster.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"NodeGroupName\\": \\"emr-default\\"\\n}","type":"json"}]', + 'title' => 'Create a node group in a cluster', + 'description' => 'Creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.', + 'changeSet' => [ + ['createdAt' => '2025-05-30T08:28:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T01:59:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-10T01:43:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-25T10:57:57.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'eflo:ImageSource', 'validationType' => 'always'], + ['conditionKey' => 'eflo:ImageOwnerId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'CreateSession' => [ + 'summary' => 'Creates a Web Terminal session.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2014,369 +1543,257 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162039', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i15b480fbd2fcdbc2869cd80', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-cn-kvw44e6****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", - 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', - ], + 'schema' => ['description' => 'The start time. The value is a 13-digit timestamp.'."\n", 'type' => 'string', 'required' => false, 'example' => '1669340937156', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'SessionType', 'in' => 'formData', + 'schema' => ['description' => 'The type of the session corresponding to the session package.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sol', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => 'The number of entries per page. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], + 'WssEndpoint' => ['description' => 'The WebSocket address.'."\n", 'type' => 'string', 'example' => 'ws://x.x.x.x:xx/calypso_web_console', 'title' => ''], + 'SessionId' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'example' => 'i20702387166936479****', 'title' => ''], + 'SessionToken' => ['description' => 'The session credential.'."\n", 'type' => 'string', 'example' => '03f53c719015a9ad4f4f55d66cac2dac161b18e8065ca75a3220b89de389****', 'title' => ''], + 'ServerSn' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'example' => '2A591****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"WssEndpoint\\": \\"ws://x.x.x.x:xx/calypso_web_console\\",\\n \\"SessionId\\": \\"i20702387166936479****\\",\\n \\"SessionToken\\": \\"03f53c719015a9ad4f4f55d66cac2dac161b18e8065ca75a3220b89de389****\\",\\n \\"ServerSn\\": \\"2A591****\\"\\n}","type":"json"}]', + 'title' => 'CreateSession', + 'description' => 'The API creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSession'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateSession', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], ], ], + ], + 'translator' => 'machine', + ], + 'CreateVsc' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NodeGroupId', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'A client token to ensure the idempotency of the request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'], + ], + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The ID of the node.', 'type' => 'string', 'required' => true, 'example' => 'e01-cn-zvp2tgykr08'], + ], + [ + 'name' => 'VscType', 'in' => 'formData', 'schema' => [ - 'description' => 'The node group ID.'."\n", + 'title' => '', + 'description' => 'The type of the VSC. Valid values: primary and standard. The default value is primary.', 'type' => 'string', 'required' => false, - 'example' => 'ng-ec3c96ff0aa4c60d', + 'enumValueTitles' => ['standard' => 'standard', 'primary' => 'primary'], + 'example' => 'primary', ], ], [ - 'name' => 'Tags', - 'in' => 'query', + 'name' => 'VscName', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The custom name of the VSC. The name must be unique on a single compute node.', 'type' => 'string', 'required' => false, 'example' => 'test_name'], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'title' => '标签信息', - 'description' => 'The tags.'."\n", + 'title' => '', + 'description' => 'The tags of the resource.', 'type' => 'array', 'items' => [ - 'description' => 'The tag.'."\n", + 'title' => '', + 'description' => 'The tag of the resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key for the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aa_key', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => 'The tag value for the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aa_value', - 'maxLength' => 129, - ], + 'Key' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key001'], + 'Value' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value001'], ], 'required' => false, + 'example' => '', ], 'required' => false, 'maxItems' => 21, + 'example' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组ID', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-xxkxkllss', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2xdkc6icwfha'], ], - [ - 'name' => 'OperatingStates', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'repeatList', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点状态', - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], + 'VscId' => ['title' => '', 'description' => 'The ID of the VSC that is created.', 'type' => 'string', 'example' => 'vsc-001'], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateVsc', + 'summary' => 'Creates a VSC.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVsc'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/*'], ], - 'maxItems' => 100, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"VscId\\": \\"vsc-001\\"\\n}","type":"json"}]', + ], + 'DeleteCluster' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i116913051662373010974', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB', - ], - 'NextToken' => [ - 'title' => '本次调用返回的查询凭证值。'."\n", - 'description' => 'The returned pagination token which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR', - ], - 'Nodes' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node.'."\n", - 'type' => 'object', - 'properties' => [ - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '1642472468000'."\n", - ], - 'ExpiredTime' => [ - 'title' => '机器过期时间', - 'description' => 'The time when the node expires.'."\n", - 'type' => 'string', - 'example' => '1762185600000', - ], - 'Hostname' => [ - 'title' => '主机名', - 'description' => 'The hostname.'."\n", - 'type' => 'string', - 'example' => '72432f80-273e-11ed-b57a-acde48001122', - ], - 'ImageId' => [ - 'title' => '系统镜像id', - 'description' => 'The system image ID.'."\n", - 'type' => 'string', - 'example' => 'i190297201669099844192', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => 'The node type.'."\n", - 'type' => 'string', - 'example' => 'cn-wulanchabu-b11', - ], - 'NodeGroupId' => [ - 'title' => '节点组id'."\n", - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'example' => 'ng-e9b74f4d450cf18d', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称'."\n", - 'description' => 'The node group name.'."\n", - 'type' => 'string', - 'example' => 'emr_master', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-2r42tmj4z02', - ], - 'Sn' => [ - 'title' => '机器sn', - 'description' => 'The serial number of the node.'."\n", - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'sn_tOuUk', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'Networks' => [ - 'title' => '', - 'description' => 'The network information.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The network information.'."\n", - 'type' => 'object', - 'properties' => [ - 'BondName' => [ - 'description' => 'The name of the network port for the node.'."\n", - 'type' => 'string', - 'example' => 'bond0', - ], - 'Ip' => [ - 'description' => 'The IP address of the node in the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => '192.168.22.2', - ], - 'SubnetId' => [ - 'description' => 'The subnet ID.'."\n", - 'type' => 'string', - 'example' => 'subnet-fwekrvg9', - ], - 'VpdId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpd-eoiy88ju', - ], - ], - ], - ], - 'HpnZone' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'example' => 'A1', - ], - 'VpcId' => [ - 'title' => '专有网络ID', - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-0jltf9vinjz3if3lltdy7', - ], - 'VSwitchId' => [ - 'title' => '专有网络交换机ID', - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1mxqhw8o20tgv3xk47h', - ], - 'OperatingState' => [ - 'title' => '节点状态', - 'description' => 'The node status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Extending'."\n" - .'* UnusedNodeStopped'."\n" - .'* UnusedNodeStopping'."\n" - .'* Unused'."\n" - .'* Using'."\n" - .'* ReleaseLocking'."\n" - .'* Operating'."\n" - .'* Cutting'."\n" - .'* ClusterNodeStopped'."\n" - .'* UnusedNodeRecovering'."\n" - .'* ClusterNodeStopping'."\n" - .'* ClusterNodeRecovering'."\n" - .'* Replacing'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Extending' => '', - 'UnusedNodeStopped' => '', - 'UnusedNodeStopping' => '', - 'Unused' => '', - 'Using' => '', - 'ReleaseLocking' => '', - 'Operating' => '', - 'Cutting' => '', - 'ClusterNodeStopped' => '', - 'UnusedNodeRecovering' => '', - 'ClusterNodeStopping' => '', - 'ClusterNodeRecovering' => '', - 'Replacing' => '', - ], - 'example' => 'Extending', - ], - 'Tags' => [ - 'title' => '标签信息', - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'aa_key', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'aa_value', - ], - ], - ], - ], - 'TaskId' => [ - 'title' => '任务ID', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i28ddkdkkdkdd', - ], - 'CommodityCode' => [ - 'title' => '商品码', - 'description' => 'The commodity code.'."\n", - 'type' => 'string', - 'example' => 'bcccluster', - ], - 'ImageName' => [ - 'title' => '镜像名称', - 'description' => 'The image name.'."\n", - 'type' => 'string', - 'example' => 'Alinux3_x86_AMD_R_Host_D3_E3_24.13.00_UEFI_N_250121', - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => 'Indicates whether file storage mounting is supported.'."\n", - 'type' => 'boolean', - 'example' => 'False', - ], - 'HyperNodeId' => [ - 'title' => '超节点ID', - 'type' => 'string', - 'example' => 'e01-cn-2r42tmj4z02', - ], - 'NodeType' => [ - 'type' => 'string', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0FC4A1C7-421C-5EAB-9361-4C0338EFA287'], ], 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB\\",\\n \\"NextToken\\": \\"AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR\\",\\n \\"Nodes\\": [\\n {\\n \\"CreateTime\\": \\"1642472468000\\\\n\\",\\n \\"ExpiredTime\\": \\"1762185600000\\",\\n \\"Hostname\\": \\"72432f80-273e-11ed-b57a-acde48001122\\",\\n \\"ImageId\\": \\"i190297201669099844192\\",\\n \\"MachineType\\": \\"cn-wulanchabu-b11\\",\\n \\"NodeGroupId\\": \\"ng-e9b74f4d450cf18d\\",\\n \\"NodeGroupName\\": \\"emr_master\\",\\n \\"NodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"Sn\\": \\"sn_tOuUk\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"Networks\\": [\\n {\\n \\"BondName\\": \\"bond0\\",\\n \\"Ip\\": \\"192.168.22.2\\",\\n \\"SubnetId\\": \\"subnet-fwekrvg9\\",\\n \\"VpdId\\": \\"vpd-eoiy88ju\\"\\n }\\n ],\\n \\"HpnZone\\": \\"A1\\",\\n \\"VpcId\\": \\"vpc-f8zcet5mwerafyqlrhyoi\\",\\n \\"VSwitchId\\": \\"vsw-0jlohur7nhbxd1ttyq8p8\\",\\n \\"OperatingState\\": \\"Extending\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"TaskId\\": \\"i-skkdsdl83ksxxs3\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"ImageName\\": \\"Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"HyperNodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"NodeType\\": \\"standard\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListClusterNodes', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FC4A1C7-421C-5EAB-9361-4C0338EFA287\\"\\n}","type":"json"}]', + 'title' => 'DeleteCluster', + 'summary' => 'Deletes a Lingjun cluster.', 'translator' => 'machine', - ], - 'ShrinkCluster' => [ - 'summary' => 'Scales in a cluster.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'DeleteHyperNode' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2385,96 +1802,70 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '162886', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'HyperNodeId', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15dfa12e8f27c44f4a006c2c8bb', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The hyper node ID.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], - [ - 'name' => 'NodeGroups', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点组信息', - 'description' => 'The node groups.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-3b6fbd24b1b845a0', - ], - 'Nodes' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01poc-cn-zmb2ypjdc01', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'HyperNodes' => [ - 'title' => '节点列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'HyperNodeId' => [ - 'title' => '节点id', - 'type' => 'string', - ], - ], - ], - ], - ], - 'required' => false, - 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '041724FC-2BD7-58B1-863B-B42022D4B351'], ], - 'required' => false, + 'title' => '', + 'description' => 'The response.', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteHyperNode', + 'summary' => 'Deletes an unused hyper node.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"041724FC-2BD7-58B1-863B-B42022D4B351\\"\\n}","type":"json"}]', + ], + 'DeleteNode' => [ + 'summary' => 'Releases a pay-as-you-go node.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'IgnoreFailedNodeTasks', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the node.', 'title' => '', 'example' => 'e01-cn-kvw****dn04'], ], ], 'responses' => [ @@ -2482,36 +1873,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id'."\n", - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CC9FEF89-9BE5-5E03-845E-238B48D7599B', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i159136551662516768776', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'Id of the request', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0****'], ], - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC9FEF89-9BE5-5E03-845E-238B48D7599B\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', - 'title' => 'ShrinkCluster', - 'translator' => 'machine', - ], - 'CreateNodeGroup' => [ - 'summary' => 'Create Node Group under Cluster', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteNode', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0****\\"\\n}","type":"json"}]', + ], + 'DeleteNodeGroup' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2520,149 +1912,21 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NodeGroup', + 'name' => 'ClusterId', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'Node ID.', - 'type' => 'object', - 'properties' => [ - 'Az' => [ - 'description' => 'Availability Zone', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-wulanchabu-b', - ], - 'NodeGroupDescription' => [ - 'description' => 'Node group description', - 'type' => 'string', - 'required' => false, - 'example' => 'describe for node group', - ], - 'NodeGroupName' => [ - 'description' => 'Node group name', - 'type' => 'string', - 'required' => true, - 'example' => 'PAI-LINGJUN', - ], - 'MachineType' => [ - 'description' => 'Machine type', - 'type' => 'string', - 'required' => true, - 'example' => 'mock-machine-type3', - ], - 'ImageId' => [ - 'description' => 'Image ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'i191887641687336652616', - ], - 'UserData' => [ - 'title' => '用户自定义脚本', - 'description' => 'User-defined data', - 'type' => 'string', - 'required' => false, - 'example' => '#!/bin/bash'."\n" - .'uptime'."\n" - .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', - ], - 'SystemDisk' => [ - 'description' => 'Details of the node system disk configuration.', - 'type' => 'object', - 'properties' => [ - 'Size' => [ - 'description' => 'Unit: GB.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - ], - 'PerformanceLevel' => [ - 'description' => 'When creating an ESSD cloud disk as a system disk, set the performance level of the cloud disk. Value range:'."\n" - .'- PL0: Maximum random read/write IOPS per disk 10,000.'."\n" - .'- PL1: Maximum random read/write IOPS per disk 50,000.', - 'type' => 'string', - 'required' => false, - 'example' => 'PL1', - ], - 'Category' => [ - 'description' => 'Disk type. Value range:'."\n" - ."\n" - .' - cloud_essd: ESSD cloud disk.', - 'type' => 'string', - 'required' => false, - 'example' => 'clou_essd', - ], - ], - 'required' => false, - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => 'Whether file storage mounting is supported', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], - 'VirtualGpuEnabled' => [ - 'title' => '是否支持GPU虚拟化切分', - 'description' => 'Whether to enable gpu virtualization or not', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'KeyPairName' => [ - 'description' => 'Key pair name.', - 'type' => 'string', - 'required' => false, - 'example' => 'test-keypair', - ], - 'LoginPassword' => [ - 'title' => '节点组内机器的登录密码', - 'description' => 'Password', - 'type' => 'string', - 'required' => false, - 'example' => 'test-LoginPassword', - ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Cluster ID', - 'type' => 'string', - 'required' => true, - 'example' => 'i118191731740041623425', - ], + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i114444141733395242745', 'title' => ''], ], [ - 'name' => 'NodeUnit', + 'name' => 'NodeGroupId', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'Node information', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', - 'description' => 'Node Information', - ], - 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', - ], + 'schema' => ['description' => 'The node group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i121824791737080429819', 'title' => ''], ], ], 'responses' => [ @@ -2670,129 +1934,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'ID of the request', - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', - ], - 'NodeGroupId' => [ - 'description' => 'Node group ID', - 'type' => 'string', - 'example' => 'ng-ec3c96ff0aa4c60d', - ], - 'NodeGroupName' => [ - 'description' => 'NodeGroupName', - 'type' => 'string', - 'example' => 'emr-default', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], ], + 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"NodeGroupName\\": \\"emr-default\\"\\n}","type":"json"}]', - 'title' => 'Create Node Group under Cluster', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\"\\n}","type":"json"}]', + 'title' => 'Delete Node Group', + 'summary' => 'Delete Node Group', 'translator' => 'machine', - ], - 'UpdateNodeGroup' => [ - 'summary' => 'Update Node Group', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNodeGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'DeleteVsc' => [ + 'summary' => 'Deletes a VSC.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Node group ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i120021051733814190732', - ], + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ - 'name' => 'NewNodeGroupName', + 'name' => 'VscId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Node group name', - 'type' => 'string', - 'required' => false, - 'example' => 'test-update', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the VSC to delete.', 'type' => 'string', 'required' => true, 'example' => 'vsc-001'], ], - [ - 'name' => 'UserData', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '用户自定义脚本', - 'description' => 'User-defined script', - 'type' => 'string', - 'required' => false, - 'example' => '#!/bin/bash'."\n" - .'uptime'."\n" - .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + ], + 'example' => '', ], ], - [ - 'name' => 'FileSystemMountEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Whether file storage mounting is supported', - 'type' => 'boolean', - 'required' => false, - 'example' => 'True', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteVsc', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVsc'], + ], + ], + 'ramActions' => [ [ - 'name' => 'KeyPairName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Key pair name.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\"\\n}","type":"json"}]', + ], + 'DescribeCluster' => [ + 'summary' => 'Queries the details of a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ImageId', - 'in' => 'formData', - 'schema' => [ - 'title' => '节点组的默认镜像id,如果不设置,那么就不会改变。', - 'description' => 'The default image ID of the node group. If not set, it will not change.', - 'type' => 'string', - 'required' => false, - 'example' => 'i1232142432432', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + ], + 'parameters' => [ [ - 'name' => 'LoginPassword', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'title' => '节点组内机器的登录密码', - 'description' => 'Login password for machines within the node group', - 'type' => 'string', - 'required' => false, - 'example' => 'LoginPassword', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'i119982311660892626523'], ], ], 'responses' => [ @@ -2800,69 +2069,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Request ID', - 'type' => 'string', - 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E', - ], - 'TaskId' => [ - 'description' => 'Task ID', - 'type' => 'string', - 'example' => 'i154273451745372344629', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the cluster was created.', 'type' => 'string', 'example' => '2022-06-08T07:05:11Z'], + 'NodeCount' => ['title' => '', 'description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'NodeGroupCount' => ['title' => '', 'description' => 'The number of node groups.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'UpdateTime' => ['title' => '', 'description' => 'The time when the cluster was last updated.', 'type' => 'string', 'example' => '2022-08-23T06:36:17.000Z'], + 'ClusterDescription' => ['title' => '', 'description' => 'The description of the cluster.', 'type' => 'string', 'example' => 'Test cluster'], + 'OperatingState' => ['title' => '', 'description' => 'The state of the cluster.', 'type' => 'string', 'example' => 'running'], + 'Components' => [ + 'title' => '', + 'description' => 'The component information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentType' => [ + 'title' => '', + 'description' => 'The type of the component.', + 'type' => 'string', + 'enumValueTitles' => ['ARMS' => 'ARMS monitoring', 'ACKEdge' => 'ACK edge cluster'], + 'example' => 'ACKEdge', + ], + 'ComponentId' => ['title' => '', 'description' => 'The component ID.', 'type' => 'string', 'example' => 'i149549021660892626529'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'i116913051662373010974'], + 'ClusterName' => ['title' => '', 'description' => 'The name of the cluster.', 'type' => 'string', 'example' => 'Eflo-YJ-Test-Cluster'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i152609221670466904596'], + 'ClusterType' => ['title' => '', 'description' => 'The type of the cluster.', 'type' => 'string', 'example' => 'AckEdgePro'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aek2k3rqlvv6ytq'], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'title' => '', 'example' => 'vpc-0jlkqysom5dmcviymep3f'], + 'HpnZone' => ['description' => 'The zone of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'A2'], + 'ComputingIpVersion' => ['description' => 'The IP version of the computing network.', 'type' => 'string', 'title' => '', 'example' => 'IPv4'], + 'OpenEniJumboFrame' => ['description' => 'The jumbo frame setting for the network interface.', 'type' => 'string', 'title' => '', 'example' => 'unsupported'], + 'Networks' => [ + 'title' => '', + 'description' => 'The network information.', + 'type' => 'object', + 'properties' => [ + 'VpdId' => ['title' => '', 'description' => 'The ID of the virtual private datacenter (VPD).', 'type' => 'string', 'example' => 'vpd-iqd7xunc'], + ], + 'example' => '', ], + 'VSwitchId' => ['type' => 'string', 'description' => 'The vSwitch ID.', 'title' => '', 'example' => 'vsw-0jlwrfecgcbflyosvo242'], + 'SecurityGroupId' => ['type' => 'string', 'description' => 'The security group ID.', 'title' => '', 'example' => 'sg-0jlff84q4o3s58i7fkhy'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"TaskId\\": \\"i154273451745372344629\\"\\n}","type":"json"}]', - 'title' => 'Update Node Group', - 'translator' => 'machine', - ], - 'DeleteNodeGroup' => [ - 'summary' => 'Delete Node Group', - 'methods' => [ - 'post', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"CreateTime\\": \\"2022-06-08T07:05:11Z\\",\\n \\"NodeCount\\": 2,\\n \\"NodeGroupCount\\": 2,\\n \\"UpdateTime\\": \\"2022-08-23T06:36:17.000Z\\",\\n \\"ClusterDescription\\": \\"Test cluster\\",\\n \\"OperatingState\\": \\"running\\",\\n \\"Components\\": [\\n {\\n \\"ComponentType\\": \\"ACKEdge\\",\\n \\"ComponentId\\": \\"i149549021660892626529\\"\\n }\\n ],\\n \\"ClusterId\\": \\"i116913051662373010974\\",\\n \\"ClusterName\\": \\"Eflo-YJ-Test-Cluster\\",\\n \\"TaskId\\": \\"i152609221670466904596\\",\\n \\"ClusterType\\": \\"AckEdgePro\\",\\n \\"ResourceGroupId\\": \\"rg-aek2k3rqlvv6ytq\\",\\n \\"VpcId\\": \\"vpc-0jlkqysom5dmcviymep3f\\",\\n \\"HpnZone\\": \\"A2\\",\\n \\"ComputingIpVersion\\": \\"IPv4\\",\\n \\"OpenEniJumboFrame\\": \\"unsupported\\",\\n \\"Networks\\": {\\n \\"VpdId\\": \\"vpd-iqd7xunc\\"\\n },\\n \\"VSwitchId\\": \\"vsw-0jlwrfecgcbflyosvo242\\",\\n \\"SecurityGroupId\\": \\"sg-0jlff84q4o3s58i7fkhy\\"\\n}","type":"json"}]', + 'title' => 'DescribeCluster', + 'description' => 'Queries the details of a specified cluster.', + 'changeSet' => [ + ['createdAt' => '2025-04-16T08:08:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-16T08:08:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-08T01:46:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-07T06:41:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T15:39:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-20T04:21:18.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCluster'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'DescribeDiagnosticResult' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '188556', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i114444141733395242745', - ], - ], - [ - 'name' => 'NodeGroupId', + 'name' => 'DiagnosticId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i121824791737080429819', - ], + 'schema' => ['description' => 'The diagnostic task ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'diag-i151942361720577788844', 'title' => ''], ], ], 'responses' => [ @@ -2870,30 +2191,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E'], + 'DiagnosticId' => ['description' => 'The diagnostic task ID.'."\n", 'type' => 'string', 'example' => 'diag-i155363241720059671316', 'title' => ''], + 'NodeIds' => [ + 'description' => 'The node IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A node ID.'."\n", 'type' => 'string', 'example' => '[\'mock-sn-200101\']', 'title' => ''], + 'title' => '', + ], + 'ClusterId' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'i118913031696573280136', 'title' => ''], + 'DiagnosticType' => ['description' => 'The type of the diagnostic task.'."\n", 'type' => 'string', 'example' => 'CheckByAiJobLogs', 'title' => ''], + 'DiagnosticState' => ['description' => 'The diagnostic status.'."\n", 'type' => 'string', 'example' => 'Fault', 'title' => ''], + 'DiagnosticResults' => [ + 'description' => 'The diagnostic information.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The diagnostic information.'."\n", 'type' => 'any', 'example' => '[]', 'title' => ''], + 'title' => '', ], + 'CreatedTime' => ['description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2024-06-15T10:17:56', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the instance exception. The time format with time zone based on the ISO8601 standard. The format is yyyy-MM-ddTHH:mm:ss +0800.'."\n", 'type' => 'string', 'example' => '2024-06-11T10:00:30', 'title' => ''], ], 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\"\\n}","type":"json"}]', - 'title' => 'Delete Node Group', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"DiagnosticId\\": \\"diag-i155363241720059671316\\",\\n \\"NodeIds\\": [\\n \\"[\'mock-sn-200101\']\\"\\n ],\\n \\"ClusterId\\": \\"i118913031696573280136\\",\\n \\"DiagnosticType\\": \\"CheckByAiJobLogs\\",\\n \\"DiagnosticState\\": \\"Fault\\",\\n \\"DiagnosticResults\\": [\\n \\"[]\\"\\n ],\\n \\"CreatedTime\\": \\"2024-06-15T10:17:56\\",\\n \\"EndTime\\": \\"2024-06-11T10:00:30\\"\\n}","type":"json"}]', + 'title' => 'DescribeDiagnosticResult', + 'summary' => 'Queries the results of a diagnostic task.', + 'description' => 'The API creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.'."\n", 'translator' => 'machine', - ], - 'ListNodeGroups' => [ - 'summary' => 'Queries node groups in a cluster.', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosticResult'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeDiagnosticResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'DescribeHyperNode' => [ + 'summary' => 'Queries the details of a hyper node.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2902,60 +2254,19 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupId', + 'name' => 'HyperNodeId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-ec3c96ff0aa4c60d', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i119982311660892626523', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of entries per page. Maximum value: 100.'."\n" - ."\n" - .'Default value:'."\n" - ."\n" - .'• If you do not configure this parameter or if you set this parameter to a value less than 20, the default value is 20.'."\n" - ."\n" - .'• If you set this parameter to a value greater than 100, the default value is 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the hyper node.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], ], 'responses' => [ @@ -2963,179 +2274,480 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', - ], - 'NextToken' => [ - 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], - 'Groups' => [ - 'description' => 'The node groups.'."\n", + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => 'D6058705-1C45-35C9-9461-02504897D4D0'], + 'NodeGroupName' => ['type' => 'string', 'title' => '', 'description' => 'The name of the node group.', 'example' => 'lisan-nodegroup'], + 'ClusterId' => ['type' => 'string', 'title' => '', 'description' => 'The cluster ID.', 'example' => 'i119982311660892626523'], + 'ClusterName' => ['type' => 'string', 'title' => '', 'description' => 'The cluster name.', 'example' => 'Standard_Cluster'], + 'ZoneId' => ['type' => 'string', 'title' => '', 'description' => 'The zone ID.', 'example' => 'cn-wulanchabu-c'], + 'CreateTime' => ['type' => 'string', 'title' => '', 'description' => 'The time when the hyper node was created.', 'example' => '2022-11-30T02:00:00.852Z'], + 'NodeGroupId' => ['type' => 'string', 'title' => '', 'description' => 'The node group ID.', 'example' => 'ng-ec3c96ff0aa4c60d'], + 'MachineType' => ['type' => 'string', 'title' => '', 'description' => 'The machine type.', 'example' => 'efg1.nvga1'], + 'ExpireTime' => ['type' => 'string', 'title' => '', 'description' => 'The expiration time.', 'example' => '2125-06-24T16:52:44.318000'], + 'HpnZone' => ['type' => 'string', 'description' => 'The cluster number.', 'title' => '', 'example' => 'A1'], + 'ResourceGroupId' => ['type' => 'string', 'description' => 'The resource group ID.', 'title' => '', 'example' => 'rg-acfmxno4vh5****'], + 'FileSystemMountEnabled' => ['type' => 'boolean', 'title' => '', 'description' => 'Indicates whether file storage mounting is supported.', 'example' => 'True'], + 'HyperNodeId' => ['type' => 'string', 'description' => 'The ID of the hyper node.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], + 'Nodes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'GroupName' => [ - 'description' => 'The group name.'."\n", - 'type' => 'string', - 'example' => 'backend-group', - ], - 'Description' => [ - 'description' => 'The description.'."\n", - 'type' => 'string', - 'example' => 'created by ga2_prepare', - ], - 'NodeCount' => [ - 'description' => 'The number of nodes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-shenzhen-c', - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i113952461729854708648', - ], - 'VirtualGpuEnabled' => [ - 'title' => '是否支持GPU虚拟化切分', - 'description' => 'Whether to enable gpu virtualization or not', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CreateTime' => [ - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2024-02-27T13:16:31.599', - ], - 'MachineType' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'example' => 'efg1.nvga1n', - ], - 'GroupId' => [ - 'description' => 'The group ID.'."\n", - 'type' => 'string', - 'example' => '238276221', - ], - 'ImageName' => [ - 'description' => 'The image name.'."\n", - 'type' => 'string', - 'example' => 'CentOS_7.9_x86_64_FULL_20221110', - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => 'Indicates whether file storage mounting is supported.'."\n", - 'type' => 'boolean', - 'example' => 'False', - ], - 'ImageId' => [ - 'description' => 'The image ID.'."\n", - 'type' => 'string', - 'example' => 'i194015071707321240258', - ], - 'UpdateTime' => [ - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2023-09-22T00:03:05.114', + 'NodeId' => ['type' => 'string', 'description' => 'The node ID.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr0b'], + 'ImageId' => ['type' => 'string', 'description' => 'The image ID.', 'title' => '', 'example' => 'i190297201669099844192'], + 'Hostname' => ['type' => 'string', 'description' => 'The hostname.', 'title' => '', 'example' => '457db5ca-241d-11ed-9fd7-acde48001122'], + 'Status' => ['type' => 'string', 'description' => 'The state.', 'title' => '', 'deprecated' => true, 'example' => 'InProgress'], + 'ImageName' => ['type' => 'string', 'description' => 'The image name.', 'title' => '', 'example' => 'Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230'], + 'Networks' => [ + 'type' => 'object', + 'properties' => [ + 'BondName' => ['type' => 'string', 'description' => 'The name of the network interface on the machine.', 'title' => '', 'example' => 'bond0'], + 'Ip' => ['type' => 'string', 'description' => 'The IP address of the machine in the virtual private cloud (VPC).', 'title' => '', 'example' => '192.168.22.2'], + ], + 'description' => 'The network information.', + 'title' => '', + 'example' => '', ], - 'ClusterName' => [ - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'wzq-exclusivelite-71', + 'UserData' => ['type' => 'string', 'description' => 'The user-defined script.', 'title' => '', 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/ttttttest.sh'], + 'Disks' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DiskId' => ['type' => 'string', 'description' => 'The disk ID.', 'title' => '', 'example' => 'd-bp1564bcc2306uui4zpk'], + 'Category' => ['type' => 'string', 'description' => 'The packet classification. Valid values:'."\n" + ."\n" + .'- **DOWNLINK\\_PACKET**: downlink packet'."\n" + ."\n" + .'- **UPLINK\\_PACKET**: uplink packet', 'title' => '', 'example' => 'DOWNLINK_PACKET'], + 'Size' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The disk size. Unit: GiB.', 'title' => '', 'example' => '5'], + 'PerformanceLevel' => ['type' => 'string', 'description' => 'When you create an enhanced SSD (ESSD) to use as a system disk, set the performance level of the disk. Valid values:'."\n" + ."\n" + .'- PL0: A maximum of 10,000 random read/write input/output operations per second (IOPS) per disk.'."\n" + ."\n" + .'- PL1: A maximum of 50,000 random read/write IOPS per disk.', 'title' => '', 'example' => 'PL0'], + 'Type' => ['type' => 'string', 'description' => 'The disk type. Valid values:'."\n" + ."\n" + .'- system: system disk.'."\n" + ."\n" + .'- data: data disk.', 'title' => '', 'example' => 'system'], + ], + 'description' => 'The disk information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The disk information.', + 'title' => '', + 'example' => '', ], + 'OperatingState' => ['type' => 'string', 'description' => 'The state of the node.', 'title' => '', 'example' => 'Using'], ], - 'description' => '', + 'description' => 'The list of nodes.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of nodes.', + 'title' => '', + 'example' => '', ], + 'Status' => ['type' => 'string', 'description' => 'The state of the node.', 'title' => '', 'deprecated' => true, 'example' => 'Operating'], + 'Hostname' => ['type' => 'string', 'title' => '', 'description' => 'The hostname.', 'example' => 'alywlcb-lingjun-gpu-0025'], + 'OperatingState' => ['type' => 'string', 'description' => 'The state of the hyper node.', 'title' => '', 'example' => 'Using'], ], - 'description' => '', + 'title' => '', + 'description' => 'The schema of the response body.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"Groups\\": [\\n {\\n \\"GroupName\\": \\"backend-group\\",\\n \\"Description\\": \\"created by ga2_prepare\\",\\n \\"NodeCount\\": 2,\\n \\"ZoneId\\": \\"cn-shenzhen-c\\",\\n \\"ClusterId\\": \\"i113952461729854708648\\",\\n \\"VirtualGpuEnabled\\": false,\\n \\"CreateTime\\": \\"2024-02-27T13:16:31.599\\",\\n \\"MachineType\\": \\"efg1.nvga1n\\",\\n \\"GroupId\\": \\"238276221\\",\\n \\"ImageName\\": \\"CentOS_7.9_x86_64_FULL_20221110\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"ImageId\\": \\"i194015071707321240258\\",\\n \\"UpdateTime\\": \\"2023-09-22T00:03:05.114\\",\\n \\"ClusterName\\": \\"wzq-exclusivelite-71\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListNodeGroups', - 'translator' => 'machine', - ], - 'DeleteNode' => [ - 'summary' => '删除一个未使用节点', - 'path' => '', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeHyperNode', + 'description' => 'Queries the details of a specified hyper node.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeHyperNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6058705-1C45-35C9-9461-02504897D4D0\\",\\n \\"NodeGroupName\\": \\"lisan-nodegroup\\",\\n \\"ClusterId\\": \\"i119982311660892626523\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"ZoneId\\": \\"cn-wulanchabu-c\\",\\n \\"CreateTime\\": \\"2022-11-30T02:00:00.852Z\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"ExpireTime\\": \\"2125-06-24T16:52:44.318000\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxno4vh5****\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\",\\n \\"Nodes\\": [\\n {\\n \\"NodeId\\": \\"e01-cn-zvp2tgykr0b\\",\\n \\"ImageId\\": \\"i190297201669099844192\\",\\n \\"Hostname\\": \\"457db5ca-241d-11ed-9fd7-acde48001122\\",\\n \\"Status\\": \\"InProgress\\",\\n \\"ImageName\\": \\"Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230\\",\\n \\"Networks\\": {\\n \\"BondName\\": \\"bond0\\",\\n \\"Ip\\": \\"192.168.22.2\\"\\n },\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/ttttttest.sh\\",\\n \\"Disks\\": [\\n {\\n \\"DiskId\\": \\"d-bp1564bcc2306uui4zpk\\",\\n \\"Category\\": \\"DOWNLINK_PACKET\\",\\n \\"Size\\": 5,\\n \\"PerformanceLevel\\": \\"PL0\\",\\n \\"Type\\": \\"system\\"\\n }\\n ],\\n \\"OperatingState\\": \\"Using\\"\\n }\\n ],\\n \\"Status\\": \\"Operating\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\",\\n \\"OperatingState\\": \\"Using\\"\\n}","type":"json"}]', + ], + 'DescribeInvocations' => [ + 'summary' => 'Queries the execution history and status of Cloud Assistant commands.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ + [ + 'name' => 'InvokeId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The ID of the command execution.', 'type' => 'string', 'required' => true, 'example' => 't-cd03crwys0lrls0'], + ], [ 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'e01-cn-kvw****dn04', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08'], + ], + [ + 'name' => 'IncludeOutput', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to include the command output in the response.'."\n" + ."\n" + .'- true: Returns the output. You must specify the `InvokeId` or `NodeId` parameter.'."\n" + ."\n" + .'- false (default): Does not return the output.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'ContentEncoding', + 'in' => 'formData', + 'schema' => ['description' => 'The encoding mode of the `CommandContent` and `Output` fields in the response. Valid values:'."\n" + ."\n" + .'- PlainText: Returns the original command content and output.'."\n" + ."\n" + .'- Base64 (default): Returns the Base64-encoded command content and output.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PlainText'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '8F065DDD-6996-5973-9691-9EC57BD0****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'Invocations' => [ + 'description' => 'The object that contains the script execution records.', + 'type' => 'object', + 'properties' => [ + 'Invocation' => [ + 'description' => 'The command execution records.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'title' => '', 'example' => '2020-01-19T09:15:46Z'], + 'Frequency' => ['description' => 'The cron expression for the scheduled command.', 'type' => 'string', 'title' => '', 'example' => '0 */20 * * * *'], + 'InvocationStatus' => ['description' => 'The overall execution status of the command. This status is determined by the execution status on all involved instances. Valid values:'."\n" + ."\n" + .'- Pending: The system is verifying or sending the command. If the command is in the Pending state on at least one instance, the overall status is Pending.'."\n" + ."\n" + .'- Scheduled: The scheduled command is sent and is waiting to run. If the command is in the Scheduled state on at least one instance, the overall status is Scheduled.'."\n" + ."\n" + .'- Running: The command is running on the instances. If the command is in the Running state on at least one instance, the overall status is Running.'."\n" + ."\n" + .'- Success: The command was successfully executed. The command status on each instance is Stopped or Success, and the status on at least one instance is Success.'."\n" + ."\n" + .' - For one-time tasks: The command execution is complete and the exit code is 0.'."\n" + ."\n" + .' - For scheduled tasks: The last execution was successful with an exit code of 0, and all scheduled executions are complete.'."\n" + ."\n" + .'- Failed: The command execution failed. The command status on each instance is Stopped or Failed. The overall status is Failed if the command status on one or more instances is one of the following:'."\n" + ."\n" + .' - The command failed to be verified (Invalid).'."\n" + ."\n" + .' - The command failed to be sent (Aborted).'."\n" + ."\n" + .' - The command execution is complete, but the exit code is not 0 (Failed).'."\n" + ."\n" + .' - The command timed out (Timeout).'."\n" + ."\n" + .' - An error occurred during the command execution (Error).'."\n" + ."\n" + .'- Stopping: The task is being stopped. If the command is in the Stopping state on at least one instance, the overall status is Stopping.'."\n" + ."\n" + .'- Stopped: The task was stopped. The overall status is Stopped if the command is in the Stopped state on all instances. The overall status is Stopped if the command status on the instances is one of the following:'."\n" + ."\n" + .' - The task was canceled (Cancelled).'."\n" + ."\n" + .' - The task was terminated (Terminated).'."\n" + ."\n" + .'- PartialFailed: The command was successfully executed on some instances but failed on others. The overall status is PartialFailed if the command status on the instances is Success, Failed, or Stopped.'."\n" + ."\n" + .'> The `InvokeStatus` parameter has a similar meaning. However, check the value of this parameter.', 'type' => 'string', 'title' => '', 'example' => 'Success'], + 'RepeatMode' => ['description' => 'The execution mode of the command. Valid values:'."\n" + ."\n" + .'- Once: The command is immediately executed.'."\n" + ."\n" + .'- Period: The command is executed on a schedule.'."\n" + ."\n" + .'- NextRebootOnly: The command is automatically executed the next time the instance starts.'."\n" + ."\n" + .'- EveryReboot: The command is automatically executed every time the instance starts.', 'type' => 'string', 'title' => '', 'example' => 'Once'], + 'InvokeStatus' => ['description' => 'The overall execution status of the command. This status is determined by the execution status on one or more instances. Valid values:'."\n" + ."\n" + .'- Running:'."\n" + ."\n" + .' - Scheduled execution: The status is always Running before you manually stop the scheduled command.'."\n" + ."\n" + .' - One-time execution: The overall status is Running if a command process is in progress.'."\n" + ."\n" + .'- Finished:'."\n" + ."\n" + .' - Scheduled execution: A command process cannot be in the Finished state.'."\n" + ."\n" + .' - One-time execution: The execution is complete on all instances. Alternatively, the command process is manually stopped on some instances and the execution is complete on the other instances.'."\n" + ."\n" + .'- Failed:'."\n" + ."\n" + .' - Scheduled execution: A command process cannot be in the Failed state.'."\n" + ."\n" + .' - One-time execution: The execution failed on all instances.'."\n" + ."\n" + .'- Stopped: The command is stopped.'."\n" + ."\n" + .'- Stopping: The command is being stopped.'."\n" + ."\n" + .'- PartialFailed: The execution failed on some instances. This value is not returned if you specify the `NodeId` parameter.', 'type' => 'string', 'title' => '', 'example' => 'Running'], + 'Parameters' => ['description' => 'The custom parameters in the command.', 'type' => 'string', 'title' => '', 'example' => '{}'], + 'CommandContent' => ['description' => 'The content of the command.'."\n" + ."\n" + .'- If \\`ContentEncoding\\` is set to \\`PlainText\\`, the original script content is returned.'."\n" + ."\n" + .'- If \\`ContentEncoding\\` is set to \\`Base64\\`, the Base64-encoded script content is returned.', 'type' => 'string', 'title' => '', 'example' => 'cnBtIC1xYSB8IGdyZXAgdnNm****'], + 'CommandName' => ['description' => 'The name of the command.', 'type' => 'string', 'title' => '', 'example' => 'CommandTestName'], + 'CommandDescription' => ['description' => 'The description of the command.', 'type' => 'string', 'title' => '', 'example' => 'testDescription'], + 'InvokeId' => ['description' => 'The ID of the command execution.', 'type' => 'string', 'title' => '', 'example' => 't-ind3k9ytvvduoe8'], + 'Username' => ['description' => 'The name of the user who runs the command.', 'type' => 'string', 'title' => '', 'example' => 'root'], + 'WorkingDir' => ['description' => 'The directory where the command is run on the instance.', 'type' => 'string', 'title' => '', 'example' => '/home'], + 'Timeout' => ['description' => 'The timeout period for the command execution. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60'], + 'InvokeNodes' => [ + 'description' => 'The command execution records.', + 'type' => 'object', + 'properties' => [ + 'InvokeNode' => [ + 'description' => 'The command execution records on the nodes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The start time of the command execution.', 'type' => 'string', 'title' => '', 'example' => '2023-02-06T07:12:50Z'], + 'UpdateTime' => ['description' => 'The time when the record was updated.', 'type' => 'string', 'title' => '', 'example' => '2023-02-06T07:12:50Z'], + 'FinishTime' => ['description' => 'The time when the execution was complete.', 'type' => 'string', 'title' => '', 'example' => '2023-02-06T07:12:50Z'], + 'InvocationStatus' => ['description' => 'The execution status of the command on a single instance. Valid values:'."\n" + ."\n" + .'- Pending: The system is verifying or sending the command.'."\n" + ."\n" + .'- Invalid: The specified command type or parameter is incorrect.'."\n" + ."\n" + .'- Aborted: Failed to send the command to the instance. The instance must be in the Running state and the command must be sent within 1 minute.'."\n" + ."\n" + .'- Running: The command is running on the instance.'."\n" + ."\n" + .'- Success:'."\n" + ."\n" + .' - For a one-time command: The execution is complete and the exit code is 0.'."\n" + ."\n" + .' - For a scheduled command: The last execution was successful with an exit code of 0, and the specified period is over.'."\n" + ."\n" + .'- Failed:'."\n" + ."\n" + .' - For a one-time command: The execution is complete, but the exit code is not 0.'."\n" + ."\n" + .' - For a scheduled command: The last execution was successful, but the exit code was not 0. The scheduled execution will be aborted.'."\n" + ."\n" + .'- Error: An exception occurred during the command execution and the execution cannot continue.'."\n" + ."\n" + .'- Timeout: The command execution timed out.'."\n" + ."\n" + .'- Cancelled: The command execution was canceled. The command was not started.'."\n" + ."\n" + .'- Stopping: The task is being stopped.'."\n" + ."\n" + .'- Terminated: The command was terminated during execution.'."\n" + ."\n" + .'- Scheduled:'."\n" + ."\n" + .' - For a one-time command: This status is not applicable and will not occur.'."\n" + ."\n" + .' - For a scheduled command: The command is waiting to run.', 'type' => 'string', 'title' => '', 'example' => 'Pending'], + 'Repeats' => ['description' => 'The number of times the command has been executed on the instance.'."\n" + ."\n" + .'- If the command is a one-time execution, the value is 0 or 1.'."\n" + ."\n" + .'- If the command is a scheduled execution, the value is the number of times the command has been executed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'NodeId' => ['description' => 'The ID of the node.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-lbj36wkp70b'], + 'Output' => ['description' => 'The output of the command.'."\n" + ."\n" + .'- If \\`ContentEncoding\\` is set to \\`PlainText\\`, the original output is returned.'."\n" + ."\n" + .'- If \\`ContentEncoding\\` is set to \\`Base64\\`, the Base64-encoded output is returned.', 'type' => 'string', 'title' => '', 'example' => 'OutPutTestmsg'], + 'Dropped' => ['description' => 'The number of characters that are truncated and discarded because the \\`Output\\` value exceeds 24 KB in size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'StopTime' => ['description' => 'The time when \\`StopInvocation\\` was called to stop the command execution.', 'type' => 'string', 'title' => '', 'example' => '2019-12-20T06:15:55Z '."\n"], + 'ExitCode' => ['description' => 'The exit code of the command process. Valid values:'."\n" + ."\n" + .'- On a Linux instance, this is the exit code of the Shell process.'."\n" + ."\n" + .'- On a Windows instance, this is the exit code of the Batch or PowerShell process.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'title' => '', 'example' => '2019-12-20T06:15:55Z'], + 'ErrorInfo' => ['description' => 'The details about the cause of a command sending or execution failure. Valid values:'."\n" + ."\n" + .'- Empty: The command was executed as expected.'."\n" + ."\n" + .'- the specified node does not exist: The specified instance does not exist or has been released.'."\n" + ."\n" + .'- the instance was released during the command execution: The instance was released during the command execution.'."\n" + ."\n" + .'- the instance is not running when create task: The instance was not in the Running state during the command execution.'."\n" + ."\n" + .'- the command is not applicable: The command is not applicable to the specified instance.'."\n" + ."\n" + .'- the specified account does not exist: The specified account does not exist.'."\n" + ."\n" + .'- the specified directory does not exist: The specified directory does not exist.'."\n" + ."\n" + .'- the cron job expression is invalid: The specified cron expression is invalid.'."\n" + ."\n" + .'- Cloud Assistant Agent is not running: Cloud Assistant Agent is not running.'."\n" + ."\n" + .'- Cloud Assistant Agent is not responding: Cloud Assistant Agent is not responding.'."\n" + ."\n" + .'- Cloud Assistant Agent is being upgraded: Cloud Assistant Agent is being upgraded.'."\n" + ."\n" + .'- Cloud Assistant Agent needs to be upgraded: Cloud Assistant Agent needs to be upgraded.'."\n" + ."\n" + .'- The command failed to be sent due to a timeout: The command failed to be sent due to a timeout.'."\n" + ."\n" + .'- The command execution timed out: The command execution timed out.'."\n" + ."\n" + .'- An exception occurred during the command execution: An exception occurred during the command execution.'."\n" + ."\n" + .'- The command execution was interrupted: The command execution was interrupted.'."\n" + ."\n" + .'- The command execution is complete, but the exit code is not 0: The command execution is complete, but the exit code is not 0.'."\n" + ."\n" + .'- The instance was released while the file was being sent: The instance was released while the file was being sent.', 'type' => 'string', 'title' => '', 'example' => 'the specified node does not exists'], + 'Timed' => ['description' => 'Indicates whether the command will be automatically run in the future. Valid values:'."\n" + ."\n" + .'- true: The command is a scheduled command. The `RepeatMode` parameter was set to `Period`, `NextRebootOnly`, or `EveryReboot` when `RunCommand` or `InvokeCommand` was called.'."\n" + ."\n" + .'- false (default): The command is a one-time command or has finished.'."\n" + ."\n" + .' - The `RepeatMode` parameter was set to `Once` when `RunCommand` or `InvokeCommand` was called.'."\n" + ."\n" + .' - The command was canceled, stopped, or has finished running.', 'type' => 'string', 'title' => '', 'example' => 'false'], + 'ErrorCode' => ['description' => 'The error code for a file sending failure. Valid values:'."\n" + ."\n" + .'- Empty: The file was sent as expected.'."\n" + ."\n" + .'- NodeNotExists: The specified instance does not exist or has been released.'."\n" + ."\n" + .'- NodeReleased: The instance was released while the file was being sent.'."\n" + ."\n" + .'- NodeNotRunning: The instance was not in the Running state when the file sending task was created.'."\n" + ."\n" + .'- AccountNotExists: The specified account does not exist.'."\n" + ."\n" + .'- ClientNotRunning: Cloud Assistant Agent is not running.'."\n" + ."\n" + .'- ClientNotResponse: Cloud Assistant Agent is not responding.'."\n" + ."\n" + .'- ClientIsUpgrading: Cloud Assistant Agent is being upgraded.'."\n" + ."\n" + .'- ClientNeedUpgrade: Cloud Assistant Agent needs to be upgraded.'."\n" + ."\n" + .'- DeliveryTimeout: The file failed to be sent due to a timeout.'."\n" + ."\n" + .'- FileCreateFail: The file failed to be created.'."\n" + ."\n" + .'- FileAlreadyExists: A file with the same name exists in the same path.'."\n" + ."\n" + .'- FileContentInvalid: The file content is invalid.'."\n" + ."\n" + .'- FileNameInvalid: The file name is invalid.'."\n" + ."\n" + .'- FilePathInvalid: The file path is invalid.'."\n" + ."\n" + .'- FileAuthorityInvalid: The file permissions are invalid.'."\n" + ."\n" + .'- UserGroupNotExists: The user group specified for sending the file does not exist.', 'type' => 'string', 'title' => '', 'example' => ' NodeNotExists'], + 'NodeInvokeStatus' => ['description' => 'The execution status of the command on a single instance.', 'type' => 'string', 'title' => '', 'example' => 'Finished'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DescribeInvocations', + 'changeSet' => [ + ['createdAt' => '2025-01-02T06:27:48.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0****\\"\\n}","type":"json"}]', - ], - 'DescribeNode' => [ - 'summary' => 'Queries a list of nodes.', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvocations'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeInvocations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"Invocations\\": {\\n \\"Invocation\\": [\\n {\\n \\"CreationTime\\": \\"2020-01-19T09:15:46Z\\",\\n \\"Frequency\\": \\"0 */20 * * * *\\",\\n \\"InvocationStatus\\": \\"Success\\",\\n \\"RepeatMode\\": \\"Once\\",\\n \\"InvokeStatus\\": \\"Running\\",\\n \\"Parameters\\": \\"{}\\",\\n \\"CommandContent\\": \\"cnBtIC1xYSB8IGdyZXAgdnNm****\\",\\n \\"CommandName\\": \\"CommandTestName\\",\\n \\"CommandDescription\\": \\"testDescription\\",\\n \\"InvokeId\\": \\"t-ind3k9ytvvduoe8\\",\\n \\"Username\\": \\"root\\",\\n \\"WorkingDir\\": \\"/home\\",\\n \\"Timeout\\": 60,\\n \\"InvokeNodes\\": {\\n \\"InvokeNode\\": [\\n {\\n \\"CreationTime\\": \\"2023-02-06T07:12:50Z\\",\\n \\"UpdateTime\\": \\"2023-02-06T07:12:50Z\\",\\n \\"FinishTime\\": \\"2023-02-06T07:12:50Z\\",\\n \\"InvocationStatus\\": \\"Pending\\",\\n \\"Repeats\\": 0,\\n \\"NodeId\\": \\"e01-cn-lbj36wkp70b\\",\\n \\"Output\\": \\"OutPutTestmsg\\",\\n \\"Dropped\\": 0,\\n \\"StopTime\\": \\"2019-12-20T06:15:55Z\\\\t\\\\n\\",\\n \\"ExitCode\\": 0,\\n \\"StartTime\\": \\"2019-12-20T06:15:55Z\\",\\n \\"ErrorInfo\\": \\"the specified node does not exists\\",\\n \\"Timed\\": \\"false\\",\\n \\"ErrorCode\\": \\" NodeNotExists\\",\\n \\"NodeInvokeStatus\\": \\"Finished\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeNetTestResult' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3147,23 +2759,17 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161252', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220510', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeId', + 'name' => 'TestId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'mock-sn-2060', - ], + 'schema' => ['description' => 'The ID of the test task.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'dr-uf6i0tv2refv8wz*****'], ], ], 'responses' => [ @@ -3171,264 +2777,159 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AC4F0004-7BCE-52E0-891B-CAC7D64E3368', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称', - 'description' => 'The node group name.'."\n", - 'type' => 'string', - 'example' => 'emr-default', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i116913051662373010974', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'Standard_Cluster', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2022-09-30T03:35:53Z', - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'example' => 'ng-ec3c96ff0aa4c60d', - ], - 'Hostname' => [ - 'title' => '主机名', - 'description' => 'The hostname.'."\n", - 'type' => 'string', - 'example' => '31d38530-241e-11ed-bc63-acde48001122', - ], - 'ImageId' => [ - 'title' => '镜像id', - 'description' => 'The image ID.'."\n", - 'type' => 'string', - 'example' => 'i190297201634099844192', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'example' => 'efg1.nvga1', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr08', - ], - 'Sn' => [ - 'title' => '机器唯一标识', - 'description' => 'The serial number of the node.'."\n", - 'type' => 'string', - 'example' => 'sag42ckf4jx', - ], - 'OperatingState' => [ - 'title' => '节点状态'."\n", - 'description' => 'The node status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Extending'."\n" - .'* UnusedNodeStopped'."\n" - .'* UnusedNodeStopping'."\n" - .'* Unused'."\n" - .'* Using'."\n" - .'* ReleaseLocking'."\n" - .'* Operating'."\n" - .'* Cutting'."\n" - .'* ClusterNodeStopped'."\n" - .'* UnusedNodeRecovering'."\n" - .'* ClusterNodeStopping'."\n" - .'* ClusterNodeRecovering'."\n" - .'* Replacing'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Extending' => '', - 'UnusedNodeStopped' => '', - 'UnusedNodeStopping' => '', - 'Unused' => '', - 'Using' => '', - 'ReleaseLocking' => '', - 'Operating' => '', - 'Cutting' => '', - 'ClusterNodeStopped' => '', - 'UnusedNodeRecovering' => '', - 'ClusterNodeStopping' => '', - 'ClusterNodeRecovering' => '', - 'Replacing' => '', - ], - 'example' => 'Using', - ], - 'ExpiredTime' => [ - 'title' => '过期时间', - 'description' => 'The expiration time.'."\n", - 'type' => 'string', - 'example' => '2022-06-23T16:00:00Z', - ], - 'Networks' => [ - 'title' => '网络信息', - 'description' => 'The network information.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The network information.'."\n", - 'type' => 'object', - 'properties' => [ - 'BondName' => [ - 'title' => '网卡端口信息', - 'description' => 'The port information of the elastic network interface (ENI).'."\n", - 'type' => 'string', - 'example' => 'Bond0', - ], - 'Ip' => [ - 'title' => '机器ip', - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'example' => '47.254.235.44', - ], - 'SubnetId' => [ - 'title' => '集群子网id', - 'description' => 'The subnet ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-uf68v51fldm5egmui5a6k', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E'], + 'NetTestType' => ['title' => '', 'description' => 'The type of the network test.', 'type' => 'string', 'example' => 'DelayTest'], + 'Port' => ['title' => '', 'description' => 'The test port number.', 'type' => 'string', 'example' => '23604'], + 'TestId' => ['title' => '', 'description' => 'The ID of the test task. This ID uniquely identifies the network test task.', 'type' => 'string', 'example' => 'af35ce53-7c35-4277-834a-fbf49c316a96'], + 'Status' => ['title' => '', 'description' => 'The status of the diagnostic task. Valid values:'."\n" + ."\n" + .'- InProgress: The task is in progress.'."\n" + ."\n" + .'- Finished: The task is complete.'."\n" + ."\n" + .'- Failed: The task failed.', 'type' => 'string', 'example' => 'Failed'], + 'CreationTime' => ['title' => '', 'description' => 'The time when the diagnostic task was created.', 'type' => 'string', 'example' => '2024-10-15T10:25:42+08:00'], + 'FinishedTime' => ['title' => '', 'description' => 'The time when the diagnostic task was completed.', 'type' => 'string', 'example' => '2024-10-16T02:04Z'], + 'ResultDetial' => ['description' => 'The details of the diagnostic result. The value is a JSON string.', 'type' => 'string', 'title' => '', 'example' => '{}'], + 'TrafficTest' => [ + 'description' => 'The configuration for the traffic test. This parameter is returned when the network test type is a traffic test.', + 'type' => 'object', + 'properties' => [ + 'Protocol' => ['description' => 'The network protocol. Valid values: Remote Direct Memory Access (RDMA) and Transmission Control Protocol (TCP).', 'type' => 'string', 'title' => '', 'example' => 'TCP'], + 'TrafficModel' => ['description' => 'The traffic model. Valid values: MTON and Fullmesh.', 'type' => 'string', 'title' => '', 'example' => 'Fullmesh'], + 'Duration' => ['description' => 'The runtime of the flow task in seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'QP' => ['description' => 'If the protocol is TCP, this is the number of concurrent connections for the test. If the protocol is RDMA, this is the Queue Pair (QP) value.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'GDR' => ['description' => 'Indicates whether GPUDirect RDMA (GDR) is enabled. This parameter is returned only if the protocol is RDMA. Valid values: True and False. If the protocol is TCP, this field is empty.', 'type' => 'string', 'title' => '', 'example' => 'False'], + 'Clients' => [ + 'description' => 'The client nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A client node.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-20s41p6cx01'], + 'Bond' => ['description' => 'The bonded port of the network interface card (NIC).', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => '192.168.1.1'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'xMv'], + ], + 'title' => '', + 'example' => '', ], - 'VpdId' => [ - 'title' => '集群网络id', - 'description' => 'The ID of the cluster network.'."\n", - 'type' => 'string', - 'example' => 'vpd-xcuhjyrj', + 'title' => '', + 'example' => '', + ], + 'Servers' => [ + 'description' => 'The list of servers.', + 'type' => 'array', + 'items' => [ + 'description' => 'A server in the list.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-wwo3etaqu0b'], + 'Bond' => ['description' => 'The bonded port of the NIC.', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => '47.121.110.190'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'xMv'], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ImageName' => [ - 'title' => '镜像名称', - 'description' => 'The image name.'."\n", - 'type' => 'string', - 'example' => 'Centos7.9_all_0811', - ], - 'HpnZone' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'example' => 'A1', - ], - 'ResourceGroupId' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmywpvugkh7kq', - ], - 'UserData' => [ - 'title' => '用户自定义脚本', - 'description' => 'The custom script.'."\n", - 'type' => 'string', - 'example' => '#!/bin/bash'."\n" - .'uptime'."\n" - .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', - ], - 'Disks' => [ - 'description' => 'The disks.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DiskId' => [ - 'description' => 'The disk ID.'."\n", - 'type' => 'string', - 'example' => 'd-bp1fi88ryk4yah8a6yos', - ], - 'Category' => [ - 'description' => 'The disk type. Valid values:'."\n" - ."\n" - .'* cloud_essd'."\n", - 'type' => 'string', - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'description' => 'The disk size. Unit: GiB.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'PerformanceLevel' => [ - 'description' => 'The performance level of the ESSD that is used as the system disk. Valid values:'."\n" - ."\n" - .'* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.'."\n" - .'* PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.'."\n", - 'type' => 'string', - 'example' => 'PL1', - ], - 'Type' => [ - 'description' => 'The disk type. Valid values:'."\n" - ."\n" - .'* system: system disk'."\n" - .'* data: data disk'."\n", - 'type' => 'string', - 'example' => 'system', + 'DelayTest' => [ + 'description' => 'The configuration for the delay test. This parameter is returned when the network test type is a delay test.', + 'type' => 'object', + 'properties' => [ + 'Hosts' => [ + 'description' => 'The hosts of the test nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A host of a test node.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-bcd3u1aee06'], + 'Bond' => ['description' => 'The bonded port of the NIC.', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => '125.210.225.48'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'NQU'], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'description' => '', ], + 'title' => '', + 'example' => '', ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => 'Indicates whether file storage mounting is supported.'."\n", - 'type' => 'boolean', - 'example' => 'False', - ], - 'NodeType' => [ - 'title' => '当前节点的类型,枚举值:'."\n" - .'● cpfs-enhanced'."\n" - .'● ebs-enhanced'."\n" - .'● standard'."\n" - .'● standby'."\n" - .'● standard-v2'."\n" - .'● standby-v2', - 'type' => 'string', - 'example' => 'standard', - ], - 'HyperNodeId' => [ - 'title' => '超节点ID', - 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr08', + 'CommTest' => [ + 'description' => 'The configuration for the communication library test. This parameter is returned when the network test type is a communication library test.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the communication library test. Valid values: Alibaba Cloud Collective Communication Library (ACCL) and NVIDIA Collective Communication Library (NCCL).', 'type' => 'string', 'title' => '', 'example' => 'ACCL'], + 'Model' => ['description' => 'The communication library model.', 'type' => 'string', 'title' => '', 'example' => 'intention_v4'], + 'GPUNum' => ['description' => 'The number of GPUs.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'Hosts' => [ + 'description' => 'The hosts for the test.', + 'type' => 'array', + 'items' => [ + 'description' => 'A host for the test.', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i111670831721110797708'], + 'IP' => ['description' => 'The IP address.', 'type' => 'string', 'title' => '', 'example' => '169.253.253.15'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'VBw'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'i119982311660892626523'], + 'ClusterName' => ['description' => 'The cluster name.', 'type' => 'string', 'title' => '', 'example' => 'Standard_Cluster'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC4F0004-7BCE-52E0-891B-CAC7D64E3368\\",\\n \\"NodeGroupName\\": \\"emr-default\\",\\n \\"ClusterId\\": \\"i116913051662373010974\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"CreateTime\\": \\"2022-09-30T03:35:53Z\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"Hostname\\": \\"31d38530-241e-11ed-bc63-acde48001122\\",\\n \\"ImageId\\": \\"i190297201634099844192\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"NodeId\\": \\"e01-cn-zvp2tgykr08\\",\\n \\"Sn\\": \\"sag42ckf4jx\\",\\n \\"OperatingState\\": \\"Using\\",\\n \\"ExpiredTime\\": \\"2022-06-23T16:00:00Z\\",\\n \\"Networks\\": [\\n {\\n \\"BondName\\": \\"Bond0\\",\\n \\"Ip\\": \\"47.254.235.44\\",\\n \\"SubnetId\\": \\"vsw-uf68v51fldm5egmui5a6k\\",\\n \\"VpdId\\": \\"vpd-xcuhjyrj\\"\\n }\\n ],\\n \\"ImageName\\": \\"Centos7.9_all_0811\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmywpvugkh7kq\\",\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/ttttt20250110141010.sh\\",\\n \\"Disks\\": [\\n {\\n \\"DiskId\\": \\"d-2zeap7wkns2tdmbr11se\\",\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 100,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Type\\": \\"system\\"\\n }\\n ],\\n \\"FileSystemMountEnabled\\": true,\\n \\"NodeType\\": \\"standard\\",\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n}","type":"json"}]', - 'title' => 'DescribeNode', - 'translator' => 'machine', - ], - 'ListFreeNodes' => [ - 'summary' => 'Queries a list of nodes that are not used.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query Network Test Result', + 'summary' => 'Queries the results of a network test.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetTestResult'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNetTestResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"NetTestType\\": \\"DelayTest\\",\\n \\"Port\\": \\"23604\\",\\n \\"TestId\\": \\"af35ce53-7c35-4277-834a-fbf49c316a96\\",\\n \\"Status\\": \\"Failed\\",\\n \\"CreationTime\\": \\"2024-10-15T10:25:42+08:00\\",\\n \\"FinishedTime\\": \\"2024-10-16T02:04Z\\",\\n \\"ResultDetial\\": \\"{}\\",\\n \\"TrafficTest\\": {\\n \\"Protocol\\": \\"TCP\\",\\n \\"TrafficModel\\": \\"Fullmesh\\",\\n \\"Duration\\": 1,\\n \\"QP\\": 1,\\n \\"GDR\\": \\"False\\",\\n \\"Clients\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-20s41p6cx01\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"192.168.1.1\\",\\n \\"ServerName\\": \\"xMv\\"\\n }\\n ],\\n \\"Servers\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3etaqu0b\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"47.121.110.190\\",\\n \\"ServerName\\": \\"xMv\\"\\n }\\n ]\\n },\\n \\"DelayTest\\": {\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-bcd3u1aee06\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"125.210.225.48\\",\\n \\"ServerName\\": \\"NQU\\"\\n }\\n ]\\n },\\n \\"CommTest\\": {\\n \\"Type\\": \\"ACCL\\",\\n \\"Model\\": \\"intention_v4\\",\\n \\"GPUNum\\": \\"1\\",\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"i111670831721110797708\\",\\n \\"IP\\": \\"169.253.253.15\\",\\n \\"ServerName\\": \\"VBw\\"\\n }\\n ]\\n },\\n \\"ClusterId\\": \\"i119982311660892626523\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\"\\n}","type":"json"}]', + ], + 'DescribeNode' => [ + 'summary' => 'Queries the list of nodes.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3440,352 +2941,167 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162040', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NextToken', - 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", - 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => 'The number of entries per page. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'MachineType', - 'in' => 'formData', - 'schema' => [ - 'title' => '机型', - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mock-machine-type2', - ], - ], - [ - 'name' => 'HpnZone', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'A1', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxno4vh5muoq', - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '标签信息', - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key_aa', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value_aa', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], - ], - [ - 'name' => 'OperatingStates', + 'name' => 'NodeId', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '表示返回的未使用节点类型'."\n" - .'*:匹配所有类型'."\n" - .'未使用 Unused'."\n" - .'使用中 Using'."\n" - .'扩容中 Extending'."\n" - .'缩容中 Cutting'."\n" - .'操作中 Operating'."\n" - .'未使用节点停服中 UnusedNodeStopping'."\n" - .'未使用节点已停服 UnusedNodeStopped'."\n" - .'未使用节点维修审批停服中 UnusedNodeApprovalPendingRenew'."\n" - .'未使用节点维修停服中 UnusedNodeRepairingPendingRenew'."\n" - .'集群节点停服中 ClusterNodeStopping'."\n" - .'集群节点已停服 ClusterNodeStopped'."\n" - .'集群节点维修待审批已停服 ClusterNodeApprovalPendingRenew'."\n" - .'集群节点维修已停服 ClusterNodeRepairingPendingRenew'."\n" - .'未使用节点恢复中 UnusedNodeRecovering'."\n" - .'集群节点恢复中 ClusterNodeRecovering'."\n" - .'待释放 ReleaseLocking'."\n" - .'释放中 Releasing'."\n" - .'诊断中 Diagnosing'."\n" - .'跨ASI集群切换中 Switching'."\n" - .'集群节点维修恢复中 RecoveringClusterNode'."\n" - .'集群节点维修预处理 PreparationForRepairingClusterNode'."\n" - .'未使用节点维修恢复中 RecoveringUnusedNode'."\n" - .'未使用节点维修预处理 PreparationForRepairingUnusedNode'."\n" - .'集群节点维修中 ClusterNodeRepairing'."\n" - .'未使用节点维修中 UnusedNodeRepairing'."\n" - .'集群节点维修待审批 ClusterNodeRepairPendingApproval'."\n" - .'未使用节点维修待审批中 UnusedNodeRepairPendingApproval'."\n" - .'节点替换中 Replacing'."\n" - .'软件恢复中 SoftwareRestoring'."\n" - .'软件启动中 SoftwareInitializing'."\n" - .'集群节点重启待审批 ClusterNodeRebootPendingApproval'."\n" - .'集群节点关机中 ClusterNodeShuttingDown'."\n" - .'集群节点已关机 ClusterNodeShutdown'."\n" - .'集群关机节点停服中 ClusterNodeStoppingShutdown'."\n" - .'集群关机节点已停服 ClusterNodeStoppedShutdown'."\n" - .'集群关机节点维修待审批 ClusterNodeRepairPendingApprovalShutdown'."\n" - .'集群关机节点维修预处理 PreparationForRepairingClusterNodeShutdown'."\n" - .'集群关机节点维修中 ClusterNodeRepairingShutdown'."\n" - .'集群关机节点维修待审批已停服 ClusterNodeApprovalPendingRenewShutdown'."\n" - .'集群关机节点维修已停服 ClusterNodeRepairingPendingRenewShutdown'."\n" - .'集群关机节点重启待审批 ClusterNodeRebootPendingApprovalShutdown'."\n" - .'集群关机节点停服恢复中 ClusterNodeRecoveringShutdown'."\n" - .'集群关机节点维修恢复上线中 RecoveringClusterNodeShutdown', - 'description' => 'The types of the returned nodes that are not used.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The types of the returned nodes that are not used. \\*: matches all types. Unused Using Extending Cutting Operating UnusedNodeStopping UnusedNodeStopped UnusedNodeApprovalPendingRenew UnusedNodeRepairingPendingRenew ClusterNodeStopping ClusterNodeStopped ClusterNodeApprovalPendingRenew ClusterNodeRepairingPendingRenew UnusedNodeRecovering ClusterNodeRecovering ReleaseLocking Releasing Diagnosing Switching RecoveringClusterNode PreparationForRepairingClusterNode RecoveringUnusedNode PreparationForRepairingUnusedNode ClusterNodeRepairing UnusedNodeRepairing ClusterNodeRepairPendingApproval UnusedNodeRepairPendingApproval Replacing SoftwareRestoring SoftwareInitializing ClusterNodeRebootPendingApproval ClusterNodeShuttingDown ClusterNodeShutdown ClusterNodeStoppingShutdown ClusterNodeStoppedShutdown ClusterNodeRepairPendingApprovalShutdown PreparationForRepairingClusterNodeShutdown ClusterNodeRepairingShutdown ClusterNodeApprovalPendingRenewShutdown ClusterNodeRepairingPendingRenewShutdown ClusterNodeRebootPendingApprovalShutdown ClusterNodeRecoveringShutdown RecoveringClusterNodeShutdown'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Unused', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The node ID.', 'type' => 'string', 'required' => true, 'example' => 'mock-sn-2060', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id'."\n", - 'description' => 'The request ID.'."\n", + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AC4F0004-7BCE-52E0-891B-CAC7D64E3368'], + 'NodeGroupName' => ['title' => '', 'description' => 'The node group name.', 'type' => 'string', 'example' => 'emr-default'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'i116913051662373010974'], + 'ClusterName' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'example' => 'Standard_Cluster'], + 'ZoneId' => ['title' => '', 'description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i'], + 'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2022-09-30T03:35:53Z'], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-ec3c96ff0aa4c60d'], + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'example' => '31d38530-241e-11ed-bc63-acde48001122'], + 'ImageId' => ['title' => '', 'description' => 'The image ID.', 'type' => 'string', 'example' => 'i190297201634099844192'], + 'MachineType' => ['title' => '', 'description' => 'The machine type.', 'type' => 'string', 'example' => 'efg1.nvga1'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'example' => 'e01-cn-zvp2tgykr08'], + 'Sn' => ['title' => '', 'description' => 'The unique machine identifier.', 'type' => 'string', 'example' => 'sag42ckf4jx'], + 'OperatingState' => [ + 'title' => '', + 'description' => 'The node status.', + 'enumValueTitles' => [ + 'Extending' => 'Scaling out', 'UnusedNodeStopped' => 'Unused node stopped', 'UnusedNodeStopping' => 'Unused node stopping', 'Unused' => 'Unused', 'Using' => 'In use', 'ReleaseLocking' => 'Pending release', 'Operating' => 'Operating', 'Cutting' => 'Scaling in', 'ClusterNodeStopped' => 'Cluster node stopped', 'UnusedNodeRecovering' => 'Unused node recovering', + 'ClusterNodeStopping' => 'Cluster node stopping', 'ClusterNodeRecovering' => 'Cluster node recovering', 'Replacing' => 'Replacing', + ], 'type' => 'string', - 'example' => 'AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B', + 'example' => 'Using', ], - 'Nodes' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", + 'ExpiredTime' => ['title' => '', 'description' => 'The expiration time.', 'type' => 'string', 'example' => '2022-06-23T16:00:00Z'], + 'Networks' => [ + 'title' => '', + 'description' => 'The network information.', 'type' => 'array', 'items' => [ - 'description' => 'The node.'."\n", + 'description' => 'The network information.', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-j', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '1652321554', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-7pp2x193801', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'example' => 'efg1.nvga1', - ], - 'Sn' => [ - 'title' => '机器sn', - 'description' => 'The serial number of the node.'."\n", - 'type' => 'string', - 'example' => 'sn_pozkHBgicd', - ], - 'ExpiredTime' => [ - 'title' => '机器过期时间', - 'description' => 'The time when the node expires.'."\n", - 'type' => 'string', - 'example' => '1673107200', - ], - 'HpnZone' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'example' => 'A1', - ], - 'ResourceGroupId' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aekzkkbrpl4owgy', - ], - 'OperatingState' => [ - 'title' => '节点状态', - 'description' => 'The node status.'."\n", - 'type' => 'string', - 'example' => 'Unused', - ], - 'CommodityCode' => [ - 'title' => '商品码', - 'description' => 'The commodity code.'."\n", - 'type' => 'string', - 'example' => 'bccluster_eflocomputing_public_cn', - ], - 'Tags' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'aa_key', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'aa_vakye', - ], - ], - ], - ], - 'HyperNodeId' => [ - 'title' => '超节点ID', - 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr08', - ], + 'BondName' => ['title' => '', 'description' => 'The NIC port information.', 'type' => 'string', 'example' => 'Bond0'], + 'Ip' => ['title' => '', 'description' => 'The machine IP address.', 'type' => 'string', 'example' => '47.254.235.44'], + 'SubnetId' => ['title' => '', 'description' => 'The cluster subnet ID.', 'type' => 'string', 'example' => 'vsw-uf68v51fldm5egmui5a6k'], + 'VpdId' => ['title' => '', 'description' => 'The cluster network ID.', 'type' => 'string', 'example' => 'vpd-xcuhjyrj'], + 'VSwitchId' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-asjdfklj'], + 'SecurityGroupId' => ['title' => '', 'description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-bp1d3dvbh9by7j5rujax'], ], + 'title' => '', + 'example' => '', ], - ], - 'NextToken' => [ - 'title' => '本次调用返回的查询凭证值。'."\n", - 'description' => 'The returned pagination token which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], + 'example' => '', + ], + 'ImageName' => ['title' => '', 'description' => 'The image name.', 'type' => 'string', 'example' => 'Centos7.9_all_0811'], + 'HpnZone' => ['description' => 'The cluster number.', 'type' => 'string', 'example' => 'A1', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmywpvugkh7kq', 'title' => ''], + 'UserData' => ['title' => '', 'description' => 'The user-defined script.', 'type' => 'string', 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh'], + 'Disks' => [ + 'description' => 'The list of disk information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The disk information.', + 'type' => 'object', + 'properties' => [ + 'DiskId' => ['description' => 'The disk ID.', 'type' => 'string', 'example' => 'd-2zeap7wkns2tdmbr11se', 'title' => ''], + 'Category' => ['description' => 'The disk type. Valid values:'."\n" + ."\n" + .' - cloud_essd: ESSD cloud disk.', 'type' => 'string', 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The disk size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance level of the cloud disk when an ESSD cloud disk is created as a system disk. Valid values:'."\n" + .'- PL0: A single disk can deliver up to 10,000 random read/write IOPS.'."\n" + .'- PL1: A single disk can deliver up to 50,000 random read/write IOPS.', 'type' => 'string', 'example' => 'PL1', 'title' => ''], + 'Type' => ['description' => 'The disk type. Valid values:'."\n" + ."\n" + .'- system: system disk.'."\n" + .'- data: data disk.', 'type' => 'string', 'example' => 'system', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'FileSystemMountEnabled' => ['title' => '', 'description' => 'Indicates whether file system mounting is supported.', 'type' => 'boolean', 'example' => 'True'], + 'NodeType' => ['title' => '', 'description' => 'The type of the current node. Valid values:'."\n" + .'● cpfs-enhanced'."\n" + .'● ebs-enhanced'."\n" + .'● standard'."\n" + .'● standby'."\n" + .'● standard-v2'."\n" + .'● standby-v2', 'type' => 'string', 'example' => 'standard'], + 'SavingsPlanId' => ['title' => '', 'description' => 'The savings plan ID.', 'type' => 'string', 'example' => 'spn-25e985acAWbrwEBK'], + 'HyperNodeId' => ['title' => '', 'description' => 'The hyper node ID.', 'type' => 'string', 'example' => 'e01-cn-zvp2tgykr08'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B\\",\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"CreateTime\\": \\"1652321554\\",\\n \\"NodeId\\": \\"e01-cn-7pp2x193801\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"Sn\\": \\"sn_pozkHBgicd\\",\\n \\"ExpiredTime\\": \\"1673107200\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkkbrpl4owgy\\",\\n \\"OperatingState\\": \\"Extending\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n }\\n ],\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120abe4\\"\\n}","type":"json"}]', - 'title' => 'ListFreeNodes', - 'translator' => 'machine', - ], - 'RebootNodes' => [ - 'summary' => 'Restarts nodes.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC4F0004-7BCE-52E0-891B-CAC7D64E3368\\",\\n \\"NodeGroupName\\": \\"emr-default\\",\\n \\"ClusterId\\": \\"i116913051662373010974\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"CreateTime\\": \\"2022-09-30T03:35:53Z\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"Hostname\\": \\"31d38530-241e-11ed-bc63-acde48001122\\",\\n \\"ImageId\\": \\"i190297201634099844192\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"NodeId\\": \\"e01-cn-zvp2tgykr08\\",\\n \\"Sn\\": \\"sag42ckf4jx\\",\\n \\"OperatingState\\": \\"Using\\",\\n \\"ExpiredTime\\": \\"2022-06-23T16:00:00Z\\",\\n \\"Networks\\": [\\n {\\n \\"BondName\\": \\"Bond0\\",\\n \\"Ip\\": \\"47.254.235.44\\",\\n \\"SubnetId\\": \\"vsw-uf68v51fldm5egmui5a6k\\",\\n \\"VpdId\\": \\"vpd-xcuhjyrj\\",\\n \\"VSwitchId\\": \\"vsw-asjdfklj\\",\\n \\"SecurityGroupId\\": \\"sg-bp1d3dvbh9by7j5rujax\\"\\n }\\n ],\\n \\"ImageName\\": \\"Centos7.9_all_0811\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmywpvugkh7kq\\",\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/ttttt20250110141010.sh\\",\\n \\"Disks\\": [\\n {\\n \\"DiskId\\": \\"d-2zeap7wkns2tdmbr11se\\",\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 100,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Type\\": \\"system\\"\\n }\\n ],\\n \\"FileSystemMountEnabled\\": true,\\n \\"NodeType\\": \\"standard\\",\\n \\"SavingsPlanId\\": \\"spn-25e985acAWbrwEBK\\",\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n}","type":"json"}]', + 'title' => 'DescribeNode', + 'description' => 'Queries the detailed information of a hyper node.', + 'changeSet' => [ + ['createdAt' => '2025-04-24T01:59:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-10T08:36:52.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-25T10:57:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-16T09:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T15:39:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-13T08:26:21.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNode'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], ], + ], + 'DescribeNodeGroup' => [ + 'summary' => 'Queries the details of a node group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '161357', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15b480fbd2fcdbc2869cd80', - ], - ], - [ - 'name' => 'Nodes', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i138475611663639202234', - ], - 'required' => false, - ], - ], - [ - 'name' => 'IgnoreFailedNodeTasks', + 'name' => 'NodeGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], + 'schema' => ['description' => 'The ID of the node group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i128903591758597631635'], ], ], 'responses' => [ @@ -3793,133 +3109,185 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i158475611663639202234', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '83896080-59E3-5775-BDDC-8084691C3D96'], + 'ImageName' => ['description' => 'The name of the image.', 'type' => 'string', 'title' => '', 'example' => 'Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428'], + 'NodeGroupDescription' => ['description' => 'The description of the node group.', 'type' => 'string', 'title' => '', 'example' => 'lingjun alinux node group'], + 'NodeGroupName' => ['description' => 'The name of the node group.', 'type' => 'string', 'title' => '', 'example' => 'test-ack'], + 'NodeCount' => ['description' => 'The number of nodes.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'ClusterId' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'i111987311754895199538'], + 'NodeGroupId' => ['description' => 'The ID of the node group.', 'type' => 'string', 'title' => '', 'example' => 'i120982301752461697971'], + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2025-07-07T17:19:42.980000'], + 'MachineType' => ['description' => 'The instance type.', 'type' => 'string', 'title' => '', 'example' => 'efg2.NH2cn'], + 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'title' => '', 'example' => 'i190720111752146430748'], + 'UpdateTime' => ['description' => 'The time when the node group was last updated.', 'type' => 'string', 'title' => '', 'example' => '2025-08-20T11:18:11.164000'], + 'ClusterName' => ['description' => 'The cluster name.', 'type' => 'string', 'title' => '', 'example' => 'aliyun-basic-cluster'], + 'Az' => ['description' => 'The zone ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-wulanchabu-a'], + 'UserData' => ['description' => 'The user data.', 'type' => 'string', 'title' => '', 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/tttest.sh'], + 'SystemDisk' => [ + 'type' => 'object', + 'properties' => [ + 'Size' => ['description' => 'The size of the system disk. Unit: GiB. Valid values:'."\n" + ."\n" + .'- Basic disk: 20–500.'."\n" + ."\n" + .'- ESSD:'."\n" + ."\n" + .' - PL0: 1–2,048.'."\n" + ."\n" + .' - PL1: 20–2,048.'."\n" + ."\n" + .' - PL2: 461–2,048.'."\n" + ."\n" + .' - PL3: 1,261–2,048.'."\n" + ."\n" + .'- ESSD AutoPL disk: 1–2,048.'."\n" + ."\n" + .'- Other disk categories: 20–2,048.'."\n" + ."\n" + .'Default value: the larger value between 20 and the size of the image that is specified by `ImageId`.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance level of the ESSD. Valid values:'."\n" + ."\n" + .'- PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.'."\n" + ."\n" + .'- PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.', 'type' => 'string', 'example' => 'PL0', 'title' => ''], + 'Category' => ['description' => 'The category of the disk.', 'type' => 'string', 'example' => 'system', 'title' => ''], + ], + 'description' => 'The system disk information.', + 'title' => '', + 'example' => '', + ], + 'FileSystemMountEnabled' => ['description' => 'Indicates whether file storage can be mounted.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'VirtualGpuEnabled' => ['description' => 'Indicates whether the node group supports GPU virtualization.', 'type' => 'boolean', 'title' => '', 'example' => 'False'], + 'KeyPairName' => ['description' => 'The name of the key pair.', 'type' => 'string', 'example' => 'k8s-key', 'title' => ''], + 'LoginType' => ['description' => 'Valid values:'."\n" + .'• password: The node group supports only password-based logon.'."\n" + .'• keypair: The node group supports only key pair-based logon.'."\n" + .'• both: The node group supports password-based and key pair-based logon.'."\n" + ."\n" + .'If this parameter is not returned, no logon method is configured for the node group.', 'type' => 'string', 'title' => '', 'example' => 'password'], + 'RamRoleName' => ['description' => 'The name of the RAM role. You can call the ListRoles operation of the RAM API to query the RAM roles that you created.', 'type' => 'string', 'title' => '', 'example' => 'xianwen-test-ram-role'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', - 'title' => 'RebootNodes', - 'translator' => 'machine', - ], - 'ReimageNodes' => [ - 'summary' => 'Reinstall a node.', - 'methods' => [ - 'post', + 'title' => 'DescribeNodeGroup', + 'description' => 'This operation queries the details of a node group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83896080-59E3-5775-BDDC-8084691C3D96\\",\\n \\"ImageName\\": \\"Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428\\",\\n \\"NodeGroupDescription\\": \\"lingjun alinux node group\\",\\n \\"NodeGroupName\\": \\"test-ack\\",\\n \\"NodeCount\\": \\"1\\",\\n \\"ClusterId\\": \\"i111987311754895199538\\",\\n \\"NodeGroupId\\": \\"i120982301752461697971\\",\\n \\"CreateTime\\": \\"2025-07-07T17:19:42.980000\\",\\n \\"MachineType\\": \\"efg2.NH2cn\\",\\n \\"ImageId\\": \\"i190720111752146430748\\",\\n \\"UpdateTime\\": \\"2025-08-20T11:18:11.164000\\",\\n \\"ClusterName\\": \\"aliyun-basic-cluster\\",\\n \\"Az\\": \\"cn-wulanchabu-a\\",\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/tttest.sh\\",\\n \\"SystemDisk\\": {\\n \\"Size\\": 1024,\\n \\"PerformanceLevel\\": \\"PL0\\",\\n \\"Category\\": \\"system\\"\\n },\\n \\"FileSystemMountEnabled\\": true,\\n \\"VirtualGpuEnabled\\": true,\\n \\"KeyPairName\\": \\"k8s-key\\",\\n \\"LoginType\\": \\"password\\",\\n \\"RamRoleName\\": \\"xianwen-test-ram-role\\"\\n}","type":"json"}]', + ], + 'DescribeNodeType' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'create', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162088', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'NodeType', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id'."\n", - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15dfa12e8f27c44f4a006c2c8bb', - ], + 'schema' => ['description' => 'The node scale-out pattern.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'standard'], ], - [ - 'name' => 'Nodes', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Hostname' => [ - 'title' => '主机名', - 'description' => 'The hostname.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '457db5ca-241d-11ed-9fd7-acde48001122', - ], - 'LoginPassword' => [ - 'title' => '登录密码', - 'description' => 'The logon password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '***', - ], - 'NodeId' => [ - 'title' => '节点id'."\n", - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2tgykr0b', - ], - 'ImageId' => [ - 'title' => '系统镜像id', - 'description' => 'The system image ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'm-8vbf8rpv2nn14y7oybjy', - ], - ], - 'required' => false, - 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', 'title' => ''], + 'EniQuantity' => ['description' => 'The maximum number of supported elastic network interfaces (ENIs), including primary and secondary ENIs.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '22'], + 'EniHighDenseQuantity' => ['description' => 'The maximum number of network interfaces for high-density mode.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '63'], + 'EniPrivateIpAddressQuantity' => ['description' => 'The maximum number of IPv4 addresses that an ENI can have.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '256'], + 'EniIpv6AddressQuantity' => ['description' => 'The maximum number of IPv6 addresses that an ENI can have.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '256'], + 'DiskQuantity' => ['description' => 'The maximum number of disks that can be attached.', 'type' => 'integer', 'format' => 'int32', 'example' => '17', 'title' => ''], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeNodeType', + 'summary' => 'Describes the constraints for a node type.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"EniQuantity\\": 22,\\n \\"EniHighDenseQuantity\\": 63,\\n \\"EniPrivateIpAddressQuantity\\": 256,\\n \\"EniIpv6AddressQuantity\\": 256,\\n \\"DiskQuantity\\": 17\\n}","type":"json"}]', + ], + 'DescribeRegions' => [ + 'summary' => 'Queries a list of regions.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IgnoreFailedNodeTasks', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'False'."\n", - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161612', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'UserData', + 'name' => 'AcceptLanguage', 'in' => 'formData', 'schema' => [ - 'title' => '用户自定义脚本,命令', - 'description' => 'The user data.'."\n", + 'title' => '', + 'description' => 'The natural language that is used to filter responses. For more information, see RFC 7231.'."\n" + ."\n" + .'zh-CN en-US Default value: zh-CN.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* en-US'."\n" + .'* zh-CN'."\n", 'type' => 'string', 'required' => false, - 'example' => '#!/bin/sh'."\n" - .'echo "Hello World. The time is now $(date -R)!" | tee /root/userdata_test.txt', + 'enumValueTitles' => ['en-US' => '', 'zh-CN' => ''], + 'example' => 'zh-CN', ], ], ], @@ -3928,200 +3296,233 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '15FBCD9B-C93F-54E8-A168-AADE7E66DAD2', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i158782151663841517926', + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1D2FBB36-C39B-5EBB-9928-FCC1A236D65D'], + 'Regions' => [ + 'description' => 'The regions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['title' => '', 'description' => 'The region name.'."\n", 'type' => 'string', 'example' => 'Hangzhou'], + 'RegionId' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FBCD9B-C93F-54E8-A168-AADE7E66DAD2\\",\\n \\"TaskId\\": \\"i158782151663841517926\\"\\n}","type":"json"}]', - 'title' => 'ReimageNodes', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1D2FBB36-C39B-5EBB-9928-FCC1A236D65D\\",\\n \\"Regions\\": [\\n {\\n \\"LocalName\\": \\"Hangzhou\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeRegions', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ], + ], + 'ramActions' => [], 'translator' => 'machine', ], - 'CreateVsc' => [ - 'summary' => 'Creates a virtual storage channel (VSC).', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSendFileResults' => [ + 'summary' => 'Queries the files that are sent by an O\\\\\\&M assistant and the status of the files.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], + 'abilityTreeCode' => '202212', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClientToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等参数', - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'NodeId', - 'in' => 'formData', - 'schema' => [ - 'title' => '节点Id', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'e01-cn-zvp2tgykr08', - ], - ], - [ - 'name' => 'VscType', - 'in' => 'formData', - 'schema' => [ - 'title' => '设置VSC类型,primary/secondary,默认值为primary', - 'description' => 'The VSC type. Valid values: primary and standard. Default value: primary.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'standard' => 'standard', - 'primary' => 'primary', - ], - 'example' => 'primary', - ], - ], - [ - 'name' => 'VscName', - 'in' => 'formData', - 'schema' => [ - 'title' => 'vscId用户自定义名称,单计算节点上唯一', - 'description' => 'The custom name of the VSC, which is unique on a compute node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_name', - ], - ], - [ - 'name' => 'Tag', + 'name' => 'InvokeId', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源标签', - 'description' => 'The resource tags.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '资源标签', - 'description' => 'The resource tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '资源标签键', - 'description' => 'The resource tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key001', - ], - 'Value' => [ - 'title' => '资源标签值', - 'description' => 'The resource tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value001', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The command execution ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 't-bj038i0d6r8zoqo', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2xdkc6icwfha', - ], + 'schema' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', - ], - 'VscId' => [ - 'title' => '创建的VscId', - 'description' => 'The VSC ID.'."\n", - 'type' => 'string', - 'example' => 'vsc-001', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'TotalCount' => ['description' => 'The total number of the commands.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'Invocations' => [ + 'description' => 'The file sending records.'."\n", + 'type' => 'object', + 'properties' => [ + 'Invocation' => [ + 'description' => 'The command execution ID.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FileMode' => ['description' => 'The permissions on the file.'."\n", 'type' => 'string', 'example' => '0644', 'title' => ''], + 'Overwrite' => ['description' => 'Indicates whether a file was overwritten in the destination directory if the file has the same name as the sent file.'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InvocationStatus' => ['description' => 'The overall sending status of the file. The overall sending status of the file varies based on the sending status of the file on all destination instances. Valid values:'."\n" + ."\n" + .'* Pending: The file is being verified or sent. If the sending state of the file on at least one instance is Pending, the overall sending state of the file is Pending.'."\n" + ."\n" + .'* Running: The file is being sent to the instance. If the sending state of the file on at least one instance is Running, the overall sending state of the file is Running.'."\n" + ."\n" + .'* Success: If the sending state of the file on all instances is Success, the overall sending state of the file is Success.'."\n" + ."\n" + .'* Failed: If the sending state of the file on all instances is Failed, the overall sending state of the file is Failed. If the sending state of the file on one or more instances is one of the following values, the overall sending state of the file is Failed:'."\n" + ."\n" + .' * Invalid: The file is invalid.'."\n" + .' * Aborted: The file failed to be sent to the instances.'."\n" + .' * Failed: The file failed to be created on the instances.'."\n" + .' * Timeout: The file sending task timed out.'."\n" + .' * Error: An error occurred and interrupted the file sending task.'."\n" + ."\n" + .'* PartialFailed: The file sending task was completed on some instances but failed on other instances. If the sending state of the file is Success on some instances and is Failed on other instances, the overall sending state of the file is PartialFailed.'."\n", 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'Description' => ['description' => 'The command description.'."\n", 'type' => 'string', 'example' => 'Description.', 'title' => ''], + 'ContentType' => ['description' => 'The content type of the file.'."\n" + ."\n" + .'PlainText: The file content is not encoded. Base64: The file content is encoded in Base64. Default value: PlainText.'."\n", 'type' => 'string', 'example' => 'PlainText', 'title' => ''], + 'NodeCount' => ['description' => 'The number of nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TargetDir' => ['description' => 'The destination directory.'."\n", 'type' => 'string', 'example' => ' /home/user', 'title' => ''], + 'FileGroup' => ['description' => 'The user group of the file.'."\n", 'type' => 'string', 'example' => 'root', 'title' => ''], + 'FileOwner' => ['description' => 'The owner of the file.'."\n", 'type' => 'string', 'example' => 'root', 'title' => ''], + 'Name' => ['description' => 'The name of the file sending task.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Content' => ['description' => 'The command output.'."\n" + ."\n" + .'If ContentEncoding is set to PlainText in the request, the original command output is returned. If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.'."\n", 'type' => 'string', 'example' => 'Base64', 'title' => ''], + 'CreationTime' => ['description' => 'The time when the file sending task was created.'."\n", 'type' => 'string', 'example' => '2023-04-10T10:53:46.156+08:00'."\n", 'title' => ''], + 'InvokeNodes' => [ + 'description' => 'The file sending records.'."\n", + 'type' => 'object', + 'properties' => [ + 'InvokeNode' => [ + 'description' => 'The file sending records on a node.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InvocationStatus' => ['description' => 'The status of the file sending task on an instance. Valid values:'."\n" + ."\n" + .'* Pending: The file is being verified or sent.'."\n" + .'* Invalid: The file is invalid.'."\n" + .'* Running: The file is being sent to the instance.'."\n" + .'* Aborted: The file failed to be sent to the instance.'."\n" + .'* Success: The file is sent.'."\n" + .'* Failed: The file failed to be created on the instance.'."\n" + .'* Error: An error occurred and interrupted the file sending task.'."\n" + .'* Timeout: The file sending task timed out.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'FinishTime' => ['description' => 'The time when the file sending task ends. The time is in the 2020-05-22T17:04:18 format.'."\n", 'type' => 'string', 'example' => '2023-04-10T10:53:46.156+08:00', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'example' => 'e01-cn-9lb3c15m81j', 'title' => ''], + 'ErrorInfo' => ['description' => 'The error message returned if the command failed to be sent or run. Valid values:'."\n" + ."\n" + .'* null: The command is run as expected.'."\n" + .'* the specified instance does not exists: The specified instance does not exist or is released.'."\n" + .'* the node has released when create task: The instance is released when the command is being run.'."\n" + .'* the node is not running when create task: The instance is not in the Running state while the command is being run.'."\n" + .'* the command is not applicable: The command is not applicable to the specified instance.'."\n" + .'* the specified account does not exists: The specified account does not exist.'."\n" + .'* the specified directory does not exists: The specified directory does not exist.'."\n" + .'* the cron job expression is invalid: The cron expression that specifies the execution time is invalid.'."\n" + .'* the aliyun service is not running on the instance: Cloud Assistant Agent is not running.'."\n" + .'* the aliyun service in the instance does not response: Cloud Assistant Agent does not respond.'."\n" + .'* the aliyun service in the node is upgrading now: Cloud Assistant Agent is being upgraded.'."\n" + .'* the aliyun service in the node need upgrade: Cloud Assistant Agent needs to be upgraded.'."\n" + .'* the command delivery has been timeout: The request to send the command timed out.'."\n" + .'* the command execution has been timeout: The command execution timed out.'."\n" + .'* the command execution got an exception: An exception occurred when the command is being run.'."\n" + .'* the command execution has been interrupted: The command execution is interrupted.'."\n" + .'* the command execution exit code is not zero: The command execution completes, but the exit code is not 0.'."\n" + .'* the specified instance has been released: The instance is released while the file is being sent.'."\n", 'type' => 'string', 'example' => 'the specified instance does not exists', 'title' => ''], + 'CreationTime' => ['description' => 'The time when the file sending task was created.'."\n", 'type' => 'string', 'example' => '2023-02-06T07:12:50Z', 'title' => ''], + 'StartTime' => ['description' => 'The start time.'."\n", 'type' => 'string', 'example' => '2023-03-30T16:00:00Z', 'title' => ''], + 'UpdateTime' => ['description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2023-03-30T16:00:00Z', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned when the file failed to be sent to the instance. Valid values:'."\n" + ."\n" + .'Null: The file is sent to the instance. NodeNotExists: The specified instance does not exist or has been released. NodeReleased: The instance was released while the file was being sent. NodeNotRunning: The instance was not running while the file sending task was being created. AccountNotExists: The specified account does not exist. ClientNotRunning: Cloud Assistant Agent is not running. ClientNotResponse: Cloud Assistant Agent did not respond. ClientIsUpgrading: Cloud Assistant Agent was being upgraded. ClientNeedUpgrade: Cloud Assistant Agent needs to be upgraded. DeliveryTimeout: The file sending task timed out. FileCreateFail: The file failed to be created. FileAlreadyExists: A file with the same name exists in the specified directory. FileContentInvalid: The file content is invalid. FileNameInvalid: The file name is invalid. FilePathInvalid: The specified directory is invalid. FileAuthorityInvalid: The specified permissions on the file are invalid. UserGroupNotExists: The specified user group does not exist.'."\n", 'type' => 'string', 'example' => 'AccountNotExists', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"Invocations\\": {\\n \\"Invocation\\": [\\n {\\n \\"FileMode\\": \\"0644\\",\\n \\"Overwrite\\": true,\\n \\"InvocationStatus\\": \\"Pending\\",\\n \\"Description\\": \\"Description.\\",\\n \\"ContentType\\": \\"PlainText\\",\\n \\"NodeCount\\": 3,\\n \\"TargetDir\\": \\"\\\\t/home/user\\",\\n \\"FileGroup\\": \\"root\\",\\n \\"FileOwner\\": \\"root\\",\\n \\"Name\\": \\"test\\",\\n \\"Content\\": \\"Base64\\",\\n \\"CreationTime\\": \\"2023-04-10T10:53:46.156+08:00\\\\n\\",\\n \\"InvokeNodes\\": {\\n \\"InvokeNode\\": [\\n {\\n \\"InvocationStatus\\": \\"Success\\",\\n \\"FinishTime\\": \\"2023-04-10T10:53:46.156+08:00\\",\\n \\"NodeId\\": \\"e01-cn-9lb3c15m81j\\",\\n \\"ErrorInfo\\": \\"the specified instance does not exists\\",\\n \\"CreationTime\\": \\"2023-02-06T07:12:50Z\\",\\n \\"StartTime\\": \\"2023-03-30T16:00:00Z\\",\\n \\"UpdateTime\\": \\"2023-03-30T16:00:00Z\\",\\n \\"ErrorCode\\": \\"AccountNotExists\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeSendFileResults', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSendFileResults'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeSendFileResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"VscId\\": \\"vsc-001\\"\\n}","type":"json"}]', - 'title' => 'CreateVsc', 'translator' => 'machine', ], - 'DescribeVsc' => [ - 'summary' => 'Queries information about a virtual storage channel (VSC).', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeTask' => [ + 'summary' => 'Queries the details of a task.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4133,746 +3534,1054 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '161255', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'VscId', + 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'title' => '需要查询的VscId', - 'description' => 'The VSC ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vsc-001', - ], + 'schema' => ['title' => '', 'description' => 'The task ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i156331731670384438138'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'VscId' => [ - 'title' => 'VscId', - 'description' => 'The VSC ID.'."\n", - 'type' => 'string', - 'example' => 'vsc-001', - ], - 'VscType' => [ - 'title' => 'Vsc类型', - 'description' => 'The VSC type.'."\n", - 'type' => 'string', - 'example' => 'primary', - ], - 'VscName' => [ - 'title' => 'Vsc自定义的名称', - 'description' => 'The custom name of the VSC.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'NodeId' => [ - 'title' => 'Vsc所在计算节点的id', - 'description' => 'The ID of the compute node in which the VSC resides.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A7FD7411-9395-52E8-AF42-EB3A4A55446D'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'i119982311660892626523'], + 'ClusterName' => ['title' => '', 'description' => 'The cluster name.'."\n", 'type' => 'string', 'example' => 'Standard_Cluster'], + 'TaskState' => [ + 'title' => '', + 'description' => 'The task status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* running'."\n" + .'* execution_success'."\n" + .'* execution_fail'."\n" + .'* waiting_to_run'."\n", 'type' => 'string', - 'example' => 'e01-cn-kvw44e6dn04', + 'enumValueTitles' => ['running' => '', 'execution_success' => '', 'execution_fail' => '', 'waiting_to_run' => ''], + 'example' => 'running', ], - 'Status' => [ - 'title' => 'Vsc所处的状态', - 'description' => 'The VSC status.'."\n" + 'TaskType' => [ + 'title' => '', + 'description' => 'The task type.'."\n" ."\n" .'Valid values:'."\n" ."\n" - .'* Creating'."\n" - .'* Normal'."\n" - .'* Deleting'."\n", + .'* reclone_node_sub_task'."\n" + .'* initialize_bare_cluster'."\n" + .'* extend_bare_cluster'."\n" + .'* reclone_node'."\n" + .'* reboot_node'."\n" + .'* extend_ack_edge_cluster'."\n" + .'* extend_cluster'."\n" + .'* initialize_ack_edge_cluster'."\n" + .'* cut_node_sub_task'."\n" + .'* reboot_node_sub_task'."\n" + .'* reclone_ack_edge_node'."\n" + .'* initialize_cluster'."\n" + .'* cut_cluster'."\n" + .'* reclone_bare_node'."\n" + .'* cut_bare_cluster'."\n", 'type' => 'string', 'enumValueTitles' => [ - 'Creating' => 'Creating', - 'Normal' => 'Normal', - 'Deleting' => 'Deleting', + 'reclone_node_sub_task' => '', 'initialize_bare_cluster' => '', 'extend_bare_cluster' => '', 'reclone_node' => '', 'reboot_node' => '', 'extend_ack_edge_cluster' => '', 'extend_cluster' => '', 'initialize_ack_edge_cluster' => '', 'cut_node_sub_task' => '', 'reboot_node_sub_task' => '', + 'reclone_ack_edge_node' => '', 'initialize_cluster' => '', 'cut_cluster' => '', 'reclone_bare_node' => '', 'cut_bare_cluster' => '', ], - 'example' => 'Normal', + 'example' => 'cut_cluster', ], - 'ResourceGroupId' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aek2k3rqlvv6ytq', + 'Message' => ['title' => '', 'description' => 'The error message returned for failed tasks.'."\n", 'type' => 'string', 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]'], + 'Steps' => [ + 'title' => '', + 'description' => 'The steps.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StepName' => ['title' => '', 'description' => 'The name of the step.'."\n", 'type' => 'string', 'example' => 'create_vpd'], + 'StepState' => [ + 'title' => '', + 'description' => 'The step status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* execution_success'."\n" + .'* execution_failed'."\n", + 'type' => 'string', + 'enumValueTitles' => ['execution_success' => '', 'execution_failed' => ''], + 'example' => 'execution_success', + ], + 'StepType' => [ + 'title' => '', + 'description' => 'The type of the step.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* normal: A normal step has only one successor step.'."\n" + .'* dispersive: A dispersive step has multiple successor steps.'."\n", + 'type' => 'string', + 'enumValueTitles' => ['normal' => '', 'dispersive' => ''], + 'example' => 'normal', + ], + 'SubTasks' => [ + 'title' => '', + 'description' => 'The sub tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['title' => '', 'description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'i158805051661047928377'], + 'TaskType' => [ + 'title' => '', + 'description' => 'The task type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* reclone_node_sub_task'."\n" + .'* initialize_bare_cluster'."\n" + .'* extend_bare_cluster'."\n" + .'* reclone_node'."\n" + .'* reboot_node'."\n" + .'* extend_ack_edge_cluster'."\n" + .'* extend_cluster'."\n" + .'* initialize_ack_edge_cluster'."\n" + .'* cut_node_sub_task'."\n" + .'* reboot_node_sub_task'."\n" + .'* reclone_ack_edge_node'."\n" + .'* initialize_cluster'."\n" + .'* cut_cluster'."\n" + .'* reclone_bare_node'."\n" + .'* cut_bare_cluster'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'reclone_node_sub_task' => '', 'initialize_bare_cluster' => '', 'extend_bare_cluster' => '', 'reclone_node' => '', 'reboot_node' => '', 'extend_ack_edge_cluster' => '', 'extend_cluster' => '', 'initialize_ack_edge_cluster' => '', 'cut_node_sub_task' => '', 'reboot_node_sub_task' => '', + 'reclone_ack_edge_node' => '', 'initialize_cluster' => '', 'cut_cluster' => '', 'reclone_bare_node' => '', 'cut_bare_cluster' => '', + ], + 'example' => 'cut_node_sub_task', + ], + 'CreateTime' => ['title' => '', 'description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2022-11-30T2:00:00.852Z'], + 'UpdateTime' => ['title' => '', 'description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2022-11-30T02:20:14.852Z'], + 'Message' => ['title' => '', 'description' => 'The error message returned for failed sub tasks.'."\n", 'type' => 'string', 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]'], + 'TaskState' => ['title' => '', 'description' => 'The task status.'."\n", 'type' => 'string', 'example' => 'running'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'StageTag' => [ + 'title' => '', + 'description' => 'The stage marker.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* 机器释放: Machine release.'."\n" + .'* 节点并发初始化: Node concurrent initialization.'."\n" + .'* 节点释放: Node release.'."\n" + .'* 机器替换: Machine replacement.'."\n" + .'* 节点缩容: Node scale-in.'."\n" + .'* 提前续费: Early renewal.'."\n" + .'* 物理机清理: Physical machine cleanup.'."\n" + .'* 节点清理: Node cleanup.'."\n" + .'* 创建K8s集群: Create Kubernetes cluster.'."\n" + .'* 网络初始化: Network initialization.'."\n" + .'* 节点重启: Node restart.'."\n" + .'* 节点退订: Node unsubscribe.'."\n" + .'* 集群扩容: Cluster scale-out.'."\n" + .'* 异常机器释放: Abnormal machine release.', + 'type' => 'string', + 'enumValueTitles' => [ + '机器释放' => '', '节点并发初始化' => '', '节点释放' => '', '机器替换' => '', '节点缩容' => '', '提前续费' => '', '物理机清理' => '', '节点清理' => '', '创建K8s集群' => '', '网络初始化' => '', + '节点重启' => '', '节点退订' => '', '集群扩容' => '', '异常机器释放' => '', + ], + 'example' => 'Node scale-down', + ], + 'Message' => ['title' => '', 'description' => 'The error message of the step.'."\n", 'type' => 'string', 'example' => 'get taskinfo failed'], + 'StartTime' => ['title' => '', 'description' => 'The start time.'."\n", 'type' => 'string', 'example' => '2022-11-30T2:00:00.852Z'], + 'UpdateTime' => ['title' => '', 'description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2022-11-30T02:20:14.852Z'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'CreateTime' => ['title' => '', 'description' => 'The create time.'."\n", 'type' => 'string', 'example' => '2022-11-30T02:00:00.852Z'], + 'UpdateTime' => ['title' => '', 'description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2022-11-30T03:40:14.852Z'], + 'NodeIds' => [ + 'title' => '', + 'description' => 'The IDs of the nodes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'A node ID.'."\n", 'type' => 'string', 'example' => '[\'mock-sn-200101\']', 'title' => ''], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7FD7411-9395-52E8-AF42-EB3A4A55446D\\",\\n \\"ClusterId\\": \\"i119982311660892626523\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"TaskState\\": \\"running\\",\\n \\"TaskType\\": \\"cut_cluster\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"Steps\\": [\\n {\\n \\"StepName\\": \\"create_vpd\\",\\n \\"StepState\\": \\"execution_success\\",\\n \\"StepType\\": \\"normal\\",\\n \\"SubTasks\\": [\\n {\\n \\"TaskId\\": \\"i158805051661047928377\\",\\n \\"TaskType\\": \\"cut_node_sub_task\\",\\n \\"CreateTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"TaskState\\": \\"running\\"\\n }\\n ],\\n \\"StageTag\\": \\"Node scale-down\\",\\n \\"Message\\": \\"get taskinfo failed\\",\\n \\"StartTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-11-30T02:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T03:40:14.852Z\\",\\n \\"NodeIds\\": [\\n \\"[\'mock-sn-200101\']\\"\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeTask', + 'changeSet' => [ + ['createdAt' => '2023-06-06T11:25:16.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"VscId\\": \\"vsc-001\\",\\n \\"VscType\\": \\"primary\\",\\n \\"VscName\\": \\"test_name\\",\\n \\"NodeId\\": \\"e01-cn-kvw44e6dn04\\",\\n \\"Status\\": \\"Normal\\",\\n \\"ResourceGroupId\\": \\"rg-aek2k3rqlvv6ytq\\"\\n}","type":"json"}]', - 'title' => 'DescribeVsc', 'translator' => 'machine', ], - 'DeleteVsc' => [ - 'summary' => 'Deletes a virtual storage channel (VSC).', + 'DescribeVsc' => [ 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], 'autoTest' => false, 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等参数', - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], [ 'name' => 'VscId', 'in' => 'formData', - 'schema' => [ - 'title' => '需要删除的VscId', - 'description' => 'The ID of the VSC that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vsc-001', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the Vsc.', 'type' => 'string', 'required' => true, 'example' => 'vsc-001'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'VscId' => ['title' => 'VscId', 'description' => 'VscId', 'type' => 'string', 'example' => 'vsc-001'], + 'VscType' => ['title' => '', 'description' => 'The type of the Vsc.', 'type' => 'string', 'example' => 'primary'], + 'VscName' => ['title' => '', 'description' => 'The custom name of the Vsc.', 'type' => 'string', 'example' => 'test_name'], + 'NodeId' => ['title' => '', 'description' => 'The ID of the compute node where the Vsc is located.', 'type' => 'string', 'example' => 'e01-cn-kvw44e6dn04'], + 'Status' => [ + 'title' => '', + 'description' => 'The status of the Vsc.', 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', + 'enumValueTitles' => ['Creating' => 'Creating', 'Normal' => 'Normal', 'Deleting' => 'Deleting'], + 'example' => 'Normal', ], + 'ResourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-aek2k3rqlvv6ytq'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeVsc', + 'summary' => 'Retrieves the details of a specific virtual switch controller (Vsc).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsc'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\"\\n}","type":"json"}]', - 'title' => 'DeleteVsc', - 'translator' => 'machine', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"VscId\\": \\"vsc-001\\",\\n \\"VscType\\": \\"primary\\",\\n \\"VscName\\": \\"test_name\\",\\n \\"NodeId\\": \\"e01-cn-kvw44e6dn04\\",\\n \\"Status\\": \\"Normal\\",\\n \\"ResourceGroupId\\": \\"rg-aek2k3rqlvv6ytq\\"\\n}","type":"json"}]', ], - 'ListVscs' => [ - 'summary' => 'Queries a list of virtual storage channels (VSC).', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeZones' => [ + 'summary' => 'Queries a list of zones.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '161776', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'AcceptLanguage', 'in' => 'formData', - 'allowEmptyValue' => true, 'schema' => [ - 'title' => '标记当前开始读取的位置,置空表示从头开始', - 'description' => 'The token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'title' => '', + 'description' => 'The natural language that is used to filter responses. For more information, see RFC 7231. Valid values:'."\n" + ."\n" + .'zh-CN en-US Default value: zh-CN.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* en-US'."\n" + .'* zh-CN'."\n", 'type' => 'string', 'required' => false, - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'formData', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '本次读取的最大数据记录数量', - 'description' => 'The maximum number of data entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + 'enumValueTitles' => ['en-US' => '', 'zh-CN' => ''], + 'example' => 'zh-CN', ], ], - [ - 'name' => 'NodeIds', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The IDs of the nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[\'mock-sn-200101\']', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'E9116F2D-82F8-501E-9ADB-2BE0C02B6A84'], + 'Zones' => [ + 'title' => '', + 'description' => 'The list of zones.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['title' => '', 'description' => 'The zone name.'."\n", 'type' => 'string', 'example' => 'Hangzhou'], + 'ZoneId' => ['title' => '', 'description' => 'The zone ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-i'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], ], - 'required' => false, - 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'VscName', - 'in' => 'formData', - 'schema' => [ - 'title' => 'Vsc名称', - 'description' => 'The VSC name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_name', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9116F2D-82F8-501E-9ADB-2BE0C02B6A84\\",\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"Hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeZones', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeZones'], ], + ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ExtendCluster' => [ + 'summary' => 'Scales out a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '161261', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'i15b480fbd2fcdbc2869cd80'], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The tags.'."\n", + 'title' => '', + 'description' => 'The node groups.', 'type' => 'array', 'items' => [ - 'description' => 'The tag.'."\n", + 'description' => 'The node groups.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', + 'Nodes' => [ + 'title' => '', + 'description' => 'The node list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node list.', + 'type' => 'object', + 'properties' => [ + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => 'd044d220-33fd-11ed-86a6'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2zdpy601'], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => '***'], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jlasms92fdxqd3wlf8ny', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp169pi5fj151rrms4sia', 'title' => ''], + 'DataDisk' => [ + 'description' => 'The data cloud disk specifications.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data cloud disk specifications.', + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => ['description' => 'Specifies whether the data cloud disk is deleted when the node is unsubscribed.', 'type' => 'boolean', 'default' => 'True', 'required' => false, 'example' => 'true', 'title' => ''], + 'Category' => ['description' => 'The type.', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance metric of the data cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'PL0', 'title' => ''], + 'BurstingEnabled' => ['description' => 'Specifies whether to enable burst (I/O burst).', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'ProvisionedIops' => ['description' => 'The provisioned performance (IOPS). Valid values: 0 to 50000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => ['title' => '', 'description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-uf68xu2102avz7pl3t5d'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'key001', - 'maxLength' => 129, + 'example' => '', ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', + 'HyperNodes' => [ + 'title' => '', + 'description' => 'The list of hyper nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The hyper node information.', + 'type' => 'object', + 'properties' => [ + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => 'liliang-rmn7stf7-0000'], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => '***'], + 'HyperNodeId' => ['title' => '', 'description' => 'The hyper node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-2r42tmj4z02'], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jl8gs7qmx89739e210dn', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-8vbobo4cvzsygw98f4j6b', 'title' => ''], + 'DataDisk' => [ + 'description' => 'The list of cloud disk information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The cloud disk information.', + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => ['description' => 'Specifies whether the data cloud disk is deleted when the node is unsubscribed.', 'type' => 'boolean', 'default' => 'True', 'required' => false, 'example' => 'True', 'title' => ''], + 'Category' => ['description' => 'The cloud disk type. Valid values:'."\n" + ."\n" + .' - cloud_essd: ESSD.', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + 'PerformanceLevel' => ['description' => 'The performance level (PL) when an ESSD is used as a system cloud disk. Valid values:'."\n" + .'- PL0: a maximum of 10,000 random read/write IOPS per disk.'."\n" + .'- PL1: a maximum of 50,000 random read/write IOPS per disk.', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''], + 'BurstingEnabled' => ['description' => 'Specifies whether to enable burst (I/O burst).', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'ProvisionedIops' => ['description' => 'The provisioned performance (read/write IOPS) of a single ESSD AutoPL cloud disk.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '9600', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => ['title' => '', 'description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-uf68xu2102avz7pl3t5d'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'i16d4883a46cbadeb4bc9'], + 'UserData' => ['title' => '', 'description' => 'The custom executable shell script. The script must be Base64-encoded. The maximum size of the raw data is 16 KB.', 'type' => 'string', 'required' => false, 'example' => 'ZWNobyBoZWxsbyBlY3Mh'], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], + 'Amount' => ['title' => '', 'description' => 'The number of nodes to purchase. Valid values: 0 to 500. If Amount is set to 0, no nodes are purchased and existing nodes are used for scale-out. If Amount is set to a value from 1 to 500, the specified number of nodes are purchased and used for scale-out. Default value: 0', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4'], + 'ChargeType' => ['title' => '', 'description' => 'The billing method of the nodes. This parameter does not take effect when Amount is set to 0. Valid values: PREPAY: subscription. POSTPAY: pay-as-you-go. Default value: PREPAY.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid'], + 'Period' => ['title' => '', 'description' => 'The subscription duration of the purchased nodes. Unit: months. Valid values: 1, 6, 12, 24, 36, and 48. This parameter takes effect when Amount is not 0 and ChargeType is set to PREPAY.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6'], + 'AutoRenew' => ['title' => '', 'description' => 'Specifies whether to enable auto-renewal for the purchased nodes. This parameter takes effect when Amount is not 0 and ChargeType is set to PREPAY or POSTPAY. Valid values: True: Enable auto-renewal. False: Disable auto-renewal. Default value: False.', 'type' => 'boolean', 'required' => false, 'example' => 'True'], + 'Hostnames' => [ + 'title' => '', + 'description' => 'The hostnames of the purchased nodes. This parameter does not take effect when Amount is set to 0.', + 'type' => 'array', + 'items' => ['description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => 'i22c11282.eu95sqa', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password of the purchased nodes. This parameter does not take effect when Amount is set to 0.', 'type' => 'string', 'required' => false, 'example' => 'skkO(*89Y'], + 'NodeTag' => [ + 'title' => '', + 'description' => 'The node tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '', 'description' => 'The tag key of the node.', 'type' => 'string', 'required' => false, 'example' => 'key_my'], + 'Value' => ['title' => '', 'description' => 'The tag value of the node.', 'type' => 'string', 'required' => false, 'example' => 'value_my'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'value001', + 'example' => '', ], + 'VpcId' => ['title' => '', 'description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-0jl3b0c0ukydlfezr13n6'], + 'VSwitchId' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf65m8xqjgy55xj9jw92n'], + 'SavingsPlanId' => ['title' => '', 'description' => 'The savings plan ID.', 'type' => 'string', 'required' => false, 'example' => 'spn-25e985acAWbrwEBJ'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 21, + 'example' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'IgnoreFailedNodeTasks', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to skip failed nodes. Default value: False.', 'type' => 'boolean', 'required' => false, 'example' => 'False'."\n"], + ], + [ + 'name' => 'VpdSubnets', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', + 'description' => 'The list of cluster subnets.', + 'type' => 'array', + 'items' => ['description' => 'The VPD subnet.', 'type' => 'string', 'required' => false, 'example' => '["subnet-3od2fe","subnet-fdo3dv"]', 'title' => ''], 'required' => false, - 'example' => 'rg-aek2xdkc6icwfha', + 'title' => '', + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'IpAllocationPolicy', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => 'The total number of VSCs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '03668372-18FF-5959-98D9-6B36A4643C7A', - ], - 'NextToken' => [ - 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', - 'description' => 'The token. It can be used in the next request to retrieve a new page of results. If this parameter is empty, no next page exists.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '3a6b93229825ac667104463b56790c91', - ], - 'Vscs' => [ - 'title' => 'VSC列表', - 'description' => 'The VSCs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The VSC.'."\n", + 'description' => 'The combined IP allocation policy. Each policy can use only one policy type, and multiple policies can be combined.', + 'type' => 'array', + 'items' => [ + 'description' => 'The IP allocation policy.', + 'type' => 'object', + 'properties' => [ + 'BondPolicy' => [ + 'description' => 'Specifies the cluster subnet ID based on the bond name.', 'type' => 'object', 'properties' => [ - 'VscId' => [ - 'title' => 'VscId', - 'description' => 'The VSC ID.'."\n", - 'type' => 'string', - 'example' => 'vsc-001', - ], - 'VscType' => [ - 'title' => 'Vsc类型,primary/secondary', - 'description' => 'The VSC type. Valid values: primary and standard.'."\n", - 'type' => 'string', - 'example' => 'primary', - ], - 'VscName' => [ - 'title' => 'Vsc自定义的名称', - 'description' => 'The custom name of the VSC.'."\n", - 'type' => 'string', - 'example' => 'test_name', - ], - 'NodeId' => [ - 'title' => '灵骏节点Id', - 'description' => 'The ID of the Lingjun node.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-fzh47xd7u08', - ], - 'Status' => [ - 'title' => 'Vsc所处的状态', - 'description' => 'The VSC status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Creating'."\n" - .'* Normal'."\n" - .'* Deleting'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Creating' => 'Creating', - 'Normal' => 'Normal', - 'Deleting' => 'Deleting', - ], - 'example' => 'Normal', - ], - 'Tags' => [ - 'title' => '标签', - 'description' => 'The tags.'."\n", + 'BondDefaultSubnet' => ['description' => 'The default bond cluster subnet.', 'type' => 'string', 'required' => false, 'example' => 'subnet-3od2fe', 'title' => ''], + 'Bonds' => [ + 'description' => 'The bond information.', 'type' => 'array', 'items' => [ - 'title' => '标签', - 'description' => 'The tag.'."\n", + 'description' => 'The bond object.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'title' => '标签键', - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key001', - ], - 'TagValue' => [ - 'title' => '标签值', - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value001', + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'Bond0', 'title' => ''], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => 'subnet-3od2fe'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'MachineTypePolicy' => [ + 'description' => 'The machine type allocation policy.', + 'type' => 'array', + 'items' => [ + 'description' => 'The policy object.', + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'The bond information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The bond object.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'Bond0', 'title' => ''], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => 'subnet-fdo3dv', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'required' => false, 'example' => 'efg1.nvga1', 'title' => ''], ], - 'ResourceGroupId' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-acfm2zkwhkns57i', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'NodePolicy' => [ + 'description' => 'The node allocation policy.', + 'type' => 'array', + 'items' => [ + 'description' => 'The policy object.', + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'The bond information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The bond object.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The bond name.', 'type' => 'string', 'required' => false, 'example' => 'Bond0', 'title' => ''], + 'Subnet' => ['description' => 'The cluster subnet from which the IP address is allocated.', 'type' => 'string', 'required' => false, 'example' => 'subnet-fdo3dv', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'i-3fdodw2', 'title' => ''], + 'Hostname' => ['description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => 'a100-xa5dza28-0085', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'MaxResults' => [ - 'description' => 'No response is returned. The TotalCount parameter is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'VSwitchZoneId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The zone ID of the vSwitch.', + 'enumValueTitles' => ['cn-beijing-d' => 'cn-beijing-b'], + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai-b', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '03668372-18FF-5959-98D9-6B36A4643C7A'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i158475611663639202234'], ], + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"03668372-18FF-5959-98D9-6B36A4643C7A\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', + 'title' => 'Scale out a cluster', + 'description' => 'Closes a remote session.', + 'changeSet' => [ + ['createdAt' => '2025-06-20T08:19:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-03T06:49:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-03T06:49:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-03T06:49:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-26T15:31:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-21T11:33:16.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-15T14:48:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-21T08:15:41.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExtendCluster'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ExtendCluster', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'eflo:ImageSource', 'validationType' => 'always'], + ['conditionKey' => 'eflo:ImageOwnerId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"03668372-18FF-5959-98D9-6B36A4643C7A\\",\\n \\"NextToken\\": \\"3a6b93229825ac667104463b56790c91\\",\\n \\"Vscs\\": [\\n {\\n \\"VscId\\": \\"vsc-001\\",\\n \\"VscType\\": \\"primary\\",\\n \\"VscName\\": \\"test_name\\",\\n \\"NodeId\\": \\"e01-cn-fzh47xd7u08\\",\\n \\"Status\\": \\"Normal\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key001\\",\\n \\"TagValue\\": \\"value001\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfm2zkwhkns57i\\"\\n }\\n ],\\n \\"MaxResults\\": 0\\n}","type":"json"}]', - 'title' => 'ListVscs', - 'translator' => 'machine', ], - 'UntagResources' => [ - 'summary' => 'Deletes a custom tag from a resource.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetHyperNode' => [ + 'summary' => 'Queries the details of a hypernode.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Node'."\n" - .'* Cluster'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Node' => '', - 'Cluster' => '', - ], - 'example' => 'Cluster', - ], + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the hypernode.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The resource IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15z93xkon193oaxf1ese8', - 'title' => '资源 ID。', - ], - 'required' => true, - 'maxItems' => 50, - 'title' => '资源 ID 列表。可输入最多 50 个资源 ID。', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '资源所属的地域 ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'TagKey', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A tag key. You can specify up to 20 tag keys.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac-cus-tag-0', - 'title' => '资源的标签键。', - ], - 'required' => false, - 'maxItems' => 21, - 'title' => '资源的标签键列表。可输入最多 20 个标签键。', - ], - ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to remove all tags. This parameter takes effect only when TagKey.N is not specified. Valid values:'."\n" - ."\n" - .'* True'."\n" - .'* False'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - 'title' => '是否解绑资源上全部的标签。当请求中未设置 TagKey.N 时,该参数才有效。取值范围:'."\n" - .'true'."\n" - .'false'."\n" - .'默认值:false', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The struct returned.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求 ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '81F648D0-5570-5351-AE98-6F501C7E957F', + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1'], + 'NodeGroupName' => ['type' => 'string', 'title' => '', 'description' => 'The name of the node group.', 'example' => 'emr-default'], + 'ClusterId' => ['type' => 'string', 'title' => '', 'description' => 'The cluster ID.', 'example' => 'i112138561737531371671'], + 'ClusterName' => ['type' => 'string', 'title' => '', 'description' => 'The name of the cluster.', 'example' => 'Standard_Cluster'], + 'ZoneId' => ['type' => 'string', 'title' => '', 'description' => 'The zone ID.', 'example' => 'cn-wulanchabu-c'], + 'CreateTime' => ['type' => 'string', 'title' => '', 'description' => 'The time when the hypernode was created.', 'example' => '2022-11-30T02:00:00.852Z'], + 'NodeGroupId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the node group.', 'example' => 'ng-ec3c96ff0aa4c60d'], + 'MachineType' => ['type' => 'string', 'title' => '', 'description' => 'The machine type.', 'example' => 'efg2.C48cNHmcn'], + 'ExpireTime' => ['type' => 'string', 'title' => '', 'description' => 'The expiration time.', 'example' => '2026-05-14T00:00:00'], + 'HpnZone' => ['type' => 'string', 'description' => 'The cluster number.', 'title' => '', 'example' => 'A1'], + 'ResourceGroupId' => ['type' => 'string', 'description' => 'The resource group ID.', 'title' => '', 'example' => 'rg-acfmwfm33rlt6zi'], + 'FileSystemMountEnabled' => ['type' => 'boolean', 'title' => '', 'description' => 'Indicates whether file storage mounting is supported.', 'example' => 'True'], + 'HyperNodeId' => ['type' => 'string', 'description' => 'The ID of the hypernode.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], + 'Nodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeId' => ['type' => 'string', 'description' => 'The node ID.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr0b'], + 'ImageId' => ['type' => 'string', 'description' => 'The image ID.', 'title' => '', 'example' => 'i190297201669099844192'], + 'Hostname' => ['type' => 'string', 'description' => 'The hostname.', 'title' => '', 'example' => 'alywlcb-lingjun-gpu-0025'], + 'Status' => ['type' => 'string', 'description' => 'The status.', 'title' => '', 'example' => 'InProgress'], + 'ImageName' => ['type' => 'string', 'description' => 'The image name.', 'title' => '', 'example' => 'Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428'], + 'Networks' => [ + 'type' => 'object', + 'properties' => [ + 'BondName' => ['type' => 'string', 'description' => 'The name of the network interface on the machine.', 'title' => '', 'example' => 'bond0'], + 'Ip' => ['type' => 'string', 'description' => 'The IP address of the machine in the virtual private cloud (VPC).', 'title' => '', 'example' => '172.17.231.113'], + ], + 'description' => 'The network information.', + 'title' => '', + 'example' => '', + ], + 'UserData' => ['type' => 'string', 'description' => 'The user-defined script.', 'title' => '', 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh'], + 'Disks' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DiskId' => ['type' => 'string', 'description' => 'The disk ID.', 'title' => '', 'example' => 'd-bp1564bcc2306uui4zpk'], + 'Category' => ['type' => 'string', 'description' => 'The packet classification. Valid values:'."\n" + ."\n" + .'- **DOWNLINK\\_PACKET**: Downlink packet.'."\n" + ."\n" + .'- **UPLINK\\_PACKET**: Uplink packet.', 'title' => '', 'example' => 'DOWNLINK_PACKET'], + 'Size' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The disk size. Unit: GiB.', 'title' => '', 'example' => '5'], + 'PerformanceLevel' => ['type' => 'string', 'description' => 'When you create an enhanced SSD (ESSD) to use as a system disk, set the performance level of the disk. Valid values:'."\n" + ."\n" + .'- PL0: A maximum of 10,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- PL1: A maximum of 50,000 random read/write IOPS per disk.', 'title' => '', 'example' => 'PL0'], + 'Type' => ['type' => 'string', 'description' => 'The disk type. Possible values:'."\n" + ."\n" + .'- system: system disk.'."\n" + ."\n" + .'- data: data disk.', 'title' => '', 'example' => 'system'], + ], + 'description' => 'The disk information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The disk information.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of nodes.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of nodes.', + 'title' => '', + 'example' => '', ], + 'Status' => ['type' => 'string', 'description' => 'The status of the node.', 'title' => '', 'example' => 'Using'], + 'Hostname' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => 'alywlcb-lingjun-gpu-0025'], ], + 'description' => 'Schema of Response', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'SystemError', - 'errorMessage' => 'A system error occurred while processing your request', - ], - ], - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'The operator is not permission for this operate ', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetHyperNode', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:GetHyperNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"81F648D0-5570-5351-AE98-6F501C7E957F\\"\\n}","type":"json"}]', - 'title' => 'UntagResources', - 'translator' => 'machine', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"NodeGroupName\\": \\"emr-default\\",\\n \\"ClusterId\\": \\"i112138561737531371671\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"ZoneId\\": \\"cn-wulanchabu-c\\",\\n \\"CreateTime\\": \\"2022-11-30T02:00:00.852Z\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"MachineType\\": \\"efg2.C48cNHmcn\\",\\n \\"ExpireTime\\": \\"2026-05-14T00:00:00\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmwfm33rlt6zi\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\",\\n \\"Nodes\\": [\\n {\\n \\"NodeId\\": \\"e01-cn-zvp2tgykr0b\\",\\n \\"ImageId\\": \\"i190297201669099844192\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\",\\n \\"Status\\": \\"InProgress\\",\\n \\"ImageName\\": \\"Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428\\",\\n \\"Networks\\": {\\n \\"BondName\\": \\"bond0\\",\\n \\"Ip\\": \\"172.17.231.113\\"\\n },\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/ttttt20250110141010.sh\\",\\n \\"Disks\\": [\\n {\\n \\"DiskId\\": \\"d-bp1564bcc2306uui4zpk\\",\\n \\"Category\\": \\"DOWNLINK_PACKET\\",\\n \\"Size\\": 5,\\n \\"PerformanceLevel\\": \\"PL0\\",\\n \\"Type\\": \\"system\\"\\n }\\n ]\\n }\\n ],\\n \\"Status\\": \\"Using\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\"\\n}","type":"json"}]', ], - 'TagResources' => [ - 'summary' => 'Tags resources.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListClusterHyperNodes' => [ + 'summary' => 'Lists the node groups of a cluster and the nodes in each group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '162039', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Node'."\n" - .'* Vcc'."\n" - .'* Cluster'."\n" - .'* Vpd'."\n" - .'* Subnet'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Node' => '', - 'Vcc' => '', - 'Cluster' => '', - 'Vpd' => '', - 'Subnet' => '', - ], - 'example' => 'Cluster', - ], + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The cluster ID.', 'example' => 'i119982311660892626523'], ], [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源id', - 'description' => 'The IDs of the resources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-uf6dlxcxssr4cgpkoo85', - ], - 'required' => true, - 'maxItems' => 50, - ], + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The token used to start the query. Set this parameter to the NextToken value returned from a previous call.', 'required' => false, 'example' => '563d42ae0b17572449ec8c97f7f66069'], ], [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '资源所属的地域 ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'title' => '', 'description' => 'The number of entries to return on each page. The maximum value is 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'• If this parameter is not set or is set to a value less than 20, the default value is 20.'."\n" + ."\n" + .'• If this parameter is set to a value greater than 100, the default value is 100.', 'required' => false, 'example' => '20'], ], [ - 'name' => 'Tag', + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => 'The node group ID.', 'required' => false, 'title' => '', 'example' => 'ng-ec3c96ff0aa4c60d'], + ], + [ + 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '标签数组。数组长度:1~20。如果数组中有多个标签对象,标签键Key不允许重复。', - 'description' => 'The tags.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'app', - 'title' => '标签键,不允许为空和空字符串。最多支持 128 个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', - 'maxLength' => 128, - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v3', - 'title' => '标签值。不允许为空,可以为空字符串。最多支持 128 个字符,不能包含http://或者https://。', - 'maxLength' => 256, - ], + 'Key' => ['type' => 'string', 'maxLength' => 129, 'description' => 'The tag key.', 'required' => false, 'title' => '', 'example' => 'my_key'], + 'Value' => ['type' => 'string', 'maxLength' => 129, 'description' => 'The tag value.', 'required' => false, 'title' => '', 'example' => 'my_value'], ], + 'description' => 'The tag information.', 'required' => false, - 'description' => '', - 'title' => '标签对象。', + 'title' => '', + 'example' => '', ], - 'required' => true, - 'maxItems' => 20, + 'maxItems' => 21, + 'title' => '', + 'description' => 'The tag information.', + 'required' => false, + 'example' => '', ], ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The resource group ID.', 'required' => false, 'example' => 'rg-acfmywpvugkh7kq'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求 ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E7BB53E1-0B08-5C4E-BA66-9225548C3151', + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'NextToken' => ['type' => 'string', 'title' => '', 'description' => 'The query token returned from this call.', 'example' => '563d42ae0b17572449ec8c97f7f66069'], + 'HyperNodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => ['type' => 'string', 'title' => '', 'description' => 'The time when the node was created.', 'example' => '2025-07-07T17:38:35.391'], + 'ExpireTime' => ['type' => 'string', 'title' => '', 'description' => 'The expiration time of the machine.', 'example' => '2025-04-19T02:32:48Z'], + 'MachineType' => ['type' => 'string', 'title' => '', 'description' => 'The machine type.', 'example' => 'efg2.NH2cn'], + 'NodeGroupId' => ['type' => 'string', 'title' => '', 'description' => 'The node group ID.', 'example' => 'i123229811742436895560'], + 'NodeGroupName' => ['type' => 'string', 'title' => '', 'description' => 'The name of the node group.', 'example' => 'g1'], + 'HyperNodeId' => ['type' => 'string', 'title' => '', 'description' => 'The node ID.', 'example' => 'e01-cn-2r42tmj4z02'], + 'ZoneId' => ['type' => 'string', 'title' => '', 'description' => 'The zone ID.', 'example' => 'cn-shanghai-b'], + 'HpnZone' => ['type' => 'string', 'description' => 'The cluster ID.', 'title' => '', 'example' => 'B1'], + 'VpcId' => ['type' => 'string', 'title' => '', 'description' => 'The virtual private cloud (VPC) ID.', 'example' => 'vpc-0jl8gs7qmx89739e210dn'], + 'VSwitchId' => ['type' => 'string', 'title' => '', 'description' => 'The vSwitch ID.', 'example' => 'vsw-bp1u4ej4ap8c4yiqfi87c'], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string', 'description' => 'The tag key.', 'title' => '', 'example' => 'key1'], + 'Value' => ['type' => 'string', 'description' => 'The tag value.', 'title' => '', 'example' => 'ali-zeekr-ota-doris-prod-hz-selectdb'], + ], + 'description' => 'The tag information.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'description' => 'The tag information.', + 'example' => '', + ], + 'TaskId' => ['type' => 'string', 'title' => '', 'description' => 'The task ID.', 'example' => 'i153907661745288876128'], + 'CommodityCode' => ['type' => 'string', 'title' => '', 'description' => 'The commodity code.', 'example' => 'bccluster_eflocomputing_public_cn'], + 'FileSystemMountEnabled' => ['type' => 'boolean', 'title' => '', 'description' => 'Indicates whether file storage mounting is supported.', 'example' => 'False'], + 'Status' => ['type' => 'string', 'title' => '', 'description' => 'The status of the node.', 'deprecated' => true, 'example' => 'Extending'], + 'Hostname' => ['type' => 'string', 'description' => 'The hostname.', 'title' => '', 'example' => 'alywlcb-lingjun-gpu-0025'], + 'OperatingState' => ['type' => 'string', 'description' => 'The status of the hyper node.', 'title' => '', 'example' => 'Using'], + ], + 'description' => 'The node information.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'description' => 'The list of nodes.', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'SystemError', - 'errorMessage' => 'A system error occurred while processing your request', - ], - ], - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'The operator is not permission for this operate', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListClusterHyperNodes', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusterHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#clusterId}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7BB53E1-0B08-5C4E-BA66-9225548C3151\\"\\n}","type":"json"}]', - 'title' => 'TagResources', - 'translator' => 'machine', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"HyperNodes\\": [\\n {\\n \\"CreateTime\\": \\"2025-07-07T17:38:35.391\\",\\n \\"ExpireTime\\": \\"2025-04-19T02:32:48Z\\",\\n \\"MachineType\\": \\"efg2.NH2cn\\",\\n \\"NodeGroupId\\": \\"i123229811742436895560\\",\\n \\"NodeGroupName\\": \\"g1\\",\\n \\"HyperNodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"HpnZone\\": \\"B1\\",\\n \\"VpcId\\": \\"vpc-0jl8gs7qmx89739e210dn\\",\\n \\"VSwitchId\\": \\"vsw-bp1u4ej4ap8c4yiqfi87c\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"ali-zeekr-ota-doris-prod-hz-selectdb\\"\\n }\\n ],\\n \\"TaskId\\": \\"i153907661745288876128\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"Status\\": \\"Extending\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\",\\n \\"OperatingState\\": \\"Using\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'ListTagResources' => [ - 'summary' => 'Queries the tags of resources.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListClusterNodes' => [ + 'summary' => 'Queries the nodes in a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4884,251 +4593,255 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '162039', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Node'."\n" - .'* Vcc'."\n" - .'* Cluster'."\n" - .'* Subnet'."\n" - .'* Vpd'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Node' => '', - 'Vcc' => '', - 'Cluster' => '', - 'Subnet' => '', - 'Vpd ' => '', - ], - 'example' => 'Node', - ], + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i15b480fbd2fcdbc2869cd80'], ], [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the resources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i1520224L16AY60305', - ], - 'required' => false, - 'maxItems' => 50, - ], + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'The token for pagination. To retrieve the next page of results, set this parameter to the NextToken value returned from the previous call.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY='], ], [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '资源所属的地域 ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return on each page. The default value is 20.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '20'], ], [ - 'name' => 'Tag', + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-ec3c96ff0aa4c60d', 'title' => ''], + ], + [ + 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tags.'."\n", + 'title' => '', + 'description' => 'The tags for filtering nodes.', 'type' => 'array', 'items' => [ + 'description' => 'A tag, which consists of a key and a value.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PodName', - 'title' => '精确查找灵骏资源时使用的标签键。标签键长度的取值范围为 1~128。N 的取值范围为 1~20。', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'WFT-OTC', - 'title' => '精确查找灵骏资源时使用的标签值。标签值长度的取值范围为 1~128。N 的取值范围为 1~20。', - ], + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'maxLength' => 129, 'required' => false, 'example' => 'my_key', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'maxLength' => 129, 'required' => false, 'example' => 'my_value', 'title' => ''], ], 'required' => false, - 'description' => '', - 'title' => '精确查找灵骏资源时使用的标签键。标签健长度的取值范围为 1~128。N 的取值范围为 1~20。', + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 21, - 'title' => '标签列表。', + 'example' => '', ], ], [ - 'name' => 'NextToken', - 'in' => 'query', + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'rg-ksld39333ss'], + ], + [ + 'name' => 'OperatingStates', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => ['description' => 'The node status.', 'type' => 'string', 'required' => false, 'example' => 'Extending', 'title' => ''], + 'maxItems' => 100, + 'title' => '', + 'description' => 'The operating states for filtering nodes.', 'required' => false, - 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', + 'example' => '', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8F208B6D-4C42-5FD3-B6BE-E826E92A44DD', - ], - 'TagResources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TagResource' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'env', - 'title' => '标签键。', - ], - 'TagValue' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'dev'."\n", - 'title' => '标签值。', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'i15azeddnvf7uhw2oij57o0', - ], - 'ResourceType' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Node'."\n" - .'* Cluster'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Node' => '', - 'Cluster' => '', - ], - 'example' => 'Cluster'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB'], + 'NextToken' => ['description' => 'The token to retrieve the next page of results. If this parameter is empty, no more results are available.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR'], + 'Nodes' => [ + 'title' => '', + 'description' => 'The list of nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details of the node.', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2026-02-02T11:27:07'], + 'ExpiredTime' => ['description' => 'The expiration time of the node.', 'type' => 'string', 'title' => '', 'example' => '2026-03-03T00:00:00'], + 'Hostname' => ['description' => 'The hostname.', 'type' => 'string', 'title' => '', 'example' => '72432f80-273e-11ed-b57a-acde48001122'], + 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'title' => '', 'example' => 'i190297201669099844192'], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'example' => 'cn-wulanchabu-b11'], + 'NodeGroupId' => ['description' => 'The node group ID.', 'type' => 'string', 'title' => '', 'example' => 'ng-e9b74f4d450cf18d'], + 'NodeGroupName' => ['description' => 'The node group name.', 'type' => 'string', 'title' => '', 'example' => 'emr_master'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-2r42tmj4z02'], + 'Sn' => [ + 'description' => 'The serial number (SN) of the node.', + 'enumValueTitles' => [], + 'type' => 'string', + 'title' => '', + 'example' => 'sn_tOuUk', + ], + 'ZoneId' => ['description' => 'The availability zone ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-b'], + 'Networks' => [ + 'title' => '', + 'description' => 'Network details.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details of a network interface.', + 'type' => 'object', + 'properties' => [ + 'BondName' => ['description' => 'The name of the network interface.', 'type' => 'string', 'example' => 'bond0', 'title' => ''], + 'Ip' => ['description' => 'The IP address of the node in the VPC.', 'type' => 'string', 'example' => '192.168.22.2', 'title' => ''], + 'SubnetId' => ['description' => 'The subnet ID.', 'type' => 'string', 'example' => 'subnet-fwekrvg9', 'title' => ''], + 'VpdId' => ['description' => 'The ID of the VPC to which the network interface belongs.', 'type' => 'string', 'example' => 'vpd-eoiy88ju', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'description' => '', - 'title' => '标签对象', + 'example' => '', + ], + 'HpnZone' => ['description' => 'The ID of the HPN zone.', 'type' => 'string', 'example' => 'A1', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC where the node is located.', 'type' => 'string', 'title' => '', 'example' => 'vpc-f8zcet5mwerafyqlrhyoi'], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => 'vsw-0jlohur7nhbxd1ttyq8p8'], + 'OperatingState' => [ + 'description' => 'The status of the node.', + 'enumValueTitles' => [ + 'Extending' => 'Scaling out', 'UnusedNodeStopped' => 'The unused node is stopped.', 'UnusedNodeStopping' => 'The unused node is stopping.', 'Unused' => 'Unused', 'Using' => 'In use', 'ReleaseLocking' => 'Pending release', 'Operating' => 'Operating', 'Cutting' => 'Scaling in', 'ClusterNodeStopped' => 'Cluster node stopped', 'UnusedNodeRecovering' => 'The unused node is recovering.', + 'ClusterNodeStopping' => 'The cluster node is stopping.', 'ClusterNodeRecovering' => 'The cluster node is recovering.', 'Replacing' => 'Replacing', + ], + 'type' => 'string', + 'title' => '', + 'example' => 'Extending', ], - 'title' => '由资源及其标签组成的集合,包含了资源 ID、资源类型和标签键值等信息。', + 'Tags' => [ + 'title' => '', + 'description' => 'The list of tags attached to the node.', + 'type' => 'array', + 'items' => [ + 'description' => 'A tag, which consists of a key-value pair.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'alarm_xdc', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'i-skkdsdl83ksxxs3'], + 'CommodityCode' => ['description' => 'The unique code that identifies the cloud product or service.', 'type' => 'string', 'title' => '', 'example' => 'bccluster_eflocomputing_public_cn(表示灵骏中国站包年包月)、bccluster_eflocomputing_public_intl(表示灵骏国际站包年包月) '], + 'ImageName' => ['description' => 'The image name.', 'type' => 'string', 'title' => '', 'example' => 'Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230'], + 'FileSystemMountEnabled' => ['description' => 'Indicates whether the node supports mounting file storage.', 'type' => 'boolean', 'title' => '', 'example' => 'False'], + 'HyperNodeId' => ['description' => 'The hyper node ID.', 'type' => 'string', 'example' => 'e01-cn-2r42tmj4z02', 'title' => ''], + 'NodeType' => ['description' => 'The type of the node.', 'type' => 'string', 'example' => 'standard', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'NextToken' => [ - 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', + 'example' => '', ], ], + 'description' => 'Response parameters', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'SystemError', - 'errorMessage' => 'A system error occurred while processing your request', - ], - ], - 403 => [ - [ - 'errorCode' => 'NoPermission ', - 'errorMessage' => 'The operator is not permission for this operate', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB\\",\\n \\"NextToken\\": \\"AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR\\",\\n \\"Nodes\\": [\\n {\\n \\"CreateTime\\": \\"2026-02-02T11:27:07\\",\\n \\"ExpiredTime\\": \\"2026-03-03T00:00:00\\",\\n \\"Hostname\\": \\"72432f80-273e-11ed-b57a-acde48001122\\",\\n \\"ImageId\\": \\"i190297201669099844192\\",\\n \\"MachineType\\": \\"cn-wulanchabu-b11\\",\\n \\"NodeGroupId\\": \\"ng-e9b74f4d450cf18d\\",\\n \\"NodeGroupName\\": \\"emr_master\\",\\n \\"NodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"Sn\\": \\"sn_tOuUk\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"Networks\\": [\\n {\\n \\"BondName\\": \\"bond0\\",\\n \\"Ip\\": \\"192.168.22.2\\",\\n \\"SubnetId\\": \\"subnet-fwekrvg9\\",\\n \\"VpdId\\": \\"vpd-eoiy88ju\\"\\n }\\n ],\\n \\"HpnZone\\": \\"A1\\",\\n \\"VpcId\\": \\"vpc-f8zcet5mwerafyqlrhyoi\\",\\n \\"VSwitchId\\": \\"vsw-0jlohur7nhbxd1ttyq8p8\\",\\n \\"OperatingState\\": \\"Extending\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"TaskId\\": \\"i-skkdsdl83ksxxs3\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn(表示灵骏中国站包年包月)、bccluster_eflocomputing_public_intl(表示灵骏国际站包年包月) \\",\\n \\"ImageName\\": \\"Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"HyperNodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"NodeType\\": \\"standard\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListClusterNodes', + 'changeSet' => [ + ['createdAt' => '2025-04-24T01:59:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-25T06:36:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2025-03-21T03:52:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T15:39:59.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClusterNodes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusterNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#clusterId}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F208B6D-4C42-5FD3-B6BE-E826E92A44DD\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagKey\\": \\"env\\",\\n \\"TagValue\\": \\"dev\\\\n\\",\\n \\"ResourceId\\": \\"i15azeddnvf7uhw2oij57o0\\",\\n \\"ResourceType\\": \\"Cluster\\\\n\\"\\n }\\n ]\\n },\\n \\"NextToken\\": \\"AAAAAdQ3Z+oPlg49gsr2y8jb6wY=\\"\\n}","type":"json"}]', - 'title' => 'ListTagResources', - 'translator' => 'machine', ], - 'DescribeZones' => [ - 'summary' => 'Queries a list of zones.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListClusters' => [ + 'summary' => 'Query cluster instances with optional filtering by resource group and tags.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161776', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '161259', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'AcceptLanguage', + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'Token for retrieving the next page of results. Use the NextToken value returned in the previous response.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120abe2'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['description' => 'Number of entries per page. Default: 20.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'ResourceGroupId', 'in' => 'formData', + 'schema' => ['description' => 'Resource group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-aek2bg6wyoox6jq'], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '根据汉语、英语筛选返回结果。更多信息,请参见RFC7231。取值范围:'."\n" - ."\n" - .'zh-CN'."\n" - .'en-US'."\n" - .'默认值:zh-CN', - 'description' => 'The natural language that is used to filter responses. For more information, see RFC 7231. Valid values:'."\n" - ."\n" - .'zh-CN en-US Default value: zh-CN.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* en-US'."\n" - .'* zh-CN'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en-US' => '', - 'zh-CN' => '', + 'description' => 'List of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'Tag object.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'maxLength' => 129, 'required' => false, 'example' => 'my_key', 'title' => ''], + 'Value' => ['description' => 'Tag value.', 'type' => 'string', 'maxLength' => 129, 'required' => false, 'example' => 'my_value', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'example' => 'zh-CN', + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], @@ -5137,53 +4850,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E9116F2D-82F8-501E-9ADB-2BE0C02B6A84', - ], - 'Zones' => [ - 'title' => '可用区列表', - 'description' => 'The list of zones.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1'], + 'Clusters' => [ + 'title' => '', + 'description' => 'Cluster information.', 'type' => 'array', 'items' => [ + 'description' => 'Cluster object.', 'type' => 'object', 'properties' => [ - 'LocalName' => [ - 'title' => '可用区名称', - 'description' => 'The zone name.'."\n", + 'Components' => ['description' => 'Component information.', 'type' => 'any', 'title' => '', 'example' => '{}'], + 'ClusterId' => ['description' => 'Cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'i137590131672134915401'], + 'ClusterName' => ['description' => 'Cluster name.', 'type' => 'string', 'title' => '', 'example' => 'cnp_test_cluster'], + 'OperatingState' => [ + 'description' => 'Cluster status.', + 'enumValueTitles' => ['running' => 'Running', 'expanding' => 'Scaling out', 'shrinking' => 'Scaling in', 'initializing' => 'Initializing'], 'type' => 'string', - 'example' => 'Hang Zhou', + 'title' => '', + 'example' => 'initializing', ], - 'ZoneId' => [ - 'title' => '可用区id'."\n", - 'description' => 'The zone ID.'."\n", + 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'title' => '', 'example' => 'i156365121663149566024'], + 'ClusterType' => [ + 'description' => 'Cluster type.', + 'enumValueTitles' => ['AckEdgePro' => 'Lingjun cluster based on ACK\\@Edge Pro', 'ExclusiveBareCluster' => 'Dedicated bare metal cluster', 'Lite' => 'Basic Lingjun cluster'], 'type' => 'string', - 'example' => 'cn-hangzhou-i', + 'title' => '', + 'example' => 'AckEdgePro', + ], + 'NodeCount' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'], + 'NodeGroupCount' => ['description' => 'Number of node groups.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'CreateTime' => ['description' => 'Cluster creation time.', 'type' => 'string', 'title' => '', 'example' => '2026-01-27T14:54:02.360'], + 'UpdateTime' => ['description' => 'Last update time.', 'type' => 'string', 'title' => '', 'example' => '2026-01-28T20:56:32.585'], + 'ClusterDescription' => ['description' => 'Cluster description.', 'type' => 'string', 'example' => 'Test cluster', 'title' => ''], + 'ResourceGroupId' => ['description' => 'Resource group ID.', 'type' => 'string', 'title' => '', 'example' => 'rg-aek2ajbjoloa23q'], + 'VpcId' => ['description' => 'VPC ID.', 'type' => 'string', 'example' => 'vpc-0jlx4hol2bjboafzmffvd', 'title' => ''], + 'HpnZone' => ['description' => 'Cluster zone identifier.', 'type' => 'string', 'example' => 'B1', 'title' => ''], + 'ComputingIpVersion' => ['description' => 'IP version of computing network.', 'type' => 'string', 'example' => 'IPv4', 'title' => ''], + 'Tags' => [ + 'description' => 'Tag information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'example' => 'env', 'title' => ''], + 'Value' => ['description' => 'Tag value.', 'type' => 'string', 'example' => 'daily', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], + 'NextToken' => ['description' => 'Token returned by this call for retrieving next page.', 'type' => 'string', 'title' => '', 'example' => 'f4f9a292c17072a2'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9116F2D-82F8-501E-9ADB-2BE0C02B6A84\\",\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"杭州\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeZones', - 'translator' => 'machine', - ], - 'DescribeTask' => [ - 'summary' => 'Queries the details of a task.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"Clusters\\": [\\n {\\n \\"Components\\": \\"{}\\",\\n \\"ClusterId\\": \\"i137590131672134915401\\",\\n \\"ClusterName\\": \\"cnp_test_cluster\\",\\n \\"OperatingState\\": \\"initializing\\",\\n \\"TaskId\\": \\"i156365121663149566024\\",\\n \\"ClusterType\\": \\"AckEdgePro\\",\\n \\"NodeCount\\": 12,\\n \\"NodeGroupCount\\": 2,\\n \\"CreateTime\\": \\"2026-01-27T14:54:02.360\\",\\n \\"UpdateTime\\": \\"2026-01-28T20:56:32.585\\",\\n \\"ClusterDescription\\": \\"Test cluster\\",\\n \\"ResourceGroupId\\": \\"rg-aek2ajbjoloa23q\\",\\n \\"VpcId\\": \\"vpc-0jlx4hol2bjboafzmffvd\\",\\n \\"HpnZone\\": \\"B1\\",\\n \\"ComputingIpVersion\\": \\"IPv4\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"daily\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"f4f9a292c17072a2\\"\\n}","type":"json"}]', + 'title' => 'ListClusters', + 'changeSet' => [ + ['createdAt' => '2025-03-25T06:36:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2025-03-25T06:36:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-04-07T06:41:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T15:39:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-20T04:21:18.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClusters'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListDiagnosticResults' => [ + 'summary' => 'List of Diagnostic Tasks', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5195,22 +4960,36 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161255', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220474', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'title' => '任务id', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i156331731670384438138', - ], + 'schema' => ['title' => '', 'description' => 'NextToken for the next page. Include this value when requesting the next page.', 'type' => 'string', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120****'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Number of items per page in a paginated query. The maximum value is 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'- If no value is set or the set value is less than 20, the default value is 20.'."\n" + .'- If the set value is greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DiagType', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Type of diagnosis, indicating which diagnostic rules are hit.', 'type' => 'string', 'required' => false, 'example' => 'NetDiag'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmywpvugk****', 'title' => ''], ], ], 'responses' => [ @@ -5218,359 +4997,159 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7FD7411-9395-52E8-AF42-EB3A4A55446D', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i119982311660892626523', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'Standard_Cluster', - ], - 'TaskState' => [ - 'title' => '任务状态:waiting_to_run(等待执行),running(执行),execution_fail(执行失败),execution_success(执行成功)', - 'description' => 'The task status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* running'."\n" - .'* execution_success'."\n" - .'* execution_fail'."\n" - .'* waiting_to_run'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'running' => '', - 'execution_success' => '', - 'execution_fail' => '', - 'waiting_to_run' => '', - ], - 'example' => 'running', - ], - 'TaskType' => [ - 'title' => '任务类型', - 'description' => 'The task type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* reclone_node_sub_task'."\n" - .'* initialize_bare_cluster'."\n" - .'* extend_bare_cluster'."\n" - .'* reclone_node'."\n" - .'* reboot_node'."\n" - .'* extend_ack_edge_cluster'."\n" - .'* extend_cluster'."\n" - .'* initialize_ack_edge_cluster'."\n" - .'* cut_node_sub_task'."\n" - .'* reboot_node_sub_task'."\n" - .'* reclone_ack_edge_node'."\n" - .'* initialize_cluster'."\n" - .'* cut_cluster'."\n" - .'* reclone_bare_node'."\n" - .'* cut_bare_cluster'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'reclone_node_sub_task' => '', - 'initialize_bare_cluster' => '', - 'extend_bare_cluster' => '', - 'reclone_node' => '', - 'reboot_node' => '', - 'extend_ack_edge_cluster' => '', - 'extend_cluster' => '', - 'initialize_ack_edge_cluster' => '', - 'cut_node_sub_task' => '', - 'reboot_node_sub_task' => '', - 'reclone_ack_edge_node' => '', - 'initialize_cluster' => '', - 'cut_cluster' => '', - 'reclone_bare_node' => '', - 'cut_bare_cluster' => '', - ], - 'example' => 'cut_cluster', - ], - 'Message' => [ - 'title' => '任务失败信息', - 'description' => 'The error message returned for failed tasks.'."\n", - 'type' => 'string', - 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]', - ], - 'Steps' => [ - 'title' => '执行步骤', - 'description' => 'The steps.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AC4F0004-7BCE-52E0-891B-CAC7D64E3368'], + 'DiagnosticResults' => [ + 'title' => '', + 'description' => 'The diagnostic information.'."\n", 'type' => 'array', 'items' => [ + 'description' => 'The diagnostic information.'."\n", 'type' => 'object', 'properties' => [ - 'StepName' => [ - 'title' => '步骤名称', - 'description' => 'The name of the step.'."\n", - 'type' => 'string', - 'example' => 'create_vpd', - ], - 'StepState' => [ - 'title' => '步骤执行状态', - 'description' => 'The step status.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* execution_success'."\n" - .'* execution_failed'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'execution_success' => '', - 'execution_failed' => '', - ], - 'example' => 'execution_success', - ], - 'StepType' => [ - 'title' => '步骤类型', - 'description' => 'The type of the step.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* normal: A normal step has only one successor step.'."\n" - .'* dispersive: A dispersive step has multiple successor steps.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '', - 'dispersive' => '', - ], - 'example' => 'normal', - ], - 'SubTasks' => [ - 'title' => '子任务', - 'description' => 'The sub tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 'i158805051661047928377', - ], - 'TaskType' => [ - 'title' => '任务类型', - 'description' => 'The task type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* reclone_node_sub_task'."\n" - .'* initialize_bare_cluster'."\n" - .'* extend_bare_cluster'."\n" - .'* reclone_node'."\n" - .'* reboot_node'."\n" - .'* extend_ack_edge_cluster'."\n" - .'* extend_cluster'."\n" - .'* initialize_ack_edge_cluster'."\n" - .'* cut_node_sub_task'."\n" - .'* reboot_node_sub_task'."\n" - .'* reclone_ack_edge_node'."\n" - .'* initialize_cluster'."\n" - .'* cut_cluster'."\n" - .'* reclone_bare_node'."\n" - .'* cut_bare_cluster'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'reclone_node_sub_task' => '', - 'initialize_bare_cluster' => '', - 'extend_bare_cluster' => '', - 'reclone_node' => '', - 'reboot_node' => '', - 'extend_ack_edge_cluster' => '', - 'extend_cluster' => '', - 'initialize_ack_edge_cluster' => '', - 'cut_node_sub_task' => '', - 'reboot_node_sub_task' => '', - 'reclone_ack_edge_node' => '', - 'initialize_cluster' => '', - 'cut_cluster' => '', - 'reclone_bare_node' => '', - 'cut_bare_cluster' => '', - ], - 'example' => 'cut_node_sub_task', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T2:00:00.852Z', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T02:20:14.852Z', - ], - 'Message' => [ - 'title' => '子任务失败信息', - 'description' => 'The error message returned for failed sub tasks.'."\n", - 'type' => 'string', - 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]', - ], - 'TaskState' => [ - 'title' => '任务执行状态', - 'description' => 'The task status.'."\n", - 'type' => 'string', - 'example' => 'running', - ], - ], - 'description' => '', - ], - ], - 'StageTag' => [ - 'title' => '阶段标记', - 'description' => 'The stage marker.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* 机器释放: Machine release.'."\n" - .'* 节点并发初始化: Node concurrent initialization.'."\n" - .'* 节点释放: Node release.'."\n" - .'* 机器替换: Machine replacement.'."\n" - .'* 节点缩容: Node scale-in.'."\n" - .'* 提前续费: Early renewal.'."\n" - .'* 物理机清理: Physical machine cleanup.'."\n" - .'* 节点清理: Node cleanup.'."\n" - .'* 创建K8s集群: Create Kubernetes cluster.'."\n" - .'* 网络初始化: Network initialization.'."\n" - .'* 节点重启: Node restart.'."\n" - .'* 节点退订: Node unsubscribe.'."\n" - .'* 集群扩容: Cluster scale-out.'."\n" - .'* 异常机器释放: Abnormal machine release.', - 'type' => 'string', - 'enumValueTitles' => [ - '机器释放' => '', - '节点并发初始化' => '', - '节点释放' => '', - '机器替换' => '', - '节点缩容' => '', - '提前续费' => '', - '物理机清理' => '', - '节点清理' => '', - '创建K8s集群' => '', - '网络初始化' => '', - '节点重启' => '', - '节点退订' => '', - '集群扩容' => '', - '异常机器释放' => '', - ], - 'example' => '节点缩容', - ], - 'Message' => [ - 'title' => '步骤失败信息', - 'description' => 'The error message of the step.'."\n", - 'type' => 'string', - 'example' => 'get taskinfo failed', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => 'The start time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T2:00:00.852Z', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T02:20:14.852Z', - ], + 'DiagContent' => ['title' => '', 'description' => 'Diagnostic content. For example, in network diagnostics, there are static configuration checks, dynamic operation checks, and other diagnostic contents.', 'type' => 'string', 'example' => 'Test diagnosis information'], + 'ResourceId' => ['title' => '', 'description' => 'The resource ID.'."\n", 'type' => 'string', 'example' => 'e01-cn-bl03ofg6****'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'i11857814169474524****'], + 'DiagId' => ['title' => '', 'description' => 'Diagnosis ID', 'type' => 'string', 'example' => '123'], + 'Status' => ['title' => '', 'description' => 'Status of the diagnostic task. Possible values:'."\n" + .'- InProgress: Diagnosing.'."\n" + .'- Finished: Diagnosis completed.'."\n" + .'- Failed: Diagnosis failed.', 'type' => 'string', 'example' => 'succeed'], + 'CreationTime' => ['title' => '', 'description' => 'Creation time of the diagnostic task.', 'type' => 'string', 'example' => '2024-01-15T02:01:12Z'], + 'FinishedTime' => ['title' => '', 'description' => 'Completion time of the diagnostic task.', 'type' => 'string', 'example' => '2024-10-16T02:04Z'], + 'DiagResult' => ['title' => '', 'description' => 'Diagnostic result, either success or failure.', 'type' => 'string', 'example' => 'Success'], + 'ServerName' => ['description' => 'Server name.', 'type' => 'string', 'example' => 'proxy-rps.mos.csvw.com', 'title' => ''], + 'ClusterName' => ['description' => 'Cluster Name', 'type' => 'string', 'example' => 'pjlab-lingjun', 'title' => ''], ], - 'description' => '', - ], - ], - 'CreateTime' => [ - 'title' => '开始时间', - 'description' => 'The create time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T02:00:00.852Z', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2022-11-30T03:40:14.852Z', - ], - 'NodeIds' => [ - 'title' => '节点ID列表', - 'description' => 'The IDs of the nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A node ID.'."\n", - 'type' => 'string', - 'example' => '[\'mock-sn-200101\']', + 'title' => '', + 'example' => '', ], - ], + 'example' => '', + ], + 'NextToken' => ['title' => '', 'description' => 'NextToken for the next page. Include this value when requesting the next page.', 'type' => 'string', 'example' => 'a3f2224a5ec7224116c4f5246120****'], + 'MaxResults' => ['description' => 'Number of items per page in a paginated query. The maximum value is 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'- If no value is set or the set value is less than 20, the default value is 20.'."\n" + .'- If the set value is greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7FD7411-9395-52E8-AF42-EB3A4A55446D\\",\\n \\"ClusterId\\": \\"i119982311660892626523\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"TaskState\\": \\"running\\",\\n \\"TaskType\\": \\"cut_cluster\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"Steps\\": [\\n {\\n \\"StepName\\": \\"create_vpd\\",\\n \\"StepState\\": \\"execution_success\\",\\n \\"StepType\\": \\"normal\\",\\n \\"SubTasks\\": [\\n {\\n \\"TaskId\\": \\"i158805051661047928377\\",\\n \\"TaskType\\": \\"cut_node_sub_task\\",\\n \\"CreateTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"TaskState\\": \\"running\\"\\n }\\n ],\\n \\"StageTag\\": \\"节点缩容\\",\\n \\"Message\\": \\"get taskinfo failed\\",\\n \\"StartTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-11-30T02:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T03:40:14.852Z\\",\\n \\"NodeIds\\": [\\n \\"[\'mock-sn-200101\']\\"\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeTask', - 'translator' => 'machine', - ], - 'DescribeRegions' => [ - 'summary' => 'Queries a list of regions.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC4F0004-7BCE-52E0-891B-CAC7D64E3368\\",\\n \\"DiagnosticResults\\": [\\n {\\n \\"DiagContent\\": \\"Test diagnosis information\\",\\n \\"ResourceId\\": \\"e01-cn-bl03ofg6****\\",\\n \\"ClusterId\\": \\"i11857814169474524****\\",\\n \\"DiagId\\": \\"123\\",\\n \\"Status\\": \\"succeed\\",\\n \\"CreationTime\\": \\"2024-01-15T02:01:12Z\\",\\n \\"FinishedTime\\": \\"2024-10-16T02:04Z\\",\\n \\"DiagResult\\": \\"Success\\",\\n \\"ServerName\\": \\"proxy-rps.mos.csvw.com\\",\\n \\"ClusterName\\": \\"pjlab-lingjun\\"\\n }\\n ],\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => 'List of Diagnostic Tasks', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDiagnosticResults'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListDiagnosticResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], ], + 'description' => 'An interface for creating a session, which returns the frontend EndPoint and initiates a periodic task to track the session status.', + 'translator' => 'manual', + ], + 'ListFreeHyperNodes' => [ + 'summary' => 'Lists the active physical servers in the rack.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161612', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => true, + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AcceptLanguage', + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The token to retrieve the next page of results. Set this parameter to the NextToken value from the previous response.', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120****'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'title' => '', 'description' => 'The number of entries to return on each page. The maximum value is 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'• If you do not set this parameter or you set a value less than 20, the default value is 20.'."\n" + ."\n" + .'• If you set a value greater than 100, the default value is 100.', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'MachineType', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The machine type.', 'required' => false, 'example' => 'efg1.nvga1'], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => 'The cluster ID.', 'required' => false, 'title' => '', 'example' => 'A1'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => 'The resource group ID.', 'required' => false, 'title' => '', 'example' => 'rg-aekzyqdwnfabx6q'], + ], + [ + 'name' => 'Tags', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'title' => '根据汉语、英语和日语筛选返回结果。更多信息,请参见RFC7231。取值范围:'."\n" - ."\n" - .'zh-CN'."\n" - .'en-US'."\n" - .'默认值:zh-CN', - 'description' => 'The natural language that is used to filter responses. For more information, see RFC 7231.'."\n" - ."\n" - .'zh-CN en-US Default value: zh-CN.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* en-US'."\n" - .'* zh-CN'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en-US' => '', - 'zh-CN' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string', 'maxLength' => 129, 'description' => 'The tag key.', 'required' => false, 'title' => '', 'example' => 'my_key'], + 'Value' => ['type' => 'string', 'description' => 'The tag value.', 'required' => false, 'title' => '', 'example' => '129'], + ], + 'description' => 'The tag information.', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'example' => 'zh-CN', + 'maxItems' => 21, + 'title' => '', + 'description' => 'The list of tags.', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The status of an unused node to return.', 'required' => false, 'title' => '', 'example' => 'Unused'], + 'maxItems' => 100, + 'description' => 'A list of statuses of unused nodes to return.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -5579,224 +5158,265 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1D2FBB36-C39B-5EBB-9928-FCC1A236D65D', - ], - 'Regions' => [ - 'description' => 'The regions.'."\n", + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => 'A511C02A-0127-51AA-A9F9-966382C9A1B5'], + 'HyperNodes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LocalName' => [ - 'title' => '区域名称', - 'description' => 'The region name.'."\n", - 'type' => 'string', - 'example' => 'Hang Zhou', - ], - 'RegionId' => [ - 'title' => '区域id', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'ZoneId' => ['type' => 'string', 'title' => '', 'description' => 'The zone ID.', 'example' => 'cn-wulanchabu-a'], + 'CreateTime' => ['type' => 'string', 'title' => '', 'description' => 'The time when the node was created.', 'example' => '2025-08-06T10:11:41.569'], + 'HyperNodeId' => ['type' => 'string', 'title' => '', 'description' => 'The node ID.', 'example' => 'e01-cn-7pp2x193801'], + 'MachineType' => ['type' => 'string', 'title' => '', 'description' => 'The machine type.', 'example' => 'efg2.ks01L20Z2'], + 'ExpireTime' => ['type' => 'string', 'title' => '', 'description' => 'The expiration time of the machine.', 'example' => '2025-01-22T23:59:59Z'], + 'HpnZone' => ['type' => 'string', 'description' => 'The cluster ID.', 'title' => '', 'example' => 'A1'], + 'ResourceGroupId' => ['type' => 'string', 'description' => 'The resource group ID.', 'title' => '', 'example' => 'rg-acfmwaateahzoii'], + 'CommodityCode' => ['type' => 'string', 'title' => '', 'description' => 'The commodity code.', 'example' => 'bccluster_eflocomputing_public_cn'], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string', 'description' => 'The tag key.', 'title' => '', 'example' => 'Cpu_Usage'], + 'Value' => ['type' => 'string', 'description' => 'The tag value.', 'title' => '', 'example' => 'on'], + ], + 'description' => 'The tag information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], + 'Status' => ['type' => 'string', 'description' => 'The status of the hypernode.', 'title' => '', 'deprecated' => true, 'example' => 'Using'], + 'Hostname' => ['type' => 'string', 'description' => 'The hostname.', 'title' => '', 'example' => 'alywlcb-lingjun-gpu-0025'], + 'OperatingState' => ['type' => 'string', 'description' => 'The status of the hypernode.', 'title' => '', 'example' => 'Using'], ], 'description' => '', + 'title' => '', + 'example' => '', ], - ], + 'title' => '', + 'description' => 'The list of nodes.', + 'example' => '', + ], + 'NextToken' => ['type' => 'string', 'title' => '', 'description' => 'The token to retrieve the next page of results. If this parameter is empty, no more results are available.', 'example' => '563d42ae0b17572449ec8c97f7f66069'], + 'MaxResults' => ['type' => 'integer', 'format' => 'int32', 'title' => '', 'description' => 'The number of entries returned on each page. The maximum value is 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'• If you do not set this parameter or you set a value less than 20, the default value is 20.'."\n" + ."\n" + .'• If you set a value greater than 100, the default value is 100.', 'example' => '20'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1D2FBB36-C39B-5EBB-9928-FCC1A236D65D\\",\\n \\"Regions\\": [\\n {\\n \\"LocalName\\": \\"杭州\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeRegions', - 'translator' => 'machine', - ], - 'ChangeResourceGroup' => [ - 'summary' => 'Moves a resource from one resource group to another.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListFreeHyperNodes', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListFreeHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A511C02A-0127-51AA-A9F9-966382C9A1B5\\",\\n \\"HyperNodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-wulanchabu-a\\",\\n \\"CreateTime\\": \\"2025-08-06T10:11:41.569\\",\\n \\"HyperNodeId\\": \\"e01-cn-7pp2x193801\\",\\n \\"MachineType\\": \\"efg2.ks01L20Z2\\",\\n \\"ExpireTime\\": \\"2025-01-22T23:59:59Z\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmwaateahzoii\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Cpu_Usage\\",\\n \\"Value\\": \\"on\\"\\n }\\n ],\\n \\"Status\\": \\"Using\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\",\\n \\"OperatingState\\": \\"Using\\"\\n }\\n ],\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + ], + 'ListFreeNodes' => [ + 'summary' => 'Lists all unused nodes.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterTOL3OM', - ], + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Node', - 'default' => 'Cluster', - ], + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'The query token. Set it to the NextToken value returned from the previous API call.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120abe4'], ], [ - 'name' => 'ResourceId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源Id', - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'i118099391667548921125', - ], + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries to return on each page for a paged query. The default value is 20.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '20'], ], [ - 'name' => 'ResourceRegionId', - 'in' => 'query', + 'name' => 'MachineType', + 'in' => 'formData', 'schema' => [ - 'title' => '地域Id', - 'description' => 'The region ID.'."\n", + 'description' => 'The machine type.', + 'enumValueTitles' => ['efg1.nvga1' => 'efg1.nvga1', 'efg1.nvga1n' => 'efg1.nvga1n', 'efg1.nvga4' => 'efg1.nvga4', 'efg2.C48cA3sen' => 'efg2.C48cA3sen', 'efg2.56NHmcn' => 'efg2.56NHmcn', 'efg1.nvga8n' => 'efg1.nvga8n', 'efg2.C48cNHmcn' => 'efg2.C48cNHmcn'], 'type' => 'string', - 'required' => true, - 'example' => 'cn-wulanchabu', + 'title' => '', + 'required' => false, + 'example' => 'mock-machine-type2', ], ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'A1', 'title' => ''], + ], [ 'name' => 'ResourceGroupId', - 'in' => 'query', + 'in' => 'formData', 'schema' => [ - 'title' => '目标资源组', - 'description' => 'The ID of the resource group into which you want to change.'."\n", + 'description' => 'The resource group ID.', + 'enumValueTitles' => ['rg-acfmvqmpwbwecli' => 'rg-acfmvqmpwbwecli', 'rg-acfm25os62qi5fq' => 'rg-acfm25os62qi5fq', 'rg-acfmoiyerhvhrvq' => 'rg-acfmoiyerhvhrvq', 'rg-acfmwaateahzoii' => 'rg-acfmwaateahzoii', 'rg-acfmwfm33rlt6zi' => 'rg-acfmwfm33rlt6zi', 'rg-acfm2zkwhkns57i' => 'rg-acfm2zkwhkns57i'], 'type' => 'string', - 'required' => true, - 'example' => 'rg-aekzyqdwnfabx6q', + 'required' => false, + 'example' => 'rg-acfmxno4vh5muoq', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求 ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E', + 'title' => '', + 'description' => 'The tag information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'maxLength' => 129, 'required' => false, 'example' => 'my_key', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '129', 'required' => false, 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NoPermission.ChangeResourceGroup', - 'errorMessage' => 'You are not authorized to change resourcegroup', - ], - [ - 'errorCode' => 'MissingParameter.ResourceRegionId', - 'errorMessage' => 'The ResourceRegionId 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', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\"\\n}","type":"json"}]', - 'title' => 'ChangeResourceGroup', - 'translator' => 'machine', - ], - 'ApproveOperation' => [ - 'summary' => 'Approves an O\\\\\\&M operation.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeCode' => '196045', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'NodeId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2tgykr08', + 'required' => false, + 'maxItems' => 21, + 'example' => '', ], ], [ - 'name' => 'OperationType', + 'name' => 'OperatingStates', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The O\\&M operation type'."\n" + 'title' => '', + 'description' => 'The type of unused nodes to be returned.', + 'type' => 'array', + 'items' => ['description' => 'The status of the nodes to return. Valid values:'."\n" ."\n" - .'Valid value:'."\n" + .'\\*: Matches all statuses.'."\n" ."\n" - .'* RepairMachine'."\n", - 'type' => 'string', + .'Unused: The node is not in use.'."\n" + ."\n" + .'Using: The node is in use.'."\n" + ."\n" + .'Extending: The node is being scaled out.'."\n" + ."\n" + .'Cutting: The node is being scaled in.'."\n" + ."\n" + .'Operating: An operation is in progress on the node.'."\n" + ."\n" + .'UnusedNodeStopping: The unused node is being stopped.'."\n" + ."\n" + .'UnusedNodeStopped: The unused node is stopped.'."\n" + ."\n" + .'UnusedNodeApprovalPendingRenew: The unused node is stopped and pending maintenance approval.'."\n" + ."\n" + .'UnusedNodeRepairingPendingRenew: The unused node is stopped and under maintenance.'."\n" + ."\n" + .'ClusterNodeStopping: The cluster node is being stopped.'."\n" + ."\n" + .'ClusterNodeStopped: The cluster node is stopped.'."\n" + ."\n" + .'ClusterNodeApprovalPendingRenew: The cluster node is stopped and pending maintenance approval.'."\n" + ."\n" + .'ClusterNodeRepairingPendingRenew: The cluster node is stopped and under maintenance.'."\n" + ."\n" + .'UnusedNodeRecovering: The unused node is being recovered.'."\n" + ."\n" + .'ClusterNodeRecovering: The cluster node is being recovered.'."\n" + ."\n" + .'ReleaseLocking: The node is pending release.'."\n" + ."\n" + .'Releasing: The node is being released.'."\n" + ."\n" + .'Diagnosing: The node is being diagnosed.'."\n" + ."\n" + .'Switching: The node is being switched across ASI clusters.'."\n" + ."\n" + .'RecoveringClusterNode: The cluster node is being recovered from maintenance.'."\n" + ."\n" + .'PreparationForRepairingClusterNode: The cluster node is being prepared for maintenance.'."\n" + ."\n" + .'RecoveringUnusedNode: The unused node is being recovered from maintenance.'."\n" + ."\n" + .'PreparationForRepairingUnusedNode: The unused node is being prepared for maintenance.'."\n" + ."\n" + .'ClusterNodeRepairing: The cluster node is under maintenance.'."\n" + ."\n" + .'UnusedNodeRepairing: The unused node is under maintenance.'."\n" + ."\n" + .'ClusterNodeRepairPendingApproval: The cluster node is pending maintenance approval.'."\n" + ."\n" + .'UnusedNodeRepairPendingApproval: The unused node is pending maintenance approval.'."\n" + ."\n" + .'Replacing: The node is being replaced.SoftwareRestoring: The software on the node is being restored.'."\n" + ."\n" + .'SoftwareInitializing: The software on the node is being initialized.'."\n" + ."\n" + .'ClusterNodeRebootPendingApproval: The cluster node is pending restart approval.'."\n" + ."\n" + .'ClusterNodeShuttingDown: The cluster node is being shut down.'."\n" + ."\n" + .'ClusterNodeShutdown: The cluster node is shut down.'."\n" + ."\n" + .'ClusterNodeStoppingShutdown: The shut-down cluster node is being stopped.'."\n" + ."\n" + .'ClusterNodeStoppedShutdown: The shut-down cluster node is stopped.'."\n" + ."\n" + .'ClusterNodeRepairPendingApprovalShutdown: The shut-down cluster node is pending maintenance approval.'."\n" + ."\n" + .'PreparationForRepairingClusterNodeShutdown: The shut-down cluster node is being prepared for maintenance.'."\n" + ."\n" + .'ClusterNodeRepairingShutdown: The shut-down cluster node is under maintenance.'."\n" + ."\n" + .'ClusterNodeApprovalPendingRenewShutdown: The shut-down cluster node is stopped and pending maintenance approval.'."\n" + ."\n" + .'ClusterNodeRepairingPendingRenewShutdown: The shut-down cluster node is stopped and under maintenance.'."\n" + ."\n" + .'ClusterNodeRebootPendingApprovalShutdown: The shut-down cluster node is pending restart approval.'."\n" + ."\n" + .'ClusterNodeRecoveringShutdown: The shut-down cluster node is being recovered.'."\n" + ."\n" + .'RecoveringClusterNodeShutdown: The shut-down cluster node is being recovered from maintenance and brought online.', 'type' => 'string', 'required' => false, 'example' => 'Unused', 'title' => ''], 'required' => false, - 'enumValueTitles' => [ - 'RepairMachine' => 'RepairMachine', - ], - 'example' => 'RepairMachine', + 'maxItems' => 100, + 'example' => '', ], ], ], @@ -5805,35 +5425,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Resource not found', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B'], + 'Nodes' => [ + 'title' => '', + 'description' => 'The list of nodes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node information.', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-j'], + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2026-02-02T11:27:07'], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-7pp2x193801'], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'example' => 'efg1.nvga1'], + 'Sn' => ['description' => 'The serial number (SN) of the machine.', 'type' => 'string', 'title' => '', 'example' => 'sn_pozkHBgicd'], + 'ExpiredTime' => ['description' => 'The expiration time of the machine.', 'type' => 'string', 'title' => '', 'example' => '2026-03-03T00:00:00'], + 'HpnZone' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'A1', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzkkbrpl4owgy', 'title' => ''], + 'OperatingState' => ['description' => 'The node status.', 'type' => 'string', 'title' => '', 'example' => 'Extending'], + 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'title' => '', 'example' => 'bccluster_eflocomputing_public_cn'], + 'Tags' => [ + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'alarm_xdc', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'HyperNodeId' => ['description' => 'The hyper node ID.', 'type' => 'string', 'example' => 'e01-cn-zvp2tgykr08', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], + 'NextToken' => ['description' => 'The token returned for the next query.', 'type' => 'string', 'title' => '', 'example' => 'a3f2224a5ec7224116c4f5246120abe4'], ], - 'description' => '', + 'description' => 'Response parameters.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', - 'title' => 'ApproveOperation', - 'translator' => 'machine', - ], - 'StopInvocation' => [ - 'summary' => 'Stops the O\\\\\\&M assistant command execution.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B\\",\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"CreateTime\\": \\"2026-02-02T11:27:07\\",\\n \\"NodeId\\": \\"e01-cn-7pp2x193801\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"Sn\\": \\"sn_pozkHBgicd\\",\\n \\"ExpiredTime\\": \\"2026-03-03T00:00:00\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkkbrpl4owgy\\",\\n \\"OperatingState\\": \\"Extending\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n }\\n ],\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120abe4\\"\\n}","type":"json"}]', + 'title' => 'ListFreeNodes', + 'changeSet' => [ + ['createdAt' => '2025-04-15T12:21:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-15T12:21:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-25T06:36:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-11-16T09:46:15.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-09-21T15:39:59.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFreeNodes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListFreeNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], ], + ], + 'ListHyperNodes' => [ + 'summary' => 'Machines', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5842,40 +5515,118 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '202206', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InvokeId', + 'name' => 'NodeGroupName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'f-hz044748dzepds0', - ], + 'schema' => ['description' => 'The name of the node group.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'emr-default'], ], [ - 'name' => 'NodeIdList', + 'name' => 'MachineType', 'in' => 'formData', - 'style' => 'json', + 'schema' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'efg1.nvga1'], + ], + [ + 'name' => 'ZoneId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the zone.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'cn-hangzhou-i'], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Set this parameter to the NextToken value that is returned from a previous call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '3a6b93229825ac667104463b56790c91'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'• If you do not specify this parameter or you specify a value that is less than 20, the default value is 20.'."\n" + ."\n" + .'• If you specify a value that is greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'rg-acfmwfm33rlt6zi'], + ], + [ + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the node.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08'], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the cluster.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Standard_Cluster'], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster number.', 'type' => 'string', 'required' => false, 'example' => 'A1', 'title' => ''], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The nodes.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The ID of the Lingjun node.'."\n", - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'alarm_xdc', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => '129', 'title' => ''], + ], + 'description' => 'The tag.', 'required' => false, - 'example' => '\'i-bp1cfrqj4pztngvlq7la\'', + 'title' => '', + 'example' => '', ], + 'maxItems' => 100, + 'description' => 'The tags.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'OperatingStates', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => ['description' => 'The state of the node. If you do not specify this parameter, nodes in all states are returned. Valid values: Extending, UnusedNodeStopped, UnusedNodeStopping, Unused, Using, ReleaseLocking, Operating, Cutting, ClusterNodeStopped, UnusedNodeRecovering, ClusterNodeStopping, ClusterNodeRecovering, and Replacing.', 'type' => 'string', 'required' => false, 'example' => 'Extending', 'title' => ''], + 'maxItems' => 100, + 'description' => 'The state of the node. If you do not specify this parameter, nodes in all states are returned. Valid values: Extending, UnusedNodeStopped, UnusedNodeStopping, Unused, Using, ReleaseLocking, Operating, Cutting, ClusterNodeStopped, UnusedNodeRecovering, ClusterNodeStopping, ClusterNodeRecovering, and Replacing.', + 'title' => '', + 'example' => '', + 'required' => false, + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'query', + 'schema' => ['description' => 'The commodity code.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'rds_machineinstanceba_public_cn'], + ], + [ + 'name' => 'HyperNodeIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => ['description' => 'The list of node IDs.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-xp54hgqx1y2z', 'title' => ''], + 'description' => 'The list of node IDs.', + 'title' => '', + 'example' => '', 'required' => false, ], ], @@ -5885,311 +5636,287 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7FD7411-9395-52E8-AF42-EB3A4A55446D', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E64F9128-E2FC-5998-B769-199B0CB18138'], + 'HyperNodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'The ID of the zone.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-b'], + 'ClusterName' => ['description' => 'The name of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'test-ack'], + 'CreateTime' => ['description' => 'The time when the node was created.', 'type' => 'string', 'title' => '', 'example' => '2025-07-09T10:41:56.577'], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'example' => 'efg2.GN9C.cn8'], + 'HyperNodeId' => ['description' => 'The ID of the node.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-2r42tmj4z02'], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'title' => '', 'example' => 'i153333771756952392398'], + 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'title' => '', 'example' => '2025-09-28T16:00:00Z'], + 'ClusterId' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'i115226661755786900341'], + 'NodeGroupId' => ['description' => 'The ID of the node group.', 'type' => 'string', 'title' => '', 'example' => 'i121135081698451727812'], + 'NodeGroupName' => ['description' => 'The name of the node group.', 'type' => 'string', 'title' => '', 'example' => 'l20c-0801'], + 'HpnZone' => ['description' => 'The cluster number.', 'type' => 'string', 'example' => 'A1', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmwfm33rlt6zi', 'title' => ''], + 'CommodityCode' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'bccluster_eflocomputing_public_cn', 'title' => ''], + 'Status' => ['description' => 'The status of the node.', 'type' => 'string', 'deprecated' => true, 'example' => 'Extending', 'title' => ''], + 'Hostname' => ['description' => 'The hostname.', 'type' => 'string', 'example' => 'alywlcb-lingjun-gpu-0025', 'title' => ''], + 'OperatingState' => ['description' => 'The status of the hypernode.', 'type' => 'string', 'example' => 'Using', 'title' => ''], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the node tag.', 'type' => 'string', 'example' => 'alarm_xdc', 'title' => ''], + 'Value' => ['description' => 'The value of the node tag.', 'type' => 'string', 'example' => '97', 'title' => ''], + ], + 'description' => 'The tag.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of nodes.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'description' => 'The list of nodes.', + 'example' => '', + ], + 'NextToken' => ['description' => 'The token to retrieve the next page of results. If this parameter is not returned, no more results are available.', 'type' => 'string', 'title' => '', 'example' => '7ed93fda-5e7f-436a-ae5a-bd8e6b04e36b'], + 'MaxResults' => ['description' => 'The number of entries to return on each page. The maximum value is 100.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'• If you do not specify this parameter or you specify a value that is less than 20, the default value is 20.'."\n" + ."\n" + .'• If you specify a value that is greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7FD7411-9395-52E8-AF42-EB3A4A55446D\\"\\n}","type":"json"}]', - 'title' => 'StopInvocation', - 'translator' => 'machine', - ], - 'RunCommand' => [ - 'summary' => 'Runs a Shell script on one or more Lingjun nodes.', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListHyperNodes', + 'description' => 'Queries the details of hypernodes.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E64F9128-E2FC-5998-B769-199B0CB18138\\",\\n \\"HyperNodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"ClusterName\\": \\"test-ack\\",\\n \\"CreateTime\\": \\"2025-07-09T10:41:56.577\\",\\n \\"MachineType\\": \\"efg2.GN9C.cn8\\",\\n \\"HyperNodeId\\": \\"e01-cn-2r42tmj4z02\\",\\n \\"TaskId\\": \\"i153333771756952392398\\",\\n \\"ExpireTime\\": \\"2025-09-28T16:00:00Z\\",\\n \\"ClusterId\\": \\"i115226661755786900341\\",\\n \\"NodeGroupId\\": \\"i121135081698451727812\\",\\n \\"NodeGroupName\\": \\"l20c-0801\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmwfm33rlt6zi\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"Status\\": \\"Extending\\",\\n \\"Hostname\\": \\"alywlcb-lingjun-gpu-0025\\",\\n \\"OperatingState\\": \\"Using\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"97\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"7ed93fda-5e7f-436a-ae5a-bd8e6b04e36b\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + ], + 'ListImages' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '202207', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '189004', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'ImageVersion', 'in' => 'formData', - 'schema' => [ - 'title' => '命令名称。支持全字符集,长度不得超过 128 个字符。', - 'description' => 'The command name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testName', - ], + 'schema' => ['description' => 'The image version.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '7.9'], ], [ - 'name' => 'Description', + 'name' => 'Architecture', 'in' => 'formData', - 'schema' => [ - 'title' => '命令描述。支持全字符集,长度不得超过 512 个字符。', - 'description' => 'The command description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testDescription', - ], - ], - [ - 'name' => 'CommandContent', - 'in' => 'formData', - 'schema' => [ - 'title' => 'CommandId 二选一。命令内容。命令内容可以是明文内容或 Base64 编码后的内容。 ', - 'description' => 'The command content. Take note of the following:'."\n" - ."\n" - .'* When `EnableParameter` is set to true, you can use custom parameters in the command.'."\n" - .'* Define custom parameters in the {{}} format. Within `{{}}`, the spaces and line feeds before and after the parameter names are ignored.'."\n" - .'* You can specify up to 20 custom parameters.'."\n" - .'* A custom parameter name can contain only letters, digits, underscores (\\_), and hyphens (-). The name is not case-sensitive.'."\n" - .'* Each custom parameter name is up to 64 bytes in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ZWNobyAxMjM=', - ], - ], - [ - 'name' => 'Timeout', - 'in' => 'formData', - 'schema' => [ - 'title' => '执行命令的超时时间,单位:秒。'."\n" - ."\n" - .'当因为进程原因、缺失模块 等原因无法运行命令时,会出现超时现象。超时后,会强制终止命令进程。'."\n" - ."\n" - .'默认值:60。', - 'description' => 'The timeout period for the command. Unit: seconds. A timeout error occurs if the command cannot be run because the process slows down or because a specific module or Cloud Assistant Agent does not exist. When the specified timeout period ends, the command process is forcefully terminated. Default value: 60.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3600'."\n", - ], + 'schema' => ['description' => 'The architecture.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'x86_64'], ], [ - 'name' => 'WorkingDir', + 'name' => 'Platform', 'in' => 'formData', - 'schema' => [ - 'title' => '命令在 灵骏节点中的运行目录。长度不得超过 200 个字符。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'Linux 系统实例默认在管理员(root 用户)的 home 目录下,即/root。', - 'description' => 'The working path of the command. You can specify a custom path. Default path:'."\n" - ."\n" - .'Linux instances: By default, the path is in the /home directory of the root user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/home/user', - ], + 'schema' => ['description' => 'The platform.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'ALinux3'], ], - [ - 'name' => 'EnableParameter', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '命令中是否包含自定义参数。'."\n" - ."\n" - .'默认值:false。', - 'description' => 'Specifies whether to use custom parameters in the command.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0FC4A1C7-421C-5EAB-9361-4C0338EFA287'], + 'NextToken' => ['description' => 'The token that is used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => '3a6b93229825ac667104463b56790c91', 'title' => ''], + 'Images' => [ + 'description' => 'The image details.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Architecture' => ['description' => 'The architecture.', 'type' => 'string', 'title' => '', 'example' => 'x86_64'], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'title' => '', 'example' => 'alibaba cloud linux 3 full for H800'], + 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'title' => '', 'example' => 'i190951671671438639388'], + 'ImageName' => ['description' => 'The image name.', 'type' => 'string', 'title' => '', 'example' => 'CentOS_7.9_x86_64_FULL_20221110'], + 'ImageVersion' => ['description' => 'The image version.', 'type' => 'string', 'title' => '', 'example' => '7.9'], + 'Platform' => ['description' => 'The platform.', 'type' => 'string', 'title' => '', 'example' => 'ALinux3'], + 'ReleaseFileMd5' => ['description' => 'The MD5 hash value of the file.', 'type' => 'string', 'title' => '', 'example' => '40741292480fc6d778138adcf8c'], + 'Type' => ['description' => 'The image type.', 'type' => 'string', 'title' => '', 'example' => 'Public'], + 'NodeCount' => ['description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '20'], + 'ReleaseFileSize' => ['description' => 'The image size.', 'type' => 'string', 'example' => '5.8G', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ContentEncoding', - 'in' => 'formData', - 'schema' => [ - 'title' => '命令内容(CommandContent)的编码方式。取值范围(不区分大小写):'."\n" - ."\n" - .'PlainText:不编码,采用明文传输。'."\n" - .'Base64:Base64 编码。'."\n" - .'默认值:PlainText,乱填或错填该取值会当作 PlainText 处理。', - 'description' => 'The encoding mode of the command content. Valid values:'."\n" - ."\n" - .'* PlainText'."\n" - .'* Base64'."\n" - ."\n" - .'Default value: PlainText. If the specified value of this parameter is invalid, PlainText is used by default.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64', - ], + ], + 'title' => 'ListImages', + 'summary' => 'Lists available images.', + 'changeSet' => [ + ['createdAt' => '2025-04-16T08:08:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-16T08:08:39.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListImages'], ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FC4A1C7-421C-5EAB-9361-4C0338EFA287\\",\\n \\"NextToken\\": \\"3a6b93229825ac667104463b56790c91\\",\\n \\"Images\\": [\\n {\\n \\"Architecture\\": \\"x86_64\\",\\n \\"Description\\": \\"alibaba cloud linux 3 full for H800\\",\\n \\"ImageId\\": \\"i190951671671438639388\\",\\n \\"ImageName\\": \\"CentOS_7.9_x86_64_FULL_20221110\\",\\n \\"ImageVersion\\": \\"7.9\\",\\n \\"Platform\\": \\"ALinux3\\",\\n \\"ReleaseFileMd5\\": \\"40741292480fc6d778138adcf8c\\",\\n \\"Type\\": \\"Public\\",\\n \\"NodeCount\\": 20,\\n \\"ReleaseFileSize\\": \\"5.8G\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListMachineNetworkInfo' => [ + 'summary' => 'Queries the network configurations for machine types.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Username', - 'in' => 'formData', - 'schema' => [ - 'title' => '在灵骏节点中执行命令的用户名称。长度不得超过 255 个字符。', - 'description' => 'The username that you use to run the command. The name can be up to 255 characters in length. For Linux instances, the root user is used by default.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'root', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '248670', + 'abilityTreeNodes' => ['FEATUREbcclusterTOL3OM'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'NodeIdList', + 'name' => 'MachineHpnInfo', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '灵骏节点id', - 'description' => 'The node list.'."\n", + 'description' => 'The information about the machine types.', 'type' => 'array', 'items' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', + 'description' => 'An object that contains the details of a machine type.', + 'type' => 'object', + 'properties' => [ + 'HpnZone' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'C1'], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'efg2.C48cNHmcn'], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-heyuan'], + ], 'required' => false, - 'example' => '"i-bp185dy2o3o6neg****"', + 'title' => '', ], 'required' => false, + 'title' => '', ], ], - [ - 'name' => 'RepeatMode', - 'in' => 'formData', - 'schema' => [ - 'title' => '设置命令执行的方式。取值范围:'."\n" - ."\n" - .'Once:立即执行命令。'."\n" - .'Period:定时执行命令。当该参数取值为Period时,必须同时指定Frequency参数。'."\n" - .'NextRebootOnly:当实例下一次启动时,自动执行命令。'."\n" - .'EveryReboot:实例每一次启动都将自动执行命令。'."\n" - .'默认值:'."\n" - ."\n" - .'当不指定Frequency参数时,默认值为Once。'."\n" - .'当指定Frequency参数时,无论是否已设置了该参数值,都将按照Period处理', - 'description' => 'The mode to run the command. Valid values:'."\n" - ."\n" - .'* Once: runs the command immediately.'."\n" - .'* Period: runs the command based on a schedule. When set to `Period`, `Frequency` is required.'."\n" - .'* NextRebootOnly: runs the command the next time the instances is started.'."\n" - .'* EveryReboot: runs the command every time the instance is started.'."\n" - ."\n" - .'Default value:'."\n" - ."\n" - .'* If you do not specify `Frequency`, the default value is `Once`.'."\n" - .'* If you specify `Frequency`, RepeatMode is set to `Period` regardless of whether a value is already specified.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Once', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'schema' => [ - 'title' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符。更多信息,请参见如何保证幂等性。', - 'description' => 'The client token to ensure the idempotency of the request. Use your client to generate the token that is unique among requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see "How to ensure idempotence".'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'Frequency', - 'in' => 'formData', - 'schema' => [ - 'title' => '定时执行命令的执行时间。目前支持三种定时执行方式:固定时间间隔执行(基于 Rate 表达式)、仅在指定时间执行一次、基于时钟定时执行(基于 Cron 表达式)。', - 'description' => 'The schedule to run the command. Supported schedule types: at a fixed interval based on a rate expression, run only once at a specific time, or run at specific times based on a cron expression.'."\n" - ."\n" - .'* To run the command at a fixed interval, use a rate expression to specify the interval. The interval can be in seconds, minutes, hours, or days. This option is suitable for scenarios in which tasks need to be executed at a fixed interval. Format: rate(\\ \\). For example, rate(5m) means to run the command every 5 minutes. When you specify an interval, take note of the following limits:'."\n" - ."\n" - .' * The interval can be anywhere from 60 seconds to 7 days, but must be longer than the timeout period of the scheduled task.'."\n" - .' * The interval is the time between two consecutive executions, irrelevant of the time required to run the command. For example, assume that you set the interval to 5 minutes and that it takes 2 minutes to run the command each time. The system waits 3 minutes before running the command again.'."\n" - .' * The command is not immediately executed after the task is created. For example, assume that you set the interval to 5 minutes. The task begins to be executed 5 minutes after it is created.'."\n" - ."\n" - .'* To run a command only once at a specific point in time, specify a point in time and a time zone. Format: at(yyyy-MM-dd HH:mm:ss \\