diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/eflo-controller | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/eflo-controller')
| -rw-r--r-- | data/en_us/eflo-controller/2022-12-15/api-docs.php | 11382 |
1 files changed, 11382 insertions, 0 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 new file mode 100644 index 0000000..45ca666 --- /dev/null +++ b/data/en_us/eflo-controller/2022-12-15/api-docs.php @@ -0,0 +1,11382 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'eflo-controller', + 'version' => '2022-12-15', + ], + 'directories' => [ + [ + 'id' => 268833, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateCluster', + 'DeleteCluster', + 'DescribeCluster', + 'ExtendCluster', + 'ListClusters', + 'ListClusterNodes', + 'ShrinkCluster', + ], + ], + [ + 'id' => 268841, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateNodeGroup', + 'UpdateNodeGroup', + 'DeleteNodeGroup', + 'ListNodeGroups', + ], + ], + [ + 'id' => 268846, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteNode', + 'DescribeNode', + 'ListFreeNodes', + 'RebootNodes', + 'ReimageNodes', + ], + ], + [ + 'id' => 268852, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateVsc', + 'DescribeVsc', + 'DeleteVsc', + 'ListVscs', + ], + ], + [ + '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', + ], + ], + [ + 'id' => 268884, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeNodeType', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ListSyslogs', + 'ReportNodesStatus', + 'DescribeNodeGroup', + 'ChangeNodeGroup', + 'ListClusterHyperNodes', + 'ListHyperNodes', + 'ListFreeHyperNodes', + 'DescribeHyperNode', + 'ChangeNodeTypes', + 'DeleteHyperNode', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateCluster' => [ + 'summary' => 'Create a large-scale computing cluster', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群名称', + 'description' => 'Cluster name', + 'type' => 'string', + 'required' => false, + 'example' => 'Standard_Cluster', + ], + ], + [ + 'name' => 'ClusterType', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群类型', + 'description' => 'Cluster type', + 'type' => 'string', + 'required' => false, + 'example' => 'Lite', + ], + ], + [ + 'name' => 'ClusterDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群描述', + 'description' => 'Cluster description', + 'type' => 'string', + 'required' => false, + 'example' => 'Cluster description', + ], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '节点组列表'."\n", + 'description' => 'Node group list'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Node group information', + 'type' => 'object', + 'properties' => [ + 'SystemDisk' => [ + 'description' => 'System disk information', + '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', + ], + ], + 'required' => false, + ], + 'NodeGroupDescription' => [ + 'title' => '节点组描述', + 'description' => 'Node group description', + 'type' => 'string', + 'required' => false, + 'example' => 'Node group description', + ], + 'KeyPairName' => [ + 'description' => 'Key pair name.', + 'type' => 'string', + 'required' => false, + 'example' => 'test-keypair', + ], + 'FileSystemMountEnabled' => [ + 'title' => '是否支持文件系统挂载', + 'description' => 'Whether to support file system mounting', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + 'NodeGroupName' => [ + 'title' => '节点组名称', + 'description' => 'Node group name', + 'type' => 'string', + 'required' => false, + 'example' => 'emr-default', + ], + 'ZoneId' => [ + 'title' => '可用区id', + 'description' => 'Zone ID', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + 'UserData' => [ + 'title' => '用户自定义脚本,命令', + 'description' => 'Instance custom data. It needs to be encoded in Base64, and the original data should not exceed 16 KB.', + 'type' => 'string', + 'required' => false, + 'example' => 'ZWNobyBoZWxsbyBlY3Mh', + ], + 'VirtualGpuEnabled' => [ + 'title' => '是否支持GPU虚拟化切分', + 'description' => 'Whether to enable gpu virtualization or not', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + 'MachineType' => [ + 'title' => '机型', + 'description' => 'Machine type', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1', + ], + 'ImageId' => [ + 'title' => '系统镜像id', + 'description' => 'System image ID', + 'type' => 'string', + 'required' => false, + 'example' => 'i190297201634099844192', + ], + 'Nodes' => [ + 'title' => '节点列表', + 'description' => 'Node list', + 'type' => 'array', + 'items' => [ + 'description' => 'Node list', + 'type' => 'object', + 'properties' => [ + 'DataDisk' => [ + 'description' => 'Data disk specifications.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => [ + 'description' => 'Whether the data disk is deleted with the node when it is unsubscribed', + 'type' => 'boolean', + 'required' => false, + 'default' => 'True', + 'example' => 'true', + ], + 'Category' => [ + 'description' => 'Type', + 'type' => 'string', + 'required' => false, + 'example' => 'cloud_essd', + ], + 'Size' => [ + 'description' => 'Disk size', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'PerformanceLevel' => [ + 'description' => 'Data disk performance level', + 'type' => 'string', + 'required' => false, + 'example' => 'PL0', + ], + 'BurstingEnabled' => [ + 'type' => 'boolean', + ], + 'ProvisionedIops' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'VpcId' => [ + 'title' => 'dpu使用的虚拟网络id', + 'description' => 'VPC ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-0jlasms92fdxqd3wlf8ny', + ], + 'VSwitchId' => [ + 'title' => 'dpu使用的交换机id'."\n", + 'description' => 'VSwitch ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp169pi5fj151rrms4sia', + ], + 'NodeId' => [ + 'title' => '节点id', + 'description' => 'Node ID', + 'type' => 'string', + 'required' => false, + 'example' => 'e01poc-cn-i7m2wnivf0d', + ], + 'Hostname' => [ + 'title' => '主机名'."\n", + 'description' => 'Hostname'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '8d13b784-17a9-11ed-bc7b-acde48001122', + ], + 'LoginPassword' => [ + 'title' => '登录密码', + 'description' => 'Login password', + 'type' => 'string', + 'required' => false, + 'example' => '***', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'HyperNodes' => [ + 'title' => '节点列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DataDisk' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => [ + 'type' => 'boolean', + 'default' => 'True', + ], + 'Category' => [ + 'type' => 'string', + ], + 'Size' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PerformanceLevel' => [ + 'type' => 'string', + ], + 'BurstingEnabled' => [ + 'type' => 'boolean', + ], + 'ProvisionedIops' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + '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', + ], + ], + ], + ], + 'LoginPassword' => [ + 'title' => '节点组内的机器登录密码', + 'description' => 'Login password', + 'type' => 'string', + 'required' => false, + 'example' => 'Password', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组id', + 'description' => 'Resource group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2xdkc6icwfha', + ], + ], + [ + 'name' => 'Networks', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '网络信息', + 'description' => 'Network information', + 'type' => 'object', + 'properties' => [ + 'NewVpdInfo' => [ + 'description' => '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', + ], + 'VpdSubnets' => [ + 'title' => 'vpd子网信息', + 'description' => 'Cluster subnets', + 'type' => 'array', + 'items' => [ + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'VpdInfo' => [ + 'description' => 'Reuse VPD information', + 'type' => 'object', + 'properties' => [ + 'VpdId' => [ + 'description' => 'VPC ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vpd-vfuz6ejv', + ], + 'VpdSubnets' => [ + 'description' => 'List of cluster subnet IDs', + 'type' => 'array', + 'items' => [ + 'description' => 'Cluster subnet ID', + 'type' => 'string', + 'required' => false, + 'example' => 'subnet-jcloe1', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'IpAllocationPolicy' => [ + 'description' => 'IP allocation policy', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MachineTypePolicy' => [ + 'description' => 'Machine type allocation policy', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'MachineType' => [ + 'description' => 'Machine type', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga8n', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'BondPolicy' => [ + 'description' => 'Bond policy', + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'BondDefaultSubnet' => [ + 'description' => 'Default bond subnet for the cluster', + 'type' => 'string', + 'required' => false, + 'example' => '172.168.0.0/24', + ], + ], + 'required' => false, + ], + 'NodePolicy' => [ + 'description' => 'Node allocation policy', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + '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", + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'NodeId' => [ + 'description' => 'Node ID', + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-2r42vq62001', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + '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', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源标签', + 'description' => 'Resource tags', + 'type' => 'array', + 'items' => [ + 'description' => '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', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'Components', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '组件(软件实例)', + 'description' => 'Components (software instances)', + 'type' => 'array', + 'items' => [ + 'title' => '组件类型', + 'description' => 'Component type', + 'type' => 'object', + 'properties' => [ + 'ComponentType' => [ + 'title' => '组件类型: "ACKEdge"(ACK边缘集群)'."\n" + .'"ARMS"(ARMS监控)', + 'description' => 'Component type', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ARMS' => 'ARMS监控', + 'ACKEdge' => 'ACK边缘集群', + ], + 'example' => 'ACKEdge', + ], + 'ComponentConfig' => [ + 'title' => '组件配置', + 'description' => '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" + .'}', + ], + '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.', + '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" + .'}', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Cluster number', + 'type' => 'string', + 'required' => false, + 'example' => 'A1', + ], + ], + [ + 'name' => 'NimizVSwitches', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Node VSwitches', + 'type' => 'array', + 'items' => [ + 'description' => 'Node VSwitch ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-0jlx7dkziyhgf6klwnsi3', + ], + 'required' => false, + ], + ], + [ + 'name' => 'OpenEniJumboFrame', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Whether the network interface supports jumbo frames', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Response body 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', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + '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', + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群id', + 'description' => 'Cluster ID', + 'type' => 'string', + 'required' => false, + 'example' => 'i15b480fbd2fcdbc2869cd80', + ], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '节点组', + 'description' => 'Node Groups', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Nodes' => [ + 'title' => '节点列表。当Amount参数取值为1~500时,该参数失效。', + 'description' => 'List of Nodes', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Hostname' => [ + 'title' => '主机名', + 'description' => 'Hostname', + 'type' => 'string', + 'required' => false, + 'example' => 'd044d220-33fd-11ed-86a6', + ], + 'LoginPassword' => [ + 'title' => '登录密码'."\n", + 'description' => 'Login Password'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '***', + ], + 'NodeId' => [ + 'title' => '节点id', + 'description' => 'Node ID', + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-zvp2zdpy601', + ], + 'VpcId' => [ + 'description' => 'VPC ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-0jlasms92fdxqd3wlf8ny', + ], + 'VSwitchId' => [ + 'description' => 'VSwitch ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp169pi5fj151rrms4sia', + ], + 'DataDisk' => [ + 'description' => 'Data Disk Specifications', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => [ + 'description' => 'Whether the data disk is deleted with the node', + 'type' => 'boolean', + 'required' => false, + 'default' => 'True', + 'example' => 'true', + ], + 'Category' => [ + 'description' => 'Type', + 'type' => 'string', + 'required' => false, + 'example' => 'cloud_essd', + ], + 'Size' => [ + 'description' => 'Disk Size', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '80', + ], + 'PerformanceLevel' => [ + 'description' => 'Data Disk Performance Level', + 'type' => 'string', + 'required' => false, + 'example' => 'PL0', + ], + 'BurstingEnabled' => [ + 'type' => 'boolean', + ], + 'ProvisionedIops' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'HyperNodes' => [ + 'title' => '节点列表。当Amount参数取值为1~500时,该参数失效。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Hostname' => [ + 'title' => '主机名', + 'type' => 'string', + ], + 'LoginPassword' => [ + 'title' => '登录密码'."\n", + 'type' => 'string', + ], + 'HyperNodeId' => [ + 'title' => '节点id', + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchId' => [ + 'type' => 'string', + ], + 'DataDisk' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeleteWithNode' => [ + 'type' => 'boolean', + 'default' => 'True', + ], + 'Category' => [ + 'type' => 'string', + ], + 'Size' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PerformanceLevel' => [ + 'type' => 'string', + ], + 'BurstingEnabled' => [ + 'type' => 'boolean', + ], + 'ProvisionedIops' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + 'NodeGroupId' => [ + 'title' => '节点组id', + 'description' => 'Node Group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'i16d4883a46cbadeb4bc9', + ], + 'UserData' => [ + 'title' => '用户自定义脚本,命令', + 'description' => 'Custom Data', + 'type' => 'string', + 'required' => false, + 'example' => '#!/bin/sh'."\n" + .'echo "Hello World. The time is now $(date -R)!" | tee /root/userdata_test.txt', + ], + 'ZoneId' => [ + 'description' => 'Zone ID', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + 'Amount' => [ + 'title' => '购买节点的数量。取值范围:0~500。'."\n" + .'● 如果Amount参数取值为0,则表示不购买节点,使用已有节点进行扩容。'."\n" + .'● 如果Amount参数取值为1~500,则表示购买一定数量节点,并使用购买的节点进行扩容。'."\n" + .'默认值:0', + 'description' => 'Number of nodes to purchase. Range: 0~500. If the Amount parameter is set to 0, it means no new nodes will be purchased and existing nodes will be used for scaling. If the Amount parameter is set to 1~500, it means a certain number of nodes will be purchased and used for scaling. Default value: 0', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '4', + ], + 'ChargeType' => [ + 'title' => '节点的付费方式。当Amount参数取值为0时,该参数不生效。取值范围:'."\n" + .'● PrePaid:包年包月。'."\n" + .'● PostPaid:按量付费。'."\n" + .'默认值:PrePaid。', + 'description' => 'Payment method for the nodes. When the Amount parameter is set to 0, this parameter does not take effect. Valid values: PrePaid (Subscription); PostPaid (Pay-As-You-Go). Default value: PrePaid.', + 'type' => 'string', + 'required' => false, + 'example' => 'PostPaid', + ], + 'Period' => [ + 'title' => '购买节点的时长(单位:月)。取值范围:1、6、12、24、36、48。当Amount参数取值不为0且ChargeType取值为PrePaid时,该参数生效。', + 'description' => 'Duration of the node purchase (in months). Valid values: 1, 6, 12, 24, 36, 48. This parameter takes effect when the Amount parameter is not 0 and the ChargeType is set to PrePaid.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '6', + ], + 'AutoRenew' => [ + 'title' => '购买的节点是否要自动续费。当Amount参数取值不为0且ChargeType取值为PrePaid时,该参数生效。取值范围:'."\n" + .'● True:自动续费'."\n" + .'● False:不自动续费'."\n" + .'默认值:False', + 'description' => 'Whether to automatically renew the purchased nodes. This parameter takes effect when the Amount parameter is not 0 and the ChargeType is set to PrePaid. Valid values: True (auto-renewal); False (no auto-renewal). Default value: False', + 'type' => 'boolean', + 'required' => false, + 'example' => 'True', + ], + 'Hostnames' => [ + 'title' => '设置购买节点的主机名。当Amount参数取值为0时,该参数不生效。', + 'description' => 'Set the hostnames for the purchased nodes. This parameter does not take effect when the Amount parameter is set to 0.', + 'type' => 'array', + 'items' => [ + 'description' => 'Hostname.', + 'type' => 'string', + 'required' => false, + 'example' => 'i22c11282.eu95sqa', + ], + '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', + 'required' => false, + 'example' => 'False'."\n", + ], + ], + [ + 'name' => 'VpdSubnets', + '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, + ], + ], + [ + 'name' => 'IpAllocationPolicy', + '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', + 'type' => 'object', + 'properties' => [ + 'BondDefaultSubnet' => [ + 'description' => 'Default bond cluster subnet', + 'type' => 'string', + 'required' => false, + 'example' => 'subnet-3od2fe', + ], + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + 'description' => 'Bond object', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Bond name', + 'type' => 'string', + 'required' => false, + 'example' => 'Bond0', + ], + 'Subnet' => [ + 'description' => 'IP source cluster subnet', + 'type' => 'string', + 'required' => false, + 'example' => 'subnet-3od2fe'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'MachineTypePolicy' => [ + 'description' => 'Machine type allocation policy', + 'type' => 'array', + 'items' => [ + 'description' => 'Policy object', + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + 'description' => 'Bond object', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Bond name', + 'type' => 'string', + 'required' => false, + 'example' => 'Bond0', + ], + 'Subnet' => [ + 'description' => 'IP source cluster subnet', + 'type' => 'string', + 'required' => false, + 'example' => 'subnet-fdo3dv', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'MachineType' => [ + 'description' => 'Machine type', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'NodePolicy' => [ + 'description' => 'Node allocation policy', + 'type' => 'array', + 'items' => [ + 'description' => 'Policy object', + 'type' => 'object', + 'properties' => [ + 'Bonds' => [ + 'description' => 'Bond information', + 'type' => 'array', + 'items' => [ + 'description' => 'Bond object', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Bond name', + 'type' => 'string', + 'required' => false, + 'example' => 'Bond0', + ], + 'Subnet' => [ + 'description' => 'IP source cluster subnet', + 'type' => 'string', + 'required' => false, + 'example' => 'subnet-fdo3dv', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'NodeId' => [ + 'description' => 'Node ID', + 'type' => 'string', + 'required' => false, + 'example' => 'i-3fdodw2', + ], + 'Hostname' => [ + 'description' => 'Hostname', + 'type' => 'string', + 'required' => false, + 'example' => 'a100-xa5dza28-0085', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'VSwitchZoneId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VSwitch availability zone ID', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai-b', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"03668372-18FF-5959-98D9-6B36A4643C7A\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', + 'title' => 'Scale Out Cluster', + 'translator' => 'machine', + ], + 'ListClusters' => [ + 'summary' => 'Queries a list of clusters.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161259', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", + 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'a3f2224a5ec7224116c4f5246120abe4', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页查询时每页行数。最大值为100。'."\n" + ."\n" + .'默认值:'."\n" + ."\n" + .'•当不设置值或设置的值小于20时,默认值为20。'."\n" + ."\n" + .'•当设置的值大于100时,默认值为100。', + 'description' => 'The number of entries per page. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + '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' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1', + ], + 'Clusters' => [ + 'title' => '集群信息', + 'description' => 'The clusters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Components' => [ + 'title' => '组件信息'."\n", + 'description' => 'The component information.'."\n", + 'type' => 'any', + 'example' => '{}', + ], + 'ClusterId' => [ + 'title' => '集群id', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'i137590131672134915401', + ], + 'ClusterName' => [ + 'title' => '集群name', + 'description' => 'The cluster name.'."\n", + 'type' => 'string', + 'example' => 'cnp_test_cluster', + ], + 'OperatingState' => [ + 'title' => '集群状态', + 'description' => 'The cluster status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* running'."\n" + .'* expanding'."\n" + .'* shrinking'."\n" + .'* initializing'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'running' => '', + 'expanding' => '', + 'shrinking' => '', + 'initializing' => '', + ], + 'example' => 'initializing', + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => 'The job ID.'."\n", + 'type' => 'string', + 'example' => 'i156365121663149566024', + ], + 'ClusterType' => [ + 'title' => '集群类型', + 'description' => 'The cluster type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* AckEdgePro'."\n" + .'* ExclusiveBareCluster'."\n" + .'* Lite'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'AckEdgePro' => '', + 'ExclusiveBareCluster' => '', + 'Lite' => '', + ], + 'example' => 'AckEdgePro', + ], + 'NodeCount' => [ + 'title' => '节点数量', + 'description' => 'The number of nodes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'NodeGroupCount' => [ + 'title' => '节点组数量', + 'description' => 'The number of node groups.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The creation time.'."\n", + 'type' => 'string', + 'example' => '1672134938', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'The update time.'."\n", + 'type' => 'string', + 'example' => '1672134968', + ], + 'ClusterDescription' => [ + 'title' => '集群描述', + 'description' => 'The cluster description.'."\n", + 'type' => 'string', + 'example' => 'PPU-cluster2 bz', + ], + 'ResourceGroupId' => [ + 'title' => '资源组id', + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'example' => 'rg-aek2ajbjoloa23q', + ], + 'VpcId' => [ + 'description' => 'The virtual private cloud (VPC) ID.'."\n", + 'type' => 'string', + 'example' => 'vpc-0jlx4hol2bjboafzmffvd', + ], + 'HpnZone' => [ + 'description' => 'The cluster number.'."\n", + 'type' => 'string', + 'example' => 'B1', + ], + 'ComputingIpVersion' => [ + 'description' => 'The IP type of the computing network.'."\n", + 'type' => 'string', + 'example' => 'IPv4', + ], + 'Tags' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'aa_key', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'aa_value', + ], + ], + ], + ], + ], + ], + ], + 'NextToken' => [ + 'title' => '本次调用返回的查询凭证值。'."\n", + 'description' => 'The returned pagination token which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'f4f9a292c17072a2', + ], + ], + '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', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + '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', + 'required' => false, + 'example' => 'aa_value', + 'maxLength' => 129, + ], + ], + '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', + ], + ], + [ + 'name' => 'OperatingStates', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'repeatList', + 'schema' => [ + 'title' => '节点状态', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB', + ], + 'NextToken' => [ + 'title' => '本次调用返回的查询凭证值。'."\n", + 'description' => 'The returned pagination token which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR', + ], + 'Nodes' => [ + 'title' => '节点列表', + 'description' => 'The nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node.'."\n", + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The creation time.'."\n", + 'type' => 'string', + 'example' => '1642472468000'."\n", + ], + 'ExpiredTime' => [ + 'title' => '机器过期时间', + 'description' => 'The time when the node expires.'."\n", + 'type' => 'string', + 'example' => '1762185600000', + ], + 'Hostname' => [ + 'title' => '主机名', + 'description' => 'The hostname.'."\n", + 'type' => 'string', + 'example' => '72432f80-273e-11ed-b57a-acde48001122', + ], + 'ImageId' => [ + 'title' => '系统镜像id', + 'description' => 'The system image ID.'."\n", + 'type' => 'string', + 'example' => 'i190297201669099844192', + ], + 'MachineType' => [ + 'title' => '机型', + 'description' => 'The node type.'."\n", + 'type' => 'string', + 'example' => 'cn-wulanchabu-b11', + ], + 'NodeGroupId' => [ + 'title' => '节点组id'."\n", + 'description' => 'The node group ID.'."\n", + 'type' => 'string', + 'example' => 'ng-e9b74f4d450cf18d', + ], + 'NodeGroupName' => [ + 'title' => '节点组名称'."\n", + 'description' => 'The node group name.'."\n", + 'type' => 'string', + 'example' => 'emr_master', + ], + 'NodeId' => [ + 'title' => '节点id', + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'example' => 'e01-cn-2r42tmj4z02', + ], + 'Sn' => [ + 'title' => '机器sn', + 'description' => 'The serial number of the node.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'sn_tOuUk', + ], + 'ZoneId' => [ + 'title' => '可用区id', + 'description' => 'The zone ID.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou-b', + ], + 'Networks' => [ + 'title' => '', + 'description' => 'The network information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The network information.'."\n", + 'type' => 'object', + 'properties' => [ + 'BondName' => [ + 'description' => 'The name of the network port for the node.'."\n", + 'type' => 'string', + 'example' => 'bond0', + ], + 'Ip' => [ + 'description' => 'The IP address of the node in the virtual private cloud (VPC).'."\n", + 'type' => 'string', + 'example' => '192.168.22.2', + ], + 'SubnetId' => [ + 'description' => 'The subnet ID.'."\n", + 'type' => 'string', + 'example' => 'subnet-fwekrvg9', + ], + 'VpdId' => [ + 'description' => 'The VPC ID.'."\n", + 'type' => 'string', + 'example' => 'vpd-eoiy88ju', + ], + ], + ], + ], + 'HpnZone' => [ + 'description' => 'The cluster number.'."\n", + 'type' => 'string', + 'example' => 'A1', + ], + 'VpcId' => [ + 'title' => '专有网络ID', + 'description' => 'The VPC ID.'."\n", + 'type' => 'string', + 'example' => 'vpc-0jltf9vinjz3if3lltdy7', + ], + 'VSwitchId' => [ + 'title' => '专有网络交换机ID', + 'description' => 'The vSwitch ID.'."\n", + 'type' => 'string', + 'example' => 'vsw-bp1mxqhw8o20tgv3xk47h', + ], + 'OperatingState' => [ + 'title' => '节点状态', + 'description' => 'The node status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Extending'."\n" + .'* UnusedNodeStopped'."\n" + .'* UnusedNodeStopping'."\n" + .'* Unused'."\n" + .'* Using'."\n" + .'* ReleaseLocking'."\n" + .'* Operating'."\n" + .'* Cutting'."\n" + .'* ClusterNodeStopped'."\n" + .'* UnusedNodeRecovering'."\n" + .'* ClusterNodeStopping'."\n" + .'* ClusterNodeRecovering'."\n" + .'* Replacing'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Extending' => '', + 'UnusedNodeStopped' => '', + 'UnusedNodeStopping' => '', + 'Unused' => '', + 'Using' => '', + 'ReleaseLocking' => '', + 'Operating' => '', + 'Cutting' => '', + 'ClusterNodeStopped' => '', + 'UnusedNodeRecovering' => '', + 'ClusterNodeStopping' => '', + 'ClusterNodeRecovering' => '', + 'Replacing' => '', + ], + 'example' => 'Extending', + ], + 'Tags' => [ + 'title' => '标签信息', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'aa_key', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'aa_value', + ], + ], + ], + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => 'The job ID.'."\n", + 'type' => 'string', + 'example' => 'i28ddkdkkdkdd', + ], + 'CommodityCode' => [ + 'title' => '商品码', + 'description' => 'The commodity code.'."\n", + 'type' => 'string', + 'example' => 'bcccluster', + ], + 'ImageName' => [ + 'title' => '镜像名称', + 'description' => 'The image name.'."\n", + 'type' => 'string', + 'example' => 'Alinux3_x86_AMD_R_Host_D3_E3_24.13.00_UEFI_N_250121', + ], + 'FileSystemMountEnabled' => [ + 'title' => '是否支持文件存储挂载', + 'description' => 'Indicates whether file storage mounting is supported.'."\n", + 'type' => 'boolean', + 'example' => 'False', + ], + 'HyperNodeId' => [ + 'title' => '超节点ID', + 'type' => 'string', + 'example' => 'e01-cn-2r42tmj4z02', + ], + 'NodeType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + ], + [ + 'name' => 'NodeGroups', + '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, + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroup', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Node ID.', + 'type' => 'object', + 'properties' => [ + 'Az' => [ + 'description' => 'Availability Zone', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-wulanchabu-b', + ], + 'NodeGroupDescription' => [ + 'description' => 'Node group description', + 'type' => 'string', + 'required' => false, + 'example' => 'describe for node group', + ], + 'NodeGroupName' => [ + 'description' => 'Node group name', + 'type' => 'string', + 'required' => true, + 'example' => 'PAI-LINGJUN', + ], + 'MachineType' => [ + 'description' => 'Machine type', + 'type' => 'string', + 'required' => true, + 'example' => 'mock-machine-type3', + ], + 'ImageId' => [ + 'description' => 'Image ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'i191887641687336652616', + ], + 'UserData' => [ + 'title' => '用户自定义脚本', + 'description' => 'User-defined data', + 'type' => 'string', + 'required' => false, + 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', + ], + 'SystemDisk' => [ + 'description' => 'Details of the node system disk configuration.', + 'type' => 'object', + 'properties' => [ + 'Size' => [ + 'description' => 'Unit: GB.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1000', + ], + 'PerformanceLevel' => [ + 'description' => 'When creating an ESSD cloud disk as a system disk, set the performance level of the cloud disk. Value range:'."\n" + .'- PL0: Maximum random read/write IOPS per disk 10,000.'."\n" + .'- PL1: Maximum random read/write IOPS per disk 50,000.', + 'type' => 'string', + 'required' => false, + 'example' => 'PL1', + ], + 'Category' => [ + 'description' => 'Disk type. Value range:'."\n" + ."\n" + .' - cloud_essd: ESSD cloud disk.', + 'type' => 'string', + 'required' => false, + 'example' => 'clou_essd', + ], + ], + 'required' => false, + ], + 'FileSystemMountEnabled' => [ + 'title' => '是否支持文件存储挂载', + 'description' => 'Whether file storage mounting is supported', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + 'VirtualGpuEnabled' => [ + 'title' => '是否支持GPU虚拟化切分', + 'description' => 'Whether to enable gpu virtualization or not', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + 'KeyPairName' => [ + 'description' => 'Key pair name.', + 'type' => 'string', + 'required' => false, + 'example' => 'test-keypair', + ], + 'LoginPassword' => [ + 'title' => '节点组内机器的登录密码', + 'description' => 'Password', + 'type' => 'string', + 'required' => false, + 'example' => 'test-LoginPassword', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Cluster ID', + 'type' => 'string', + 'required' => true, + 'example' => 'i118191731740041623425', + ], + ], + [ + 'name' => 'NodeUnit', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Node information', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'any', + 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', + 'description' => 'Node Information', + ], + 'example' => '{\\"NodeUnitId\\":\\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\\",\\"ResourceGroupId\\":\\"\\",\\"MaxNodes\\":0,\\"NodeUnitName\\":\\"asi_cn-serverless-sale_e01-lingjun-psale\\"}', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Node group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'i120021051733814190732', + ], + ], + [ + 'name' => 'NewNodeGroupName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Node group name', + 'type' => 'string', + 'required' => false, + 'example' => 'test-update', + ], + ], + [ + 'name' => 'UserData', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户自定义脚本', + 'description' => 'User-defined script', + 'type' => 'string', + 'required' => false, + 'example' => '#!/bin/bash'."\n" + .'uptime'."\n" + .'echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh', + ], + ], + [ + 'name' => 'FileSystemMountEnabled', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Whether file storage mounting is supported', + 'type' => 'boolean', + 'required' => false, + 'example' => 'True', + ], + ], + [ + 'name' => 'KeyPairName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Key pair name.', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点组的默认镜像id,如果不设置,那么就不会改变。', + 'description' => 'The default image ID of the node group. If not set, it will not change.', + 'type' => 'string', + 'required' => false, + 'example' => 'i1232142432432', + ], + ], + [ + 'name' => 'LoginPassword', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点组内机器的登录密码', + 'description' => 'Login password for machines within the node group', + 'type' => 'string', + 'required' => false, + 'example' => 'LoginPassword', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + ], + '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' => false, + 'example' => 'i114444141733395242745', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The node group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i121824791737080429819', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '887FA855-89F4-5DB3-B305-C5879EC480E6', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\"\\n}","type":"json"}]', + 'title' => 'Delete Node Group', + 'translator' => 'machine', + ], + 'ListNodeGroups' => [ + 'summary' => 'Queries node groups in a cluster.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"NextToken\\": \\"563d42ae0b17572449ec8c97f7f66069\\",\\n \\"Groups\\": [\\n {\\n \\"GroupName\\": \\"backend-group\\",\\n \\"Description\\": \\"created by ga2_prepare\\",\\n \\"NodeCount\\": 2,\\n \\"ZoneId\\": \\"cn-shenzhen-c\\",\\n \\"ClusterId\\": \\"i113952461729854708648\\",\\n \\"VirtualGpuEnabled\\": false,\\n \\"CreateTime\\": \\"2024-02-27T13:16:31.599\\",\\n \\"MachineType\\": \\"efg1.nvga1n\\",\\n \\"GroupId\\": \\"238276221\\",\\n \\"ImageName\\": \\"CentOS_7.9_x86_64_FULL_20221110\\",\\n \\"FileSystemMountEnabled\\": true,\\n \\"ImageId\\": \\"i194015071707321240258\\",\\n \\"UpdateTime\\": \\"2023-09-22T00:03:05.114\\",\\n \\"ClusterName\\": \\"wzq-exclusivelite-71\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListNodeGroups', + 'translator' => 'machine', + ], + 'DeleteNode' => [ + 'summary' => '删除一个未使用节点', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + '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****', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'mock-sn-2060', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC4F0004-7BCE-52E0-891B-CAC7D64E3368\\",\\n \\"NodeGroupName\\": \\"emr-default\\",\\n \\"ClusterId\\": \\"i116913051662373010974\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"CreateTime\\": \\"2022-09-30T03:35:53Z\\",\\n \\"NodeGroupId\\": \\"ng-ec3c96ff0aa4c60d\\",\\n \\"Hostname\\": \\"31d38530-241e-11ed-bc63-acde48001122\\",\\n \\"ImageId\\": \\"i190297201634099844192\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"NodeId\\": \\"e01-cn-zvp2tgykr08\\",\\n \\"Sn\\": \\"sag42ckf4jx\\",\\n \\"OperatingState\\": \\"Using\\",\\n \\"ExpiredTime\\": \\"2022-06-23T16:00:00Z\\",\\n \\"Networks\\": [\\n {\\n \\"BondName\\": \\"Bond0\\",\\n \\"Ip\\": \\"47.254.235.44\\",\\n \\"SubnetId\\": \\"vsw-uf68v51fldm5egmui5a6k\\",\\n \\"VpdId\\": \\"vpd-xcuhjyrj\\"\\n }\\n ],\\n \\"ImageName\\": \\"Centos7.9_all_0811\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmywpvugkh7kq\\",\\n \\"UserData\\": \\"#!/bin/bash\\\\nuptime\\\\necho \\\\\\"aaaaaaa\\\\\\" >> /tmp/ttttt20250110141010.sh\\",\\n \\"Disks\\": [\\n {\\n \\"DiskId\\": \\"d-2zeap7wkns2tdmbr11se\\",\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 100,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Type\\": \\"system\\"\\n }\\n ],\\n \\"FileSystemMountEnabled\\": true,\\n \\"NodeType\\": \\"standard\\",\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n}","type":"json"}]', + 'title' => 'DescribeNode', + 'translator' => 'machine', + ], + 'ListFreeNodes' => [ + 'summary' => 'Queries a list of nodes that are not used.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", + 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'a3f2224a5ec7224116c4f5246120abe4', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页查询时每页行数。最大值为100。'."\n" + ."\n" + .'默认值:'."\n" + ."\n" + .'•当不设置值或设置的值小于20时,默认值为20。'."\n" + ."\n" + .'•当设置的值大于100时,默认值为100。', + 'description' => 'The number of entries per page. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'MachineType', + 'in' => 'formData', + 'schema' => [ + 'title' => '机型', + 'description' => 'The instance type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'mock-machine-type2', + ], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The cluster number.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'A1', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmxno4vh5muoq', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签信息', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key_aa', + 'maxLength' => 129, + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value_aa', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'OperatingStates', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + 'type' => 'string', + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA14CB86-70C4-5CB7-9E7B-6CCA77F3512B\\",\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"CreateTime\\": \\"1652321554\\",\\n \\"NodeId\\": \\"e01-cn-7pp2x193801\\",\\n \\"MachineType\\": \\"efg1.nvga1\\",\\n \\"Sn\\": \\"sn_pozkHBgicd\\",\\n \\"ExpiredTime\\": \\"1673107200\\",\\n \\"HpnZone\\": \\"A1\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkkbrpl4owgy\\",\\n \\"OperatingState\\": \\"Extending\\",\\n \\"CommodityCode\\": \\"bccluster_eflocomputing_public_cn\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"alarm_xdc\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"HyperNodeId\\": \\"e01-cn-zvp2tgykr08\\"\\n }\\n ],\\n \\"NextToken\\": \\"a3f2224a5ec7224116c4f5246120abe4\\"\\n}","type":"json"}]', + 'title' => 'ListFreeNodes', + 'translator' => 'machine', + ], + 'RebootNodes' => [ + 'summary' => 'Restarts nodes.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '161357', + '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', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否允许跳过失败节点,默认值为Flase', + 'description' => 'Specifies whether to allow skipping failed nodes. Default value: False.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'False', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4FD06DF0-9167-5C6F-A145-F30CA4A15D54', + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => 'The job ID.'."\n", + 'type' => 'string', + 'example' => 'i158475611663639202234', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"TaskId\\": \\"i158475611663639202234\\"\\n}","type":"json"}]', + 'title' => 'RebootNodes', + 'translator' => 'machine', + ], + 'ReimageNodes' => [ + 'summary' => 'Reinstall a node.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '162088', + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + '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' => 'The client token that is used to ensure the idempotence of the request.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '123e4567-e89b-12d3-a456-426655440000', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点Id', + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + [ + 'name' => 'VscType', + 'in' => 'formData', + 'schema' => [ + 'title' => '设置VSC类型,primary/secondary,默认值为primary', + 'description' => 'The VSC type. Valid values: primary and standard. Default value: primary.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'standard' => 'standard', + 'primary' => 'primary', + ], + 'example' => 'primary', + ], + ], + [ + 'name' => 'VscName', + 'in' => 'formData', + 'schema' => [ + 'title' => 'vscId用户自定义名称,单计算节点上唯一', + 'description' => 'The custom name of the VSC, which is unique on a compute node.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test_name', + ], + ], + [ + 'name' => 'Tag', + '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, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组Id', + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2xdkc6icwfha', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"VscId\\": \\"vsc-001\\"\\n}","type":"json"}]', + 'title' => 'CreateVsc', + 'translator' => 'machine', + ], + 'DescribeVsc' => [ + 'summary' => 'Queries information about a virtual storage channel (VSC).', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterYMLW2J', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'VscId', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要查询的VscId', + 'description' => 'The VSC ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'vsc-001', + ], + ], + ], + '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', + ], + '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', + ], + 'ResourceGroupId' => [ + 'title' => '资源组Id', + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'example' => 'rg-aek2k3rqlvv6ytq', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FD06DF0-9167-5C6F-A145-F30CA4A15D54\\",\\n \\"VscId\\": \\"vsc-001\\",\\n \\"VscType\\": \\"primary\\",\\n \\"VscName\\": \\"test_name\\",\\n \\"NodeId\\": \\"e01-cn-kvw44e6dn04\\",\\n \\"Status\\": \\"Normal\\",\\n \\"ResourceGroupId\\": \\"rg-aek2k3rqlvv6ytq\\"\\n}","type":"json"}]', + 'title' => 'DescribeVsc', + 'translator' => 'machine', + ], + 'DeleteVsc' => [ + 'summary' => 'Deletes a virtual storage channel (VSC).', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterYMLW2J', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '幂等参数', + 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '123e4567-e89b-12d3-a456-426655440000', + ], + ], + [ + 'name' => 'VscId', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要删除的VscId', + 'description' => 'The ID of the VSC that you want to delete.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'vsc-001', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterYMLW2J', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + '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', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组Id', + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2xdkc6icwfha', + ], + ], + ], + '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', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => 'No response is returned. The TotalCount parameter is used.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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\\": \\"81F648D0-5570-5351-AE98-6F501C7E957F\\"\\n}","type":"json"}]', + 'title' => 'UntagResources', + 'translator' => 'machine', + ], + 'TagResources' => [ + 'summary' => 'Tags resources.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'The resource type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Node'."\n" + .'* Vcc'."\n" + .'* Cluster'."\n" + .'* Vpd'."\n" + .'* Subnet'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Node' => '', + 'Vcc' => '', + 'Cluster' => '', + 'Vpd' => '', + 'Subnet' => '', + ], + 'example' => 'Cluster', + ], + ], + [ + 'name' => '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", + '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, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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\\": \\"E7BB53E1-0B08-5C4E-BA66-9225548C3151\\"\\n}","type":"json"}]', + 'title' => 'TagResources', + 'translator' => 'machine', + ], + 'ListTagResources' => [ + 'summary' => 'Queries the tags of resources.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => 'The resource type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Node'."\n" + .'* Vcc'."\n" + .'* Cluster'."\n" + .'* Subnet'."\n" + .'* Vpd'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Node' => '', + 'Vcc' => '', + 'Cluster' => '', + 'Subnet' => '', + 'Vpd ' => '', + ], + 'example' => 'Node', + ], + ], + [ + 'name' => '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' => '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=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '8F208B6D-4C42-5FD3-B6BE-E826E92A44DD', + ], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'env', + 'title' => '标签键。', + ], + 'TagValue' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'dev'."\n", + 'title' => '标签值。', + ], + 'ResourceId' => [ + 'description' => 'The resource ID.'."\n", + 'type' => 'string', + 'example' => 'i15azeddnvf7uhw2oij57o0', + ], + 'ResourceType' => [ + 'description' => 'The resource type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Node'."\n" + .'* Cluster'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Node' => '', + 'Cluster' => '', + ], + 'example' => 'Cluster'."\n", + ], + ], + 'description' => '', + 'title' => '标签对象', + ], + 'title' => '由资源及其标签组成的集合,包含了资源 ID、资源类型和标签键值等信息。', + ], + ], + ], + 'NextToken' => [ + 'description' => 'The token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAdQ3Z+oPlg49gsr2y8jb6wY=', + ], + ], + ], + ], + ], + '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', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + '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' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161255', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务id', + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'i156331731670384438138', + ], + ], + ], + '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', + ], + 'ClusterId' => [ + 'title' => '集群id', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'i119982311660892626523', + ], + 'ClusterName' => [ + 'title' => '集群名称', + 'description' => 'The cluster name.'."\n", + 'type' => 'string', + 'example' => 'Standard_Cluster', + ], + 'TaskState' => [ + 'title' => '任务状态:waiting_to_run(等待执行),running(执行),execution_fail(执行失败),execution_success(执行成功)', + 'description' => 'The task status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* running'."\n" + .'* execution_success'."\n" + .'* execution_fail'."\n" + .'* waiting_to_run'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'running' => '', + 'execution_success' => '', + 'execution_fail' => '', + 'waiting_to_run' => '', + ], + 'example' => 'running', + ], + 'TaskType' => [ + 'title' => '任务类型', + 'description' => 'The task type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* reclone_node_sub_task'."\n" + .'* initialize_bare_cluster'."\n" + .'* extend_bare_cluster'."\n" + .'* reclone_node'."\n" + .'* reboot_node'."\n" + .'* extend_ack_edge_cluster'."\n" + .'* extend_cluster'."\n" + .'* initialize_ack_edge_cluster'."\n" + .'* cut_node_sub_task'."\n" + .'* reboot_node_sub_task'."\n" + .'* reclone_ack_edge_node'."\n" + .'* initialize_cluster'."\n" + .'* cut_cluster'."\n" + .'* reclone_bare_node'."\n" + .'* cut_bare_cluster'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'reclone_node_sub_task' => '', + 'initialize_bare_cluster' => '', + 'extend_bare_cluster' => '', + 'reclone_node' => '', + 'reboot_node' => '', + 'extend_ack_edge_cluster' => '', + 'extend_cluster' => '', + 'initialize_ack_edge_cluster' => '', + 'cut_node_sub_task' => '', + 'reboot_node_sub_task' => '', + 'reclone_ack_edge_node' => '', + 'initialize_cluster' => '', + 'cut_cluster' => '', + 'reclone_bare_node' => '', + 'cut_bare_cluster' => '', + ], + 'example' => 'cut_cluster', + ], + 'Message' => [ + 'title' => '任务失败信息', + 'description' => 'The error message returned for failed tasks.'."\n", + 'type' => 'string', + 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]', + ], + 'Steps' => [ + 'title' => '执行步骤', + 'description' => 'The steps.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StepName' => [ + 'title' => '步骤名称', + 'description' => 'The name of the step.'."\n", + 'type' => 'string', + 'example' => 'create_vpd', + ], + 'StepState' => [ + 'title' => '步骤执行状态', + 'description' => 'The step status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* execution_success'."\n" + .'* execution_failed'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'execution_success' => '', + 'execution_failed' => '', + ], + 'example' => 'execution_success', + ], + 'StepType' => [ + 'title' => '步骤类型', + 'description' => 'The type of the step.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* normal: A normal step has only one successor step.'."\n" + .'* dispersive: A dispersive step has multiple successor steps.'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'normal' => '', + 'dispersive' => '', + ], + 'example' => 'normal', + ], + 'SubTasks' => [ + 'title' => '子任务', + 'description' => 'The sub tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务id', + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'example' => 'i158805051661047928377', + ], + 'TaskType' => [ + 'title' => '任务类型', + 'description' => 'The task type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* reclone_node_sub_task'."\n" + .'* initialize_bare_cluster'."\n" + .'* extend_bare_cluster'."\n" + .'* reclone_node'."\n" + .'* reboot_node'."\n" + .'* extend_ack_edge_cluster'."\n" + .'* extend_cluster'."\n" + .'* initialize_ack_edge_cluster'."\n" + .'* cut_node_sub_task'."\n" + .'* reboot_node_sub_task'."\n" + .'* reclone_ack_edge_node'."\n" + .'* initialize_cluster'."\n" + .'* cut_cluster'."\n" + .'* reclone_bare_node'."\n" + .'* cut_bare_cluster'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'reclone_node_sub_task' => '', + 'initialize_bare_cluster' => '', + 'extend_bare_cluster' => '', + 'reclone_node' => '', + 'reboot_node' => '', + 'extend_ack_edge_cluster' => '', + 'extend_cluster' => '', + 'initialize_ack_edge_cluster' => '', + 'cut_node_sub_task' => '', + 'reboot_node_sub_task' => '', + 'reclone_ack_edge_node' => '', + 'initialize_cluster' => '', + 'cut_cluster' => '', + 'reclone_bare_node' => '', + 'cut_bare_cluster' => '', + ], + 'example' => 'cut_node_sub_task', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The creation time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T2:00:00.852Z', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'The update time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T02:20:14.852Z', + ], + 'Message' => [ + 'title' => '子任务失败信息', + 'description' => 'The error message returned for failed sub tasks.'."\n", + 'type' => 'string', + 'example' => 'Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]', + ], + 'TaskState' => [ + 'title' => '任务执行状态', + 'description' => 'The task status.'."\n", + 'type' => 'string', + 'example' => 'running', + ], + ], + 'description' => '', + ], + ], + 'StageTag' => [ + 'title' => '阶段标记', + 'description' => 'The stage marker.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* 机器释放: Machine release.'."\n" + .'* 节点并发初始化: Node concurrent initialization.'."\n" + .'* 节点释放: Node release.'."\n" + .'* 机器替换: Machine replacement.'."\n" + .'* 节点缩容: Node scale-in.'."\n" + .'* 提前续费: Early renewal.'."\n" + .'* 物理机清理: Physical machine cleanup.'."\n" + .'* 节点清理: Node cleanup.'."\n" + .'* 创建K8s集群: Create Kubernetes cluster.'."\n" + .'* 网络初始化: Network initialization.'."\n" + .'* 节点重启: Node restart.'."\n" + .'* 节点退订: Node unsubscribe.'."\n" + .'* 集群扩容: Cluster scale-out.'."\n" + .'* 异常机器释放: Abnormal machine release.', + 'type' => 'string', + 'enumValueTitles' => [ + '机器释放' => '', + '节点并发初始化' => '', + '节点释放' => '', + '机器替换' => '', + '节点缩容' => '', + '提前续费' => '', + '物理机清理' => '', + '节点清理' => '', + '创建K8s集群' => '', + '网络初始化' => '', + '节点重启' => '', + '节点退订' => '', + '集群扩容' => '', + '异常机器释放' => '', + ], + 'example' => '节点缩容', + ], + 'Message' => [ + 'title' => '步骤失败信息', + 'description' => 'The error message of the step.'."\n", + 'type' => 'string', + 'example' => 'get taskinfo failed', + ], + 'StartTime' => [ + 'title' => '开始时间', + 'description' => 'The start time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T2:00:00.852Z', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'The update time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T02:20:14.852Z', + ], + ], + 'description' => '', + ], + ], + 'CreateTime' => [ + 'title' => '开始时间', + 'description' => 'The create time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T02:00:00.852Z', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => 'The update time.'."\n", + 'type' => 'string', + 'example' => '2022-11-30T03:40:14.852Z', + ], + 'NodeIds' => [ + 'title' => '节点ID列表', + 'description' => 'The IDs of the nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A node ID.'."\n", + 'type' => 'string', + 'example' => '[\'mock-sn-200101\']', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7FD7411-9395-52E8-AF42-EB3A4A55446D\\",\\n \\"ClusterId\\": \\"i119982311660892626523\\",\\n \\"ClusterName\\": \\"Standard_Cluster\\",\\n \\"TaskState\\": \\"running\\",\\n \\"TaskType\\": \\"cut_cluster\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"Steps\\": [\\n {\\n \\"StepName\\": \\"create_vpd\\",\\n \\"StepState\\": \\"execution_success\\",\\n \\"StepType\\": \\"normal\\",\\n \\"SubTasks\\": [\\n {\\n \\"TaskId\\": \\"i158805051661047928377\\",\\n \\"TaskType\\": \\"cut_node_sub_task\\",\\n \\"CreateTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\",\\n \\"Message\\": \\"Releasing [prod_main_mid_26e234cf] in region [cn-beijing] with weight [0]\\",\\n \\"TaskState\\": \\"running\\"\\n }\\n ],\\n \\"StageTag\\": \\"节点缩容\\",\\n \\"Message\\": \\"get taskinfo failed\\",\\n \\"StartTime\\": \\"2022-11-30T2:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T02:20:14.852Z\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-11-30T02:00:00.852Z\\",\\n \\"UpdateTime\\": \\"2022-11-30T03:40:14.852Z\\",\\n \\"NodeIds\\": [\\n \\"[\'mock-sn-200101\']\\"\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeTask', + 'translator' => 'machine', + ], + 'DescribeRegions' => [ + 'summary' => 'Queries a list of regions.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161612', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + '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' => '', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterTOL3OM', + ], + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求 ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '8F065DDD-6996-5973-9691-9EC57BD0072E', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NoPermission.ChangeResourceGroup', + 'errorMessage' => 'You are not authorized to change resourcegroup', + ], + [ + 'errorCode' => 'MissingParameter.ResourceRegionId', + 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'MissingParameter.ResourceId', + 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'MissingParameter.ResourceGroupId', + 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', + ], + [ + 'errorCode' => 'InvalidResourceGroup', + 'errorMessage' => 'The specified ResourceGroupId is invalid', + ], + [ + 'errorCode' => 'SystemError', + 'errorMessage' => 'A system error occurred while processing your request', + ], + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => ' The specified resource is not found', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\"\\n}","type":"json"}]', + 'title' => 'ChangeResourceGroup', + 'translator' => 'machine', + ], + 'ApproveOperation' => [ + 'summary' => 'Approves an O\\\\\\&M operation.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '196045', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F065DDD-6996-5973-9691-9EC57BD0072E\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', + 'title' => 'ApproveOperation', + 'translator' => 'machine', + ], + 'StopInvocation' => [ + 'summary' => 'Stops the O\\\\\\&M assistant command execution.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '202206', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InvokeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The execution ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'f-hz044748dzepds0', + ], + ], + [ + 'name' => 'NodeIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The nodes.'."\n", + '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' => '', + ], + ], + ], + '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', + ], + ], + [ + 'name' => 'ContentEncoding', + 'in' => 'formData', + 'schema' => [ + 'title' => '命令内容(CommandContent)的编码方式。取值范围(不区分大小写):'."\n" + ."\n" + .'PlainText:不编码,采用明文传输。'."\n" + .'Base64:Base64 编码。'."\n" + .'默认值:PlainText,乱填或错填该取值会当作 PlainText 处理。', + 'description' => 'The encoding mode of the command content. Valid values:'."\n" + ."\n" + .'* PlainText'."\n" + .'* Base64'."\n" + ."\n" + .'Default value: PlainText. If the specified value of this parameter is invalid, PlainText is used by default.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Base64', + ], + ], + [ + 'name' => 'Username', + 'in' => 'formData', + 'schema' => [ + 'title' => '在灵骏节点中执行命令的用户名称。长度不得超过 255 个字符。', + 'description' => 'The username that you use to run the command. The name can be up to 255 characters in length. For Linux instances, the root user is used by default.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'root', + ], + ], + [ + 'name' => 'NodeIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '灵骏节点id', + 'description' => 'The node list.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '"i-bp185dy2o3o6neg****"', + ], + 'required' => false, + ], + ], + [ + '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', + 'in' => 'formData', + 'schema' => [ + 'title' => '脚本执行的引导程序。长度不能超过 1 KB。', + 'description' => 'The launcher for script execution. Cannot exceed 1 KB.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'python3 -u {{ACS::ScriptFileName|Ext(".py")}}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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*', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + '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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + '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" + ."\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" + ."\n" + .'* Failed:'."\n" + ."\n" + .' * Scheduled task: The overall execution state can never be Failed.'."\n" + .' * One-time task: The execution failed on all instances.'."\n" + ."\n" + .'* Stopped: The task is stopped.'."\n" + ."\n" + .'* Stopping: The task is being stopped.'."\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' => '', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '202212', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InvokeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The command execution ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 't-bj038i0d6r8zoqo', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + ], + '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' => '', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '202211', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + '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', + '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', + ], + ], + [ + 'name' => 'Content', + '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', + ], + ], + [ + 'name' => 'FileMode', + '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', + ], + ], + [ + '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', + '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', + ], + ], + [ + 'name' => 'NodeIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + '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\']', + ], + 'required' => true, + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'title' => '机型名', + 'description' => 'The name of the instance type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + 'type' => 'array', + 'items' => [ + '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", + 'type' => 'string', + 'example' => '10', + ], + 'Type' => [ + 'description' => 'The access type.'."\n", + 'type' => 'string', + 'example' => 'Public', + ], + 'BondNum' => [ + 'description' => 'The number of bonds.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'TotalCpuCore' => [ + 'description' => 'The number of vCPUs.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '48', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '188554', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i118913031696573280136', + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => 'The IDs of the nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '[\'mock-sn-200101\']', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DiagnosticType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The diagnostics type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CheckByAiJobLogs', + ], + ], + [ + 'name' => 'AiJobLogInfo', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The log information.'."\n", + 'type' => 'object', + 'properties' => [ + 'AiJobLogs' => [ + 'description' => 'The task logs.'."\n", + 'type' => 'array', + 'items' => [ + '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', + ], + ], + 'required' => false, + 'description' => '', + ], + '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', + ], + ], + 'required' => false, + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A511C02A-0127-51AA-A9F9-966382C9A1B5\\",\\n \\"DiagnosticId\\": \\"diag-i150553931717380274931\\"\\n}","type":"json"}]', + 'title' => 'CreateDiagnosticTask', + 'translator' => 'machine', + ], + 'StopNodes' => [ + 'summary' => 'Stops nodes.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '229860', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Nodes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '节点列表', + 'description' => 'The nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the node.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]', + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '189004', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ImageVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '镜像版本', + 'description' => 'The image version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '7.9', + ], + ], + [ + 'name' => 'Architecture', + 'in' => 'formData', + 'schema' => [ + 'title' => '架构', + 'description' => 'The architecture.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'x86_64', + ], + ], + [ + 'name' => 'Platform', + 'in' => 'formData', + 'schema' => [ + 'title' => '平台', + 'description' => 'The platform.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ALinux3', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + 'type' => 'array', + 'items' => [ + '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', + 'title' => '', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '188556', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DiagnosticId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The diagnostic task ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'diag-i151942361720577788844', + ], + ], + ], + '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' => '', + ], + ], + ], + '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' => [], + ], + ], + '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', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The session ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i207023871669364793713', + ], + ], + ], + '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' => '', + ], + ], + ], + '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' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-kvw44e6dn04', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The start time. The value is a 13-digit timestamp.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1669340937156', + ], + ], + [ + 'name' => 'SessionType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the session corresponding to the session package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Valid values: Sol (default): based on serial port Assistant: based on cloud assistant'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220480', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NetTestType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the network test. Valid values: DelayTest, TrafficTest, and CommTest.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DelayTest', + ], + ], + [ + 'name' => 'Port', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The port number.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '23604', + ], + ], + [ + 'name' => 'TrafficTest', + 'in' => 'formData', + 'style' => 'json', + '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", + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'DelayTest', + '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, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'CommTest', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Specify when NetTestType is CommTest.'."\n", + '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", + 'type' => 'array', + 'items' => [ + 'description' => 'A host ID.'."\n", + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + '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', + ], + ], + ], + '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' => '', + ], + ], + ], + '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', + ], + 'ListUserClusterTypes' => [ + 'summary' => 'Query the cluster types available to the user', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220490', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + '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", + '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', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'ListNetTestResults' => [ + 'summary' => 'Lists the results of network test results.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220488', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'NetTestType', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组id', + 'description' => 'The type of the network test.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DelayTest', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmxno4vh5muoq', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '3C683243-7915-57FB-9570-A2932C1C0F78', + ], + 'NetTestResults' => [ + 'title' => '节点列表', + 'description' => 'The results.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A result.'."\n", + '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', + ], + 'TrafficTest' => [ + 'description' => 'Returned when NetTestType is TrafficTest.'."\n", + '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', + ], + 'Clients' => [ + 'description' => 'The clients.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A client.'."\n", + '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', + ], + ], + ], + ], + 'Servers' => [ + 'description' => 'If the TrafficModel is Fullmesh, this parameter is empty.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'If the TrafficModel is Fullmesh, this parameter is empty.'."\n", + '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', + ], + ], + ], + ], + ], + ], + 'DelayTest' => [ + 'description' => 'Returned when NetTestType is DelayTest.'."\n", + 'type' => 'object', + 'properties' => [ + 'Hosts' => [ + 'description' => 'The hosts.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A host.'."\n", + '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', + ], + ], + ], + ], + ], + ], + 'CommTest' => [ + 'description' => 'Returned 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' => 'AllToAll', + ], + 'GPUNum' => [ + 'description' => 'The number of GPUs.'."\n", + 'type' => 'string', + 'example' => '4', + ], + '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', + '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', + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220474', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + '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', + ], + ], + [ + 'name' => 'MaxResults', + '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', + ], + ], + [ + 'name' => 'DiagType', + 'in' => 'formData', + 'schema' => [ + 'title' => '诊断类型', + 'description' => 'Type of diagnosis, indicating which diagnostic rules are hit.', + 'type' => 'string', + 'required' => false, + 'example' => 'NetDiag', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmywpvugkh7kq', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220510', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TestId', + '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*****', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + 'ClusterId' => [ + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'i119982311660892626523', + ], + 'ClusterName' => [ + 'description' => 'The cluster name.'."\n", + 'type' => 'string', + 'example' => 'Standard_Cluster', + ], + ], + 'description' => '', + ], + ], + ], + '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', + ], + 'security' => [ + [ + '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' => 'hpn information of machine', + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220468', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NodeType', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点扩容的模式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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"}]', + ], + 'ListSyslogs' => [ + 'summary' => '查询系统日志', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '185830', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ToTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '截止时间', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1665369329', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询条件', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*', + ], + ], + [ + 'name' => 'Reverse', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否时间倒序查找', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token,获取下一页数据时需要带上', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '392e8b4a03ed171433cc39f5b464ec9d', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e01-cn-nwy37atbj44', + ], + ], + [ + 'name' => 'FromTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1659745800', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + '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' => '', + 'type' => 'string', + 'example' => '1687363346', + ], + 'Topic' => [ + 'title' => '主题 logserver或者log2sls (注:两者均为syslog服务器,logserver采用tcp收集,log2sls采用udp)', + 'description' => '', + 'type' => 'string', + 'example' => 'logserver', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '235597', + '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', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-07-10T10:17:06', + ], + ], + [ + 'name' => 'Reason', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SoftwareError', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dwd_mysql_lingwan_faxing_login_di', + ], + ], + [ + 'name' => 'IssueCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hardware-disk-error', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B0699629-14FC-51E7-B49E-AAD83F6FEB60\\",\\n \\"ErrorMessage\\": \\"Resource not found\\"\\n}","type":"json"}]', + ], + 'DescribeNodeGroup' => [ + 'summary' => '查询节点分组', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点组id'."\n", + 'description' => '', + 'type' => 'string', + 'required' => true, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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', + ], + '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' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["e01-dks34dmdfo3","e01-dfjd34nsl4"]', + ], + 'required' => false, + ], + ], + [ + 'name' => 'IgnoreFailedNodeTasks', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'False'."\n", + ], + ], + [ + 'name' => 'TargetNodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + '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' => '', + 'type' => 'string', + 'example' => 'i159136551662516768776', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"887FA855-89F4-5DB3-B305-C5879EC480E6\\",\\n \\"TaskId\\": \\"i159136551662516768776\\"\\n}","type":"json"}]', + ], + 'ListClusterHyperNodes' => [ + 'summary' => '集群下的主机分组列表,分组下的主机列表', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'i119982311660892626523', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '563d42ae0b17572449ec8c97f7f66069', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页查询时每页行数。最大值为100。'."\n" + ."\n" + .'默认值:'."\n" + ."\n" + .'•当不设置值或设置的值小于20时,默认值为20。'."\n" + ."\n" + .'•当设置的值大于100时,默认值为100。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ng-ec3c96ff0aa4c60d', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签信息', + 'description' => '', + '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, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmywpvugkh7kq', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupName', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点组名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'emr-default', + ], + ], + [ + 'name' => 'MachineType', + 'in' => 'formData', + 'schema' => [ + 'title' => '机型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'formData', + 'schema' => [ + 'title' => '可用区id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3a6b93229825ac667104463b56790c91', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页查询时每页行数。最大值为100。'."\n" + ."\n" + .'默认值:'."\n" + ."\n" + .'•当不设置值或设置的值小于20时,默认值为20。'."\n" + ."\n" + .'•当设置的值大于100时,默认值为100。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '资源组id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmwfm33rlt6zi', + ], + ], + [ + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => [ + 'title' => '节点ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群名', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Standard_Cluster', + ], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'A1', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alarm_xdc', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '129', + ], + ], + 'required' => false, + ], + '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', + ], + ], + [ + 'name' => 'HyperNodeIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '162040', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询凭证(Token),取值为上一次API调用返回的 NextToken 参数值。'."\n", + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'a3f2224a5ec7224116c4f5246120****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页查询时每页行数。最大值为100。'."\n" + ."\n" + .'默认值:'."\n" + ."\n" + .'•当不设置值或设置的值小于20时,默认值为20。'."\n" + ."\n" + .'•当设置的值大于100时,默认值为100。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'MachineType', + 'in' => 'formData', + 'schema' => [ + 'title' => '机型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'efg1.nvga1', + ], + ], + [ + 'name' => 'HpnZone', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'A1', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzyqdwnfabx6q', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签信息', + 'description' => '', + '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, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Unused', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '161252', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of 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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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"}]', + ], + 'ChangeNodeTypes' => [ + 'summary' => '节点规格变配', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '162088', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NodeType', + 'in' => 'formData', + 'schema' => [ + 'title' => '集群id'."\n", + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '节点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '节点id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[\'2423423423423\']', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREbcclusterSIOTA6', + ], + 'autoTest' => false, + 'notSupportAutoTestReason' => '接口依赖于灵骏机器资源。灵骏机器资源紧张,无法做跨账号的企业级能力验证', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'HyperNodeId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e01-cn-zvp2tgykr08', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"041724FC-2BD7-58B1-863B-B42022D4B351\\"\\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-guangzhou', + 'endpoint' => 'eflo-controller.cn-guangzhou.aliyuncs.com ', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'eflo-controller.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-7', + 'endpoint' => 'eflo-controller.ap-southeast-7.aliyuncs.com ', + ], + ], +]; |
