diff options
Diffstat (limited to 'data/en_us/eflo-controller/2022-12-15/api-docs.php')
| -rw-r--r-- | data/en_us/eflo-controller/2022-12-15/api-docs.php | 15304 |
1 files changed, 6407 insertions, 8897 deletions
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,131 +1,476 @@ <?php return [ 'version' => '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, + 'children' => ['CreateCluster', 'DeleteCluster', 'DescribeCluster', 'ExtendCluster', 'ListClusters', 'ListClusterNodes', 'ShrinkCluster'], 'type' => 'directory', - 'children' => [ - 'CreateCluster', - 'DeleteCluster', - 'DescribeCluster', - 'ExtendCluster', - 'ListClusters', - 'ListClusterNodes', - 'ShrinkCluster', - ], + 'title' => 'Lingjun cluster', ], [ - 'id' => 268841, - 'title' => null, + 'children' => ['CreateNodeGroup', 'UpdateNodeGroup', 'DeleteNodeGroup', 'ListNodeGroups'], 'type' => 'directory', - 'children' => [ - 'CreateNodeGroup', - 'UpdateNodeGroup', - 'DeleteNodeGroup', - 'ListNodeGroups', - ], + 'title' => 'Lingjun node group', ], [ - 'id' => 268846, - 'title' => null, + 'children' => ['DeleteNode', 'DescribeNode', 'ListFreeNodes', 'RebootNodes', 'ReimageNodes'], 'type' => 'directory', - 'children' => [ - 'DeleteNode', - 'DescribeNode', - 'ListFreeNodes', - 'RebootNodes', - 'ReimageNodes', - ], + 'title' => 'Lingjun node', ], [ - 'id' => 268852, - 'title' => null, + 'children' => ['CreateVsc', 'DescribeVsc', 'DeleteVsc', 'ListVscs'], 'type' => 'directory', - 'children' => [ - 'CreateVsc', - 'DescribeVsc', - 'DeleteVsc', - 'ListVscs', - ], + 'title' => 'Lingjun VSC', ], [ - 'id' => 268857, - 'title' => null, - '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', + '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' => 268884, - 'title' => null, 'type' => 'directory', - 'children' => [ - 'DescribeNodeType', - ], - ], - [ - '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', + 'ApproveOperation' => [ + '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', 'title' => ''], + ], + [ + 'name' => 'OperationType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The O\\&M operation type'."\n" + ."\n" + .'Valid value:'."\n" + ."\n" + .'* RepairMachine'."\n", + 'type' => 'string', + 'required' => false, + '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' => [ + [ + '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' => [ + 'description' => 'The node information.', + 'type' => 'array', + 'items' => ['description' => 'A list of nodes.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + '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' => [ + '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, + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + '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' => [ + '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', + 'example' => 'PASSED', + 'title' => '', + ], + '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' => ''], + ], + 'title' => '', + 'description' => 'The response for a single node.', + 'example' => '', + ], + 'title' => '', + 'description' => 'The responses for the nodes.', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], - 'schemes' => [ - 'http', - 'https', + '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' => [], @@ -137,9 +482,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -147,20 +490,15 @@ [ 'name' => 'ClusterName', 'in' => 'formData', - 'schema' => [ - 'title' => '集群名称', - 'description' => 'Cluster name', - 'type' => 'string', - 'required' => false, - 'example' => 'Standard_Cluster', - ], + 'schema' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'required' => false, 'example' => 'Standard_Cluster'], ], [ 'name' => 'ClusterType', 'in' => 'formData', 'schema' => [ - 'title' => '集群类型', - 'description' => 'Cluster type', + 'title' => '', + 'description' => 'The cluster type.', + 'enumValueTitles' => ['Lite' => 'Lite'], 'type' => 'string', 'required' => false, 'example' => 'Lite', @@ -169,300 +507,163 @@ [ 'name' => 'ClusterDescription', 'in' => 'formData', - 'schema' => [ - 'title' => '集群描述', - 'description' => 'Cluster description', - 'type' => 'string', - 'required' => false, - 'example' => 'Cluster description', - ], + 'schema' => ['title' => '', 'description' => 'The cluster description.', 'type' => 'string', 'required' => false, 'example' => '标准集群测试'], ], [ 'name' => 'NodeGroups', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '节点组列表'."\n", - 'description' => 'Node group list'."\n", + 'title' => '', + 'description' => 'The list of node groups.', 'type' => 'array', 'items' => [ - 'description' => 'Node group information', + 'description' => 'The node group information.', 'type' => 'object', 'properties' => [ 'SystemDisk' => [ - 'description' => 'System disk information', + 'description' => 'The system cloud disk information.', '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.', - 'type' => 'string', - 'required' => false, - 'example' => 'PL1', - ], + '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' => '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', - ], + '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' => 'Node list', + 'title' => '', + 'description' => 'The list of nodes.', 'type' => 'array', 'items' => [ - 'description' => 'Node list', + 'description' => 'The list of nodes.', 'type' => 'object', 'properties' => [ 'DataDisk' => [ - 'description' => 'Data disk specifications.', + 'description' => 'The data cloud disk specifications.', 'type' => 'array', 'items' => [ + 'description' => 'The data cloud disk specification details.', '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', - ], + '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', - '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' => '***', - ], + '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' => '', ], 'HyperNodes' => [ - 'title' => '节点列表', + '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' => [ - 'type' => 'boolean', - 'default' => 'True', - ], - 'Category' => [ - 'type' => 'string', - ], - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'type' => 'string', - ], - 'BurstingEnabled' => [ - 'type' => 'boolean', - ], - 'ProvisionedIops' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + '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' => '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-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' => '', ], - ], - 'LoginPassword' => [ - 'title' => '节点组内的机器登录密码', - 'description' => 'Login password', - 'type' => 'string', '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,213 +1067,11 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - ], - 'parameters' => [ - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i119982311660892626523', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - '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", - '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' => '', - ], - 'example' => 'ACKEdge', - ], - 'ComponentId' => [ - 'title' => '组件id', - 'description' => 'The component ID.'."\n", - 'type' => 'string', - 'example' => 'i149549021660892626529', - ], - ], - 'description' => '', - ], - ], - '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', - ], - ], - 'description' => '', - ], - ], - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - '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', - 'translator' => 'machine', - ], - 'ExtendCluster' => [ - 'summary' => 'Cluster Scaling', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '161261', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '188554', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], @@ -1232,474 +1079,74 @@ [ 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'Cluster ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i15b480fbd2fcdbc2869cd80', - ], + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i118913031696573280136', 'title' => ''], ], [ - 'name' => 'NodeGroups', + 'name' => 'NodeIds', 'in' => 'formData', - 'style' => 'json', + 'style' => 'simple', 'schema' => [ - 'title' => '节点组', - 'description' => 'Node Groups', + 'description' => 'The IDs of the nodes.'."\n", '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', - ], - 'required' => false, - ], - '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, - ], - '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, - ], - 'required' => false, - ], - ], - [ - 'name' => 'IgnoreFailedNodeTasks', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Whether to allow skipping failed node tasks, default value is False', - 'type' => 'boolean', + 'items' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\'mock-sn-200101\']', 'title' => ''], 'required' => false, - 'example' => 'False'."\n", + 'title' => '', ], ], [ - 'name' => 'VpdSubnets', + 'name' => 'DiagnosticType', '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"]', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The diagnostics type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CheckByAiJobLogs', 'title' => ''], ], [ - 'name' => 'IpAllocationPolicy', + 'name' => 'AiJobLogInfo', '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' => 'The log information.'."\n", + 'type' => 'object', + 'properties' => [ + 'AiJobLogs' => [ + 'description' => 'The task logs.'."\n", + 'type' => 'array', + 'items' => [ 'type' => 'object', 'properties' => [ - 'BondDefaultSubnet' => [ - 'description' => 'Default bond cluster subnet', - 'type' => 'string', - 'required' => false, - 'example' => 'subnet-3od2fe', - ], - 'Bonds' => [ - 'description' => 'Bond information', + 'AiInstance' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + 'Logs' => [ + 'description' => 'The logs.'."\n", '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", - ], + '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' => '', ], 'required' => false, + 'title' => '', ], + 'NodeId' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-tw-p2p2al5u1hn', 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', ], - '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, - ], - 'required' => false, - ], + 'required' => false, + 'title' => '', ], - 'required' => false, + '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' => ''], ], 'required' => false, - ], - ], - [ - 'name' => 'VSwitchZoneId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'VSwitch availability zone ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai-b', + 'title' => '', ], ], ], @@ -1708,35 +1155,41 @@ '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' => '', '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\\": \\"03668372-18FF-5959-98D9-6B36A4643C7A\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', - 'title' => 'Scale Out Cluster', + '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', - ], - 'ListClusters' => [ - 'summary' => 'Queries a list of clusters.', - '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' => [], @@ -1745,736 +1198,173 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161259', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220480', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'NetTestType', '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', - ], + 'schema' => ['description' => 'The type of network test. Valid values: DelayTest, TrafficTest, and CommTest.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'DelayTest'], ], [ - 'name' => 'MaxResults', + 'name' => 'Port', '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 test port number.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '23604'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'TrafficTest', '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, - ], - 'required' => false, - 'maxItems' => 21, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ + 'description' => 'This field is empty if TrafficModel is set to Fullmesh.', '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", + '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' => 'The cluster.'."\n", + 'description' => 'A client resource.', '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', - ], - ], - ], - ], + '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' => '', ], + 'required' => false, + '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' => 'f4f9a292c17072a2', + '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' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'description' => '', - ], - ], - ], - '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', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '162039', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - ], - 'parameters' => [ - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i15b480fbd2fcdbc2869cd80', - ], - ], - [ - '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' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', - ], - ], - [ - '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', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'DelayTest', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-ec3c96ff0aa4c60d', - ], - ], - [ - '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 for the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aa_key', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => 'The tag value for the node.'."\n", - 'type' => 'string', + '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, - 'example' => 'aa_value', - 'maxLength' => 129, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], 'required' => false, - 'maxItems' => 21, - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'schema' => [ - 'title' => '资源组ID', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-xxkxkllss', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'OperatingStates', + 'name' => 'CommTest', 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'repeatList', - 'schema' => [ - 'title' => '节点状态', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'maxItems' => 100, - ], - ], - ], - 'responses' => [ - 200 => [ + 'style' => 'json', 'schema' => [ + 'description' => 'Specify this parameter if NetTestType is set to CommTest.', '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' => ['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' => 'The node.'."\n", + 'description' => 'A host.', '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', - ], + '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' => '', ], ], - 'description' => '', + 'required' => false, + 'title' => '', + 'example' => '', ], ], - ], - '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', - 'translator' => 'machine', - ], - 'ShrinkCluster' => [ - 'summary' => 'Scales in a cluster.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '162886', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15dfa12e8f27c44f4a006c2c8bb', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i119982311660892626523'], ], [ - 'name' => 'NodeGroups', + 'name' => 'NetworkMode', 'in' => 'formData', - 'style' => 'json', - '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' => '', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The network mode.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], ], [ - 'name' => 'IgnoreFailedNodeTasks', + 'name' => 'ClusterName', '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 cluster name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Eflo-YJ-Test-Cluster'], ], ], 'responses' => [ @@ -2482,36 +1372,42 @@ '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' => ['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\\": \\"CC9FEF89-9BE5-5E03-845E-238B48D7599B\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', - 'title' => 'ShrinkCluster', - 'translator' => 'machine', - ], - 'CreateNodeGroup' => [ - 'summary' => 'Create Node Group under Cluster', - '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' => [], @@ -2523,9 +1419,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ @@ -2533,135 +1427,59 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'Node ID.', + 'description' => 'The 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', - ], + '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' => 'Details of the node system disk configuration.', + 'description' => 'The system disk configuration of the node.', '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', - ], + '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, - ], - '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', - ], + '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' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Cluster ID', - 'type' => 'string', - 'required' => true, - 'example' => 'i118191731740041623425', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'i118191731740041623425', 'title' => ''], ], [ 'name' => 'NodeUnit', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'Node information', + 'description' => 'The 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', - ], + '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' => '', ], ], ], @@ -2670,164 +1488,252 @@ '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' => '', '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\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"NodeGroupName\\": \\"emr-default\\"\\n}","type":"json"}]', - 'title' => 'Create Node Group under Cluster', - 'translator' => 'machine', - ], - 'UpdateNodeGroup' => [ - 'summary' => 'Update Node Group', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + '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' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupId', + 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Node group ID', - 'type' => 'string', - 'required' => false, - 'example' => 'i120021051733814190732', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-cn-kvw44e6****', 'title' => ''], ], [ - 'name' => 'NewNodeGroupName', + 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'description' => 'Node group name', - 'type' => 'string', - 'required' => false, - 'example' => 'test-update', - ], + 'schema' => ['description' => 'The start time. The value is a 13-digit timestamp.'."\n", 'type' => 'string', 'required' => false, 'example' => '1669340937156', 'title' => ''], ], [ - 'name' => 'UserData', + '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' => '用户自定义脚本', - 'description' => 'User-defined script', - 'type' => 'string', - 'required' => false, - 'example' => '#!/bin/bash'."\n" - .'uptime'."\n" - .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', + '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' => [ [ - 'name' => 'FileSystemMountEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Whether file storage mounting is supported', - 'type' => 'boolean', - 'required' => false, - 'example' => 'True', + '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' => 'KeyPairName', + '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' => [ - 'description' => 'Key pair name.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the node.', 'type' => 'string', 'required' => true, 'example' => 'e01-cn-zvp2tgykr08'], ], [ - 'name' => 'ImageId', + 'name' => 'VscType', 'in' => 'formData', 'schema' => [ - 'title' => '节点组的默认镜像id,如果不设置,那么就不会改变。', - 'description' => 'The default image ID of the node group. If not set, it will not change.', + 'title' => '', + 'description' => 'The type of the VSC. Valid values: primary and standard. The default value is primary.', 'type' => 'string', 'required' => false, - 'example' => 'i1232142432432', + 'enumValueTitles' => ['standard' => 'standard', 'primary' => 'primary'], + 'example' => 'primary', ], ], [ - 'name' => 'LoginPassword', + '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' => 'Login password for machines within the node group', - 'type' => 'string', + 'title' => '', + 'description' => 'The tags of the resource.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The tag of the resource.', + 'type' => 'object', + 'properties' => [ + '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, - 'example' => 'LoginPassword', + 'maxItems' => 21, + 'example' => '', ], ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2xdkc6icwfha'], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response 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' => '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' => '', ], ], ], - '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', + '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' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + '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/*'], + ], + ], + ], ], + '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' => [], @@ -2839,30 +1745,13 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i114444141733395242745', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i121824791737080429819', - ], + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i116913051662373010974', 'title' => ''], ], ], 'responses' => [ @@ -2870,92 +1759,62 @@ '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' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0FC4A1C7-421C-5EAB-9361-4C0338EFA287'], ], 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\"\\n}","type":"json"}]', - 'title' => 'Delete Node Group', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FC4A1C7-421C-5EAB-9361-4C0338EFA287\\"\\n}","type":"json"}]', + 'title' => 'DeleteCluster', + 'summary' => 'Deletes a Lingjun cluster.', 'translator' => 'machine', - ], - 'ListNodeGroups' => [ - 'summary' => 'Queries node groups 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' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupId', - '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', + 'name' => 'HyperNodeId', '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 hyper node ID.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], ], 'responses' => [ @@ -2963,118 +1822,29 @@ '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", - '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', - ], - 'ClusterName' => [ - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'wzq-exclusivelite-71', - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '041724FC-2BD7-58B1-863B-B42022D4B351'], ], - 'description' => '', + 'title' => '', + 'description' => 'The response.', + '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', + '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' => '删除一个未使用节点', + 'summary' => 'Releases a pay-as-you-go node.', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3086,9 +1856,7 @@ 'operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', @@ -3097,73 +1865,68 @@ [ 'name' => 'NodeId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'e01-cn-kvw****dn04', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the node.', 'title' => '', 'example' => 'e01-cn-kvw****dn04'], ], ], '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' => ['type' => 'string', 'title' => '', 'description' => 'Id of the request', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0****'], ], + 'title' => '', + 'description' => 'Schema of Response', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteNode', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + '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"}]', ], - 'DescribeNode' => [ - 'summary' => 'Queries a list of nodes.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteNodeGroup' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161252', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NodeId', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'mock-sn-2060', - ], + 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i114444141733395242745', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => ['description' => 'The node group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i121824791737080429819', 'title' => ''], ], ], 'responses' => [ @@ -3171,435 +1934,134 @@ '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', - ], - 'VpdId' => [ - 'title' => '集群网络id', - 'description' => 'The ID of the cluster network.'."\n", - 'type' => 'string', - 'example' => 'vpd-xcuhjyrj', - ], - ], - ], - ], - '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', - ], - ], - 'description' => '', - ], - ], - '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', - ], + '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\\": \\"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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\"\\n}","type":"json"}]', + 'title' => 'Delete Node Group', + 'summary' => 'Delete Node Group', 'translator' => 'machine', - ], - 'ListFreeNodes' => [ - 'summary' => 'Queries a list of nodes that are not used.', - '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' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162040', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + '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' => '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' => 'MaxResults', + 'name' => 'VscId', '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' => ['title' => '', 'description' => 'The ID of the VSC to delete.', 'type' => 'string', 'required' => true, 'example' => 'vsc-001'], ], - [ - 'name' => 'MachineType', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '机型', - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mock-machine-type2', + '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' => 'HpnZone', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'A1', - ], + ], + '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' => ''], ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxno4vh5muoq', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteVsc', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVsc'], ], + ], + 'ramActions' => [ [ - '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, + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], ], - 'required' => false, - 'maxItems' => 21, ], ], + ], + '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' => 'OperatingStates', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', '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' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'i119982311660892626523'], ], ], 'responses' => [ @@ -3607,185 +2069,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id'."\n", - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B', - ], - 'Nodes' => [ - 'title' => '节点列表', - 'description' => 'The nodes.'."\n", + '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' => [ - 'description' => 'The node.'."\n", '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', + 'ComponentType' => [ + 'title' => '', + 'description' => 'The type of the component.', 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr08', + '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' => '', ], - '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', - ], + '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\\": \\"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', + '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' => 'update', - 'abilityTreeCode' => '161357', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '188556', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], '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' => 'DiagnosticId', '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 diagnostic task ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'diag-i151942361720577788844', 'title' => ''], ], ], 'responses' => [ @@ -3793,134 +2191,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', + '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' => '', ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The job ID.'."\n", - 'type' => 'string', - 'example' => 'i158475611663639202234', + '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\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', - 'title' => 'RebootNodes', + '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', - ], - 'ReimageNodes' => [ - 'summary' => 'Reinstall a node.', - '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' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162088', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'title' => '集群id'."\n", - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i15dfa12e8f27c44f4a006c2c8bb', - ], - ], - [ - 'name' => 'Nodes', - 'in' => 'formData', - 'style' => 'json', - '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' => '', - ], - 'required' => false, - ], - ], - [ - '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", - ], - ], - [ - 'name' => 'UserData', + 'name' => 'HyperNodeId', 'in' => 'formData', - 'schema' => [ - 'title' => '用户自定义脚本,命令', - 'description' => 'The user data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '#!/bin/sh'."\n" - .'echo "Hello World. The time is now $(date -R)!" | tee /root/userdata_test.txt', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the hyper node.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], ], 'responses' => [ @@ -3928,200 +2274,480 @@ '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' => ['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' => [ + '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' => '', + ], + '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' => '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\\": \\"15FBCD9B-C93F-54E8-A168-AADE7E66DAD2\\",\\n \\"TaskId\\": \\"i158782151663841517926\\"\\n}","type":"json"}]', - 'title' => 'ReimageNodes', - 'translator' => 'machine', - ], - 'CreateVsc' => [ - 'summary' => 'Creates a virtual storage channel (VSC).', - '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' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeHyperNode', + 'description' => 'Queries the details of a specified hyper node.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + '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' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], + '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', + 'name' => 'InvokeId', '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', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the command execution.', 'type' => 'string', 'required' => true, 'example' => 't-cd03crwys0lrls0'], ], [ - 'name' => 'VscName', + 'name' => 'NodeId', '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', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08'], ], [ - 'name' => 'Tag', + 'name' => 'IncludeOutput', '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' => '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' => 'ResourceGroupId', + 'name' => 'ContentEncoding', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2xdkc6icwfha', - ], + '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' => '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' => ['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' => '', ], ], ], - '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.', - ], + 'title' => 'DescribeInvocations', + 'changeSet' => [ + ['createdAt' => '2025-01-02T06:27:48.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvocations'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"VscId\\": \\"vsc-001\\"\\n}","type":"json"}]', - 'title' => 'CreateVsc', - 'translator' => 'machine', + '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"}]', ], - 'DescribeVsc' => [ - 'summary' => 'Queries information about a virtual storage channel (VSC).', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNetTestResult' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4133,192 +2759,331 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], + 'abilityTreeCode' => '220510', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'VscId', + 'name' => 'TestId', 'in' => 'formData', - 'schema' => [ - 'title' => '需要查询的VscId', - 'description' => 'The VSC ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vsc-001', - ], + 'schema' => ['description' => 'The ID of the test task.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'dr-uf6i0tv2refv8wz*****'], ], ], '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", - 'type' => 'string', - 'example' => 'e01-cn-kvw44e6dn04', + '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' => '', + ], + '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' => '', ], - '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', + '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' => '', + ], ], - 'example' => 'Normal', + 'title' => '', + 'example' => '', ], - 'ResourceGroupId' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aek2k3rqlvv6ytq', + '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' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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\\": \\"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', + '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"}]', ], - 'DeleteVsc' => [ - 'summary' => 'Deletes a virtual storage channel (VSC).', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNode' => [ + 'summary' => 'Queries the list of nodes.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], + 'abilityTreeCode' => '161252', + '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' => 'VscId', + 'name' => 'NodeId', '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' => ['description' => 'The node ID.', 'type' => 'string', 'required' => true, 'example' => 'mock-sn-2060', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - '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' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', + 'example' => 'Using', ], + '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 network information.', + 'type' => 'object', + 'properties' => [ + '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' => '', + ], + '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'], ], + '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\\": \\"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}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\"\\n}","type":"json"}]', - 'title' => 'DeleteVsc', - 'translator' => 'machine', ], - 'ListVscs' => [ - 'summary' => 'Queries a list of virtual storage channels (VSC).', - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNodeGroup' => [ + 'summary' => 'Queries the details of a node group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4327,552 +3092,249 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterYMLW2J', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NextToken', - '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", - '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', - ], - ], - [ - 'name' => 'NodeIds', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[\'mock-sn-200101\']', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'VscName', - 'in' => 'formData', - 'schema' => [ - 'title' => 'Vsc名称', - 'description' => 'The VSC name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_name', - ], - ], - [ - 'name' => 'Tag', - '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' => 'key001', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value001', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], - ], - [ - 'name' => 'ResourceGroupId', + 'name' => 'NodeGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2xdkc6icwfha', - ], + 'schema' => ['description' => 'The ID of the node group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i128903591758597631635'], ], ], 'responses' => [ 200 => [ '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", - '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", - 'type' => 'array', - 'items' => [ - 'title' => '标签', - 'description' => 'The tag.'."\n", - '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', - ], - ], - ], - ], - 'ResourceGroupId' => [ - 'title' => '资源组Id', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-acfm2zkwhkns57i', - ], - ], + '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' => ''], ], - ], - 'MaxResults' => [ - 'description' => 'No response is returned. The TotalCount parameter is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + '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' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - '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', + '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' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], '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' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - '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', - ], + 'name' => 'NodeType', + 'in' => 'formData', + 'schema' => ['description' => 'The node scale-out pattern.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'standard'], ], ], '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' => ['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' => ''], ], + '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' => 'DescribeNodeType', + 'summary' => 'Describes the constraints for a node type.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"81F648D0-5570-5351-AE98-6F501C7E957F\\"\\n}","type":"json"}]', - 'title' => 'UntagResources', - 'translator' => 'machine', + '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"}]', ], - 'TagResources' => [ - 'summary' => 'Tags resources.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegions' => [ + 'summary' => 'Queries a list of regions.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '161612', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', + 'name' => 'AcceptLanguage', + 'in' => 'formData', 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\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" - .'* Node'."\n" - .'* Vcc'."\n" - .'* Cluster'."\n" - .'* Vpd'."\n" - .'* Subnet'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Node' => '', - 'Vcc' => '', - 'Cluster' => '', - 'Vpd' => '', - 'Subnet' => '', - ], - 'example' => 'Cluster', - ], - ], - [ - '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' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '资源所属的地域 ID。', - 'description' => 'The region ID.'."\n", + .'* en-US'."\n" + .'* zh-CN'."\n", 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Tag', - '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, - ], - ], - 'required' => false, - 'description' => '', - 'title' => '标签对象。', - ], - 'required' => true, - 'maxItems' => 20, + 'required' => false, + 'enumValueTitles' => ['en-US' => '', 'zh-CN' => ''], + 'example' => 'zh-CN', ], ], ], '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' => ['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' => '', ], ], ], - '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\\": \\"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'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7BB53E1-0B08-5C4E-BA66-9225548C3151\\"\\n}","type":"json"}]', - 'title' => 'TagResources', + 'ramActions' => [], 'translator' => 'machine', ], - 'ListTagResources' => [ - 'summary' => 'Queries the tags of resources.', - 'methods' => [ - 'post', - 'get', - ], - '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' => [], @@ -4884,306 +3346,183 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '202212', + '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" - .'* Vcc'."\n" - .'* Cluster'."\n" - .'* Subnet'."\n" - .'* Vpd'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Node' => '', - 'Vcc' => '', - 'Cluster' => '', - 'Subnet' => '', - 'Vpd ' => '', - ], - 'example' => 'Node', - ], - ], - [ - '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' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '资源所属的地域 ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - '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。', - ], - ], - 'required' => false, - 'description' => '', - 'title' => '精确查找灵骏资源时使用的标签键。标签健长度的取值范围为 1~128。N 的取值范围为 1~20。', - ], - 'required' => false, - 'maxItems' => 21, - 'title' => '标签列表。', - ], + 'name' => 'InvokeId', + 'in' => 'formData', + 'schema' => ['description' => 'The command execution ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 't-bj038i0d6r8zoqo', 'title' => ''], ], [ - 'name' => 'NextToken', - 'in' => 'query', - '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', - 'required' => false, - 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', - ], + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08', 'title' => ''], ], ], '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' => [ + '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', - 'itemNode' => true, 'properties' => [ - 'TagResource' => [ - 'description' => 'The tags.'."\n", + 'Invocation' => [ + 'description' => 'The command execution ID.'."\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' => '', + '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' => '', + ], ], - 'example' => 'Cluster'."\n", + 'title' => '', + 'example' => '', ], ], 'description' => '', - 'title' => '标签对象', + 'title' => '', + 'example' => '', ], - 'title' => '由资源及其标签组成的集合,包含了资源 ID、资源类型和标签键值等信息。', + '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=', + 'title' => '', + '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', - ], - ], - ], - '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', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '161776', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', + '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'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'AcceptLanguage', - 'in' => 'formData', - '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' => '', - ], - 'example' => 'zh-CN', - ], - ], - ], - 'responses' => [ - 200 => [ - '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", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LocalName' => [ - 'title' => '可用区名称', - 'description' => 'The zone name.'."\n", - 'type' => 'string', - 'example' => 'Hang Zhou', - ], - 'ZoneId' => [ - 'title' => '可用区id'."\n", - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - ], - 'description' => '', - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeSendFileResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], ], - 'description' => '', ], ], ], - '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', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5196,21 +3535,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '161255', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'title' => '任务id', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i156331731670384438138', - ], + 'schema' => ['title' => '', 'description' => 'The task ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i156331731670384438138'], ], ], 'responses' => [ @@ -5218,26 +3549,11 @@ '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', - ], + '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' => '任务状态:waiting_to_run(等待执行),running(执行),execution_fail(执行失败),execution_success(执行成功)', + 'title' => '', 'description' => 'The task status.'."\n" ."\n" .'Valid values:'."\n" @@ -5247,16 +3563,11 @@ .'* execution_fail'."\n" .'* waiting_to_run'."\n", 'type' => 'string', - 'enumValueTitles' => [ - 'running' => '', - 'execution_success' => '', - 'execution_fail' => '', - 'waiting_to_run' => '', - ], + 'enumValueTitles' => ['running' => '', 'execution_success' => '', 'execution_fail' => '', 'waiting_to_run' => ''], 'example' => 'running', ], 'TaskType' => [ - 'title' => '任务类型', + 'title' => '', 'description' => 'The task type.'."\n" ."\n" .'Valid values:'."\n" @@ -5278,45 +3589,22 @@ .'* 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' => '', + '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]', - ], + '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' => '执行步骤', + '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', - ], + 'StepName' => ['title' => '', 'description' => 'The name of the step.'."\n", 'type' => 'string', 'example' => 'create_vpd'], 'StepState' => [ - 'title' => '步骤执行状态', + 'title' => '', 'description' => 'The step status.'."\n" ."\n" .'Valid values:'."\n" @@ -5324,14 +3612,11 @@ .'* execution_success'."\n" .'* execution_failed'."\n", 'type' => 'string', - 'enumValueTitles' => [ - 'execution_success' => '', - 'execution_failed' => '', - ], + 'enumValueTitles' => ['execution_success' => '', 'execution_failed' => ''], 'example' => 'execution_success', ], 'StepType' => [ - 'title' => '步骤类型', + 'title' => '', 'description' => 'The type of the step.'."\n" ."\n" .'Valid values:'."\n" @@ -5339,27 +3624,19 @@ .'* normal: A normal step has only one successor step.'."\n" .'* dispersive: A dispersive step has multiple successor steps.'."\n", 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '', - 'dispersive' => '', - ], + 'enumValueTitles' => ['normal' => '', 'dispersive' => ''], 'example' => 'normal', ], 'SubTasks' => [ - 'title' => '子任务', + 'title' => '', 'description' => 'The sub tasks.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 'i158805051661047928377', - ], + 'TaskId' => ['title' => '', 'description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'i158805051661047928377'], 'TaskType' => [ - 'title' => '任务类型', + 'title' => '', 'description' => 'The task type.'."\n" ."\n" .'Valid values:'."\n" @@ -5381,54 +3658,24 @@ .'* 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' => '', + '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', - ], + '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' => '阶段标记', + 'title' => '', 'description' => 'The stage marker.'."\n" ."\n" .'Valid values:'."\n" @@ -5449,354 +3696,175 @@ .'* 异常机器释放: Abnormal machine release.', 'type' => 'string', 'enumValueTitles' => [ - '机器释放' => '', - '节点并发初始化' => '', - '节点释放' => '', - '机器替换' => '', - '节点缩容' => '', - '提前续费' => '', - '物理机清理' => '', - '节点清理' => '', - '创建K8s集群' => '', - '网络初始化' => '', - '节点重启' => '', - '节点退订' => '', - '集群扩容' => '', - '异常机器释放' => '', + '机器释放' => '', '节点并发初始化' => '', '节点释放' => '', '机器替换' => '', '节点缩容' => '', '提前续费' => '', '物理机清理' => '', '节点清理' => '', '创建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', + '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', - ], + '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列表', + 'title' => '', 'description' => 'The IDs of the nodes.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'A node ID.'."\n", - 'type' => 'string', - 'example' => '[\'mock-sn-200101\']', - ], + 'items' => ['description' => 'A node ID.'."\n", 'type' => 'string', 'example' => '[\'mock-sn-200101\']', 'title' => ''], + 'example' => '', ], ], '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"}]', + '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', - 'translator' => 'machine', - ], - 'DescribeRegions' => [ - 'summary' => 'Queries a list of regions.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-06-06T11:25:16.000Z', 'description' => 'Response parameters changed'], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '161612', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTask'], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'AcceptLanguage', - 'in' => 'formData', - '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' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ], - 'example' => 'zh-CN', ], ], ], - 'responses' => [ - 200 => [ - '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", - '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', - ], - ], - 'description' => '', - ], - ], - ], - 'description' => '', - ], - ], - ], - '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', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVsc' => [ + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterTOL3OM', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Node', - 'default' => 'Cluster', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源Id', - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'i118099391667548921125', - ], - ], - [ - 'name' => 'ResourceRegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '地域Id', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-wulanchabu', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'title' => '目标资源组', - 'description' => 'The ID of the resource group into which you want to change.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rg-aekzyqdwnfabx6q', - ], + 'name' => 'VscId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The ID of the Vsc.', 'type' => 'string', 'required' => true, 'example' => 'vsc-001'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求 ID。', - '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' => '8F065DDD-6996-5973-9691-9EC57BD0072E', + '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' => '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', + '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}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\"\\n}","type":"json"}]', - 'title' => 'ChangeResourceGroup', - '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"}]', ], - 'ApproveOperation' => [ - 'summary' => 'Approves an O\\\\\\&M operation.', - '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' => 'update', - 'riskType' => 'high', + 'operationType' => 'list', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '196045', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '161776', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NodeId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2tgykr08', - ], - ], - [ - 'name' => 'OperationType', + 'name' => 'AcceptLanguage', 'in' => 'formData', 'schema' => [ - 'description' => 'The O\\&M operation type'."\n" + 'title' => '', + 'description' => 'The natural language that is used to filter responses. For more information, see RFC 7231. Valid values:'."\n" ."\n" - .'Valid value:'."\n" + .'zh-CN en-US Default value: zh-CN.'."\n" ."\n" - .'* RepairMachine'."\n", + .'Valid values:'."\n" + ."\n" + .'* en-US'."\n" + .'* zh-CN'."\n", 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'RepairMachine' => 'RepairMachine', - ], - 'example' => 'RepairMachine', + 'enumValueTitles' => ['en-US' => '', 'zh-CN' => ''], + 'example' => 'zh-CN', ], ], ], @@ -5805,427 +3873,421 @@ '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' => ['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' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', - 'title' => 'ApproveOperation', + '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', ], - 'StopInvocation' => [ - 'summary' => 'Stops the O\\\\\\&M assistant command execution.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExtendCluster' => [ + 'summary' => 'Scales out a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '202206', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '161261', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'InvokeId', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'f-hz044748dzepds0', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'i15b480fbd2fcdbc2869cd80'], ], [ - 'name' => 'NodeIdList', + 'name' => 'NodeGroups', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The nodes.'."\n", + 'title' => '', + 'description' => 'The node groups.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of the Lingjun node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '\'i-bp1cfrqj4pztngvlq7la\'', - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7FD7411-9395-52E8-AF42-EB3A4A55446D', + 'description' => 'The node groups.', + 'type' => 'object', + 'properties' => [ + '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' => '', + ], + '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' => '', + ], + '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' => '', ], - 'description' => '', - ], - ], - ], - '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', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeCode' => '202207', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'title' => '命令名称。支持全字符集,长度不得超过 128 个字符。', - 'description' => 'The command name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testName', - ], - ], - [ - 'name' => 'Description', - '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", - ], - ], - [ - 'name' => 'WorkingDir', - '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', - ], - ], - [ - 'name' => 'EnableParameter', - 'in' => 'formData', - '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', + 'example' => '', ], ], [ - 'name' => 'ContentEncoding', + 'name' => 'IgnoreFailedNodeTasks', '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', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to skip failed nodes. Default value: False.', 'type' => 'boolean', 'required' => false, 'example' => 'False'."\n"], ], [ - 'name' => 'Username', + 'name' => 'VpdSubnets', 'in' => 'formData', + 'style' => 'json', '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', + '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' => 'root', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NodeIdList', + 'name' => 'IpAllocationPolicy', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '灵骏节点id', - 'description' => 'The node list.'."\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 node ID.'."\n", - 'type' => 'string', + 'description' => 'The IP allocation policy.', + 'type' => 'object', + 'properties' => [ + 'BondPolicy' => [ + 'description' => 'Specifies the cluster subnet ID based on the bond name.', + 'type' => 'object', + 'properties' => [ + 'BondDefaultSubnet' => ['description' => 'The default bond cluster subnet.', 'type' => 'string', 'required' => false, 'example' => 'subnet-3od2fe', 'title' => ''], + '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-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' => ''], + ], + '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' => '', + ], + ], 'required' => false, - 'example' => '"i-bp185dy2o3o6neg****"', + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - '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(\\<Execution interval value> \\<Execution interval unit>). 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 \\<Time zone>). If you do not specify a time zone, the Coordinated Universal Time (UTC) time zone is used by default. The time zone name supports the following formats: Full name, such as Asia/Shanghai and America/Los_Angeles. The time offset from GMT. Examples: GMT+8:00 (UTC+8) and GMT-7:00 (UTC-7). If you use the GMT format, you cannot add leading zeros to the hour value. The time zone abbreviation. Only UTC is supported. For example, to configure a command to run only once at 13:15:30 on June 6, 2022 (Shanghai time), set the time to at(2022-06-06 13:15:30 Asia/Shanghai). To configure a command to run only once at 13:15:30 on June 6, 2022 (UTC-7), set the time to at(2022-06-06 13:15:30 GMT-7:00).'."\n" - ."\n" - .'* To run a command at designated points in time, use a cron expression to define the schedule. Format: \\<Cron expression> \\<Time zone>. Example: \\<Seconds> \\<Minutes> \\<Hours> \\<Day of the month> \\<Month> \\<Day of the week> \\<Year (optional)> \\<Time zone>. The system calculates the execution times of the command based on the specified cron expression and time zone and runs the command as scheduled. If you do not specify a time zone, the system time zone of the instance is used by default. For more information, see Cron expressions. The time zone name supports the following formats:'."\n" - ."\n" - .' * Full name, such as Asia/Shanghai and America/Los_Angeles.'."\n" - .' * The time offset from GMT. Examples: GMT+8:00 (UTC+8) and GMT-7:00 (UTC-7). If you use the GMT format, you cannot add leading zeros to the hour value.'."\n" - .' * The time zone abbreviation. Only UTC is supported.'."\n" - ."\n" - .' For example, if you specify a command to run at 10:15:00 every day in 2022 in China/Shanghai time, set the time to 0 15 10 ? \\* \\* 2022 Asia/Shanghai. To configure a command to run every half an hour from 10:00:00 to 11:30:00 every day in 2022 (UTC+8), set the schedule to 0 0/30 10-11 \\* \\* ? 2022 GMT+8:00. To configure a command to run every 5 minutes from 14:00:00 to 14:55:00 every October every two years from 2022 in UTC, set the schedule to 0 0/5 14 \\* 10 ? 2022/2 UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0 */20 * * * ?', - ], - ], - [ - 'name' => 'Parameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '命令中包含自定义参数时,执行命令时传入的自定义参数的键值对。', - 'description' => 'The key-value pairs of custom parameters to pass in when the command includes custom parameters. For example, the command content is `echo {{name}}`. You can use `Parameters` to pass in the `{"name":"Jack"}` key-value pair. The `name` key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.'."\n" - ."\n" - .'You can specify 0 to 10 custom parameters. Take note of the following:'."\n" - ."\n" - .'* The key of a custom parameter can be up to 64 characters in length, and cannot be an empty string.'."\n" - .'* The value of a custom parameter can be an empty string.'."\n" - .'* If you want to retain a command, make sure that the command after Base64 encoding, including custom parameters and original command content, does not exceed 18 KB in size. If you do not want to retain the command, make sure that the command after Base64 encoding does not exceed 24 KB in size. You can set `KeepCommand` to specify whether to retain the command.'."\n" - .'* The specified custom parameter names must be included in the custom parameter names that you specify when you create the command. You can use empty strings to represent the parameters that are not passed in.'."\n" - ."\n" - .'This parameter is left empty by default, which indicates that the custom parameter feature is disabled.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{"name":"Jack", "accessKey":"LTAIdyvdIqaRY****"}', - ], - ], - [ - 'name' => 'CommandId', - 'in' => 'formData', - 'schema' => [ - 'title' => '命令ID', - 'description' => 'The ID of the command.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-e996287206324975b5fbe1d***', - ], - ], - [ - 'name' => 'TerminationMode', - 'in' => 'formData', - 'schema' => [ - 'title' => '停止任务(手动停止或执行超时打断)时的模式。可能值:'."\n" - ."\n" - .'Process:停止当前脚本进程。'."\n" - .'ProcessTree:停止当前进程树(脚本进程以及它创建的所有子进程的集合)', - 'description' => 'Indicates how the command task is stopped when a command execution is manually stopped or times out. Valid values:'."\n" - ."\n" - .'Process: The process of the command is stopped. ProcessTree: The process tree of the command is stopped. In this case, the process of the command and all subprocesses are stopped.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ProcessTree', - ], - ], - [ - 'name' => 'Launcher', + 'name' => 'VSwitchZoneId', 'in' => 'formData', 'schema' => [ - 'title' => '脚本执行的引导程序。长度不能超过 1 KB。', - 'description' => 'The launcher for script execution. Cannot exceed 1 KB.'."\n", + 'description' => 'The zone ID of the vSwitch.', + 'enumValueTitles' => ['cn-beijing-d' => 'cn-beijing-b'], 'type' => 'string', 'required' => false, - 'example' => 'python3 -u {{ACS::ScriptFileName|Ext(".py")}}', + 'example' => 'cn-shanghai-b', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1', - ], - 'InvokeId' => [ - 'description' => 'The ID of the execution.'."\n", - 'type' => 'string', - 'example' => 't-7d2a745b412b4601b2d47f6a768d*', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '03668372-18FF-5959-98D9-6B36A4643C7A'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i158475611663639202234'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"InvokeId\\": \\"t-7d2a745b412b4601b2d47f6a768d*\\"\\n}","type":"json"}]', - 'title' => 'RunCommand', - 'translator' => 'machine', - ], - 'DescribeInvocations' => [ - 'summary' => 'Queries the execution list and status of O\\\\\\&M Assistant commands.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + '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}'], + ], + ], + ], ], + ], + 'GetHyperNode' => [ + 'summary' => 'Queries the details of a hypernode.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6237,61 +4299,16 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'InvokeId', - 'in' => 'formData', - 'schema' => [ - 'title' => '命令执行ID', - 'description' => 'The execution ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 't-cd03crwys0lrls0', - ], - ], - [ - 'name' => 'NodeId', - 'in' => 'formData', - 'schema' => [ - 'title' => '实例ID', - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2tgykr08', - ], - ], - [ - 'name' => 'IncludeOutput', + 'name' => 'HyperNodeId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to return the command outputs in the response.'."\n" - ."\n" - .'* true: returns the command outputs. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both.'."\n" - .'* false (default)'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ContentEncoding', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The encoding mode of the `CommandContent` and `Output` response parameters. Valid values:'."\n" - ."\n" - .'* PlainText: returns the original command content and command outputs.'."\n" - .'* Base64 (default): returns the Base64-encoded command content and command output.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PlainText', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the hypernode.', 'title' => '', 'example' => 'e01-cn-zvp2tgykr08'], ], ], 'responses' => [ @@ -6299,350 +4316,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'Invocations' => [ - 'description' => 'The command execution record.'."\n", - 'type' => 'object', - 'properties' => [ - 'Invocation' => [ - 'description' => 'The file sending records.'."\n", - 'type' => 'array', - 'items' => [ + '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' => [ - 'CreationTime' => [ - 'description' => 'The time when the command task was created.'."\n", - 'type' => 'string', - 'example' => '2020-01-19T09:15:46Z', - ], - 'Frequency' => [ - 'description' => 'The schedule on which the command was run.'."\n", - 'type' => 'string', - 'example' => '0 */20 * * * *', - ], - 'InvocationStatus' => [ - 'description' => 'The overall execution state of the command task. The value of this parameter depends on the execution states of the command task on all the involved instances. Valid values:'."\n" - ."\n" - .'* Pending: The command was being verified or sent. If the execution state on at least one instance is Pending, the overall execution state is Pending.'."\n" - ."\n" - .'* Scheduled: The command that is set to run on a schedule is sent and waiting to be run. If the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.'."\n" - ."\n" - .'* Running: The command is being run on the instance. When the execution state on at least one instance is Running, the overall execution state is Running.'."\n" - ."\n" - .'* Success: When the execution state on at least one instance is Success and the execution state on the other instances is Stopped or Success, the overall execution state is Success.'."\n" - ."\n" - .' * One-time task: The execution is complete, and the exit code is 0.'."\n" - .' * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.'."\n" - ."\n" - .'* Failed: When the execution state on all instances is Stopped or Failed, the overall execution state is Failed. When the execution state on an instance is one of the following values, Failed is returned as the overall execution state:'."\n" - ."\n" - .' * Invalid: The command is invalid.'."\n" - .' * Aborted: The command failed to be sent.'."\n" - .' * Failed: The execution was complete, but the exit code was not 0.'."\n" - .' * Timeout: The execution timed out.'."\n" - .' * Error: An error occurred while the command was being run.'."\n" - ."\n" - .'* Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.'."\n" - ."\n" - .'* Stopped: The task was stopped. When the execution state on all instances is Stopped, the overall execution state is Stopped. When the execution state on an instance is one of the following values, Stopped is returned as the overall execution state:'."\n" - ."\n" - .' * Cancelled: The task was canceled.'."\n" - .' * Terminated: The task was terminated.'."\n" - ."\n" - .'* PartialFailed: The execution was complete on some instances and failed on other instances. When the execution state is Success on some instances and is Failed or Stopped on the other instances, the overall execution state is PartialFailed.'."\n" - ."\n" - .'> The value of the `InvokeStatus` response parameter is similar to the value of InvocationStatus. We recommend that you ignore InvokeStatus and check the value of InvocationStatus.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'RepeatMode' => [ - 'description' => 'The execution mode of the command. Valid values:'."\n" - ."\n" - .'* Once: The command is run immediately.'."\n" - .'* Period: The command is run on a schedule.'."\n" - .'* NextRebootOnly: The command is run the next time the instances start.'."\n" - .'* EveryReboot: runs the command every time the instances start.'."\n", - 'type' => 'string', - 'example' => 'Once', - ], - 'InvokeStatus' => [ - 'description' => 'The overall execution status of the command task. The value of this parameter depends on the execution states of the command task on all involved instances. Valid values:'."\n" - ."\n" - .'* Running:'."\n" - ."\n" - .' * Scheduled task: Before you stop the scheduled execution of the command, the overall execution state is always Running.'."\n" - .' * One-time task: If the command is being run on instances, the overall execution state is Running.'."\n" - ."\n" - .'* Finished:'."\n" + '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" - .' * Scheduled task: The overall execution state can never be Finished.'."\n" - .' * One-time task: The execution is complete on all instances, or the execution is stopped on some instances and is complete on the other instances.'."\n" + .'- **DOWNLINK\\_PACKET**: Downlink packet.'."\n" ."\n" - .'* Failed:'."\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" - .' * Scheduled task: The overall execution state can never be Failed.'."\n" - .' * One-time task: The execution failed on all instances.'."\n" + .'- PL0: A maximum of 10,000 random read/write IOPS per disk.'."\n" ."\n" - .'* Stopped: The task is stopped.'."\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" - .'* Stopping: The task is being stopped.'."\n" + .'- system: system disk.'."\n" ."\n" - .'* PartialFailed: The task fails on some instances. If you specify both this parameter and `InstanceId`, this parameter does not take effect.'."\n", - 'type' => 'string', - 'example' => 'Running', - ], - 'Parameters' => [ - 'description' => 'The custom parameters in the command.'."\n", - 'type' => 'string', - 'example' => '{}', - ], - 'CommandContent' => [ - 'description' => 'The executed command.'."\n" - ."\n" - .'* If ContentEncoding is set to PlainText in the request, the original command content is returned.'."\n" - .'* If ContentEncoding is set to Base64 in the request, the Base64-encoded command content is returned.'."\n", - 'type' => 'string', - 'example' => 'cnBtIC1xYSB8IGdyZXAgdnNm****', - ], - 'CommandName' => [ - 'description' => 'The command name.'."\n", - 'type' => 'string', - 'example' => 'CommandTestName', - ], - 'CommandDescription' => [ - 'description' => 'The command description.'."\n", - 'type' => 'string', - 'example' => 'testDescription', - ], - 'InvokeId' => [ - 'description' => 'The execution ID.'."\n", - 'type' => 'string', - 'example' => 't-ind3k9ytvvduoe8', - ], - 'Username' => [ - 'description' => 'The username that is used to run the command.'."\n", - 'type' => 'string', - 'example' => 'root', - ], - 'WorkingDir' => [ - 'description' => 'The working directory of the command on the instance.'."\n", - 'type' => 'string', - 'example' => '/home', - ], - 'Timeout' => [ - 'description' => 'The timeout period for the command execution. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'InvokeNodes' => [ - 'description' => 'The command execution records.'."\n", - 'type' => 'object', - 'properties' => [ - 'InvokeNode' => [ - 'description' => 'The command execution records of the node.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CreationTime' => [ - 'description' => 'The start time of the execution.'."\n", - 'type' => 'string', - 'example' => '2023-02-06T07:12:50Z', - ], - 'UpdateTime' => [ - 'description' => 'The update time of the execution.'."\n", - 'type' => 'string', - 'example' => '2023-02-06T07:12:50Z', - ], - 'FinishTime' => [ - 'description' => 'The end time of the execution.'."\n", - 'type' => 'string', - 'example' => '2023-02-06T07:12:50Z', - ], - 'InvocationStatus' => [ - 'description' => 'The execution status of the command on a single instance. Valid values:'."\n" - ."\n" - .'* Pending: The command was being verified or sent.'."\n" - ."\n" - .'* Invalid: The specified command type or parameter is invalid.'."\n" - ."\n" - .'* Aborted: The command failed to be sent to the instance. To send a command to an instance, make sure that the instance is in the Running state and the command can be sent to the instance within 1 minute.'."\n" - ."\n" - .'* Running: The command is being run on the instance.'."\n" - ."\n" - .'* Success:'."\n" - ."\n" - .' * One-time task: The execution was complete, and the exit code was 0.'."\n" - .' * Recurring execution: The previous occurrence of the execution is complete, and the exit code is 0. The specified recurring period during which the command is run ends.'."\n" - ."\n" - .'* Failed:'."\n" - ."\n" - .' * One-time task: The execution was complete, but the exit code was not 0.'."\n" - .' * Recurring execution: The previous occurrence of the execution is complete, but the exit code is not 0. The specified recurring period during which the command is run is about to end.'."\n" - ."\n" - .'* Error: The execution cannot proceed due to an exception.'."\n" - ."\n" - .'* Timeout: The execution timed out.'."\n" - ."\n" - .'* Cancelled: The execution was canceled before it started.'."\n" - ."\n" - .'* Stopping: The command task is being stopped.'."\n" - ."\n" - .'* Terminated: The execution was terminated before completion.'."\n" - ."\n" - .'* Scheduled:'."\n" - ."\n" - .' * One-time task: The execution state can never be Scheduled.'."\n" - .' * Recurring execution: The command is waiting to be run.'."\n", - 'type' => 'string', - 'example' => 'Pending', - ], - 'Repeats' => [ - 'description' => 'The number of times that the command was run on the instance.'."\n" - ."\n" - .'* If the command is set to run only once, the value is 0 or 1.'."\n" - .'* If the command is set to run on a schedule, the value is the number of times that the command has been run on the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-lbj36wkp70b', - ], - 'Output' => [ - 'description' => 'The command output.'."\n" - ."\n" - .'* If ContentEncoding is set to PlainText in the request, the original command output is returned.'."\n" - .'* If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.'."\n", - 'type' => 'string', - 'example' => 'OutPutTestmsg', - ], - 'Dropped' => [ - 'description' => 'The size of the Output text that was truncated and discarded because the Output value exceeded 24 KB in size.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'StopTime' => [ - 'description' => 'The time when the command task was stopped. If you call the StopInvocation operation to stop the command task, the value of this parameter is the time when the operation is called.'."\n", - 'type' => 'string', - 'example' => '2019-12-20T06:15:55Z '."\n", - ], - 'ExitCode' => [ - 'description' => 'The exit code of the execution. Valid values:'."\n" - ."\n" - .'* For Linux instances, the value is the exit code of the shell process.'."\n" - .'* For Windows instances, the value is the exit code of the batch or PowerShell process.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'StartTime' => [ - 'description' => 'The start time.'."\n", - 'type' => 'string', - 'example' => '2019-12-20T06:15:55Z', - ], - 'ErrorInfo' => [ - 'description' => 'The error message returned when the command cannot be sent or run.'."\n" - ."\n" - .'* If this parameter is empty, the command was run as expected.'."\n" - .'* the specified node does not exists: The specified instance does not exist or is released.'."\n" - .'* the node has node 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 node has been released: The instance is released while the file is being sent.'."\n", - 'type' => 'string', - 'example' => 'the specified node does not exists', - ], - 'Timed' => [ - 'description' => 'Indicates whether the command is to be automatically run. Valid values:'."\n" - ."\n" - .'* true: The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`.'."\n" - ."\n" - .'* false (default): The command meets the following requirements.'."\n" - ."\n" - .' * The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`.'."\n" - .' * The command task is canceled, stopped, or completed.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - '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.'."\n" - .'* NodeNotExists: The specified instance does not exist or has been released.'."\n" - .'* NodeReleased: The instance was released while the file was being sent.'."\n" - .'* NodeNotRunning: The instance was not running while the file sending task was being created.'."\n" - .'* AccountNotExists: The specified account does not exist.'."\n" - .'* ClientNotRunning: Cloud Assistant Agent is not running.'."\n" - .'* ClientNotResponse: Cloud Assistant Agent does not respond.'."\n" - .'* ClientIsUpgrading: Cloud Assistant Agent is being upgraded.'."\n" - .'* ClientNeedUpgrade: Cloud Assistant Agent needs to be upgraded.'."\n" - .'* DeliveryTimeout: The file sending task timed out.'."\n" - .'* FileCreateFail: The file failed to be created.'."\n" - .'* FileAlreadyExists: A file with the same name exists in the specified directory.'."\n" - .'* FileContentInvalid: The file content is invalid.'."\n" - .'* FileNameInvalid: The file name is invalid.'."\n" - .'* FilePathInvalid: The specified directory is invalid.'."\n" - .'* FileAuthorityInvalid: The specified permissions on the file are invalid.'."\n" - .'* UserGroupNotExists: The specified user group does not exist.'."\n", - 'type' => 'string', - 'example' => ' NodeNotExists', - ], - 'NodeInvokeStatus' => [ - 'description' => 'The execution status of the command on a single instance.'."\n", - 'type' => 'string', - 'example' => 'Finished', - ], - ], - 'description' => '', - ], - ], - ], + .'- data: data disk.', 'title' => '', 'example' => 'system'], ], + 'description' => 'The disk information.', + 'title' => '', + 'example' => '', ], - 'description' => '', + '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' => '', + 'description' => 'Schema of Response', + 'title' => '', + 'example' => '', ], ], ], - '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"}]', - 'title' => 'DescribeInvocations', - 'translator' => 'machine', - ], - 'DescribeSendFileResults' => [ - 'summary' => 'Queries the files that are sent by an O\\\\\\&M assistant and the status of the files.', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetHyperNode', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:GetHyperNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'ListClusterHyperNodes' => [ + 'summary' => 'Lists the node groups of a cluster and the nodes in each group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6654,410 +4437,228 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '202212', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '162039', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'InvokeId', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The command execution ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 't-bj038i0d6r8zoqo', - ], + 'schema' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The cluster ID.', 'example' => 'i119982311660892626523'], ], [ - 'name' => 'NodeId', + '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' => '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' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => 'The node group ID.', 'required' => false, 'title' => '', 'example' => 'ng-ec3c96ff0aa4c60d'], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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, + 'title' => '', + 'example' => '', + ], + 'maxItems' => 21, + 'title' => '', + 'description' => 'The tag information.', 'required' => false, - 'example' => 'e01-cn-zvp2tgykr08', + 'example' => '', ], ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The resource group ID.', 'required' => false, 'example' => 'rg-acfmywpvugkh7kq'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - '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', - ], - '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', - ], - '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', - ], - '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', - ], - 'Description' => [ - 'description' => 'The command description.'."\n", - 'type' => 'string', - 'example' => 'Description'."\n", - ], - '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', - ], - 'NodeCount' => [ - 'description' => 'The number of nodes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TargetDir' => [ - 'description' => 'The destination directory.'."\n", - 'type' => 'string', - 'example' => ' /home/user', - ], - 'FileGroup' => [ - 'description' => 'The user group of the file.'."\n", - 'type' => 'string', - 'example' => 'root', - ], - 'FileOwner' => [ - 'description' => 'The owner of the file.'."\n", - 'type' => 'string', - 'example' => 'root', - ], - 'Name' => [ - 'description' => 'The name of the file sending task.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - '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', - ], - 'CreationTime' => [ - 'description' => 'The time when the file sending task was created.'."\n", - 'type' => 'string', - 'example' => '2023-04-10T10:53:46.156+08:00'."\n", - ], - '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', - ], - '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', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-9lb3c15m81j', - ], - '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', - ], - 'CreationTime' => [ - 'description' => 'The time when the file sending task was created.'."\n", - 'type' => 'string', - 'example' => '2023-02-06T07:12:50Z', - ], - 'StartTime' => [ - 'description' => 'The start time.'."\n", - 'type' => 'string', - 'example' => '2023-03-30T16:00:00Z', - ], - 'UpdateTime' => [ - 'description' => 'The update time.'."\n", - 'type' => 'string', - 'example' => '2023-03-30T16:00:00Z', - ], - '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', - ], - ], - 'description' => '', - ], - ], - ], + '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' => '', ], - 'description' => '', - ], + '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' => '', ], ], ], - '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\\": \\"描述信息。\\",\\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', - 'translator' => 'machine', - ], - 'SendFile' => [ - 'summary' => 'Sends a file to one or more Lingjun nodes.', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListClusterHyperNodes', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + '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\\": \\"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"}]', + ], + 'ListClusterNodes' => [ + 'summary' => 'Queries the nodes in a cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '202211', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '162039', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The file name. The name can be up to 255 characters in length and can contain any characters.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'file.txt', - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the file. The description can be up to 512 characters in length and can contain any characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'This is a test file. '."\n", - ], - ], - [ - 'name' => 'TargetDir', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The directory in the Lingjun node to which the file is sent. If the specified directory does not exist, the system creates the directory automatically.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '/home', - ], - ], - [ - 'name' => 'ContentType', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The content type of the file. Valid values:'."\n" - ."\n" - .'PlainText Base64 Default value: PlainText.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PlainText', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i15b480fbd2fcdbc2869cd80'], ], [ - 'name' => 'Content', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The content of the file. The file must not exceed 32 KB in size after it is encoded in Base64.'."\n" - ."\n" - .'* If `ContentType` is set to `PlainText`, the value of Content is in plaintext.'."\n" - .'* If `ContentType` is set to `Base64`, the value of Content is Base64-encoded.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '#!/bin/bash echo "Current User is :" echo $(ps | grep "$$" | awk \'{print $2}\') -------- oss://bucketName/objectName', - ], + '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' => 'FileMode', + 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'description' => 'The permissions on the file. This parameter takes effect only on Linux instances. You can configure this parameter in the same way as you configure the chmod command.'."\n" - ."\n" - .'Default value: 0644: the owner of the file has the read and write permission. The user group of the file and other users have read-only permission.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0644', - ], + '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' => 'FileOwner', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The owner of the file. This parameter takes effect only on Linux instances. Default value: root.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'root', - ], - ], - [ - 'name' => 'FileGroup', + 'name' => 'NodeGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The user group of the file. This parameter takes effect only on Linux instances. Default value: root. The value can be up to 64 characters in length.'."\n" - ."\n" - .'Note If you want to use a non-root user group, make sure that the user group exists in the instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-ec3c96ff0aa4c60d', 'title' => ''], ], [ - 'name' => 'NodeIdList', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The node list.'."\n", + 'title' => '', + 'description' => 'The tags for filtering nodes.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of the Lingjun node.'."\n", - 'type' => 'string', + 'description' => 'A tag, which consists of a key and a value.', + 'type' => 'object', + 'properties' => [ + '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, - 'example' => '[\'i-bp1b00g1wdnrvpz68o0b\', \'i-bp1bu2fp0uhruyf88k6v\']', + 'title' => '', + 'example' => '', ], - 'required' => true, + 'required' => false, + 'maxItems' => 21, + 'example' => '', ], ], [ - 'name' => 'Overwrite', + 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to overwrite file with the same name in the destination directory.'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'True', - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'rg-ksld39333ss'], ], [ - 'name' => 'Timeout', + 'name' => 'OperatingStates', 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The timeout period for the file sending task. Unit: seconds.'."\n" - ."\n" - .'* A timeout error occurs when a file cannot be sent because the process slows down or because a specific module or Cloud Assistant Agent does not exist.'."\n" - .'* If the specified timeout period is less than 10 seconds, the system sets the timeout period to 10 seconds to ensure that the file can be sent.'."\n" - ."\n" - .'Default value: 60.'."\n", - 'type' => 'integer', - 'format' => 'int32', + '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' => '600', + 'example' => '', ], ], ], @@ -7066,35 +4667,129 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78', - ], - 'InvokeId' => [ - 'description' => 'The ID of the execution.'."\n", - 'type' => 'string', - 'example' => 't-hz03la52z1zkvls', + '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' => '', + ], + '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', + ], + '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' => '', + ], + 'example' => '', ], ], - 'description' => '', + 'description' => 'Response parameters', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C683243-7915-57FB-9570-A2932C1C0F78\\",\\n \\"InvokeId\\": \\"t-hz03la52z1zkvls\\"\\n}","type":"json"}]', - 'title' => 'SendFile', - 'translator' => 'machine', - ], - 'ListMachineTypes' => [ - 'summary' => 'Queries a list of instance types that are available to users.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + '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}'], + ], + ], + ], ], + ], + 'ListClusters' => [ + 'summary' => 'Query cluster instances with optional filtering by resource group and tags.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7103,25 +4798,50 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '161259', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'Name', + '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' => '机型名', - 'description' => 'The name of the instance type.'."\n", - 'type' => 'string', + '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' => '', + ], 'required' => false, - 'example' => 'efg1.nvga1', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], @@ -7130,97 +4850,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F16BA4D8-FF50-53B6-A026-F443FE31006C', - ], - 'NextToken' => [ - 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], - 'MachineTypes' => [ - 'description' => 'The instance types.'."\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' => [ - 'CpuInfo' => [ - 'description' => 'The CPU information.'."\n", - 'type' => 'string', - 'example' => '2x Intel Icelake 8369B 32C CPU', - ], - 'DiskInfo' => [ - 'description' => 'The disk information.'."\n", - 'type' => 'string', - 'example' => '2x 480GB SATA SSD', - ], - 'GpuInfo' => [ - 'description' => 'The GPU information.'."\n", - 'type' => 'string', - 'example' => '8x NVIDIA SXM4 80GB A100 GPU', - ], - 'MemoryInfo' => [ - 'description' => 'The storage information.'."\n", - 'type' => 'string', - 'example' => '32x 64GB DDR4 3200 Memory', - ], - 'Name' => [ - 'description' => 'The name of the instance type.'."\n", - 'type' => 'string', - 'example' => 'efg1.nvga1', - ], - 'NetworkInfo' => [ - 'description' => 'The network information.'."\n", - 'type' => 'string', - 'example' => '2x 100Gbps DP NIC', - ], - 'NodeCount' => [ - 'description' => 'The number of nodes.'."\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' => '10', + 'title' => '', + 'example' => 'initializing', ], - 'Type' => [ - 'description' => 'The access type.'."\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' => 'Public', - ], - 'BondNum' => [ - 'description' => 'The number of bonds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', + 'title' => '', + 'example' => 'AckEdgePro', ], - 'TotalCpuCore' => [ - 'description' => 'The number of vCPUs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '48', + '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\\": \\"F16BA4D8-FF50-53B6-A026-F443FE31006C\\",\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120abe4\\",\\n \\"MachineTypes\\": [\\n {\\n \\"CpuInfo\\": \\"2x Intel Icelake 8369B 32C CPU\\",\\n \\"DiskInfo\\": \\"2x 480GB SATA SSD\\",\\n \\"GpuInfo\\": \\"8x NVIDIA SXM4 80GB A100 GPU\\",\\n \\"MemoryInfo\\": \\"32x 64GB DDR4 3200 Memory\\",\\n \\"Name\\": \\"efg1.nvga1\\",\\n \\"NetworkInfo\\": \\"2x 100Gbps DP NIC\\",\\n \\"NodeCount\\": \\"10\\",\\n \\"Type\\": \\"Public\\",\\n \\"BondNum\\": 2,\\n \\"TotalCpuCore\\": 48\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListMachineTypes', - 'translator' => 'machine', - ], - 'CreateDiagnosticTask' => [ - 'summary' => 'Creates a diagnostics 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' => [], @@ -7229,209 +4957,199 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188554', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220474', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i118913031696573280136', - ], + 'schema' => ['title' => '', 'description' => 'NextToken for the next page. Include this value when requesting the next page.', 'type' => 'string', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120****'], ], [ - 'name' => 'NodeIds', + 'name' => 'MaxResults', '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\']', - ], - 'required' => false, - ], + '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' => 'DiagnosticType', + 'name' => 'DiagType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The diagnostics type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CheckByAiJobLogs', - ], + 'schema' => ['title' => '', 'description' => 'Type of diagnosis, indicating which diagnostic rules are hit.', 'type' => 'string', 'required' => false, 'example' => 'NetDiag'], ], [ - 'name' => 'AiJobLogInfo', + 'name' => 'ResourceGroupId', 'in' => 'formData', - 'style' => 'json', + 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmywpvugk****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The log information.'."\n", 'type' => 'object', 'properties' => [ - 'AiJobLogs' => [ - 'description' => 'The task logs.'."\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' => [ - 'AiInstance' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'null', - ], - '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', - ], - 'LogContent' => [ - 'description' => 'The log content.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-tw-p2p2al5u1hn', - ], + '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' => ''], ], - 'required' => false, - 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - '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', - ], - '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', - ], + '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' => ''], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - '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', - ], + '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'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListDiagnosticResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A511C02A-0127-51AA-A9F9-966382C9A1B5\\",\\n \\"DiagnosticId\\": \\"diag-i150553931717380274931\\"\\n}","type":"json"}]', - 'title' => 'CreateDiagnosticTask', - 'translator' => 'machine', + 'description' => 'An interface for creating a session, which returns the frontend EndPoint and initiates a periodic task to track the session status.', + 'translator' => 'manual', ], - 'StopNodes' => [ - 'summary' => 'Stops nodes.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '229860', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Nodes', + 'name' => 'NextToken', 'in' => 'formData', - 'style' => 'json', + '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' => '节点列表', - 'description' => 'The nodes.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The information about the node.'."\n", - 'type' => 'string', + '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, - 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]', + 'title' => '', + 'example' => '', ], + 'maxItems' => 21, + 'title' => '', + 'description' => 'The list of tags.', 'required' => false, + 'example' => '', ], ], [ - 'name' => 'IgnoreFailedNodeTasks', + 'name' => 'Status', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'title' => '是否允许跳过失败节点,默认值为Flase', - 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", - 'type' => 'boolean', + '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, - 'example' => 'False', + 'title' => '', + 'example' => '', ], ], ], @@ -7440,36 +5158,88 @@ '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 task ID.'."\n", - 'type' => 'string', - 'example' => 'i155847351716171893489', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => 'A511C02A-0127-51AA-A9F9-966382C9A1B5'], + 'HyperNodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i155847351716171893489\\"\\n}","type":"json"}]', - 'title' => 'StopNodes', - 'translator' => 'machine', - ], - 'ListImages' => [ - 'summary' => 'Lists available images.', - 'methods' => [ - 'post', + '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' => [], @@ -7481,44 +5251,172 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189004', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ImageVersion', + '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' => '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' => 'MachineType', 'in' => 'formData', 'schema' => [ - 'title' => '镜像版本', - 'description' => 'The image version.'."\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', + 'title' => '', 'required' => false, - 'example' => '7.9', + 'example' => 'mock-machine-type2', ], ], [ - 'name' => 'Architecture', + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'A1', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', 'in' => 'formData', 'schema' => [ - 'title' => '架构', - 'description' => 'The architecture.'."\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' => false, - 'example' => 'x86_64', + 'example' => 'rg-acfmxno4vh5muoq', + 'title' => '', ], ], [ - 'name' => 'Platform', + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + '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' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'example' => '', + ], + ], + [ + 'name' => 'OperatingStates', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'title' => '平台', - 'description' => 'The platform.'."\n", - 'type' => 'string', + '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" + .'\\*: Matches all statuses.'."\n" + ."\n" + .'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, - 'example' => 'ALinux3', + 'maxItems' => 100, + 'example' => '', ], ], ], @@ -7527,106 +5425,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - '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.'."\n", - 'type' => 'string', - 'example' => '3a6b93229825ac667104463b56790c91', - ], - 'Images' => [ - 'description' => 'The image details.'."\n", + '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' => [ - 'Architecture' => [ - 'title' => '架构', - 'description' => 'The architecture.'."\n", - 'type' => 'string', - 'example' => 'x86_64', - ], - 'Description' => [ - 'title' => '描述', - 'description' => 'The description.'."\n", - 'type' => 'string', - 'example' => 'alibaba cloud linux 3 full for H800', - ], - 'ImageId' => [ - 'title' => '镜像id', - 'description' => 'The image ID.'."\n", - 'type' => 'string', - 'example' => 'i190951671671438639388', - ], - 'ImageName' => [ - 'title' => '镜像名', - 'description' => 'The image name.'."\n", - 'type' => 'string', - 'example' => 'CentOS_7.9_x86_64_FULL_20221110', - ], - 'ImageVersion' => [ - 'title' => '镜像版本', - 'description' => 'The image version.'."\n", - 'type' => 'string', - 'example' => '7.9', - ], - 'Platform' => [ - 'title' => '平台', - 'description' => 'The platform.'."\n", - 'type' => 'string', - 'example' => 'ALinux3', - ], - 'ReleaseFileMd5' => [ - 'title' => '文件MD5', - 'description' => 'The MD5 hash value of the file.'."\n", - 'type' => 'string', - 'example' => '40741292480fc6d778138adcf8c', - ], - 'Type' => [ - 'title' => '镜像类型', - 'description' => 'The image type.'."\n", - 'type' => 'string', - 'example' => 'Public', - ], - 'NodeCount' => [ - 'title' => '节点数量', - 'description' => 'The number of nodes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'ReleaseFileSize' => [ - 'description' => 'The image size.'."\n", - 'type' => 'string', - 'example' => '5.8G', + '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' => ''], ], - 'description' => '', + '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\\": \\"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"}]', - 'title' => 'ListImages', - 'translator' => 'machine', - ], - 'DescribeDiagnosticResult' => [ - 'summary' => 'Queries the results of a diagnostic task.', - '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' => [], @@ -7635,231 +5515,119 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188556', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DiagnosticId', + 'name' => 'NodeGroupName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The diagnostic task ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'diag-i151942361720577788844', - ], + 'schema' => ['description' => 'The name of the node group.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'emr-default'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - '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', - ], - 'NodeIds' => [ - 'description' => 'The node IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A node ID.'."\n", - 'type' => 'string', - 'example' => '[\'mock-sn-200101\']', - ], - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i118913031696573280136', - ], - 'DiagnosticType' => [ - 'description' => 'The type of the diagnostic task.'."\n", - 'type' => 'string', - 'example' => 'CheckByAiJobLogs', - ], - 'DiagnosticState' => [ - 'description' => 'The diagnostic status.'."\n", - 'type' => 'string', - 'example' => 'Fault', - ], - 'DiagnosticResults' => [ - 'description' => 'The diagnostic information.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The diagnostic information.'."\n", - 'type' => 'any', - 'example' => '[]', - ], - ], - 'CreatedTime' => [ - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2024-06-15T10:17:56', - ], - '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', - ], - ], - 'description' => '', - ], + [ + 'name' => 'MachineType', + 'in' => 'formData', + 'schema' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'efg1.nvga1'], ], - ], - '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', - 'description' => 'The API creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.'."\n", - 'translator' => 'machine', - ], - 'CloseSession' => [ - 'summary' => 'Disconnect Connection', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ZoneId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the zone.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'cn-hangzhou-i'], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '220506', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', + [ + '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'], ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'SessionToken', + 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'description' => 'Session token.', - 'type' => 'string', - 'required' => false, - 'example' => '03f53c719015a9ad4f4f55d66cac2dac161b18e8065ca75a3220b89de389c980', - ], + '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' => 'SessionId', + 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i207023871669364793713', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'rg-acfmwfm33rlt6zi'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '07AA3A1F-321E-50D8-B834-88C411331C94', - ], - 'SessionId' => [ - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'i206495551737511455528', - ], - 'State' => [ - 'description' => 'status of session', - 'type' => 'string', - 'example' => 'Inactive', - ], - ], - 'description' => '', - ], + [ + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the node.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"07AA3A1F-321E-50D8-B834-88C411331C94\\",\\n \\"SessionId\\": \\"i206495551737511455528\\",\\n \\"State\\": \\"Inactive\\"\\n}","type":"json"}]', - 'title' => 'Disconnect Link', - 'translator' => 'machine', - ], - 'CreateSession' => [ - 'summary' => 'Creates a Web Terminal session.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the cluster.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Standard_Cluster'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '220468', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster number.', 'type' => 'string', 'required' => false, 'example' => 'A1', 'title' => ''], ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'NodeId', + 'name' => 'Tags', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => [ + '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, + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'description' => 'The tags.', 'required' => false, - 'example' => 'e01-cn-kvw44e6dn04', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'StartTime', - 'in' => 'formData', + 'name' => 'OperatingStates', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The start time. The value is a 13-digit timestamp.'."\n", - 'type' => 'string', + '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, - 'example' => '1669340937156', ], ], [ - 'name' => 'SessionType', - 'in' => 'formData', + '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' => [ - 'description' => 'The type of the session corresponding to the session package.'."\n", - 'type' => 'string', + '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, - 'example' => 'Valid values: Sol (default): based on serial port Assistant: based on cloud assistant'."\n", ], ], ], @@ -7868,51 +5636,93 @@ 'schema' => [ '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', - ], - 'SessionId' => [ - 'description' => 'The session ID.'."\n", - 'type' => 'string', - 'example' => 'i207023871669364793713', - ], - 'SessionToken' => [ - 'description' => 'The session credential.'."\n", - 'type' => 'string', - 'example' => '03f53c719015a9ad4f4f55d66cac2dac161b18e8065ca75a3220b89de389c980', - ], - 'ServerSn' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => '2A59143F1', - ], + '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\\": \\"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", - 'translator' => 'machine', - ], - 'CreateNetTestTask' => [ - 'summary' => 'Creates a network test task.', - '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' => [], @@ -7921,354 +5731,172 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220480', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '189004', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NetTestType', + 'name' => 'ImageVersion', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the network test. Valid values: DelayTest, TrafficTest, and CommTest.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DelayTest', - ], + 'schema' => ['description' => 'The image version.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '7.9'], ], [ - 'name' => 'Port', + 'name' => 'Architecture', 'in' => 'formData', - 'schema' => [ - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '23604', - ], + 'schema' => ['description' => 'The architecture.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'x86_64'], ], [ - 'name' => 'TrafficTest', + 'name' => 'Platform', 'in' => 'formData', - 'style' => 'json', + 'schema' => ['description' => 'The platform.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'ALinux3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'If the TrafficModel is Fullmesh, leave this parameter empty.'."\n", 'type' => 'object', 'properties' => [ - 'Protocol' => [ - 'description' => 'The network protocol, which can be RDMA or TCP.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], - 'TrafficModel' => [ - 'description' => 'The traffic model, which can be MTON or Fullmesh.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Fullmesh', - ], - 'Duration' => [ - 'description' => 'The running duration of the pipeline job. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'QP' => [ - 'description' => 'If the protocol is TCP, enter the number of concurrent connections. If the protocol is RDMA, enter the configured QP value.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'GDR' => [ - 'description' => 'If the protocol is RDMA, enter True or False. If the protocol is TCP, leave this field empty.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], - 'Clients' => [ - 'description' => 'The client IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A client ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-20s41p6cx01', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.1', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'xMv', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-tw-w5elqg7pw18', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'Servers' => [ - 'description' => 'The services.'."\n", + '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' => [ - 'description' => 'A service.'."\n", 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-wwo3etaqu0b', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.121.110.190', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'xMv', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-tw-bqisacl3z6l', - ], + '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' => ''], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + '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' => 'DelayTest', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '248670', + 'abilityTreeNodes' => ['FEATUREbcclusterTOL3OM'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'MachineHpnInfo', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'Specify when NetTestType is DelayTest.'."\n", - 'type' => 'object', - 'properties' => [ - 'Hosts' => [ - 'description' => 'The hosts of the test node.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A host of the test node.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-bcd3u1aee06', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '125.210.225.48', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NQU', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-fou43an0a05', - ], - ], - 'required' => false, - ], - 'required' => false, + 'description' => 'The information about the machine types.', + 'type' => 'array', + 'items' => [ + '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, + 'title' => '', ], 'required' => false, + 'title' => '', ], ], - [ - 'name' => 'CommTest', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specify when NetTestType is CommTest.'."\n", + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => 'The CommTest type, which can be ACCL or NCCL.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACCL', - ], - 'Model' => [ - 'description' => 'The communication library model.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'intention_v4', - ], - 'GPUNum' => [ - 'description' => 'The number of GPUs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'Hosts' => [ - 'description' => 'The host IDs.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'MachineNetworkInfo' => [ + 'description' => 'The network information of the machine types.', 'type' => 'array', 'items' => [ - 'description' => 'A host ID.'."\n", + 'description' => 'An object that contains the network details of a machine type.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i111670831721110797708', - ], - 'IP' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '169.253.253.15', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VBw', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'e01-tw-bqisacl3z6l', - ], + 'ClusterNet' => ['description' => 'The cluster network.', 'type' => 'string', 'title' => '', 'example' => 'vpc/acl'], + 'EnableJumboFrame' => ['description' => 'Indicates whether jumbo frames are enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'HpnZone' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'B1'], + 'IsDpuMode' => ['description' => 'Indicates whether the machine is in DPU mode.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'MachineType' => ['description' => 'The machine type.', 'type' => 'string', 'title' => '', 'example' => 'efg1.nvga8n'], + 'NetArch' => ['description' => 'The network architecture.', 'type' => 'string', 'title' => '', 'example' => 'XX-7.0'], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-heyuan'], ], - 'required' => false, + 'title' => '', ], - 'required' => false, + 'title' => '', ], ], - 'required' => false, - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i119982311660892626523', - ], - ], - [ - 'name' => 'NetworkMode', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The network mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'ClusterName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Eflo-YJ-Test-Cluster', + 'title' => '', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE*****', - ], - 'TestId' => [ - 'description' => 'The ID of the test task. The unique identifier of a network test task.'."\n", - 'type' => 'string', - 'example' => 'dr-uf6i0tv2refv8wz*****', - ], - ], - 'description' => '', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"MachineNetworkInfo\\": [\\n {\\n \\"ClusterNet\\": \\"vpc/acl\\",\\n \\"EnableJumboFrame\\": true,\\n \\"HpnZone\\": \\"B1\\",\\n \\"IsDpuMode\\": true,\\n \\"MachineType\\": \\"efg1.nvga8n\\",\\n \\"NetArch\\": \\"XX-7.0\\",\\n \\"RegionId\\": \\"cn-heyuan\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Machine Network Configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMachineNetworkInfo'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE*****\\",\\n \\"TestId\\": \\"dr-uf6i0tv2refv8wz*****\\"\\n}","type":"json"}]', - 'title' => 'CreateNetTestTask', - 'description' => 'The API creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.'."\n", - 'translator' => 'machine', + 'ramActions' => [], ], - 'ListUserClusterTypes' => [ - 'summary' => 'Query the cluster types available to the user', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMachineTypes' => [ + 'summary' => 'Queries a list of available machine types.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8277,72 +5905,72 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220490', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the machine type.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'efg1.nvga1'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'NextToken' => [ - 'description' => 'NextToken for the next page. Include this value when requesting the next page.', - 'type' => 'string', - 'example' => '3a6b93229825ac667104463b56790c91', - ], - 'ClusterTypes' => [ - 'description' => 'The list of cluster types. Number of elements in the array: 1 to 100.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'F16BA4D8-FF50-53B6-A026-F443FE31006C'], + 'NextToken' => ['description' => 'The token to request the next page of results. Include this token in your next request to retrieve the next page.', 'type' => 'string', 'example' => 'a3f2224a5ec7224116c4f5246120abe4', 'title' => ''], + 'MachineTypes' => [ + 'description' => 'Details of the machine types.', 'type' => 'array', 'items' => [ - 'description' => 'cluster type object', 'type' => 'object', 'properties' => [ - 'TypeName' => [ - 'description' => 'The name of cluster type', - 'type' => 'string', - 'example' => 'AckEdgePro', - ], - 'AccessType' => [ - 'description' => 'The access type of cluster type', - 'type' => 'string', - 'example' => 'Public', - ], + 'CpuInfo' => ['description' => 'CPU information.', 'type' => 'string', 'example' => '2x Intel Icelake 8369B 32C CPU', 'title' => ''], + 'DiskInfo' => ['description' => 'Disk information.', 'type' => 'string', 'example' => '2x 480GB SATA SSD', 'title' => ''], + 'GpuInfo' => ['description' => 'GPU information.', 'type' => 'string', 'example' => '8x NVIDIA SXM4 80GB A100 GPU', 'title' => ''], + 'MemoryInfo' => ['description' => 'Memory information.', 'type' => 'string', 'example' => '32x 64GB DDR4 3200 Memory', 'title' => ''], + 'Name' => ['description' => 'The name of the machine type.', 'type' => 'string', 'example' => 'efg1.nvga1', 'title' => ''], + 'NetworkInfo' => ['description' => 'Network information.', 'type' => 'string', 'example' => '2x 100Gbps DP NIC', 'title' => ''], + 'NodeCount' => ['description' => 'The number of nodes.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'Type' => ['description' => 'The type of the machine type.', 'type' => 'string', 'example' => 'Public', 'title' => ''], + 'BondNum' => ['description' => 'The number of bonds.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TotalCpuCore' => ['description' => 'The number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'example' => '48', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"NextToken\\": \\"3a6b93229825ac667104463b56790c91\\",\\n \\"ClusterTypes\\": [\\n {\\n \\"TypeName\\": \\"AckEdgePro\\",\\n \\"AccessType\\": \\"Public\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query the cluster types available to the user', - 'translator' => 'machine', + 'title' => 'ListMachineTypes', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMachineTypes'], + ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F16BA4D8-FF50-53B6-A026-F443FE31006C\\",\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120abe4\\",\\n \\"MachineTypes\\": [\\n {\\n \\"CpuInfo\\": \\"2x Intel Icelake 8369B 32C CPU\\",\\n \\"DiskInfo\\": \\"2x 480GB SATA SSD\\",\\n \\"GpuInfo\\": \\"8x NVIDIA SXM4 80GB A100 GPU\\",\\n \\"MemoryInfo\\": \\"32x 64GB DDR4 3200 Memory\\",\\n \\"Name\\": \\"efg1.nvga1\\",\\n \\"NetworkInfo\\": \\"2x 100Gbps DP NIC\\",\\n \\"NodeCount\\": \\"10\\",\\n \\"Type\\": \\"Public\\",\\n \\"BondNum\\": 2,\\n \\"TotalCpuCore\\": 48\\n }\\n ]\\n}","type":"json"}]', ], 'ListNetTestResults' => [ - 'summary' => 'Lists the results of network test results.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Lists network test results.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8355,9 +5983,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220488', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -8365,57 +5991,27 @@ [ 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。', - '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' => '3a6b93229825ac667104463b56790c91', - ], + 'schema' => ['title' => '', 'description' => 'The token that is used to retrieve the next page of results. Set this parameter to the value of \\`NextToken\\` that is returned in the last response.', 'type' => 'string', 'required' => false, 'example' => '3a6b93229825ac667104463b5679****'], ], [ 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => 'The number of entries to return on each 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" - .'* If you set this parameter to a value that is greater than 100, the default value is 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '', 'description' => 'The number of entries to return on each page. Maximum value: 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'- If you do not set this parameter or you set it to a value less than 20, the default value is 20.'."\n" + .'- If you set the value to greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], ], [ 'name' => 'NetTestType', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组id', - 'description' => 'The type of the network test.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DelayTest', - ], + 'schema' => ['title' => '', 'description' => 'The type of the network test.', 'type' => 'string', 'required' => false, 'example' => 'DelayTest'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxno4vh5muoq', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmxno4vh5****'], ], ], 'responses' => [ @@ -8423,289 +6019,158 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78'], 'NetTestResults' => [ - 'title' => '节点列表', - 'description' => 'The results.'."\n", + 'title' => '', + 'description' => 'The list of nodes.', 'type' => 'array', 'items' => [ - 'description' => 'A result.'."\n", + 'description' => 'The list of nodes.', 'type' => 'object', 'properties' => [ - 'Port' => [ - 'title' => '', - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'NetTestType' => [ - 'title' => '', - 'description' => 'The type of the network test.'."\n", - 'type' => 'string', - 'example' => 'NetDiag', - ], - 'TestId' => [ - 'title' => '', - 'description' => 'The test ID. The unique identifier of the resource test task.'."\n", - 'type' => 'string', - 'example' => 'String i-uf6i0tv2refv8wz*****', - ], - 'Status' => [ - 'title' => '', - 'description' => 'The status of the network test task. Valid values:\\'."\n" - .'● InProgress\\'."\n" - .'● Finished\\'."\n" - .'● Failed'."\n", - 'type' => 'string', - 'example' => 'InProgress', - ], - 'CreationTime' => [ - 'title' => '', - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2024-01-19T02:18:12Z', - ], - 'FinishedTime' => [ - 'title' => '', - 'description' => 'The finish time.'."\n", - 'type' => 'string', - 'example' => '2024-10-30T02:07Z', - ], + 'Port' => ['title' => '', 'description' => 'The test port.', 'type' => 'string', 'example' => '80'], + 'NetTestType' => ['title' => '', 'description' => 'The type of the network test.', 'type' => 'string', 'example' => 'NetDiag'], + 'TestId' => ['title' => '', 'description' => 'The test ID. It is the unique identifier of the resource test task.', 'type' => 'string', 'example' => 'String i-uf6i0tv2refv8wz*****'], + 'Status' => ['title' => '', 'description' => 'The status of the network test task. Valid values: ● InProgress: The test is in progress. ● Finished: The test is complete. ● Failed: The test failed.', 'type' => 'string', 'example' => 'InProgress'], + 'CreationTime' => ['title' => '', 'description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2024-01-19T02:18:12Z'], + 'FinishedTime' => ['title' => '', 'description' => 'The time when the task was completed.', 'type' => 'string', 'example' => '2024-10-30T02:07Z'], 'TrafficTest' => [ - 'description' => 'Returned when NetTestType is TrafficTest.'."\n", + 'description' => 'The details of the traffic test. This object is returned if the value of \\`NetTestType\\` is \\`TrafficTest\\`.', 'type' => 'object', 'properties' => [ - 'Protocol' => [ - 'description' => 'The network protocol, which can be RDMA or TCP.'."\n", - 'type' => 'string', - 'example' => 'TCP', - ], - 'TrafficModel' => [ - 'description' => 'The traffic model, which can be MTON or Fullmesh.'."\n", - 'type' => 'string', - 'example' => 'Fullmesh', - ], - 'Duration' => [ - 'description' => 'The running duration of the pipeline job. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'QP' => [ - 'description' => 'If the protocol is TCP, the number of concurrent connections. If the protocol is RDMA, the configured QP value.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'RDMA', - ], - 'GDR' => [ - 'description' => 'If the protocol is RDMA, can be True or False. If the protocol is TCP, this field is empty.'."\n", - 'type' => 'string', - 'example' => 'True', - ], + 'Protocol' => ['description' => 'The network protocol. Valid values are RDMA and TCP.', 'type' => 'string', 'title' => '', 'example' => 'TCP'], + 'TrafficModel' => ['description' => 'The traffic model. Valid values are 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 parameter specifies the number of concurrent connections for the test. If the protocol is RDMA, this parameter specifies the QP value.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'RDMA'], + 'GDR' => ['description' => 'If the protocol is RDMA, specify True or False. If the protocol is TCP, this field is empty.', 'type' => 'string', 'title' => '', 'example' => 'True'], 'Clients' => [ - 'description' => 'The clients.'."\n", + 'description' => 'The client.', 'type' => 'array', 'items' => [ - 'description' => 'A client.'."\n", + 'description' => 'The client.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-20p36bqet39', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '74.73.100.1', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'prod-gf-cn.juequling.com', - ], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-20p36bqet39'], + 'Bond' => ['description' => 'The bonded port of the network interface card.', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address.', 'type' => 'string', 'title' => '', 'example' => '74.73.100.1'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'prod-gf-cn.juequling.com'], ], + 'title' => '', ], + 'title' => '', ], 'Servers' => [ - 'description' => 'If the TrafficModel is Fullmesh, this parameter is empty.'."\n", + 'description' => 'This field is empty if \\`TrafficModel\\` is set to \\`Fullmesh\\`.', 'type' => 'array', 'items' => [ - 'description' => 'If the TrafficModel is Fullmesh, this parameter is empty.'."\n", + 'description' => 'This field is empty if \\`TrafficModel\\` is set to \\`Fullmesh\\`.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-wwo3eteze19', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'example' => '10.1.168.183', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'prod-gf-cn.juequling.com', - ], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-wwo3ete****'], + 'Bond' => ['description' => 'The bonded port of the network interface card.', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => '10.1.168.183'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'prod-gf-cn.juequling.com'], ], + 'title' => '', ], + 'title' => '', ], ], + 'title' => '', ], 'DelayTest' => [ - 'description' => 'Returned when NetTestType is DelayTest.'."\n", + 'description' => 'The details of the delay test. This object is returned if the value of \\`NetTestType\\` is \\`DelayTest\\`.', 'type' => 'object', 'properties' => [ 'Hosts' => [ - 'description' => 'The hosts.'."\n", + 'description' => 'The list of resources.', 'type' => 'array', 'items' => [ - 'description' => 'A host.'."\n", + 'description' => 'The list of resources.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-wwo3eteze19', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'example' => 'pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'WrF', - ], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-wwo3ete****'], + 'Bond' => ['description' => 'The bonded port of the network interface card.', 'type' => 'string', 'title' => '', 'example' => 'bond1'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => 'pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'WrF'], ], + 'title' => '', ], + 'title' => '', ], ], + 'title' => '', ], 'CommTest' => [ - 'description' => 'Returned when NetTestType is CommTest.'."\n", + 'description' => 'The details of the communication library test. This object is returned if the value of \\`NetTestType\\` is \\`CommTest\\`.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => 'The CommTest type, which can be ACCL or NCCL.'."\n", - 'type' => 'string', - 'example' => 'ACCL', - ], - 'Model' => [ - 'description' => 'The communication library model.'."\n", - 'type' => 'string', - 'example' => 'AllToAll', - ], - 'GPUNum' => [ - 'description' => 'The number of GPUs.'."\n", - 'type' => 'string', - 'example' => '4', - ], + 'Type' => ['description' => 'The type of the communication library test. Valid values: ACCL or NCCL.', 'type' => 'string', 'title' => '', 'example' => 'ACCL'], + 'Model' => ['description' => 'The communication library model.', 'type' => 'string', 'title' => '', 'example' => 'AllToAll'], + 'GPUNum' => ['description' => 'The number of GPUs.', 'type' => 'string', 'title' => '', 'example' => '4'], 'Hosts' => [ - 'description' => 'The hosts of the test node.'."\n", + 'description' => 'The hosts of the test nodes.', 'type' => 'array', 'items' => [ - 'description' => 'A host of the test node.'."\n", + 'description' => 'The hosts of the test nodes.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-wwo3eteze19', - ], - 'IP' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'example' => '10.51.16.21', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'www.xinjiaoyu.com', - ], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'e01-cn-wwo3ete****'], + 'IP' => ['description' => 'The IP address of the node.', 'type' => 'string', 'title' => '', 'example' => '10.51.16.21'], + 'ServerName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'www.xinjiaoyu.com'], ], + 'title' => '', ], + 'title' => '', ], ], + 'title' => '', ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i110667211718265012218', - ], - 'NetworkMode' => [ - 'description' => 'The network mode.'."\n", - 'type' => 'string', - 'example' => '01', - ], - 'ClusterName' => [ - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'i11066721171826501****'], + 'NetworkMode' => ['description' => 'The network mode.', 'type' => 'string', 'title' => '', 'example' => '01'], + 'ClusterName' => ['description' => 'The cluster name.', 'type' => 'string', 'title' => '', 'example' => 'test'], ], + 'title' => '', ], ], - 'NextToken' => [ - 'title' => '下一页的NextToken,请求下一页时带上此返回值', - 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => '3a6b93229825ac667104463b56790c91', - ], - 'MaxResults' => [ - 'description' => 'The number of entries to return on each 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" - .'* If you set this parameter to a value that is greater than 100, the default value is 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'NextToken' => ['title' => '', 'description' => 'The token that is used to retrieve the next page of results. If this parameter is not returned, it indicates that all results have been returned.', 'type' => 'string', 'example' => '3a6b93229825ac667104463b5679****'], + 'MaxResults' => ['description' => 'The number of entries returned on each page. Maximum value: 100.'."\n" + ."\n" + .'Default value:'."\n" + ."\n" + .'- If you do not set this parameter or you set it to a value less than 20, the default value is 20.'."\n" + .'- If you set the value to greater than 100, the default value is 100.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '20'], ], 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C683243-7915-57FB-9570-A2932C1C0F78\\",\\n \\"NetTestResults\\": [\\n {\\n \\"Port\\": \\"80\\",\\n \\"NetTestType\\": \\"NetDiag\\",\\n \\"TestId\\": \\"String\\\\ti-uf6i0tv2refv8wz*****\\",\\n \\"Status\\": \\"InProgress\\",\\n \\"CreationTime\\": \\"2024-01-19T02:18:12Z\\",\\n \\"FinishedTime\\": \\"2024-10-30T02:07Z\\",\\n \\"TrafficTest\\": {\\n \\"Protocol\\": \\"TCP\\",\\n \\"TrafficModel\\": \\"Fullmesh\\",\\n \\"Duration\\": 1,\\n \\"QP\\": 0,\\n \\"GDR\\": \\"True\\",\\n \\"Clients\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-20p36bqet39\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"74.73.100.1\\",\\n \\"ServerName\\": \\"prod-gf-cn.juequling.com\\"\\n }\\n ],\\n \\"Servers\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"10.1.168.183\\",\\n \\"ServerName\\": \\"prod-gf-cn.juequling.com\\"\\n }\\n ]\\n },\\n \\"DelayTest\\": {\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com\\",\\n \\"ServerName\\": \\"WrF\\"\\n }\\n ]\\n },\\n \\"CommTest\\": {\\n \\"Type\\": \\"ACCL\\",\\n \\"Model\\": \\"AllToAll\\",\\n \\"GPUNum\\": \\"4\\",\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"IP\\": \\"10.51.16.21\\",\\n \\"ServerName\\": \\"www.xinjiaoyu.com\\"\\n }\\n ]\\n },\\n \\"ClusterId\\": \\"i11066721171826501****\\",\\n \\"NetworkMode\\": \\"01\\",\\n \\"ClusterName\\": \\"test\\"\\n }\\n ],\\n \\"NextToken\\": \\"3a6b93229825ac667104463b5679****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', 'title' => 'ListNetTestResults', - 'description' => 'The API creates a session, returns the frontend endpoint, and starts a periodic task to track the session status.'."\n", - 'translator' => 'machine', - ], - 'ListDiagnosticResults' => [ - 'summary' => 'List of Diagnostic Tasks', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNetTestResults'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListNetTestResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C683243-7915-57FB-9570-A2932C1C0F78\\",\\n \\"NetTestResults\\": [\\n {\\n \\"Port\\": \\"80\\",\\n \\"NetTestType\\": \\"NetDiag\\",\\n \\"TestId\\": \\"String\\\\ti-uf6i0tv2refv8wz*****\\",\\n \\"Status\\": \\"InProgress\\",\\n \\"CreationTime\\": \\"2024-01-19T02:18:12Z\\",\\n \\"FinishedTime\\": \\"2024-10-30T02:07Z\\",\\n \\"TrafficTest\\": {\\n \\"Protocol\\": \\"TCP\\",\\n \\"TrafficModel\\": \\"Fullmesh\\",\\n \\"Duration\\": 1,\\n \\"QP\\": 0,\\n \\"GDR\\": \\"True\\",\\n \\"Clients\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-20p36bqet39\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"74.73.100.1\\",\\n \\"ServerName\\": \\"prod-gf-cn.juequling.com\\"\\n }\\n ],\\n \\"Servers\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"10.1.168.183\\",\\n \\"ServerName\\": \\"prod-gf-cn.juequling.com\\"\\n }\\n ]\\n },\\n \\"DelayTest\\": {\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"Bond\\": \\"bond1\\",\\n \\"IP\\": \\"pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com\\",\\n \\"ServerName\\": \\"WrF\\"\\n }\\n ]\\n },\\n \\"CommTest\\": {\\n \\"Type\\": \\"ACCL\\",\\n \\"Model\\": \\"AllToAll\\",\\n \\"GPUNum\\": \\"4\\",\\n \\"Hosts\\": [\\n {\\n \\"ResourceId\\": \\"e01-cn-wwo3ete****\\",\\n \\"IP\\": \\"10.51.16.21\\",\\n \\"ServerName\\": \\"www.xinjiaoyu.com\\"\\n }\\n ]\\n },\\n \\"ClusterId\\": \\"i11066721171826501****\\",\\n \\"NetworkMode\\": \\"01\\",\\n \\"ClusterName\\": \\"test\\"\\n }\\n ],\\n \\"NextToken\\": \\"3a6b93229825ac667104463b5679****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + ], + 'ListNodeGroups' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8714,71 +6179,37 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220474', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'NodeGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。', - 'description' => 'NextToken for the next page. Include this value when requesting the next page.', - 'type' => 'string', - 'required' => false, - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-ec3c96ff0aa4c60d', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - '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', - ], + 'schema' => ['description' => 'The token that is used in the next request to retrieve a new page of results.', 'type' => 'string', 'required' => false, 'example' => 'a3f2224a5ec7224116c4f5246120abe4', 'title' => ''], ], [ - 'name' => 'DiagType', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'title' => '诊断类型', - 'description' => 'Type of diagnosis, indicating which diagnostic rules are hit.', - 'type' => 'string', - 'required' => false, - 'example' => 'NetDiag', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'i119982311660892626523', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmywpvugkh7kq', - ], + '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.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ @@ -8786,119 +6217,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - '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", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', '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.', 'type' => 'string', 'example' => '563d42ae0b17572449ec8c97f7f66069', 'title' => ''], + 'Groups' => [ + 'description' => 'The node groups.', 'type' => 'array', 'items' => [ - 'description' => 'The diagnostic information.'."\n", 'type' => 'object', 'properties' => [ - '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' => 'diagcontent', - ], - 'ResourceId' => [ - 'title' => '', - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-bl03ofg6206', - ], - 'ClusterId' => [ - 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i118578141694745246055', - ], - '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', - ], - 'ClusterName' => [ - 'description' => 'Cluster Name', - 'type' => 'string', - 'example' => 'pjlab-lingjun', - ], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'i113952461729854708648', 'title' => ''], + 'ClusterName' => ['description' => 'The cluster name.', 'type' => 'string', 'example' => 'wzq-exclusivelite-71', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2024-02-27T13:16:31.599', 'title' => ''], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'created by ga2_prepare', 'title' => ''], + 'GroupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => '238276221', 'title' => ''], + 'GroupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'backend-group', 'title' => ''], + 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'example' => 'i194015071707321240258', 'title' => ''], + 'ImageName' => ['description' => 'The image name.', 'type' => 'string', 'example' => 'CentOS_7.9_x86_64_FULL_20221110', 'title' => ''], + 'MachineType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'efg1.nvga1n', 'title' => ''], + 'NodeCount' => ['description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2023-09-22T00:03:05.114', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-shenzhen-c', 'title' => ''], + 'FileSystemMountEnabled' => ['description' => 'Indicates whether file storage mounting is supported.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'VirtualGpuEnabled' => ['title' => '是否支持GPU虚拟化切分', 'description' => 'Whether to enable gpu virtualization or not', 'type' => 'boolean', 'example' => 'false'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'NextToken' => [ - 'title' => '下一页的NextToken,请求下一页时带上此返回值', - 'description' => 'NextToken for the next page. Include this value when requesting the next page.', - 'type' => 'string', - 'example' => 'a3f2224a5ec7224116c4f5246120abe4', - ], - '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' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC4F0004-7BCE-52E0-891B-CAC7D64E3368\\",\\n \\"DiagnosticResults\\": [\\n {\\n \\"DiagContent\\": \\"测试诊断信息\\",\\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', - 'translator' => 'machine', - ], - 'DescribeNetTestResult' => [ - 'summary' => 'Query Network Test Result', - 'methods' => [ - 'post', + 'title' => 'Query Node Group Information Under the Cluster', + 'summary' => 'Query Node Group Information Under the Cluster', + 'changeSet' => [ + ['createdAt' => '2025-04-24T01:59:48.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"Groups\\": [\\n {\\n \\"ClusterId\\": \\"i113952461729854708648\\",\\n \\"ClusterName\\": \\"wzq-exclusivelite-71\\",\\n \\"CreateTime\\": \\"2024-02-27T13:16:31.599\\",\\n \\"Description\\": \\"created by ga2_prepare\\",\\n \\"GroupId\\": \\"238276221\\",\\n \\"GroupName\\": \\"backend-group\\",\\n \\"ImageId\\": \\"i194015071707321240258\\",\\n \\"ImageName\\": \\"CentOS_7.9_x86_64_FULL_20221110\\",\\n \\"MachineType\\": \\"efg1.nvga1n\\",\\n \\"NodeCount\\": 2,\\n \\"UpdateTime\\": \\"2023-09-22T00:03:05.114\\",\\n \\"ZoneId\\": \\"cn-shenzhen-c\\",\\n \\"FileSystemMountEnabled\\": false,\\n \\"VirtualGpuEnabled\\": false\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListSyslogs' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8907,27 +6290,44 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220510', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '185830', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TestId', + 'name' => 'ToTime', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the test task. The unique identifier of a network test task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dr-uf6i0tv2refv8wz*****', - ], + 'schema' => ['title' => '', 'description' => 'The end time.', 'type' => 'string', 'required' => true, 'example' => '1665369329'], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The query condition.', 'type' => 'string', 'required' => false, 'example' => '*'], + ], + [ + 'name' => 'Reverse', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to sort the results by time in descending order.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The token for the next page. To retrieve the next page of results, include the token in the next request.', 'type' => 'string', 'required' => false, 'example' => '392e8b4a03ed171433cc39f5b464ec9d'], + ], + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'required' => true, 'example' => 'e01-cn-nwy37atbj44'], + ], + [ + 'name' => 'FromTime', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'required' => true, 'example' => '1659745800'], ], ], 'responses' => [ @@ -8935,257 +6335,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E', - ], - 'NetTestType' => [ - 'title' => '', - 'description' => 'The type of the network test.'."\n", - 'type' => 'string', - 'example' => 'DelayTest', - ], - 'Port' => [ - 'title' => '', - 'description' => 'Test port number.', - 'type' => 'string', - 'example' => '23604', - ], - 'TestId' => [ - 'title' => '', - 'description' => 'The ID of the test task. The unique identifier of a network test task.'."\n", - 'type' => 'string', - 'example' => 'af35ce53-7c35-4277-834a-fbf49c316a96', - ], - 'Status' => [ - 'title' => '', - 'description' => 'status of session', - 'type' => 'string', - 'example' => 'Failed', - ], - 'CreationTime' => [ - 'title' => '', - 'description' => 'create time', - 'type' => 'string', - 'example' => '2024-10-15T10:25:42+08:00', - ], - 'FinishedTime' => [ - 'title' => '', - 'description' => 'finish time', - 'type' => 'string', - 'example' => '2024-10-16T02:04Z', - ], - 'ResultDetial' => [ - 'description' => 'result detail', - 'type' => 'string', - 'example' => '{}', - ], - 'TrafficTest' => [ - 'description' => 'Fill in when the network test type is a traffic test.', - 'type' => 'object', - 'properties' => [ - 'Protocol' => [ - 'description' => 'Network protocol, either RDMA or TCP.', - 'type' => 'string', - 'example' => 'TCP', - ], - 'TrafficModel' => [ - 'description' => 'Traffic model, either MTON or Fullmesh.', - 'type' => 'string', - 'example' => 'Fullmesh', - ], - 'Duration' => [ - 'description' => 'Call duration, in seconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'QP' => [ - 'description' => 'When the protocol is TCP, fill in the number of concurrent connections; when the protocol is RDMA, fill in the configured QP value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GDR' => [ - 'description' => 'When the protocol is RDMA, fill in True/False,'."\n" - .'when the protocol is TCP, this field is empty.', - 'type' => 'string', - 'example' => 'False', - ], - 'Clients' => [ - 'description' => 'All clients information', - 'type' => 'array', - 'items' => [ - 'description' => 'A client info.', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-20s41p6cx01', - ], - 'Bond' => [ - 'description' => 'Network interface bond port', - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'IP address.', - 'type' => 'string', - 'example' => '192.168.1.1', - ], - 'ServerName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'xMv', - ], - ], - ], - ], - 'Servers' => [ - 'description' => 'Servers infomation.', - 'type' => 'array', - 'items' => [ - 'description' => 'server object', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-wwo3etaqu0b', - ], - 'Bond' => [ - 'description' => 'Network interface bond port', - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '47.121.110.190', - ], - 'ServerName' => [ - 'description' => 'Service name.', - 'type' => 'string', - 'example' => 'xMv', - ], - ], - ], - ], - ], - ], - 'DelayTest' => [ - 'description' => 'Fill in when the network test type is a delay test.', - 'type' => 'object', - 'properties' => [ - 'Hosts' => [ - 'description' => 'All hosts infomation', - 'type' => 'array', - 'items' => [ - 'description' => 'Host object', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'e01-cn-bcd3u1aee06', - ], - 'Bond' => [ - 'description' => 'The bonding of network interface card.'."\n", - 'type' => 'string', - 'example' => 'bond1', - ], - 'IP' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '125.210.225.48', - ], - 'ServerName' => [ - 'description' => 'Service name.', - 'type' => 'string', - 'example' => 'NQU', - ], - ], - ], - ], - ], - ], - 'CommTest' => [ - 'description' => 'Specify when NetTestType is CommTest.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The CommTest type, which can be ACCL or NCCL.'."\n", - 'type' => 'string', - 'example' => 'ACCL', - ], - 'Model' => [ - 'description' => 'The communication library model.'."\n", - 'type' => 'string', - 'example' => 'intention_v4', - ], - 'GPUNum' => [ - 'description' => 'Number of GPUs', - 'type' => 'string', - 'example' => '1', - ], - 'Hosts' => [ - 'description' => 'All hosts infomation', - 'type' => 'array', - 'items' => [ - 'description' => 'Host object', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'i111670831721110797708', - ], - 'IP' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '169.253.253.15', - ], - 'ServerName' => [ - 'description' => 'Service name.', - 'type' => 'string', - 'example' => 'VBw', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1'], + 'NextToken' => ['title' => '', 'description' => 'The \\`NextToken\\` for the next page. To retrieve the next page of results, include this return value in the next request.', 'type' => 'string', 'example' => '563d42ae0b17572449ec8c97f7f66069'], + 'Logs' => [ + 'description' => 'The object that contains the paginated list of logs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The log object.', + 'type' => 'object', + 'properties' => [ + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'i119583961673208491760'], + 'Domain' => ['title' => '', 'description' => 'The security domain of the client.', 'type' => 'string', 'example' => 'ALIYUN_PUBLIC'], + 'Facility' => ['title' => '', 'description' => 'A standard field in Linux syslog.', 'type' => 'string', 'example' => 'kern'], + 'Hostname' => ['title' => '', 'description' => 'The hostname of the client.', 'type' => 'string', 'example' => 'damo-m53kr8kd-0008'], + 'Ip' => ['title' => '', 'description' => 'The IP address of the client.', 'type' => 'string', 'example' => '114.55.254.44'], + 'Msg' => ['title' => '', 'description' => 'The content of the syslog.', 'type' => 'string', 'example' => 'bond4: failed to get link speed/duplex for eth8'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'example' => 'e01-cn-9lb36u4s601'], + 'Severity' => ['title' => '', 'description' => 'A standard field in Linux syslog.', 'type' => 'string', 'example' => 'warning'], + 'Sn' => ['title' => '', 'description' => 'The unique identifier of the machine.', 'type' => 'string', 'example' => '21A401332'], + 'Source' => ['title' => '', 'description' => 'The hostname of the syslog server.', 'type' => 'string', 'example' => 'damo-m53kr8kd-0008'."\n"], + 'Syslogtag' => ['title' => '', 'description' => 'A standard field in Linux syslog.', 'type' => 'string', 'example' => 'kernel'], + 'TagHostname' => ['title' => '', 'description' => 'Tag: Hostname.', 'type' => 'string', 'example' => 'damo-m53kr8kd-0008'."\n"], + 'TagPackId' => ['title' => '', 'description' => 'Tag: Package ID.', 'type' => 'string', 'example' => 'D990314D3C25D7E8-1080'], + 'TagPath' => ['title' => '', 'description' => 'Tag: Path.', 'type' => 'string', 'example' => '/var/log/kern'], + 'TagReceiveTime' => ['title' => '', 'description' => 'Tag: Receive time.', 'type' => 'string', 'example' => '1687363348'], + 'TagUserDefinedId' => ['title' => '', 'description' => 'Tag: User-defined ID.', 'type' => 'string', 'example' => 'application_b'], + 'Time' => ['title' => '', 'description' => 'The time in UNIX format.', 'type' => 'string', 'example' => '1687363346'], + 'Topic' => ['title' => '', 'description' => 'The topic. Valid values are \\`logserver\\` and \\`log2sls\\`. Note: Both are syslog servers. \\`logserver\\` collects data over TCP. \\`log2sls\\` collects data over UDP.', 'type' => 'string', 'example' => 'logserver'], ], + 'title' => '', + 'example' => '', ], - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'i119982311660892626523', - ], - 'ClusterName' => [ - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'example' => 'Standard_Cluster', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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"}]', - 'title' => 'Query Network Test Result', - 'translator' => 'machine', - ], - 'ListMachineNetworkInfo' => [ - 'summary' => 'Query machine network configuration using HPNZone and machine type', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListSyslogs', + 'summary' => 'Queries system logs.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"Logs\\": [\\n {\\n \\"ClusterId\\": \\"i119583961673208491760\\",\\n \\"Domain\\": \\"ALIYUN_PUBLIC\\",\\n \\"Facility\\": \\"kern\\",\\n \\"Hostname\\": \\"damo-m53kr8kd-0008\\",\\n \\"Ip\\": \\"114.55.254.44\\",\\n \\"Msg\\": \\"bond4: failed to get link speed/duplex for eth8\\",\\n \\"NodeId\\": \\"e01-cn-9lb36u4s601\\",\\n \\"Severity\\": \\"warning\\",\\n \\"Sn\\": \\"21A401332\\",\\n \\"Source\\": \\"damo-m53kr8kd-0008\\\\n\\",\\n \\"Syslogtag\\": \\"kernel\\",\\n \\"TagHostname\\": \\"damo-m53kr8kd-0008\\\\n\\",\\n \\"TagPackId\\": \\"D990314D3C25D7E8-1080\\",\\n \\"TagPath\\": \\"/var/log/kern\\",\\n \\"TagReceiveTime\\": \\"1687363348\\",\\n \\"TagUserDefinedId\\": \\"application_b\\",\\n \\"Time\\": \\"1687363346\\",\\n \\"Topic\\": \\"logserver\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9197,136 +6400,164 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '248670', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterTOL3OM', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'MachineHpnInfo', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'ResourceType', + 'in' => 'query', 'schema' => [ - 'description' => 'hpn information of machine', + 'description' => 'The resource type.', + 'enumValueTitles' => ['Node' => 'Node', 'Vcc' => 'Cloud leased line', 'Cluster' => 'Cluster', 'Subnet' => 'Lingjun subnet', 'Vpd ' => 'Lingjun network segment'], + 'type' => 'string', + 'required' => true, + 'example' => 'Node', + 'title' => '', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of resource IDs.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'i1520224L16AY60305', 'title' => ''], + 'required' => false, + 'maxItems' => 50, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of tags.', 'type' => 'array', 'items' => [ - 'description' => 'hpn information of machine', 'type' => 'object', 'properties' => [ - 'HpnZone' => [ - 'description' => 'hpn zone infomation', - 'type' => 'string', - 'required' => false, - 'example' => 'C1', - ], - 'MachineType' => [ - 'description' => 'The type of machine.', - 'type' => 'string', - 'required' => false, - 'example' => 'efg2.C48cNHmcn', - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the application is located.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-heyuan', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'PodName', 'required' => false, 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'WFT-OTC', 'required' => false, 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token used to retrieve the next page of results. Set this parameter to the NextToken value returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', 'title' => ''], + ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'MachineNetworkInfo' => [ - 'description' => 'machine network infomation', - 'type' => 'array', - 'items' => [ - 'description' => 'machine network information', - 'type' => 'object', - 'properties' => [ - 'ClusterNet' => [ - 'description' => 'Network of cluster', - 'type' => 'string', - 'example' => 'vpc/acl', - ], - 'EnableJumboFrame' => [ - 'description' => 'Specifies whether to enable the Jumbo Frames feature for the instance. Valid values:'."\n" - ."\n" - .'* true: The Jumbo Frame feature is enabled for the instance.'."\n" - .'* false: The Jumbo Frame feature is disabled for the instance.'."\n" - ."\n" - .'Take note of the following items:'."\n" - ."\n" - .'* The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.'."\n" - .'* The instance must reside in a VPC.'."\n" - .'* After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500. You can enable the Jumbo Frames feature only for specific instance types. For more information, see [Jumbo Frames](~~200512~~).'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'HpnZone' => [ - 'description' => 'HPN zone', - 'type' => 'string', - 'example' => 'B1', - ], - 'IsDpuMode' => [ - 'description' => 'Specifies whether dpu machine.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'MachineType' => [ - 'description' => 'The type of machine.', - 'type' => 'string', - 'example' => 'efg1.nvga8n', - ], - 'NetArch' => [ - 'description' => 'Network architecture', - 'type' => 'string', - 'example' => 'XX-7.0', - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the application is located.', - 'type' => 'string', - 'example' => 'cn-heyuan', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8F208B6D-4C42-5FD3-B6BE-E826E92A44DD'], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => 'The tagged resources.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'env', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'dev'."\n", 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'i15azeddnvf7uhw2oij57o0', 'title' => ''], + 'ResourceType' => [ + 'description' => 'The resource type.', + 'enumValueTitles' => ['Node' => 'Node', 'Cluster' => 'Cluster'], + 'type' => 'string', + 'example' => 'Cluster'."\n", + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'The token to retrieve the next page of results. If the response is paged, this parameter is returned. To retrieve the next page, include this token in the next request.', 'type' => 'string', 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"MachineNetworkInfo\\": [\\n {\\n \\"ClusterNet\\": \\"vpc/acl\\",\\n \\"EnableJumboFrame\\": true,\\n \\"HpnZone\\": \\"B1\\",\\n \\"IsDpuMode\\": true,\\n \\"MachineType\\": \\"efg1.nvga8n\\",\\n \\"NetArch\\": \\"XX-7.0\\",\\n \\"RegionId\\": \\"cn-heyuan\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Machine Network Configuration', - 'translator' => 'machine', - ], - 'DescribeNodeType' => [ - 'summary' => '查询节点规格详情', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission ', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ListTagResources', + 'summary' => 'Queries the tags that are attached to resources.', + 'changeSet' => [ + ['createdAt' => '2025-03-28T02:55:53.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], ], + '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"}]', + ], + 'ListUserClusterTypes' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9335,89 +6566,59 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220468', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '220490', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'NodeType', - 'in' => 'formData', - 'schema' => [ - 'title' => '节点扩容的模式', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'standard', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'EniQuantity' => [ - 'title' => '支持的弹性网卡数量上限(主 + 辅助)', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '22', - ], - 'EniHighDenseQuantity' => [ - 'title' => '高密模式网卡数量上限', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '63', - ], - 'EniPrivateIpAddressQuantity' => [ - 'title' => '网卡支持的 IPV4 上限', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '256', - ], - 'EniIpv6AddressQuantity' => [ - 'title' => '网卡支持的 IPV6 上限', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '256', - ], - 'DiskQuantity' => [ - 'type' => 'integer', - 'format' => 'int32', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'NextToken' => ['description' => 'NextToken for the next page. Include this value when requesting the next page.', 'type' => 'string', 'example' => '3a6b93229825ac667104463b56790c91', 'title' => ''], + 'ClusterTypes' => [ + 'description' => 'The list of cluster types. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'cluster type object', + 'type' => 'object', + 'properties' => [ + 'TypeName' => ['description' => 'The name of cluster type', 'type' => 'string', 'example' => 'AckEdgePro', 'title' => ''], + 'AccessType' => ['description' => 'The access type of cluster type', 'type' => 'string', 'example' => 'Public', 'title' => ''], + ], + 'title' => '', + ], + 'title' => '', ], ], + 'description' => '', + 'title' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"NextToken\\": \\"3a6b93229825ac667104463b56790c91\\",\\n \\"ClusterTypes\\": [\\n {\\n \\"TypeName\\": \\"AckEdgePro\\",\\n \\"AccessType\\": \\"Public\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the cluster types available to the user', + 'description' => 'An interface for creating a session, which returns the front-end EndPoint and initiates a periodic task to track the session status', + 'summary' => 'Query the cluster types available to the user', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserClusterTypes'], + ], ], - '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"}]', + 'ramActions' => [], ], - 'ListSyslogs' => [ - 'summary' => '查询系统日志', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListVscs' => [ + 'summary' => 'Queries a list of VSCs.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9429,317 +6630,193 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '185830', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeNodes' => ['FEATUREbcclusterYMLW2J'], 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ToTime', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'title' => '截止时间', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1665369329', - ], + 'allowEmptyValue' => true, + 'schema' => ['title' => '', 'description' => 'The token that marks the position from which to start the query. If you leave this parameter empty, the query starts from the beginning.', 'type' => 'string', 'required' => false, 'example' => '563d42ae0b17572449ec8c97f7f66069'], ], [ - 'name' => 'Query', + 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'title' => '查询条件', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '*', - ], + 'allowEmptyValue' => true, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'Reverse', + 'name' => 'NodeIds', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '是否时间倒序查找', - 'description' => '', - 'type' => 'boolean', + 'description' => 'The list of node IDs.', + 'type' => 'array', + 'items' => ['description' => 'A node ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[\'mock-sn-200101\']'], 'required' => false, - 'example' => 'true', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'VscName', 'in' => 'formData', - 'schema' => [ - 'title' => '下一页的token,获取下一页数据时需要带上', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '392e8b4a03ed171433cc39f5b464ec9d', - ], + 'schema' => ['title' => '', 'description' => 'The name of the VSC.', 'type' => 'string', 'required' => false, 'example' => 'test_name'], ], [ - 'name' => 'NodeId', - 'in' => 'formData', + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'e01-cn-nwy37atbj44', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'A tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'maxLength' => 129, 'title' => '', 'example' => 'key001'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value001'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'FromTime', + 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1659745800', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2xdkc6icwfha'], ], ], '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' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1', - ], - 'NextToken' => [ - 'title' => '下一页的NextToken,请求下一页时带上此返回值', - 'description' => '', - 'type' => 'string', - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], - 'Logs' => [ - 'description' => '', + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that match the query conditions.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '03668372-18FF-5959-98D9-6B36A4643C7A'], + 'NextToken' => ['title' => '', 'description' => 'The token to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'required' => true, 'example' => '3a6b93229825ac667104463b56790c91'], + 'Vscs' => [ + 'title' => '', + 'description' => 'A list of VSCs.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A VSC.', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群id', - 'description' => '', - 'type' => 'string', - 'example' => 'i119583961673208491760', - ], - 'Domain' => [ - 'title' => '客户端安全域', - 'description' => '', - 'type' => 'string', - 'example' => 'ALIYUN_PUBLIC', - ], - 'Facility' => [ - 'title' => 'linux syslog标准字段', - 'description' => '', - 'type' => 'string', - 'example' => 'kern', - ], - 'Hostname' => [ - 'title' => '客户端主机名', - 'description' => '', - 'type' => 'string', - 'example' => 'damo-m53kr8kd-0008', - ], - 'Ip' => [ - 'title' => '客户端ip', - 'description' => '', - 'type' => 'string', - 'example' => '114.55.254.44', - ], - 'Msg' => [ - 'title' => 'syslog内容', - 'description' => '', - 'type' => 'string', - 'example' => 'bond4: failed to get link speed/duplex for eth8', - ], - 'NodeId' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-9lb36u4s601', - ], - 'Severity' => [ - 'title' => 'linux syslog标准字段', - 'description' => '', - 'type' => 'string', - 'example' => 'warning', - ], - 'Sn' => [ - 'title' => '机器唯一标识', - 'description' => '', - 'type' => 'string', - 'example' => '21A401332', - ], - 'Source' => [ - 'title' => 'syslog服务器的hostname', - 'description' => '', - 'type' => 'string', - 'example' => 'damo-m53kr8kd-0008'."\n", - ], - 'Syslogtag' => [ - 'title' => 'linux syslog标准字段', - 'description' => '', - 'type' => 'string', - 'example' => 'kernel', - ], - 'TagHostname' => [ - 'title' => '标签:主机名', - 'description' => '', - 'type' => 'string', - 'example' => 'damo-m53kr8kd-0008'."\n", - ], - 'TagPackId' => [ - 'title' => '标签:包Id', - 'description' => '', - 'type' => 'string', - 'example' => 'D990314D3C25D7E8-1080', - ], - 'TagPath' => [ - 'title' => '标签:路径', - 'description' => '', - 'type' => 'string', - 'example' => '/var/log/kern', - ], - 'TagReceiveTime' => [ - 'title' => '标签:接收时间', - 'description' => '', - 'type' => 'string', - 'example' => '1687363348', - ], - 'TagUserDefinedId' => [ - 'title' => '标签:用户自定义id', - 'description' => '', - 'type' => 'string', - 'example' => 'application_b', - ], - 'Time' => [ - 'title' => 'unix时间格式', - 'description' => '', + 'VscId' => ['title' => 'VscId', 'description' => 'The ID of the VSC.', 'type' => 'string', 'example' => 'vsc-001'], + 'VscType' => ['title' => '', 'description' => 'The type of the VSC. Valid values: \\`primary\\` and \\`standard\\`.', '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 Lingjun node.', 'type' => 'string', 'example' => 'e01-cn-fzh47xd7u08'], + 'Status' => [ + 'title' => '', + 'description' => 'The status of the VSC.', 'type' => 'string', - 'example' => '1687363346', + 'enumValueTitles' => ['Creating' => 'Creating', 'Normal' => 'Normal', 'Deleting' => 'Deleting'], + 'example' => 'Normal', ], - 'Topic' => [ - 'title' => '主题 logserver或者log2sls (注:两者均为syslog服务器,logserver采用tcp收集,log2sls采用udp)', - 'description' => '', - 'type' => 'string', - 'example' => 'logserver', + 'Tags' => [ + 'title' => '', + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'A tag.', + 'type' => 'object', + 'properties' => [ + 'TagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'key001'], + 'TagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'value001'], + ], + 'example' => '', + ], + 'example' => '', ], + 'ResourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfm2zkwhkns57i'], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], + 'MaxResults' => ['description' => 'This parameter is not returned. Use the \\`TotalCount\\` parameter instead.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"Logs\\": [\\n {\\n \\"ClusterId\\": \\"i119583961673208491760\\",\\n \\"Domain\\": \\"ALIYUN_PUBLIC\\",\\n \\"Facility\\": \\"kern\\",\\n \\"Hostname\\": \\"damo-m53kr8kd-0008\\",\\n \\"Ip\\": \\"114.55.254.44\\",\\n \\"Msg\\": \\"bond4: failed to get link speed/duplex for eth8\\",\\n \\"NodeId\\": \\"e01-cn-9lb36u4s601\\",\\n \\"Severity\\": \\"warning\\",\\n \\"Sn\\": \\"21A401332\\",\\n \\"Source\\": \\"damo-m53kr8kd-0008\\\\n\\",\\n \\"Syslogtag\\": \\"kernel\\",\\n \\"TagHostname\\": \\"damo-m53kr8kd-0008\\\\n\\",\\n \\"TagPackId\\": \\"D990314D3C25D7E8-1080\\",\\n \\"TagPath\\": \\"/var/log/kern\\",\\n \\"TagReceiveTime\\": \\"1687363348\\",\\n \\"TagUserDefinedId\\": \\"application_b\\",\\n \\"Time\\": \\"1687363346\\",\\n \\"Topic\\": \\"logserver\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'ReportNodesStatus' => [ - 'summary' => '节点异常问题上报', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListVscs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVscs'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListVscs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/*'], + ], + ], + ], ], + '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"}]', + ], + 'RebootNodes' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '235597', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '161357', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Nodes', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"e01-cn-fou3yvon53d\\"]', - ], - 'required' => false, - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2024-09-22T16:00:00Z', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2024-07-10T10:17:06', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i15b480fbd2fcdbc2869cd80'], ], [ - 'name' => 'Reason', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SoftwareError', - ], - ], - [ - 'name' => 'Description', + 'name' => 'Nodes', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'title' => '', + 'description' => 'The nodes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i138475611663639202234', 'title' => ''], 'required' => false, - 'example' => 'dwd_mysql_lingwan_faxing_login_di', ], ], [ - 'name' => 'IssueCategory', + 'name' => 'IgnoreFailedNodeTasks', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hardware-disk-error', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'False'], ], ], 'responses' => [ @@ -9747,188 +6824,145 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '', - 'type' => 'string', - 'example' => 'B0699629-14FC-51E7-B49E-AAD83F6FEB60', - ], - 'ErrorMessage' => [ - 'description' => 'Error Message', - 'type' => 'string', - 'example' => 'Resource not found', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'TaskId' => ['title' => '', 'description' => 'The job ID.'."\n", 'type' => 'string', 'example' => 'i158475611663639202234'], ], + 'description' => '', + 'title' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B0699629-14FC-51E7-B49E-AAD83F6FEB60\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', - ], - 'DescribeNodeGroup' => [ - 'summary' => '查询节点分组', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', + 'title' => 'RebootNodes', + 'summary' => 'Restarts nodes.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebootNodes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:RebootNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'ReimageNodes' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '162088', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupId', + 'name' => 'ClusterId', 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'i15dfa12e8f27c44f4a006c2c8bb'], + ], + [ + 'name' => 'Nodes', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '节点组id'."\n", - 'description' => '', - 'type' => 'string', - 'required' => true, + 'title' => '', + 'description' => 'The list of nodes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Hostname' => ['title' => '', 'description' => 'The hostname.', 'type' => 'string', 'required' => false, 'example' => '457db5ca-241d-11ed-9fd7-acde48001122'], + 'LoginPassword' => ['title' => '', 'description' => 'The logon password.', 'type' => 'string', 'required' => false, 'example' => '***'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01-cn-zvp2tgykr0b'], + 'ImageId' => ['title' => '', 'description' => 'The system image ID.', 'type' => 'string', 'required' => false, 'example' => 'm-8vbf8rpv2nn14y7oybjy'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', ], ], + [ + 'name' => 'IgnoreFailedNodeTasks', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to skip failed nodes. Default value: False.', 'type' => 'boolean', 'required' => false, 'example' => 'False'."\n"], + ], + [ + 'name' => 'UserData', + 'in' => 'formData', + 'schema' => ['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'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - ], - 'ImageName' => [ - 'title' => '镜像名', - 'description' => '', - 'type' => 'string', - ], - 'NodeGroupDescription' => [ - 'title' => '节点组描述', - 'description' => '', - 'type' => 'string', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称', - 'description' => '', - 'type' => 'string', - ], - 'NodeCount' => [ - 'title' => '节点数量', - 'description' => '', - 'type' => 'string', - ], - 'ClusterId' => [ - 'title' => '集群id'."\n", - 'description' => '', - 'type' => 'string', - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => '', - 'type' => 'string', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'string', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - ], - 'ImageId' => [ - 'title' => '镜像id', - 'description' => '', - 'type' => 'string', - ], - 'UpdateTime' => [ - 'title' => '更新时间', - 'description' => '', - 'type' => 'string', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => '', - 'type' => 'string', - ], - 'Az' => [ - 'title' => '可用区', - 'description' => '', - 'type' => 'string', - ], - 'UserData' => [ - 'title' => '用户自定义脚本', - 'description' => '', - 'type' => 'string', - ], - 'SystemDisk' => [ - 'type' => 'object', - 'properties' => [ - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'type' => 'string', - ], - 'Category' => [ - 'type' => 'string', - ], - ], - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => '', - 'type' => 'boolean', - ], - 'VirtualGpuEnabled' => [ - 'title' => '是否支持GPU虚拟化切分', - 'description' => '', - 'type' => 'boolean', - ], - 'KeyPairName' => [ - 'type' => 'string', - ], - 'LoginType' => [ - 'title' => '枚举值:'."\n" - .'• password- 当前分组只支持密码登录 '."\n" - .'• keypair- 当前分组只支持密钥对登录 '."\n" - .'• both - 当前分组同时支持密码和密钥对登录'."\n" - ."\n" - .'如果返回为空,代表分组上没有设置任何登录方式', - 'description' => '', - 'type' => 'string', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '15FBCD9B-C93F-54E8-A168-AADE7E66DAD2'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i158782151663841517926'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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}","type":"json"}]', - ], - 'ChangeNodeGroup' => [ - 'summary' => '修改节点的节点组', - 'path' => '', - 'methods' => [ - 'post', + 'title' => 'Reinstall machines', + 'summary' => 'Reinstalls machines.', + 'changeSet' => [ + ['createdAt' => '2023-08-15T14:48:11.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReimageNodes'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ReimageNodes', + '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 \\"RequestId\\": \\"15FBCD9B-C93F-54E8-A168-AADE7E66DAD2\\",\\n \\"TaskId\\": \\"i158782151663841517926\\"\\n}","type":"json"}]', + ], + 'ReportNodesStatus' => [ + 'summary' => 'Reports issues with abnormal nodes.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9937,14 +6971,12 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'create', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterRN0MBH', - ], + 'abilityTreeCode' => '235597', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], 'autoTest' => false, - 'notSupportAutoTestReason' => '这些接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证。因此需要在接口上设置”不支持自动化测试“来做加白操作', 'tenantRelevance' => 'tenant', ], 'parameters' => [ @@ -9953,184 +6985,249 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The list of nodes.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]', - ], + 'items' => ['description' => 'The list of nodes.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[\\"e01-cn-fou3yvon53d\\"]'], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'IgnoreFailedNodeTasks', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'False'."\n", - ], + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => 'The start time of the node issue. The time is in the ISO 8601 format \\`yyyy-MM-ddTHH:mm:ss+0800\\` and includes the time zone.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-09-22T16:00:00Z'], ], [ - 'name' => 'TargetNodeGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'i234242342342', - ], + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => 'The end time of the node issue. The time is in the ISO 8601 format \\`yyyy-MM-ddTHH:mm:ss+0800\\` and includes the time zone.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-07-10T10:17:06'], + ], + [ + 'name' => 'Reason', + 'in' => 'formData', + 'schema' => ['description' => 'The impact of the issue on the Lingjun node.'."\n" + .'Valid values:'."\n" + .'● HardwareError: A hardware error occurred.'."\n" + .'● SoftwareError: A software error occurred.'."\n" + .'● NetworkError: A network error occurred.'."\n" + .'● Others: Other issues. If none of the preceding values apply, set this parameter to \\`Others\\` and provide details in the \\`Description\\` parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SoftwareError'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'dwd_mysql_lingwan_faxing_login_di'], + ], + [ + 'name' => 'IssueCategory', + 'in' => 'formData', + 'schema' => ['description' => 'The category of the issue. This parameter is required when \\`Reason\\` is set to \\`HardwareError\\`. Valid values:<br>'."\n" + .'● hardware-cpu-error: CPU failure<br>'."\n" + .'● hardware-gpu-error: GPU failure<br>'."\n" + .'● hardware-motherboard-error: Motherboard failure<br>'."\n" + .'● hardware-mem-error: Memory failure<br>'."\n" + .'● hardware-power-error: Power supply failure<br>'."\n" + .'● hardware-disk-error: Disk failure'."\n" + .'● hardware-networkcard-error: Network interface card failure<br>'."\n" + .'● hardware-fan-error: Fan failure<br>'."\n" + .'● hardware-cable-error: Network cable failure<br>'."\n" + .'● others: Other<br><br><br><br><br><br><br><br><br>', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'hardware-disk-error'], ], ], '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' => '', - 'type' => 'string', - 'example' => 'i159136551662516768776', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B0699629-14FC-51E7-B49E-AAD83F6FEB60'], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'Resource not found'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', - ], - 'ListClusterHyperNodes' => [ - 'summary' => '集群下的主机分组列表,分组下的主机列表', - 'methods' => [ - 'post', + 'title' => 'ReportNodesStatus', + 'description' => 'Creates a session, returns a frontend endpoint, and starts a periodic task to track the session status.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:ReportNodesStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B0699629-14FC-51E7-B49E-AAD83F6FEB60\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', + ], + 'RunCommand' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '162039', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], + 'abilityTreeCode' => '202207', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'title' => '集群id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'i119982311660892626523', - ], + 'schema' => ['title' => '', 'description' => 'The command name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testName'], ], [ - 'name' => 'NextToken', + 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], + 'schema' => ['title' => '', 'description' => 'The command description.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testDescription'], ], [ - 'name' => 'MaxResults', + 'name' => 'CommandContent', 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '', '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' => 'NodeGroupId', + 'name' => 'Timeout', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-ec3c96ff0aa4c60d', - ], + 'schema' => ['title' => '', '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"], ], [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'repeatList', + 'name' => 'WorkingDir', + 'in' => 'formData', + 'schema' => ['title' => '', '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'], + ], + [ + 'name' => 'EnableParameter', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to use custom parameters in the command.'."\n" + ."\n" + .'Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + ], + [ + 'name' => 'ContentEncoding', + 'in' => 'formData', + 'schema' => ['title' => '', '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'], + ], + [ + 'name' => 'Username', + 'in' => 'formData', + 'schema' => ['title' => '', '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'], + ], + [ + 'name' => 'NodeIdList', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '标签信息', - 'description' => '', + 'title' => '', + 'description' => 'The node list.'."\n", 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'my_key', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'my_value', - 'maxLength' => 129, - ], - ], - 'required' => false, - ], + 'items' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '"i-bp185dy2o3o6neg****"', 'title' => ''], 'required' => false, - 'maxItems' => 21, ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'RepeatMode', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组ID', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmywpvugkh7kq', - ], + 'schema' => ['title' => '', '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' => '', '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' => '', '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(\\<Execution interval value> \\<Execution interval unit>). 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 \\<Time zone>). If you do not specify a time zone, the Coordinated Universal Time (UTC) time zone is used by default. The time zone name supports the following formats: Full name, such as Asia/Shanghai and America/Los_Angeles. The time offset from GMT. Examples: GMT+8:00 (UTC+8) and GMT-7:00 (UTC-7). If you use the GMT format, you cannot add leading zeros to the hour value. The time zone abbreviation. Only UTC is supported. For example, to configure a command to run only once at 13:15:30 on June 6, 2022 (Shanghai time), set the time to at(2022-06-06 13:15:30 Asia/Shanghai). To configure a command to run only once at 13:15:30 on June 6, 2022 (UTC-7), set the time to at(2022-06-06 13:15:30 GMT-7:00).'."\n" + ."\n" + .'* To run a command at designated points in time, use a cron expression to define the schedule. Format: \\<Cron expression> \\<Time zone>. Example: \\<Seconds> \\<Minutes> \\<Hours> \\<Day of the month> \\<Month> \\<Day of the week> \\<Year (optional)> \\<Time zone>. The system calculates the execution times of the command based on the specified cron expression and time zone and runs the command as scheduled. If you do not specify a time zone, the system time zone of the instance is used by default. For more information, see Cron expressions. The time zone name supports the following formats:'."\n" + ."\n" + .' * Full name, such as Asia/Shanghai and America/Los_Angeles.'."\n" + .' * The time offset from GMT. Examples: GMT+8:00 (UTC+8) and GMT-7:00 (UTC-7). If you use the GMT format, you cannot add leading zeros to the hour value.'."\n" + .' * The time zone abbreviation. Only UTC is supported.'."\n" + ."\n" + .' For example, if you specify a command to run at 10:15:00 every day in 2022 in China/Shanghai time, set the time to 0 15 10 ? \\* \\* 2022 Asia/Shanghai. To configure a command to run every half an hour from 10:00:00 to 11:30:00 every day in 2022 (UTC+8), set the schedule to 0 0/30 10-11 \\* \\* ? 2022 GMT+8:00. To configure a command to run every 5 minutes from 14:00:00 to 14:55:00 every October every two years from 2022 in UTC, set the schedule to 0 0/5 14 \\* 10 ? 2022/2 UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '0 */20 * * * ?'], + ], + [ + 'name' => 'Parameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['title' => '', 'description' => 'The key-value pairs of custom parameters to pass in when the command includes custom parameters. For example, the command content is `echo {{name}}`. You can use `Parameters` to pass in the `{"name":"Jack"}` key-value pair. The `name` key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.'."\n" + ."\n" + .'You can specify 0 to 10 custom parameters. Take note of the following:'."\n" + ."\n" + .'* The key of a custom parameter can be up to 64 characters in length, and cannot be an empty string.'."\n" + .'* The value of a custom parameter can be an empty string.'."\n" + .'* If you want to retain a command, make sure that the command after Base64 encoding, including custom parameters and original command content, does not exceed 18 KB in size. If you do not want to retain the command, make sure that the command after Base64 encoding does not exceed 24 KB in size. You can set `KeepCommand` to specify whether to retain the command.'."\n" + .'* The specified custom parameter names must be included in the custom parameter names that you specify when you create the command. You can use empty strings to represent the parameters that are not passed in.'."\n" + ."\n" + .'This parameter is left empty by default, which indicates that the custom parameter feature is disabled.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"name":"Jack", "accessKey":"LTAIdyvdIqaRY****"}'], + ], + [ + 'name' => 'CommandId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The ID of the command.'."\n", 'type' => 'string', 'required' => false, 'example' => 'c-e996287206324975b5fbe1d***'], + ], + [ + 'name' => 'TerminationMode', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Indicates how the command task is stopped when a command execution is manually stopped or times out. Valid values:'."\n" + ."\n" + .'Process: The process of the command is stopped. ProcessTree: The process tree of the command is stopped. In this case, the process of the command and all subprocesses are stopped.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ProcessTree'], + ], + [ + 'name' => 'Launcher', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The launcher for script execution. Cannot exceed 1 KB.'."\n", 'type' => 'string', 'required' => false, 'example' => 'python3 -u {{ACS::ScriptFileName|Ext(".py")}}'], ], ], 'responses' => [ @@ -10138,347 +7235,264 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', - ], - 'NextToken' => [ - 'title' => '本次调用返回的查询凭证值。'."\n", - 'description' => '', - 'type' => 'string', - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], - 'HyperNodes' => [ - 'title' => '超节点列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-07-07T17:38:35.391', - ], - 'ExpireTime' => [ - 'title' => '机器过期时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-04-19T02:32:48Z', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - 'example' => 'efg2.NH2cn', - ], - 'NodeGroupId' => [ - 'title' => '节点组id'."\n", - 'description' => '', - 'type' => 'string', - 'example' => 'i123229811742436895560', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称'."\n", - 'description' => '', - 'type' => 'string', - 'example' => 'g1', - ], - 'HyperNodeId' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-2r42tmj4z02', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai-b', - ], - 'HpnZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B1', - ], - 'VpcId' => [ - 'title' => '专有网络ID', - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-0jl8gs7qmx89739e210dn', - ], - 'VSwitchId' => [ - 'title' => '专有网络交换机ID', - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-bp1u4ej4ap8c4yiqfi87c', - ], - 'Tags' => [ - 'title' => '标签信息', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ali-zeekr-ota-doris-prod-hz-selectdb', - ], - ], - ], - ], - 'TaskId' => [ - 'title' => '任务ID', - 'description' => '', - 'type' => 'string', - 'example' => 'i153907661745288876128', - ], - 'CommodityCode' => [ - 'title' => '商品码', - 'description' => '', - 'type' => 'string', - 'example' => 'bccluster_eflocomputing_public_cn', - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => '', - 'type' => 'boolean', - 'example' => 'False', - ], - 'Status' => [ - 'title' => '节点状态', - 'description' => '', - 'type' => 'string', - 'example' => 'Extending', - 'deprecated' => true, - ], - 'Hostname' => [ - 'title' => '主机名', - 'type' => 'string', - 'example' => 'alywlcb-lingjun-gpu-0025', - ], - 'OperatingState' => [ - 'title' => '超节点状态', - 'type' => 'string', - 'example' => 'Using', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1'], + 'InvokeId' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'example' => 't-7d2a745b412b4601b2d47f6a768d*', 'title' => ''], ], + 'description' => '', + 'title' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1\\",\\n \\"InvokeId\\": \\"t-7d2a745b412b4601b2d47f6a768d*\\"\\n}","type":"json"}]', + 'title' => 'RunCommand', + 'summary' => 'Runs a Shell script on one or more Lingjun nodes.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunCommand'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:RunCommand', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Command', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:command/{#CommandId}'], + ], + ], + ], ], - '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"}]', ], - 'ListHyperNodes' => [ - 'summary' => '机器列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SendFile' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '202211', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NodeGroupName', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'title' => '节点组名称', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'emr-default', - ], + 'schema' => ['description' => 'The file name. The name can be up to 255 characters in length and can contain any characters.'."\n", 'type' => 'string', 'required' => true, 'example' => 'file.txt', 'title' => ''], ], [ - 'name' => 'MachineType', + 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'efg1.nvga1', - ], + 'schema' => ['description' => 'The description of the file. The description can be up to 512 characters in length and can contain any characters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'This is a test file. '."\n", 'title' => ''], ], [ - 'name' => 'ZoneId', + 'name' => 'TargetDir', 'in' => 'formData', - 'schema' => [ - 'title' => '可用区id', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'schema' => ['description' => 'The directory in the Lingjun node to which the file is sent. If the specified directory does not exist, the system creates the directory automatically.'."\n", 'type' => 'string', 'required' => true, 'example' => '/home', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ContentType', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3a6b93229825ac667104463b56790c91', - ], + 'schema' => ['description' => 'The content type of the file. Valid values:'."\n" + ."\n" + .'PlainText Base64 Default value: PlainText.'."\n", 'type' => 'string', 'required' => false, 'example' => 'PlainText', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The content of the file. The file must not exceed 32 KB in size after it is encoded in Base64.'."\n" + ."\n" + .'* If `ContentType` is set to `PlainText`, the value of Content is in plaintext.'."\n" + .'* If `ContentType` is set to `Base64`, the value of Content is Base64-encoded.'."\n", 'type' => 'string', 'required' => true, 'example' => '#!/bin/bash echo "Current User is :" echo $(ps | grep "$$" | awk \'{print $2}\') -------- oss://bucketName/objectName', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'FileMode', 'in' => 'formData', - 'schema' => [ - 'title' => '资源组id', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmwfm33rlt6zi', - ], + 'schema' => ['description' => 'The permissions on the file. This parameter takes effect only on Linux instances. You can configure this parameter in the same way as you configure the chmod command.'."\n" + ."\n" + .'Default value: 0644: the owner of the file has the read and write permission. The user group of the file and other users have read-only permission.'."\n", 'type' => 'string', 'required' => false, 'example' => '0644', 'title' => ''], ], [ - 'name' => 'HyperNodeId', + 'name' => 'FileOwner', 'in' => 'formData', - 'schema' => [ - 'title' => '节点ID', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'e01-cn-zvp2tgykr08', - ], + 'schema' => ['description' => 'The owner of the file. This parameter takes effect only on Linux instances. Default value: root.'."\n", 'type' => 'string', 'required' => false, 'example' => 'root', 'title' => ''], ], [ - 'name' => 'ClusterName', + 'name' => 'FileGroup', 'in' => 'formData', + 'schema' => ['description' => 'The user group of the file. This parameter takes effect only on Linux instances. Default value: root. The value can be up to 64 characters in length.'."\n" + ."\n" + .'Note If you want to use a non-root user group, make sure that the user group exists in the instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'NodeIdList', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '集群名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Standard_Cluster', + 'description' => 'The node list.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Lingjun node.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\'i-bp1b00g1wdnrvpz68o0b\', \'i-bp1bu2fp0uhruyf88k6v\']', 'title' => ''], + 'required' => true, + 'title' => '', ], ], [ - 'name' => 'HpnZone', + 'name' => 'Overwrite', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to overwrite file with the same name in the destination directory.'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''], + ], + [ + 'name' => 'Timeout', 'in' => 'formData', + 'schema' => ['description' => 'The timeout period for the file sending task. Unit: seconds.'."\n" + ."\n" + .'* A timeout error occurs when a file cannot be sent because the process slows down or because a specific module or Cloud Assistant Agent does not exist.'."\n" + .'* If the specified timeout period is less than 10 seconds, the system sets the timeout period to 10 seconds to ensure that the file can be sent.'."\n" + ."\n" + .'Default value: 60.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78'], + 'InvokeId' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'example' => 't-hz03la52z1zkvls', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'A1', + 'title' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C683243-7915-57FB-9570-A2932C1C0F78\\",\\n \\"InvokeId\\": \\"t-hz03la52z1zkvls\\"\\n}","type":"json"}]', + 'title' => 'SendFile', + 'summary' => 'Sends a file to one or more Lingjun nodes.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendFile'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Tags', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:SendFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + ], + ], + 'ShrinkCluster' => [ + 'summary' => 'Scales in a CC cluster.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '162886', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', 'in' => 'formData', - 'style' => 'repeatList', + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'i15dfa12e8f27c44f4a006c2c8bb'], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The information about the node groups.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-3b6fbd24b1b845a0'], + 'Nodes' => [ + 'title' => '', + 'description' => 'The list of nodes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'e01poc-cn-zmb2ypjdc01'], + ], + 'required' => false, + 'description' => 'The node information.', + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'alarm_xdc', + 'example' => '', ], - 'Value' => [ - 'description' => '', - 'type' => 'string', + 'HyperNodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'HyperNodeId' => ['type' => 'string', 'title' => '', 'description' => 'The hyper node ID.', 'required' => false, 'example' => 'e01-cn-zvp2tgykr08'], + ], + 'description' => 'A hyper node.', + 'title' => '', + 'required' => false, + 'example' => '', + ], + 'title' => '', + 'description' => 'The list of hyper nodes.', 'required' => false, - 'example' => '129', + 'example' => '', ], ], 'required' => false, + 'description' => 'The information about the node groups.', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'OperatingStates', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '节点状态, 如果不填表示所有状态:Extending、UnusedNodeStopped'."\n" - .'UnusedNodeStopping、Unused、Using、ReleaseLocking、Operating、Cutting、ClusterNodeStopped、UnusedNodeRecovering、ClusterNodeStopping、ClusterNodeRecovering、Replacing', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'maxItems' => 100, - ], - ], - [ - 'name' => 'CommodityCode', - 'in' => 'query', - 'schema' => [ - 'title' => '商品code代码', - 'type' => 'string', + 'example' => '', ], ], [ - 'name' => 'HyperNodeIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], + 'name' => 'IgnoreFailedNodeTasks', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to skip failed nodes. The default value is False.', 'type' => 'boolean', 'required' => false, 'example' => 'False'], ], ], 'responses' => [ @@ -10486,164 +7500,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'E64F9128-E2FC-5998-B769-199B0CB18138', - ], - 'HyperNodes' => [ - 'title' => '节点列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => '', - 'type' => 'string', - 'example' => 'test-ack', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-07-09T10:41:56.577', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - 'example' => 'efg2.GN9C.cn8', - ], - 'HyperNodeId' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-2r42tmj4z02', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => '', - 'type' => 'string', - 'example' => 'i153333771756952392398', - ], - 'ExpireTime' => [ - 'title' => '过期时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-09-28T16:00:00Z', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => '', - 'type' => 'string', - 'example' => 'i115226661755786900341', - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => '', - 'type' => 'string', - 'example' => 'i121135081698451727812', - ], - 'NodeGroupName' => [ - 'title' => '节点组', - 'description' => '', - 'type' => 'string', - 'example' => 'l20c-0801', - ], - 'HpnZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A1', - ], - 'ResourceGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rg-acfmwfm33rlt6zi', - ], - 'CommodityCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'bccluster_eflocomputing_public_cn', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Extending', - 'deprecated' => true, - ], - 'Hostname' => [ - 'title' => '主机名', - 'type' => 'string', - 'example' => 'alywlcb-lingjun-gpu-0025', - ], - 'OperatingState' => [ - 'title' => '超节点状态', - 'type' => 'string', - 'example' => 'Using', - ], - 'Tags' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'alarm_xdc', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '97', - ], - ], - ], - ], - ], - ], - ], - 'NextToken' => [ - 'title' => '下一页的NextToken,请求下一页时带上此返回值', - 'description' => '', - 'type' => 'string', - 'example' => '7ed93fda-5e7f-436a-ae5a-bd8e6b04e36b', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CC9FEF89-9BE5-5E03-845E-238B48D7599B'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'i159136551662516768776'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - '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"}]', - ], - 'ListFreeHyperNodes' => [ - 'summary' => '可用rack物理机列表', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC9FEF89-9BE5-5E03-845E-238B48D7599B\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', + 'title' => 'ShrinkCluster', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ShrinkCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ShrinkCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], ], + ], + 'StopInvocation' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10655,121 +7545,102 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162040', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '202206', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'InvokeId', 'in' => 'formData', - 'schema' => [ - 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'a3f2224a5ec7224116c4f5246120****', - ], + 'schema' => ['description' => 'The execution ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'f-hz044748dzepds0', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'NodeIdList', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The nodes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Lingjun node.'."\n", 'type' => 'string', 'required' => false, 'example' => '\'i-bp1cfrqj4pztngvlq7la\'', 'title' => ''], 'required' => false, - 'example' => '20', + 'title' => '', ], ], - [ - 'name' => 'MachineType', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '机型', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A7FD7411-9395-52E8-AF42-EB3A4A55446D'], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'efg1.nvga1', + 'title' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7FD7411-9395-52E8-AF42-EB3A4A55446D\\"\\n}","type":"json"}]', + 'title' => 'StopInvocation', + 'summary' => 'Stops the O\\\\\\&M assistant command execution.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopInvocation'], + ], + ], + 'ramActions' => [ [ - 'name' => 'HpnZone', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'A1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:StopInvocation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], ], ], + ], + ], + 'StopNodes' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzyqdwnfabx6q', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '229860', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'Tags', + 'name' => 'Nodes', 'in' => 'formData', - 'style' => 'repeatList', + 'style' => 'json', 'schema' => [ - 'title' => '标签信息', - 'description' => '', + 'title' => '', + 'description' => 'The nodes.'."\n", 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'my_key', - 'maxLength' => 129, - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '129', - ], - ], - 'required' => false, - ], + 'items' => ['description' => 'The information about the node.'."\n", 'type' => 'string', 'required' => false, 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]', 'title' => ''], 'required' => false, - 'maxItems' => 21, ], ], [ - 'name' => 'Status', + 'name' => 'IgnoreFailedNodeTasks', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Unused', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'False'], ], ], 'responses' => [ @@ -10777,169 +7648,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id'."\n", - 'description' => '', - 'type' => 'string', - 'example' => 'A511C02A-0127-51AA-A9F9-966382C9A1B5', - ], - 'HyperNodes' => [ - 'title' => '节点列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-wulanchabu-a', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-08-06T10:11:41.569', - ], - 'HyperNodeId' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-7pp2x193801', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - 'example' => 'efg2.ks01L20Z2', - ], - 'ExpireTime' => [ - 'title' => '机器过期时间', - 'description' => '', - 'type' => 'string', - 'example' => '2025-01-22T23:59:59Z', - ], - 'HpnZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A1', - ], - 'ResourceGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rg-acfmwaateahzoii', - ], - 'CommodityCode' => [ - 'title' => '商品码', - 'description' => '', - 'type' => 'string', - 'example' => 'bccluster_eflocomputing_public_cn', - ], - 'Tags' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cpu_Usage', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'on', - ], - ], - ], - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Using', - 'deprecated' => true, - ], - 'Hostname' => [ - 'title' => '主机名', - 'type' => 'string', - 'example' => 'alywlcb-lingjun-gpu-0025', - ], - 'OperatingState' => [ - 'title' => '超节点状态', - 'type' => 'string', - 'example' => 'Using', - ], - ], - ], - ], - 'NextToken' => [ - 'title' => '本次调用返回的查询凭证值。'."\n", - 'description' => '', - 'type' => 'string', - 'example' => '563d42ae0b17572449ec8c97f7f66069', - ], - 'MaxResults' => [ - 'title' => '分页查询时每页行数。最大值为100。'."\n" - ."\n" - .'默认值:'."\n" - ."\n" - .'•当不设置值或设置的值小于20时,默认值为20。'."\n" - ."\n" - .'•当设置的值大于100时,默认值为100。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54'], + 'TaskId' => ['title' => '', 'description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'i155847351716171893489'], ], + 'description' => '', + 'title' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - '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"}]', - ], - 'DescribeHyperNode' => [ - 'summary' => '查询节点列表', - 'path' => '', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i155847351716171893489\\"\\n}","type":"json"}]', + 'title' => 'StopNodes', + 'summary' => 'Stops nodes.', + 'translator' => 'machine', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopNodes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:StopNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], ], + ], + 'TagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '161252', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'HyperNodeId', - 'in' => 'formData', + 'name' => 'ResourceType', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The resource type.', 'type' => 'string', 'required' => true, - 'example' => 'e01-cn-zvp2tgykr08', + 'enumValueTitles' => ['Node' => 'a node', 'Vcc' => 'a leased line', 'Cluster' => 'a cluster', 'Vpd' => 'a Lingjun network segment', 'Subnet' => 'a Lingjun subnet'], + 'example' => 'Cluster', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '', + 'description' => 'A list of resource IDs.', + 'type' => 'array', + 'items' => ['description' => 'A resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i-uf6dlxcxssr4cgpkoo85'], + 'required' => true, + 'maxItems' => 50, + 'example' => '', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '', + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'maxLength' => 128, 'example' => 'app'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'maxLength' => 256, 'example' => 'v3'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 20, + 'example' => '', ], ], ], @@ -10947,339 +7757,186 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '', - 'type' => 'string', - 'example' => 'D6058705-1C45-35C9-9461-02504897D4D0', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称', - 'description' => '', - 'type' => 'string', - 'example' => 'lisan-nodegroup', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'description' => '', - 'type' => 'string', - 'example' => 'i119982311660892626523', - ], - 'ClusterName' => [ - 'title' => '集群名称', - 'description' => '', - 'type' => 'string', - 'example' => 'Standard_Cluster', - ], - 'ZoneId' => [ - 'title' => '可用区id', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-wulanchabu-c', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'string', - 'example' => '2022-11-30T02:00:00.852Z', - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => '', - 'type' => 'string', - 'example' => 'ng-ec3c96ff0aa4c60d', - ], - 'MachineType' => [ - 'title' => '机型', - 'description' => '', - 'type' => 'string', - 'example' => 'efg1.nvga1', - ], - 'ExpireTime' => [ - 'title' => '过期时间', - 'description' => '', - 'type' => 'string', - 'example' => '2125-06-24T16:52:44.318000', - ], - 'HpnZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A1', - ], - 'ResourceGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rg-acfmxno4vh5****', - ], - 'FileSystemMountEnabled' => [ - 'title' => '是否支持文件存储挂载', - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HyperNodeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr08', - ], - 'Nodes' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NodeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'e01-cn-zvp2tgykr0b', - ], - 'ImageId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i190297201669099844192', - ], - 'Hostname' => [ - 'description' => '', - 'type' => 'string', - 'example' => '457db5ca-241d-11ed-9fd7-acde48001122', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'InProgress', - 'deprecated' => true, - ], - 'ImageName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230', - ], - 'Networks' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'BondName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'bond0', - ], - 'Ip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.22.2', - ], - ], - ], - 'UserData' => [ - 'description' => '', - 'type' => 'string', - 'example' => '#!/bin/bash'."\n" - .'uptime'."\n" - .'echo "aaaaaaa" >> /tmp/ttttttest.sh', - ], - 'Disks' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DiskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'd-bp1564bcc2306uui4zpk', - ], - 'Category' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DOWNLINK_PACKET', - ], - 'Size' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'PerformanceLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PL0', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'system', - ], - ], - ], - ], - 'OperatingState' => [ - 'title' => '节点状态', - 'type' => 'string', - 'example' => 'Using', - ], - ], - ], - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Operating', - 'deprecated' => true, - ], - 'Hostname' => [ - 'title' => '主机名', - 'description' => '', - 'type' => 'string', - 'example' => 'alywlcb-lingjun-gpu-0025', - ], - 'OperatingState' => [ - 'title' => '超节点状态', - 'type' => 'string', - 'example' => 'Using', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E7BB53E1-0B08-5C4E-BA66-9225548C3151'], ], + '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.', - ], + ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'TagResources', + 'summary' => 'Applies tags to resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], + ], + ], ], - '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"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7BB53E1-0B08-5C4E-BA66-9225548C3151\\"\\n}","type":"json"}]', ], - 'ChangeNodeTypes' => [ - 'summary' => '节点规格变配', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UntagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162088', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'NodeType', - 'in' => 'formData', + 'name' => 'ResourceType', + 'in' => 'query', 'schema' => [ - 'title' => '集群id'."\n", - 'description' => '', + 'title' => '', + 'description' => 'The resource type.', 'type' => 'string', - 'required' => false, - 'example' => 'standard', + 'required' => true, + 'enumValueTitles' => ['Node' => 'Node', 'Cluster' => 'Cluster'], + 'example' => 'Cluster', ], ], [ - 'name' => 'NodeIds', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '节点列表', - 'description' => '', + 'description' => 'The list of resource IDs.', 'type' => 'array', - 'items' => [ - 'title' => '节点id', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\'2423423423423\']', - ], + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i15z93xkon193oaxf1ese8'], + 'required' => true, + 'maxItems' => 50, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of tag keys.', + 'type' => 'array', + 'items' => ['description' => 'The tag key. You can specify up to 20 tag keys.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ac-cus-tag-0'], 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to remove all tags from the resources. This parameter takes effect only if you do not specify the TagKey.N parameter. Valid values:'."\n" + ."\n" + .'- true: Removes all tags.'."\n" + ."\n" + .'- false: Does not remove all tags.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'False'], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '', - 'type' => 'string', - 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => '', - 'type' => 'string', - 'example' => 'i158475611663639202234', - ], - 'NodeResponse' => [ - 'title' => '节点响应数据', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'title' => '根节点响应元素', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'title' => '节点响应码', - 'description' => '', - 'type' => 'string', - 'example' => 'PASSED', - ], - 'Message' => [ - 'title' => '节点响应中的消息内容', - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], - 'NodeId' => [ - 'title' => '节点响应中节点ID', - 'description' => '', - 'type' => 'string', - 'example' => 'e01-in-067da4ca9c2', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '81F648D0-5570-5351-AE98-6F501C7E957F'], ], + 'example' => '', ], ], ], - '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"}]', - ], - 'DeleteHyperNode' => [ - 'summary' => '删除一个未使用超节点', - 'path' => '', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate ', 'description' => ''], + ], ], - 'schemes' => [ - 'https', + 'title' => 'UntagResources', + 'summary' => 'Removes custom tags from resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"81F648D0-5570-5351-AE98-6F501C7E957F\\"\\n}","type":"json"}]', + ], + 'UpdateNodeGroup' => [ + 'summary' => 'Updates a node group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11288,95 +7945,948 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREbcclusterSIOTA6', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', - 'tenantRelevance' => 'tenant', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'], ], 'parameters' => [ [ - 'name' => 'HyperNodeId', + 'name' => 'NodeGroupId', 'in' => 'formData', + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'i120021051733814190732', 'title' => ''], + ], + [ + 'name' => 'NewNodeGroupName', + 'in' => 'formData', + 'schema' => ['description' => 'The node group name.', 'type' => 'string', 'required' => false, 'example' => 'test-update', 'title' => ''], + ], + [ + 'name' => 'UserData', + 'in' => 'formData', + 'schema' => ['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'], + ], + [ + 'name' => 'FileSystemMountEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether file storage mounting is supported.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''], + ], + [ + 'name' => 'KeyPairName', + 'in' => 'formData', + 'schema' => ['description' => 'The key pair name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'RamRoleName', + 'in' => 'formData', + 'schema' => ['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 role must be set to Lingjun AI Computing Service.'."\n" + .'Note: Clearing an existing role is not supported.', 'type' => 'string', 'docRequired' => false, 'maxLength' => 128, 'required' => false, 'example' => 'xianwen-test-ram-role'], + ], + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The default image ID of the node group. If this parameter is not specified, the image remains unchanged.', 'type' => 'string', 'required' => false, 'example' => 'i1232142432432'], + ], + [ + 'name' => 'LoginPassword', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The logon password of the machines in the node group.', 'type' => 'string', 'required' => false, 'example' => '密码'], + ], + [ + 'name' => 'SystemDisk', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'PerformanceLevel' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'e01-cn-zvp2tgykr08', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '041724FC-2BD7-58B1-863B-B42022D4B351', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E'], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'i154273451745372344629', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'Update a node group', + '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-05-20T09:31:29.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-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:16:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T02:25:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2025-03-25T10:57:57.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"041724FC-2BD7-58B1-863B-B42022D4B351\\"\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateNodeGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:UpdateNodeGroup', + '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 \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"TaskId\\": \\"i154273451745372344629\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'eflo-controller.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'eflo-controller.cn-beijing.aliyuncs.com ', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'eflo-controller.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'eflo-controller.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'eflo-controller.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'eflo-controller.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'eflo-controller.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'eflo-controller.cn-heyuan.aliyuncs.com', + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-wulanchabu.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-beijing.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-beijing.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-shanghai.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-shanghai.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-hongkong.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-hongkong.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-heyuan.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-heyuan.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-shenzhen.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-shenzhen.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.ap-northeast-1.aliyuncs.com', 'endpoint' => 'eflo-controller.ap-northeast-1.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-guangzhou.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-guangzhou.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.ap-southeast-1.aliyuncs.com', 'endpoint' => 'eflo-controller.ap-southeast-1.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.ap-southeast-3.aliyuncs.com', 'endpoint' => 'eflo-controller.ap-southeast-3.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-huhehaote.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-huhehaote.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.ap-southeast-7.aliyuncs.com', 'endpoint' => 'eflo-controller.ap-southeast-7.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.cn-hangzhou.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-hangzhou.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eflo-controller.ap-sourtheast-8.aliyuncs.com', 'endpoint' => 'eflo-controller.ap-sourtheast-8.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.ap-southeast-8.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'eflo-controller.eu-central-1.aliyuncs.com', 'endpoint' => 'eflo-controller.eu-central-1.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'eflo-controller.me-east-1.aliyuncs.com', 'endpoint' => 'eflo-controller.me-east-1.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'eflo-controller.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'eflo-controller.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'eflo-controller-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'RESOURCE_NOT_FOUND', 'message' => 'Resource does not exist.', 'http_code' => 400, 'description' => 'Resource does not exist'], + ['code' => 'SystemError', 'message' => 'A system error occurred while processing your request', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopInvocation'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCluster'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StopNodes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNodeType'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsc'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHyperNode'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetHyperNode'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSession'], + ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunCommand'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNode'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNode'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFreeHyperNodes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTask'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVsc'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReimageNodes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNetTestTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSendFileResults'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeZones'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExtendCluster'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReportNodesStatus'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClusterHyperNodes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNetTestResults'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMachineNetworkInfo'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserClusterTypes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSyslogs'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNodeGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosticResult'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RebootNodes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeNodeTypes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMachineTypes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ShrinkCluster'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeNodeGroup'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateDiagnosticTask'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListImages'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClusterNodes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDiagnosticResults'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ApproveOperation'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClusters'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVscs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListHyperNodes'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendFile'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateNodeGroup'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVsc'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNodeGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteHyperNode'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CloseSession'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvocations'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetTestResult'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFreeNodes'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'eflo-controller.cn-guangzhou.aliyuncs.com ', + ], + 'ram' => [ + 'productCode' => 'Eflo', + 'productName' => 'Intelligent Computing LINGJUN', + 'ramCodes' => ['eflo'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [ + [ + 'name' => 'eflo:ImageSource', + 'schema' => ['type' => 'String', 'description' => 'Image Source'], + ], + [ + 'name' => 'eflo:ImageOwnerId', + 'schema' => ['type' => 'String', 'description' => 'Owner UID of the image.'], + ], ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'eflo-controller.ap-southeast-1.aliyuncs.com', + 'ramActions' => [ + [ + 'apiName' => 'DescribeCluster', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteCluster', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'CreateSession', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateSession', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeDiagnosticResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeDiagnosticResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ApproveOperation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ApproveOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ListVscs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListVscs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/*'], + ], + ], + ], + [ + 'apiName' => 'CloseSession', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:CloseSession', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'StopNodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:StopNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ListDiagnosticResults', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListDiagnosticResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteHyperNode', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteHyperNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteVsc', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], + ], + ], + [ + 'apiName' => 'ListClusterNodes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusterNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#clusterId}'], + ], + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeSendFileResults', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeSendFileResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeHyperNode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeHyperNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'RebootNodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:RebootNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ListSyslogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListSyslogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateNodeGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:UpdateNodeGroup', + '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}'], + ], + ], + ], + [ + 'apiName' => 'StopInvocation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:StopInvocation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], + [ + 'apiName' => 'CreateDiagnosticTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateDiagnosticTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ListFreeHyperNodes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListFreeHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/*'], + ], + ], + ], + [ + 'apiName' => 'ListClusterHyperNodes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusterHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#clusterId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '', + '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}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'RunCommand', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:RunCommand', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Command', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:command/{#CommandId}'], + ], + ], + ], + [ + 'apiName' => 'ExtendCluster', + 'description' => '', + '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}'], + ], + ], + ], + [ + 'apiName' => 'DeleteNode', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ReimageNodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ReimageNodes', + '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}'], + ], + ], + ], + [ + 'apiName' => 'CreateCluster', + 'description' => '', + '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/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteNodeGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eflo:DeleteNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeVsc', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ], + ], + ], + [ + 'apiName' => 'ShrinkCluster', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ShrinkCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeNodeTypes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ChangeNodeTypes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ListClusters', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInvocations', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeInvocations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeNetTestResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNetTestResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'CreateNetTestTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateNetTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'CreateNodeGroup', + 'description' => '', + '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}'], + ], + ], + ], + [ + 'apiName' => 'ListHyperNodes', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListHyperNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeNodeGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:DescribeNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeNodeGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eflo:ChangeNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'eflo:ImageSource', 'validationType' => 'always'], + ['conditionKey' => 'eflo:ImageOwnerId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ReportNodesStatus', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:ReportNodesStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'ListFreeNodes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListFreeNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ], + ], + ], + [ + 'apiName' => 'ListNodeGroups', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eflo:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ], + ], + ], + [ + 'apiName' => 'ListNetTestResults', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:ListNetTestResults', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ], + ], + ], + [ + 'apiName' => 'SendFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eflo:SendFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ], + ], + ], + [ + 'apiName' => 'CreateVsc', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eflo:CreateVsc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eflo', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/*'], + ], + ], + ], ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'eflo-controller.ap-southeast-7.aliyuncs.com ', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}'], + ['validationType' => 'always', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'always', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/*'], + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:cluster/*'], + ['validationType' => 'always', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/{#HyperNodeId}'], + ['validationType' => 'always', 'resourceType' => 'Vsc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vsc/{#VscId}'], + ['validationType' => 'conditional', 'resourceType' => 'Vpd', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}'], + ['validationType' => 'conditional', 'resourceType' => 'Subnet', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:subnet/{#SubnetId}'], + ['validationType' => 'conditional', 'resourceType' => 'Vcc', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}'], + ['validationType' => 'conditional', 'resourceType' => 'ElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:elasticnetworkinterface/{#ElasticNetworkInterfaceId}'], + ['validationType' => 'conditional', 'resourceType' => 'Er', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:er/{#ErId}'], + ['validationType' => 'conditional', 'resourceType' => 'NetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:networkinterface/{#NetworkInterfaceId}'], + ['validationType' => 'conditional', 'resourceType' => 'HighDensityElasticNetworkInterface', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hdeni/{#HighDensityElasticNetworkInterfaceId}'], + ['validationType' => 'always', 'resourceType' => 'Node', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/*'], + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:node/{#NodeId}'], + ['validationType' => 'always', 'resourceType' => 'HyperNode', 'arn' => 'acs:eflo:{#regionId}:{#accountId}:hypernode/*'], + ['validationType' => 'conditional', 'resourceType' => 'Command', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:command/{#CommandId}'], ], ], ]; |
