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/starrocks/2022-10-19 | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/starrocks/2022-10-19')
| -rw-r--r-- | data/en_us/starrocks/2022-10-19/api-docs.php | 3492 |
1 files changed, 3492 insertions, 0 deletions
diff --git a/data/en_us/starrocks/2022-10-19/api-docs.php b/data/en_us/starrocks/2022-10-19/api-docs.php new file mode 100644 index 0000000..f7c59a4 --- /dev/null +++ b/data/en_us/starrocks/2022-10-19/api-docs.php @@ -0,0 +1,3492 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'starrocks', + 'version' => '2022-10-19', + ], + 'directories' => [ + [ + 'id' => 306065, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateInstanceV1', + 'RestartInstance', + 'ReleaseInstance', + 'UpdateInstanceName', + 'DescribeInstances', + 'DescribeNodeGroups', + 'TagResources', + 'UnTagResources', + 'ChangeResourceGroup', + ], + ], + [ + 'id' => 306075, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'UpgradeVersion', + 'QueryUpgradableVersions', + ], + ], + [ + 'id' => 306078, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ModifyNodeNumberPreCheck', + 'ModifyNodeNumber', + 'ModifyCuPreCheck', + 'ModifyDiskPerformanceLevel', + 'ModifyDiskSize', + 'ModifyDiskNumber', + 'ModifyCu', + ], + ], + [ + 'id' => 306086, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateServiceLinkedRole', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'ResourceSpec' => [ + 'title' => '', + 'description' => 'The resource specifications.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'cu' => [ + 'title' => 'cu', + 'description' => 'The number of CUs. A compute unit (CU) is the basic metering unit of a service. 1 CU = 1 CPU core + 4 GiB of memory.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'backendName' => 'cu', + ], + 'storageSize' => [ + 'title' => '', + 'description' => 'The storage size.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + 'backendName' => 'storageSize', + ], + 'nodeNumber' => [ + 'title' => '', + 'description' => 'The number of nodes.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'backendName' => 'nodeNumber', + ], + 'storagePerformanceLevel' => [ + 'title' => '', + 'description' => 'The performance level of the disks. Valid values:'."\n" + ."\n" + .'* PL0: A single disk can achieve up to 10,000 random read/write IOPS.'."\n" + .'* PL1: A single disk can achieve up to 50,000 random read/write IOPS.'."\n" + .'* PL2: A single disk can achieve up to 100,000 random read/write IOPS.'."\n" + .'* PL3: A single disk can achieve up to 1 million random read/write IOPS.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'pl1', + 'backendName' => 'storagePerformanceLevel', + ], + 'localStorageInstanceType' => [ + 'title' => '', + 'description' => 'Local SSD Instance Specification for the node group. This parameter is applicable only when the node group is based on ECS instances and the SpecType is set to \'Local SSD / Large-capacity Storage\''."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'local_ssd_4_4xlarge', + 'backendName' => 'localStorageInstanceType', + ], + 'specType' => [ + 'title' => '', + 'description' => 'The type of the node group. The following types are included:'."\n" + ."\n" + .'* standard, Standard Edition, ECS + cloud disk.'."\n" + .'* localSSD , local SSD.'."\n" + .'* bigData, which stores large specifications.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'standard', + 'backendName' => 'specType', + ], + 'diskNumber' => [ + 'title' => '', + 'description' => 'The number of disk blocks.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'backendName' => 'diskNumber', + ], + ], + ], + ], + ], + 'apis' => [ + 'CreateInstanceV1' => [ + 'summary' => '创建StarRocks集群', + 'path' => '/webapi/cluster/createV1', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '240406', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '请求结构体。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceName' => [ + 'title' => '实例名称。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c1', + ], + 'AdminPassword' => [ + 'title' => '实例管理员密码。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'password_example', + ], + 'Version' => [ + 'title' => '实例主版本。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3', + ], + 'AutoRenew' => [ + 'title' => '是否开启自动续费,仅在 payType 为 PrePaid 时有意义。默认不开启。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + 'RunMode' => [ + 'title' => '集群的运行模式:'."\n" + .' - 存算一体(shared_nothing)。'."\n" + .' * 存算分离(shared_data)。'."\n" + .' - 数据湖分析(lakehouse)。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'shared_data', + 'enum' => [ + 'lakehouse', + 'shared_nothing', + 'shared_data', + ], + ], + 'RegionId' => [ + 'title' => '地域 ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + 'PackageType' => [ + 'title' => '实例系列:'."\n" + .' 入门版(trial)。'."\n" + .' 标准版(official)。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'official', + 'enum' => [ + 'official', + 'trial', + ], + ], + 'PayType' => [ + 'title' => '付费类型:'."\n" + .'<ol>'."\n" + .'<li>包年包月(prePaid)。</li>'."\n" + .'<li>按量付费(postPaid)。</li>'."\n" + .'</ol>'."\n" + .' '."\n" + .' ', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'prePaid', + 'enum' => [ + 'prePaid', + 'postPaid', + ], + ], + 'VpcId' => [ + 'title' => 'VPC ID。', + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-bp1fll2mci6d7pw8m****', + ], + 'PricingCycle' => [ + 'title' => '购买时长单位:'."\n" + .' 月(Month)'."\n" + .' 年(Year)'."\n" + .'仅在 payType 为 PrePaid 时有意义。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + 'enum' => [ + 'Month', + 'Year', + ], + ], + 'VSwitches' => [ + 'title' => 'VSwitch 信息和可用区信息。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VswId' => [ + 'title' => '交换机 ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vsw-bp19mlh98tm9teyyd****', + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ZoneId' => [ + 'title' => '可用区 ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou-i', + ], + 'OssAccessingRoleName' => [ + 'title' => '用于免密访问OSS的角色名称。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AliyunEMRStarRocksAccessingOSSRole', + 'default' => 'AliyunEMRStarRocksAccessingOSSRole', + ], + 'Duration' => [ + 'title' => '购买时长。仅在 payType 为 PrePaid 时有意义。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'Tags' => [ + 'title' => '实例标签。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标签结构体。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '标签值。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ResourceGroupId' => [ + 'title' => '资源组 ID。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzllkih7jqxxx', + ], + 'ClientToken' => [ + 'title' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '123e4567-e89b-12d3-a456-426655440000', + ], + 'ObserverNodeGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'cu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '8', + ], + 'storageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'storagePerformanceLevel' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pl1', + ], + 'diskNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'residentNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + 'specType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + ], + 'localStorageInstanceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'null', + ], + 'zoneId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'BackendNodeGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'cu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '8', + ], + 'storageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'storagePerformanceLevel' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pl1', + 'enum' => [ + 'pl0', + 'pl1', + 'pl2', + 'pl3', + ], + ], + 'diskNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + 'residentNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + 'specType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + 'enum' => [ + 'standard', + 'ramEnhanced', + 'networkEnhanced', + 'bigData', + 'localSSD', + ], + ], + 'localStorageInstanceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'local_ssd_4_4xlarge', + ], + 'zoneId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'FrontendNodeGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'cu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '8', + ], + 'storageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'storagePerformanceLevel' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pl1', + ], + 'diskNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'residentNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + 'specType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + 'enum' => [ + 'standard', + 'ramEnhanced', + ], + ], + 'localStorageInstanceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'null', + ], + 'zoneId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'PromotionOptionNo' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '165445235634', + ], + 'Encrypted' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'KmsKeyId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'fdsdf****', + ], + 'GatewayType' => [ + 'type' => 'string', + ], + 'AgentNodeGroup' => [ + 'type' => 'object', + 'properties' => [ + 'cu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'AutoPay' => [ + 'type' => 'boolean', + ], + 'LinkedRamUserName' => [ + 'title' => '关联的RAM用户名称或者RAM角色名称', + 'type' => 'string', + 'example' => 'aliyun.test1', + ], + 'DlfCatalogName' => [ + 'title' => 'DLF Catalog名称', + 'type' => 'string', + 'example' => 'paimon_test', + ], + 'DlfCatalogType' => [ + 'title' => 'DLF Catalog类型,paimon或者iceberg', + 'type' => 'string', + 'example' => 'paimon', + ], + 'PrincipalType' => [ + 'title' => 'RAM认证类型。RAM用户为RS,RAM角色为RR', + 'type' => 'string', + 'example' => 'RR', + ], + 'RamUserId' => [ + 'title' => 'RAM用户ID或者RAM角色ID', + 'type' => 'string', + 'example' => '123456', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'title' => 'HTTP请求状态码。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'title' => '请求 ID。', + 'description' => '', + 'type' => 'string', + 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX', + ], + 'Success' => [ + 'title' => '请求是否成功。', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrCode' => [ + 'title' => '错误码。', + 'description' => '', + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'title' => '错误信息。', + 'description' => '', + 'type' => 'string', + 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', + ], + 'Data' => [ + 'title' => '返回数据。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OrderId' => [ + 'title' => '订单 ID。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '241526000650XXX', + ], + 'InstanceId' => [ + 'title' => '实例 ID。', + 'description' => '', + 'type' => 'string', + 'example' => 'c-b25e21e243889XXX', + ], + ], + ], + 'AccessDeniedDetail' => [ + 'title' => '权限校验失败详情。', + 'description' => '', + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B67D142D-D54E-184F-A306-22BDC01B2XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": {\\n \\"OrderId\\": 0,\\n \\"InstanceId\\": \\"c-b25e21e243889XXX\\"\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'CreateInstanceV1', + ], + 'RestartInstance' => [ + 'summary' => 'Restarts an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/starrocks/restartCluster', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '189752', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to restart compute nodes in quick restart mode. Default value: false. Valid values:'."\n" + ."\n" + .'* true: Compute nodes are restarted in quick restart mode in multiple batches. The batches are executed in parallel, and the nodes in each batch are restarted at the same time.'."\n" + .'* false: Compute nodes are restarted in rolling restart mode.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Unsupported.Non.Whitelist.Operation', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Unsupported.Non.Whitelist.Operation\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'RestartInstance', + 'description' => 'This operation is an asynchronous operation. After you call this operation to restart a StarRocks instance, the operation sets the status of the instance to Restarting and begins the restart process. When the status of the instance changes to Running, the instance is restarted.'."\n", + ], + 'ReleaseInstance' => [ + 'summary' => 'Releases a pay-as-you-go E-MapReduce (EMR) Serverless StarRocks instance. To unsubscribe from a subscription instance, go to the Unsubscribe page of the Expenses and Costs console.', + 'path' => '/webapi/cluster/release', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '173986', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'boolean', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ReleaseInstance', + 'description' => '**'."\n" + ."\n" + .'**Warning:** After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.'."\n", + ], + 'UpdateInstanceName' => [ + 'summary' => 'Modifies the name of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/cluster/update_name', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '159094', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The new name of the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'new_name', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'boolean', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'UpdateInstanceName', + ], + 'DescribeInstances' => [ + 'summary' => 'This operation is used to query Serverless StarRocks instances, supporting filtering based on instance name or tags and other information.', + 'path' => '/webapi/starrocks/describeInstances', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '244638', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'starrocks_1', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'c-a0cb1c8ad6d35XXX', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '10000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100000', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'InstanceStatus', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'running,creating', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmygmtrcenXXX', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'ErrCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'InvalidParams'."\n", + ], + 'ErrMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c-d4be777ff5e8cXXX', + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'running', + ], + 'InstanceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sr_test_1', + ], + 'PackageType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'official', + ], + 'ResourceGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'rg-acfmytyuofb****', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + ], + ], + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733292921000', + ], + 'ExpireTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4889001600000', + ], + 'RunningTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3645445', + ], + 'VSwitches' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou-i', + ], + 'VswId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vsw-bp1p0mldwx5av55v0xXXX', + ], + 'Primary' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'PayType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'postPaid', + ], + 'Version' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.2', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-bp1rbvag1cafkj4prwXXX', + ], + 'RunMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'shared_nothing', + ], + 'MaintainablePeriod' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:00-06:00', + ], + 'MinorVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.2.11-1.79-1.6.5', + ], + 'EnableAutoMinorVersionUpgrade' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'EnabledAuditLoader' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'MonitorType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cms', + ], + 'Architecture' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'onECS', + ], + 'AclId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'acl-bp1xc6b9vs013jjtp****', + ], + 'SgId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sg-8vbaz2etr66a62b9****', + ], + 'OssLocation' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss://sr-c-****', + ], + 'SecurityGroupManaged' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsolateLeader' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'EnableSSL' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Encrypted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'KmsKeyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'rewqfds****', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"Total\\": 3,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"c-d4be777ff5e8cXXX\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceStatus\\": \\"running\\",\\n \\"InstanceName\\": \\"sr_test_1\\",\\n \\"PackageType\\": \\"official\\",\\n \\"ResourceGroupId\\": \\"rg-acfmytyuofb****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"BeginTime\\": 1733292921000,\\n \\"ExpireTime\\": 4889001600000,\\n \\"RunningTime\\": 3645445,\\n \\"VSwitches\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VswId\\": \\"vsw-bp1p0mldwx5av55v0xXXX\\",\\n \\"Primary\\": true\\n }\\n ],\\n \\"PayType\\": \\"postPaid\\",\\n \\"Version\\": \\"3.2\\",\\n \\"VpcId\\": \\"vpc-bp1rbvag1cafkj4prwXXX\\",\\n \\"RunMode\\": \\"shared_nothing\\",\\n \\"MaintainablePeriod\\": \\"00:00-06:00\\",\\n \\"MinorVersion\\": \\"3.2.11-1.79-1.6.5\\",\\n \\"EnableAutoMinorVersionUpgrade\\": true,\\n \\"EnabledAuditLoader\\": true,\\n \\"MonitorType\\": \\"cms\\",\\n \\"Architecture\\": \\"onECS\\",\\n \\"AclId\\": \\"acl-bp1xc6b9vs013jjtp****\\",\\n \\"SgId\\": \\"sg-8vbaz2etr66a62b9****\\",\\n \\"OssLocation\\": \\"oss://sr-c-****\\",\\n \\"SecurityGroupManaged\\": true,\\n \\"IsolateLeader\\": true,\\n \\"EnableSSL\\": true,\\n \\"Encrypted\\": true,\\n \\"KmsKeyId\\": \\"rewqfds****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInstances', + ], + 'DescribeNodeGroups' => [ + 'summary' => '获取节点组信息', + 'path' => '/webapi/nodegroup/describeNodeGroups', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '219304', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '10000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100000', + 'minimum' => '1', + 'example' => '20', + 'default' => '10', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'c-718fb04c7112****', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'instanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'null', + ], + 'componentType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'FE', + 'enum' => [ + 'FE', + 'BE', + 'CN', + 'AGENT', + 'OBSERVER', + ], + ], + 'nodeGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ng-a9b2e9148196****'."\n", + ], + 'required' => false, + ], + 'nodeGroupName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ng_1', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'RUNNING', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F285E0EC-E928-5E0B-B2C3-7F3FE42F2BE5', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ErrCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c-96f3bc7f04b2****', + ], + 'NodeGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ng-5e2ba600fee3****', + ], + 'NodeGroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ng_1', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'ComponentType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FE', + ], + 'PayType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'prePaid', + ], + 'Cu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MemoryCpuRatio' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'StorageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'StoragePerformanceLevel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pl1', + ], + 'DiskNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ResidentNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'SpecType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'standard', + ], + 'Architecture' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'onEci', + ], + 'LocalStorageInstanceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'local_ssd_4_4xlarge', + ], + 'ElasticNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'Endpoint' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com', + ], + 'EnablePublicNetwork' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'PublicAddress' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1742179008000', + ], + 'ExpireTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1742179008000', + ], + 'DefaultGroup' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RunningTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10000', + ], + 'TargetElasticNodeNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'HttpPort' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8030', + ], + 'AccountStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OVERDUE', + ], + 'BillingInstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c-96f3bc7f04b2****', + ], + 'CommodityCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'emapreduce_starrockspost_public_cn', + ], + 'NodeInfo' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-e1733d44-0', + ], + ], + ], + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou-i', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'AccessDeniedDetail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"F285E0EC-E928-5E0B-B2C3-7F3FE42F2BE5\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"c-96f3bc7f04b2****\\",\\n \\"NodeGroupId\\": \\"ng-5e2ba600fee3****\\",\\n \\"NodeGroupName\\": \\"ng_1\\",\\n \\"Description\\": \\"ETL计算组\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"ComponentType\\": \\"FE\\",\\n \\"PayType\\": \\"prePaid\\",\\n \\"Cu\\": 1,\\n \\"MemoryCpuRatio\\": 4,\\n \\"StorageSize\\": 100,\\n \\"StoragePerformanceLevel\\": \\"pl1\\",\\n \\"DiskNumber\\": 1,\\n \\"ResidentNodeNumber\\": 3,\\n \\"SpecType\\": \\"standard\\",\\n \\"Architecture\\": \\"onEci\\",\\n \\"LocalStorageInstanceType\\": \\"local_ssd_4_4xlarge\\",\\n \\"ElasticNodeNumber\\": 3,\\n \\"Endpoint\\": \\"be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com\\",\\n \\"EnablePublicNetwork\\": false,\\n \\"PublicAddress\\": \\"fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com\\",\\n \\"BeginTime\\": 1742179008000,\\n \\"ExpireTime\\": 1742179008000,\\n \\"DefaultGroup\\": true,\\n \\"RunningTime\\": 10000,\\n \\"TargetElasticNodeNumber\\": 3,\\n \\"HttpPort\\": 8030,\\n \\"AccountStatus\\": \\"OVERDUE\\",\\n \\"BillingInstanceId\\": \\"c-96f3bc7f04b2****\\",\\n \\"CommodityCode\\": \\"emapreduce_starrockspost_public_cn\\",\\n \\"NodeInfo\\": [\\n {\\n \\"NodeId\\": \\"cn-e1733d44-0\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"Total\\": 100,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'summary' => 'Adds a tag to a resource.', + 'path' => '/webapi/tags', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '236086', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'instance', + ], + 'RegionId' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + 'ResourceId' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'c-b25e21e243889XXX'."\n", + ], + 'required' => true, + ], + 'Tag' => [ + 'title' => '对应新增标签列表,最多包含20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\"\\n}","type":"json"}]', + 'title' => 'TagResources', + ], + 'UnTagResources' => [ + 'summary' => 'Removes tags from specified resources.', + 'path' => '/webapi/tags', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '236098', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'instance', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'c-b25e21e243889XXX'."\n", + ], + 'required' => true, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '对应标签键列表,最多包含20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'required' => false, + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'title' => '是否全部删除,只针对tags为空时有效。取值范围: true false True False 默认是 false', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\"\\n}","type":"json"}]', + 'title' => 'UnTagResources', + ], + 'ChangeResourceGroup' => [ + 'summary' => 'This interface is used to modify the resource group of a Serverless StarRocks instance.', + 'path' => '/webapi/resourceGroup/change', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '233515', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'NewResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '目标资源组', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'rg-4352gdf****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域Id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'instance', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c-1854345****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ErrCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'ErrMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'AccessDeniedDetail', + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ChangeResourceGroup', + ], + 'UpgradeVersion' => [ + 'summary' => 'Upgrades the version of an E-MapReduce (EMR) Serverless StarRocks instance. The versions of a StarRocks instance include the major version and minor version. You can view the major version and minor version of a StarRocks instance in the Version Information section of the Instance Details tab in the EMR console. This operation can be used to upgrade the minor version or major version of a StarRocks instance. You can call the QueryUpgradableVersions operation to query the versions that you can upgrade to.', + 'path' => '/webapi/starrocks/upgradeVersion', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '181121', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceZXY046', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'TargetVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version to which you want to upgrade.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '3.3.2-1.77-1.6.4', + ], + ], + [ + 'name' => 'Minor', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether the minor version is upgraded. Default value: true. Valid values:'."\n" + ."\n" + .'* true: The minor version is upgraded.'."\n" + .'* false: The major version is upgraded.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid instance status: [cannot upgrade when instance is not running].', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'boolean', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid instance status: [cannot upgrade when instance is not running].\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'UpgradeVersion', + 'description' => 'The instance must be in the Running state when you call this operation.'."\n", + ], + 'QueryUpgradableVersions' => [ + 'summary' => 'Queries the versions of an E-MapReduce (EMR) Serverless StarRocks instance that the versions that you can upgrade to. The versions of a StarRocks instance include the major version and minor version. You can view the major version and minor version of a StarRocks instance in the Version Information section of the Instance Details tab in the EMR console. You can call this operation to query the minor versions or major versions that the versions that you can upgrade to.', + 'path' => '/webapi/starrocks/queryUpgradableVersions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '168030', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceGZP0FZ', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'Minor', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to query the minor versions that you can upgrade to. Default value: true. Valid values:'."\n" + ."\n" + .'* true: The minor versions that you can upgrade to.'."\n" + .'* false: The major versions that you can upgrade to.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The versions that you can upgrade to.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The version that you can upgrade to.'."\n", + 'type' => 'string', + 'example' => '3.3.2-1.77-1.6.4', + ], + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n \\"3.3.2-1.77-1.6.4\\"\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'QueryUpgradableVersions', + ], + 'ModifyNodeNumberPreCheck' => [ + 'summary' => 'Performs a precheck before you modify the number of nodes in a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyNodeNumberPreCheck', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '221371', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of nodes to which you want to change to.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '0', + 'example' => '3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Allow' => [ + 'description' => 'Indicates whether the number of nodes can be modified.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Reason' => [ + 'description' => 'The reason why the number of nodes cannot be modified.'."\n", + 'type' => 'string', + 'example' => 'Failed to find node group[ng-3d5ce6454354****].', + ], + ], + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"Allow\\": true,\\n \\"Reason\\": \\"Failed to find node group[ng-3d5ce6454354****].\\"\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyNodeNumberPreCheck', + ], + 'ModifyNodeNumber' => [ + 'summary' => 'Modifies the number of nodes in a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyNodeNumber', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220610', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of nodes to which you want to change to.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '0', + 'example' => '3', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Parallelism', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'TerminationGracePeriodSeconds', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '24151320976****', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": 0,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyNodeNumber', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [billable items](https://www.alibabacloud.com/help/en/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c63.p38356.help-menu-28066.d\\_0\\_1\\_0.3aaf4b0b69jN1P) of EMR Serverless StarRocks instances. Before you call this operation, take note of the following items:'."\n" + ."\n" + .'* You can modify the number of nodes in a warehouse of only StarRocks instances of Standard Edition.'."\n" + .'* The instance must be in the Running state.'."\n" + .'* The number of frontend nodes (FEs) cannot be an even number, and you cannot reduce the number of FE nodes.'."\n" + ."\n" + .'After you modify the number of nodes in a warehouse, the billing of nodes has the following changes:'."\n" + ."\n" + .'* Pay-as-you-go StarRocks instances: You are charged based on the number of nodes.'."\n" + .'* Subscription StarRocks instances: You are charged additionally based on the price difference between the number of nodes before and after the change and the remaining days of the billing cycle. The billing cycle starts from 00:00 the next day until the end of the subscription period.'."\n", + ], + 'ModifyCuPreCheck' => [ + 'summary' => 'Performs a precheck before you modify the number of CUs for a warehouse.', + 'path' => '/webapi/resourceChange/modifyCuPreCheck', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '221372', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-d332aa8bca48****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of CUs to which you want to change.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* 2'."\n" + .'* 4'."\n" + .'* 8'."\n" + .'* 16'."\n" + .'* 32'."\n" + .'* 64'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '0', + 'example' => '2', + 'enum' => [ + '2', + '4', + '8', + '16', + '32', + '64', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Allow' => [ + 'description' => 'Indicates whether the number of CUs can be modified.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'Reason' => [ + 'description' => 'The reason why the number of CUs cannot be modified.'."\n", + 'type' => 'string', + 'example' => 'Failed to find node group[ng-3d5ce6454354****].', + ], + ], + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"Allow\\": false,\\n \\"Reason\\": \\"Failed to find node group[ng-3d5ce6454354****].\\"\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyCuPreCheck', + ], + 'ModifyDiskPerformanceLevel' => [ + 'summary' => 'Modifies the disk performance level for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyDiskPerformanceLevel', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '220690', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The disk performance level to which you want to change.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* pl0'."\n" + .'* pl1'."\n" + .'* pl2'."\n" + .'* pl3'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pl2', + 'enum' => [ + 'pl0', + 'pl1', + 'pl2', + 'pl3', + ], + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '24151320976****', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": 0,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyDiskPerformanceLevel', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/en/product/ecs?_p_lc=1&spm=openapi-amp.newDocPublishment.0.0.47c9281fkIZGiB#pricing) of EMR Serverless StarRocks instances.'."\n" + ."\n" + .'Before you call this operation, take note of the following items:'."\n" + ."\n" + .'* You can modify the disk performance level only for StarRocks instances of Standard Edition.'."\n" + .'* You can modify the disk performance level only for warehouses of the standard specifications.'."\n" + .'* The instance must be in the Running state.'."\n" + .'* You cannot downgrade the performance level to PL0.'."\n" + .'* The performance level of an Enterprise SSD (ESSD) is limited by the ESSD disk size. If you cannot upgrade the performance level of an ESSD, expand the ESSD and try again. For more information, see [Enterprise SSDs](~~122389~~).'."\n" + ."\n" + .'After the disk performance level is changed, the billing of the disk has the following changes:'."\n" + ."\n" + .'* Pay-as-you-go StarRocks instances: You are charged for the disk based on the new disk type.'."\n" + .'* Subscription StarRocks instances: You are charged additionally based on the price difference between the disk performance level before and after the change and the remaining days of the billing cycle. The billing cycle starts from 00:00 the next day until the end of the subscription period.', + ], + 'ModifyDiskSize' => [ + 'summary' => 'Expands the disk size for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyDiskSize', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220685', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The disk size to which you want to change to. Unit: GB.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '65000', + 'minimum' => '0', + 'example' => '500', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '24151320976****', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": 0,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyDiskSize', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [billable items](https://www.alibabacloud.com/help/en/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c63.p38356.help-menu-28066.d\\_0\\_1\\_0.3aaf4b0b69jN1P) of EMR Serverless StarRocks instances. Before you call this operation, take note of the following items:'."\n" + ."\n" + .'* You can expand the disk size only for StarRocks instances of Standard Edition.'."\n" + .'* You can expand the disk size only for warehouses of the standard specifications.'."\n" + .'* The instance must be in the Running state.'."\n" + ."\n" + .'After you expand the disk size, the billing of disks has the following changes:'."\n" + ."\n" + .'* Pay-as-you-go StarRocks instances: You are charged for the disk based on the new disk size.'."\n" + .'* Subscription StarRocks instances: You are charged additionally based on the price difference between the disk size before and after the change and the remaining days of the billing cycle. The billing cycle starts from 00:00 the next day until the end of the subscription period.'."\n", + ], + 'ModifyDiskNumber' => [ + 'summary' => 'Increases the number of disks for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyDiskNumber', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220689', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of disks to which you want to change to.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '0', + 'example' => '3', + ], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to restart compute nodes in quick restart mode. Default value: false. Valid values:'."\n" + ."\n" + .'* true: Compute nodes are restarted in quick restart mode in multiple batches. The batches are executed in parallel, and the nodes in each batch are restarted at the same time.'."\n" + .'* false: Compute nodes are restarted in rolling restart mode.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].', + ], + 'Data' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '24151320976****', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": 0,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyDiskNumber', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [billable items](https://www.alibabacloud.com/help/en/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c63.p38356.help-menu-28066.d\\_0\\_1\\_0.3aaf4b0b69jN1P) of EMR Serverless StarRocks instances. Before you call this operation, take note of the following items:'."\n" + ."\n" + .'* You can increase the number of disks only for StarRocks instances of Standard Edition.'."\n" + .'* You can increase the number of disks only for warehouses of the standard specifications.'."\n" + .'* The instance must be in the Running state.'."\n" + ."\n" + .'After you increase the number of disks for a warehouse, the billing of disks has the following changes:'."\n" + ."\n" + .'* Pay-as-you-go StarRocks instances: You are charged for the disk based on the new disk type.'."\n" + .'* Subscription StarRocks instances: You are charged additionally based on the price difference between the number of disks before and after the change and the remaining days of the billing cycle. The billing cycle starts from 00:00 the next day until the end of the subscription period.'."\n", + ], + 'ModifyCu' => [ + 'summary' => 'Modifies the number of CUs for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', + 'path' => '/webapi/resourceChange/modifyCu', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220680', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b25e21e24388****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The warehouse ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-3d5ce6454354****', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of CUs to which you want to change.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* 4'."\n" + .'* 8'."\n" + .'* 16'."\n" + .'* 32'."\n" + .'* 64'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '64', + 'minimum' => '4', + 'example' => '4', + 'enum' => [ + '4', + '8', + '16', + '32', + '64', + ], + ], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to restart compute nodes in quick restart mode. Default value: false. Valid values:'."\n" + ."\n" + .'* true: Compute nodes are restarted in quick restart mode in multiple batches. The batches are executed in parallel, and the nodes in each batch are restarted at the same time.'."\n" + .'* false: Compute nodes are restarted in rolling restart mode.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Invalid params: [instance not exists].'."\n", + ], + 'Data' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '24151320976****', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'The detailed information about the failed permission verification.'."\n", + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"Data\\": 0,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'ModifyCu', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [billable items](https://www.alibabacloud.com/help/en/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c63.p38356.help-menu-28066.d\\_0\\_1\\_0.3aaf4b0b69jN1P) of EMR Serverless StarRocks instances.'."\n" + ."\n" + .'Before you call this operation, take note of the following items:'."\n" + ."\n" + .'* You can modify the number of CUs for a warehouse of only StarRocks instances of Standard Edition.'."\n" + .'* You can increase the number of disks only for warehouses of the standard specifications.'."\n" + .'* The instance must be in the Running state.'."\n" + ."\n" + .'After you modify the number of CUs for a warehouse, the billing of CUs has the following changes:'."\n" + ."\n" + .'* Pay-as-you-go StarRocks instances: You are charged based on the number of CUs.'."\n" + .'* Subscription StarRocks instances: You are charged additionally based on the price difference between the number of CUs before and after the change and the remaining days of the billing cycle. The billing cycle starts from 00:00 the next day until the end of the subscription period.'."\n", + ], + 'CreateServiceLinkedRole' => [ + 'summary' => 'This interface is used to create the AliyunServiceRoleForEMRStarRocks role for users.', + 'path' => '/webapi/user/create_default_role', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '163986', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceUHHTB7', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ErrCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'InvalidParams', + ], + 'ErrMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AccessDeniedDetail' => [ + 'title' => 'AccessDeniedDetail', + 'description' => 'AccessDeniedDetail', + 'type' => 'string', + 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Total\\": 3,\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceLinkedRole', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'starrocks.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'starrocks.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'starrocks.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'starrocks.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'starrocks.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'starrocks.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'starrocks.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'starrocks.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'starrocks.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'starrocks.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'starrocks.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'starrocks.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'starrocks.ap-southeast-5.aliyuncs.com', + ], + ], +]; |
