diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/starrocks/2022-10-19 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/starrocks/2022-10-19')
| -rw-r--r-- | data/en_us/starrocks/2022-10-19/api-docs.php | 13846 |
1 files changed, 11536 insertions, 2310 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 index f7c59a4..58dba26 100644 --- a/data/en_us/starrocks/2022-10-19/api-docs.php +++ b/data/en_us/starrocks/2022-10-19/api-docs.php @@ -1,150 +1,588 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'starrocks', - 'version' => '2022-10-19', - ], + 'info' => ['style' => 'ROA', 'product' => 'starrocks', 'version' => '2022-10-19'], 'directories' => [ [ - 'id' => 306065, - 'title' => null, + 'children' => ['AddGateway'], 'type' => 'directory', - 'children' => [ - 'CreateInstanceV1', - 'RestartInstance', - 'ReleaseInstance', - 'UpdateInstanceName', - 'DescribeInstances', - 'DescribeNodeGroups', - 'TagResources', - 'UnTagResources', - 'ChangeResourceGroup', - ], + 'title' => 'Gateway management', ], [ - 'id' => 306075, - 'title' => null, + 'children' => ['CreateInstanceV1', 'DescribeNodeGroups'], 'type' => 'directory', - 'children' => [ - 'UpgradeVersion', - 'QueryUpgradableVersions', - ], + 'title' => 'Instance management', ], [ - 'id' => 306078, - 'title' => null, + 'children' => ['QueryUpgradableVersions'], 'type' => 'directory', - 'children' => [ - 'ModifyNodeNumberPreCheck', - 'ModifyNodeNumber', - 'ModifyCuPreCheck', - 'ModifyDiskPerformanceLevel', - 'ModifyDiskSize', - 'ModifyDiskNumber', - 'ModifyCu', - ], + 'title' => 'Version management', + ], + [ + 'children' => ['ModifyNodeNumber', 'ModifyDiskPerformanceLevel', 'ModifyDiskSize', 'ModifyDiskNumber', 'ModifyCu'], + 'type' => 'directory', + 'title' => 'Resource specification change', ], [ - 'id' => 306086, - 'title' => null, + 'children' => ['DescribeConfigHistory', 'ModifyInstanceConfigPreCheck', 'RollbackConfigModification'], 'type' => 'directory', + 'title' => 'Configuration management', + ], + [ 'children' => [ - 'CreateServiceLinkedRole', + 'DeleteInnerIpWhitelistGroup', 'DescribeSystemTimezone', 'EnableInternalSlb', 'IsolateLeader', 'ModifyUserPassword', 'QueryUnpaidOrder', 'RestartNodeGroup', 'RestartNodes', 'SwitchActiveStandbyZones', 'ToggleAutoMinorVersionUpgrade', 'TogglePublicSlb', 'UpdateBackup', 'AddBackupPolicy', 'CheckInventory', 'CreateAgentResource', 'DescribeEventNames', 'DescribeInnerIpWhitelistGroups', 'DescribeInstanceDiagnosisResult', 'DescribeInstanceMetaToken', 'DescribeResourceConstraints', + 'DescribeTimeTriggerScalingRules', 'DisableSSLConnection', 'EnableMultiAz', 'EnableSSLConnection', 'GetInstanceFeatureGate', 'GetNodeGroupFeatureGate', 'ListOperationActivity', 'ListOperationHistory', 'ListSSLDetails', 'ModifyDiskType', 'ModifyHostAlias', 'ModifyMaintainableTime', 'ModifySpecType', 'ModifySpecTypePreCheck', 'QueryEnableMultiAzPrice', 'QueryMinorVersion', 'QueryModifyChargeTypePrice', 'QueryModifyCuPrice', 'QueryModifyDiskNumberPrice', 'QueryModifyDiskPerformanceLevelPrice', + 'QueryModifyDiskSizePrice', 'QueryModifyDiskTypePrice', 'QueryModifyNodeNumberPrice', 'QueryModifySpecTypePrice', 'QueryPriceV1', 'QueryRefundPrice', 'QueryRenewPrice', 'RebootECS', 'UpdateBackupPolicy', 'UpdateInnerIpWhitelistGroup', 'UpdateNodeGroupDescription', 'ChangeResourceGroup', 'CreateScalingRule', 'CreateServiceLinkedRole', 'DeleteBackup', 'DeleteBackupPolicy', 'DeleteGateway', 'DeleteScalingRule', 'DescribeAvailableZones', 'DescribeBackupPolicies', + 'DescribeBackups', 'DescribeInstanceConfigs', 'DescribeInstances', 'DescribeRegions', 'ListGateway', 'ModifyChargeType', 'ModifyCuPreCheck', 'ModifyInstanceConfig', 'ModifyNodeNumberPreCheck', 'ModifyScalingRule', 'ReleaseInstance', 'RenewInstance', 'RestartInstance', 'RestoreInstance', 'ResumeInstance', 'TagResources', 'UnTagResources', 'UpdateGateway', 'UpdateInstanceName', 'UpdatePublicNetworkStatus', + 'UpgradeVersion', ], + 'type' => 'directory', + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ + 'InstanceConfigDto' => [ + 'title' => 'A short description of struct', + 'type' => 'object', + 'properties' => [ + 'nodeGroupId' => ['title' => '计算组 ID,只有当参数为计算组独享参数时才需要,其他场景可以置为空或者设置为集群 ID。', 'type' => 'string', 'example' => 'ng-e24924dxxxxx'], + 'configType' => ['title' => '配置类型。', 'type' => 'string', 'example' => 'BE'], + 'configKey' => ['title' => '配置项名称。', 'type' => 'string', 'example' => 'storage_root_path'], + 'configValue' => ['title' => '配置项的值。', 'type' => 'string', 'example' => 'value1'], + ], + ], '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', + 'cu' => ['title' => '', '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", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'visibility' => 'Public', 'backendName' => 'cu'], + 'storageSize' => ['title' => '', 'description' => 'The storage size.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'visibility' => 'Public', 'backendName' => 'storageSize'], + 'nodeNumber' => ['title' => '', 'description' => 'The number of nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'visibility' => 'Public', '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", 'type' => 'string', 'example' => 'pl1', 'visibility' => 'Public', '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", 'type' => 'string', 'example' => 'local_ssd_4_4xlarge', 'visibility' => 'Public', '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", 'type' => 'string', 'example' => 'standard', 'visibility' => 'Public', 'backendName' => 'specType'], + 'diskNumber' => ['title' => '', 'description' => 'The number of disk blocks.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'diskNumber'], + ], + 'visibility' => 'Public', + 'example' => '', + ], + ], + ], + 'apis' => [ + 'AddBackupPolicy' => [ + 'summary' => 'Adds a backup policy.', + 'path' => '/webapi/backupRestore/policy/add', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250705', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-0104730e9de40215', 'title' => ''], + 'RecurrenceType' => [ + 'description' => 'The recurrence type for the policy. Valid values:'."\n" + ."\n" + .'- DAILY: Daily.'."\n" + ."\n" + .'- WEEKLY: Weekly.'."\n" + ."\n" + .'- MONTHLY: Monthly.', + 'type' => 'string', + 'enum' => ['Once', 'Daily', 'Weekly', 'Monthly'], + 'required' => false, + 'example' => 'MONTHLY', + 'title' => '', + ], + 'RecurrenceValues' => [ + 'type' => 'array', + 'items' => ['description' => 'A value for the recurrence.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '31', 'minimum' => '1', 'required' => false, 'example' => '1', 'title' => ''], + 'description' => 'The values for the recurrence.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Hour' => ['description' => 'The hour.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '23', 'minimum' => '0', 'example' => '2', 'default' => '0', 'required' => false, 'title' => ''], + 'Minute' => ['description' => 'The minute.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '59', 'minimum' => '0', 'default' => '0', 'required' => false, 'example' => '30', 'title' => ''], + 'ExpireDays' => ['description' => 'The number of days to retain the backup data.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''], + 'TimeoutSeconds' => ['description' => 'The timeout period for the backup job in seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3600', 'title' => ''], + ], + 'description' => 'The request parameters.', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'storageSize' => [ + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => ['description' => 'The data returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', 'title' => '', - 'description' => 'The storage size.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'backendName' => 'storageSize', + 'example' => '', ], - 'nodeNumber' => [ + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddBackupPolicy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:AddBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'AddGateway' => [ + 'summary' => 'Creates a gateway.', + 'path' => '/webapi/gateway/add', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '270146', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'GatewayName', + 'in' => 'query', + 'schema' => ['description' => 'The alias for the private gateway.', 'type' => 'string', 'required' => false, 'example' => 'eas_automation_test', 'title' => ''], + ], + [ + 'name' => 'FeNodeNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of gateway nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', 'title' => '', - 'description' => 'The number of nodes.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'backendName' => 'nodeNumber', + 'example' => '', ], - 'storagePerformanceLevel' => [ + ], + ], + 'title' => 'AddGateway', + 'description' => 'The AddGateway operation requires software stack version 1.7.6 or later and at least three front-end (FE) nodes.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:AddGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ChangeResourceGroup' => [ + 'summary' => 'This operation changes 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' => 'The ID of the destination resource group.', 'type' => 'string', 'required' => true, 'example' => 'rg-4352gdf****'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ID of the region where the cluster resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'The resource type. Only instance is supported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'instance'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'c-1854345****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n"], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => 'Success'], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'Invalid params: [instance not exists].'], + 'Data' => ['description' => 'Indicates whether the resource group was changed successfully.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', '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', + 'example' => '', ], - 'localStorageInstanceType' => [ + ], + ], + 'title' => 'ChangeResourceGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', + ], + 'CheckInventory' => [ + 'path' => '/webapi/check/inventory', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '158062', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], + ], + 'parameters' => [ + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'Zone.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], + ], + [ + 'name' => 'ClusterInfo', + 'in' => 'query', + 'schema' => ['description' => 'Cluster information.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "clusterType": "sr",'."\n" + .' "regionId": "cn-hangzhou",'."\n" + .' "packageType": "official",'."\n" + .' "runMode": "shared_data",'."\n" + .' "beResourceSpec": {'."\n" + .' "cu": 8,'."\n" + .' "storageSize": 200,'."\n" + .' "nodeNumber": 3,'."\n" + .' "diskNumber": 1,'."\n" + .' "storagePerformanceLevel": "pl1",'."\n" + .' "diskType": "essd",'."\n" + .' "specType": "standard"'."\n" + .' },'."\n" + .' "feResourceSpec": {'."\n" + .' "cu": 8,'."\n" + .' "storageSize": 100,'."\n" + .' "nodeNumber": 3,'."\n" + .' "specType": "standard"'."\n" + .' }'."\n" + .'}', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', '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', + 'example' => '', ], - 'specType' => [ + ], + ], + 'title' => 'CheckInventory', + 'summary' => 'Check the inventory of resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:CheckInventory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'CreateAgentResource' => [ + 'summary' => 'Creates an Agent compute group.', + 'path' => '/webapi/lifecycle/createAgentNodeGroup', + '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' => '250696', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'PayType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Payment type:'."\n" + ."\n" + .'1. Subscription (prePaid).'."\n" + ."\n" + .'2. Pay-as-you-go (postPaid).', + 'type' => 'string', + 'required' => true, + 'enum' => ['postPaid', 'prePaid'], + 'example' => 'prePay', 'title' => '', - 'description' => 'The type of the node group. The following types are included:'."\n" + ], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['description' => 'Duration. This parameter is valid only when payType is set to PrePaid.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '12', 'minimum' => '1', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => [ + 'description' => 'Unit of subscription duration:'."\n" + ."\n" + .'- Month'."\n" ."\n" - .'* standard, Standard Edition, ECS + cloud disk.'."\n" - .'* localSSD , local SSD.'."\n" - .'* bigData, which stores large specifications.'."\n", - 'visibility' => 'Public', + .'- Year'."\n" + ."\n" + .'This parameter is valid only when payType is set to PrePaid.', 'type' => 'string', - 'example' => 'standard', - 'backendName' => 'specType', + 'enum' => ['Month', 'Year'], + 'required' => false, + 'example' => 'Month', + 'title' => '', ], - 'diskNumber' => [ + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Enable auto-renewal. This parameter is valid only when payType is set to PrePaid. Auto-renewal is disabled by default.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'True', 'title' => ''], + ], + [ + 'name' => 'SpecType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Compute group specification type.', + 'type' => 'string', + 'required' => false, + 'enum' => ['standard'], + 'example' => 'standard', 'title' => '', - 'description' => 'The number of disk blocks.'."\n", - 'visibility' => 'Public', + ], + ], + [ + 'name' => 'Cu', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of CUs. A CU (Compute Unit) is the basic unit of service measurement. 1 CU = 1 CPU core + 4 GiB memory. For memory-enhanced instance family, 1 CU = 1 CPU core + 8 GiB memory.', 'type' => 'integer', 'format' => 'int32', - 'example' => '1', - 'backendName' => 'diskNumber', + 'required' => true, + 'maximum' => '16', + 'minimum' => '2', + 'enum' => ['2', '4', '8', '16'], + 'example' => '2', + 'title' => '', ], ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => '2345', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '241526000650XXX', 'title' => ''], + 'NodeGroupId' => ['description' => 'Compute group ID.', 'type' => 'string', 'example' => 'ng-5e2ba600fee3****', 'title' => ''], + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateAgentResource', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:CreateAgentResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B67D142D-D54E-184F-A306-22BDC01B2XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OrderId\\": 0,\\n \\"NodeGroupId\\": \\"ng-5e2ba600fee3****\\"\\n }\\n}","type":"json"}]', + 'translator' => 'manual', ], - ], - 'apis' => [ 'CreateInstanceV1' => [ - 'summary' => '创建StarRocks集群', + 'summary' => 'This API is used to create a Serverless StarRocks instance.', 'path' => '/webapi/cluster/createV1', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -157,9 +595,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '240406', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ @@ -167,472 +603,236 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => '请求结构体。', - 'description' => '', + 'title' => '', + 'description' => 'Request body.', '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', - ], + 'InstanceName' => ['title' => '', 'description' => 'Instance name.', 'type' => 'string', 'required' => true, 'example' => 'c1'], + 'AdminPassword' => ['title' => '', 'description' => 'Instance administrator password.', 'type' => 'string', 'required' => true, 'example' => 'password_example'], + 'Version' => ['title' => '', 'description' => 'Instance major version.', 'type' => 'string', 'required' => true, 'example' => '3'], + 'AutoRenew' => ['title' => '', 'description' => 'Whether to enable auto-renewal. This parameter is valid only when payType is PrePaid. Disabled by default.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true'], 'RunMode' => [ - 'title' => '集群的运行模式:'."\n" - .' - 存算一体(shared_nothing)。'."\n" - .' * 存算分离(shared_data)。'."\n" - .' - 数据湖分析(lakehouse)。', - 'description' => '', + 'title' => '', + 'description' => 'The running mode of the cluster:'."\n" + .'<ul>'."\n" + .'<li>Shared-nothing (shared_nothing).</li>'."\n" + .'<li>Shared-data (shared_data).</li>'."\n" + .'</ul>', 'type' => 'string', 'required' => true, 'example' => 'shared_data', - 'enum' => [ - 'lakehouse', - 'shared_nothing', - 'shared_data', - ], - ], - 'RegionId' => [ - 'title' => '地域 ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'enum' => ['lakehouse', 'shared_nothing', 'shared_data'], ], + 'RegionId' => ['title' => '', 'description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], 'PackageType' => [ - 'title' => '实例系列:'."\n" - .' 入门版(trial)。'."\n" - .' 标准版(official)。', - 'description' => '', + 'title' => '', + 'description' => 'Instance edition:'."\n" + .'<ul>'."\n" + .'<li> Trial edition (trial).</li>'."\n" + .'<li> Standard edition (official).</li>'."\n" + .'</ul>', 'type' => 'string', 'required' => true, 'example' => 'official', - 'enum' => [ - 'official', - 'trial', - ], + 'enum' => ['official', 'trial'], ], 'PayType' => [ - 'title' => '付费类型:'."\n" + 'title' => '', + 'description' => 'Billing method:'."\n" .'<ol>'."\n" - .'<li>包年包月(prePaid)。</li>'."\n" - .'<li>按量付费(postPaid)。</li>'."\n" + .'<li>Subscription (prePaid).</li>'."\n" + .'<li>Pay-as-you-go (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****', + 'enum' => ['prePaid', 'postPaid'], ], + 'VpcId' => ['title' => '', 'description' => 'VPC ID.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1fll2mci6d7pw8m****'], 'PricingCycle' => [ - 'title' => '购买时长单位:'."\n" - .' 月(Month)'."\n" - .' 年(Year)'."\n" - .'仅在 payType 为 PrePaid 时有意义。', - 'description' => '', + 'title' => '', + 'description' => 'Duration unit:'."\n" + .'<ul>'."\n" + .'<li> Month (Month)</li>'."\n" + .'<li> Year (Year)</li>'."\n" + .'</ul>'."\n" + .'This parameter is valid only when payType is PrePaid.', 'type' => 'string', 'required' => false, 'example' => 'Month', - 'enum' => [ - 'Month', - 'Year', - ], + 'enum' => ['Month', 'Year'], ], 'VSwitches' => [ - 'title' => 'VSwitch 信息和可用区信息。', - 'description' => '', + 'title' => '', + 'description' => 'VSwitch and zone information.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'VSwitch information.', 'type' => 'object', 'properties' => [ - 'VswId' => [ - 'title' => '交换机 ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-bp19mlh98tm9teyyd****', - ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'VswId' => ['title' => '', 'description' => 'VSwitch ID.', 'type' => 'string', 'required' => true, 'example' => 'vsw-bp19mlh98tm9teyyd****'], + 'ZoneId' => ['description' => 'Zone ID of the VSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], - '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', - ], + 'ZoneId' => ['title' => '', 'description' => 'Primary zone ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-i'], + 'OssAccessingRoleName' => ['title' => '', 'description' => 'The name of the role used for password-free access to OSS.', 'type' => 'string', 'required' => false, 'example' => 'AliyunEMRStarRocksAccessingOSSRole', 'default' => 'AliyunEMRStarRocksAccessingOSSRole'], + 'Duration' => ['title' => '', 'description' => 'Subscription duration. This parameter is valid only when payType is PrePaid.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], 'Tags' => [ - 'title' => '实例标签。', - 'description' => '', + 'title' => '', + 'description' => 'Instance tags.', 'type' => 'array', 'items' => [ - 'title' => '标签结构体。', - 'description' => '', + 'title' => '', + 'description' => 'Tag structure.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'k1', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'Key' => ['title' => '', 'description' => 'Tag key.', 'type' => 'string', 'example' => 'k1', 'required' => false], + 'Value' => ['title' => '', 'description' => 'Tag value.', 'type' => 'string', 'example' => 'v1', 'required' => false], ], 'required' => false, + 'example' => '', ], 'required' => false, + 'example' => '', ], - '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', - ], + 'ResourceGroupId' => ['title' => '', 'description' => 'Resource group ID.', 'type' => 'string', 'example' => 'rg-aekzllkih7jqxxx', 'required' => false], + 'ClientToken' => ['title' => '', 'description' => 'Ensures the idempotency of the request. Generate a parameter value from your client to ensure that the value is unique across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters.', 'type' => 'string', 'example' => '123e4567-e89b-12d3-a456-426655440000', 'required' => false], 'ObserverNodeGroups' => [ - 'description' => '', + 'description' => 'Observer node group information. Specify this field only when you need to enable multi-zone disaster recovery. The Observer configuration must be consistent with the FE node group specifications.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'Observer node group information.', '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', - ], + 'cu' => ['description' => 'Number of CUs. CU (Compute Unit) is the basic billing unit of the service. 1 CU = 1 CPU core + 4 GiB memory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'storagePerformanceLevel' => ['description' => 'Performance level of the cloud disk. Only pl1 is supported, with a maximum random read/write IOPS of 50,000 per disk.', 'type' => 'string', 'required' => false, 'example' => 'pl1', 'title' => ''], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + 'specType' => ['description' => 'Node group specification type. Only standard is supported.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type. This field does not need to be set for the Observer node group.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + 'zoneId' => ['description' => 'Zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'BackendNodeGroups' => [ - 'description' => '', + 'description' => 'BE or CN node group information.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'BE or CN node group information.', 'type' => 'object', 'properties' => [ - 'cu' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8', - ], - 'storageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'cu' => ['description' => 'Number of CUs. CU (Compute Unit) is the basic billing unit of the service. 1 CU = 1 CPU core + 4 GiB memory. When SpecType is ramEnhanced, 1 CU = 1 CPU core + 8 GiB memory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], 'storagePerformanceLevel' => [ - 'description' => '', + 'description' => 'Performance level of the cloud disk. Valid values:'."\n" + ."\n" + .'- pl0: maximum random read/write IOPS of 10,000 per disk.'."\n" + .'- pl1: maximum random read/write IOPS of 50,000 per disk.'."\n" + .'- pl2: maximum random read/write IOPS of 100,000 per disk.'."\n" + .'- pl3: maximum random read/write IOPS of 1,000,000 per disk.', 'type' => 'string', 'required' => false, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3'], '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', + 'title' => '', ], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], 'specType' => [ - 'description' => '', + 'description' => 'Node group specification type. Valid values:'."\n" + ."\n" + .'- standard: Standard.'."\n" + .'- localSSD: Local SSD.'."\n" + .'- bigData: Big data storage.'."\n" + .'- ramEnhanced: Memory enhanced.'."\n" + .'- networkEnhanced: Network enhanced.', 'type' => 'string', 'required' => false, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'bigData', 'localSSD', 'cpuEnhanced'], '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', + 'title' => '', ], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type of the node group. This parameter is valid only for ECS-based instances when SpecType is localSSD or bigData.', 'type' => 'string', 'required' => false, 'example' => 'local_ssd_4_4xlarge', 'title' => ''], + 'zoneId' => ['description' => 'Zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'FrontendNodeGroups' => [ - 'description' => '', + 'description' => 'FE node group information.', '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', - ], + 'cu' => ['description' => 'Number of CUs. CU (Compute Unit) is the basic billing unit of the service. 1 CU = 1 CPU core + 4 GiB memory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'storagePerformanceLevel' => ['description' => 'Performance level of the cloud disk. Only pl1 is supported, with a maximum random read/write IOPS of 50,000 per disk.', 'type' => 'string', 'required' => false, 'example' => 'pl1', 'title' => ''], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], 'specType' => [ - 'description' => '', + 'description' => 'Node group specification type. Only standard is supported.', 'type' => 'string', 'required' => false, + 'enum' => ['standard', 'ramEnhanced'], 'example' => 'standard', - 'enum' => [ - 'standard', - 'ramEnhanced', - ], - ], - 'localStorageInstanceType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'null', - ], - 'zoneId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', + 'title' => '', ], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type. This field does not need to be set for the FE node group.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + 'zoneId' => ['description' => 'Zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - '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', - ], + 'PromotionOptionNo' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => '165445235634', 'title' => ''], + 'Encrypted' => ['description' => 'Whether to enable encryption.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'KmsKeyId' => ['description' => 'KMS key ID.', 'type' => 'string', 'required' => false, 'example' => 'fdsdf****', 'title' => ''], + 'GatewayType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], 'AgentNodeGroup' => [ 'type' => 'object', 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], - ], - '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, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'AutoPay' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'LinkedRamUserName' => ['title' => '', 'type' => 'string', 'example' => 'aliyun.test1', 'description' => ''], + 'DlfCatalogName' => ['title' => '', 'type' => 'string', 'example' => 'paimon_test', 'description' => ''], + 'DlfCatalogType' => ['title' => '', 'type' => 'string', 'example' => 'paimon', 'description' => ''], + 'PrincipalType' => ['title' => '', 'type' => 'string', 'example' => 'RR', 'description' => ''], + 'RamUserId' => ['title' => '', 'type' => 'string', 'example' => '123456', 'description' => ''], + 'EnableMultiAz' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], ], 'required' => false, + 'example' => '', ], ], ], @@ -641,83 +841,169 @@ '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]]', - ], + 'HttpStatusCode' => ['title' => '', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX'], + 'Success' => ['title' => '', 'description' => 'Whether the request is successful.', 'type' => 'boolean', 'example' => 'true'], + 'ErrCode' => ['title' => '', 'description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams'], + 'ErrMessage' => ['title' => '', 'description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]'], 'Data' => [ - 'title' => '返回数据。', - 'description' => '', + 'title' => '', + 'description' => 'Response data.', 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'title' => '订单 ID。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '241526000650XXX', - ], - 'InstanceId' => [ - 'title' => '实例 ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'c-b25e21e243889XXX', - ], + 'OrderId' => ['title' => '', 'description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '241526000650XXX'], + 'InstanceId' => ['title' => '', 'description' => 'Instance ID.', 'type' => 'string', 'example' => 'c-b25e21e243889XXX'], ], + 'example' => '', ], - 'AccessDeniedDetail' => [ - 'title' => '权限校验失败详情。', - 'description' => '', - 'type' => 'string', - 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', - ], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details of the permission verification failure.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create Instance', + 'description' => 'Before using this API, make sure you fully understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:CreateInstanceV1', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], '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', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', ], - 'RestartInstance' => [ - 'summary' => 'Restarts an E-MapReduce (EMR) Serverless StarRocks instance.', - 'path' => '/webapi/starrocks/restartCluster', - 'methods' => [ - 'post', + 'CreateScalingRule' => [ + 'summary' => 'Create a scaling rule.', + 'path' => '/webapi/scalingRule/createScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '278814', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'TriggerType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The trigger type.', + 'type' => 'string', + 'required' => true, + 'enum' => ['TIME_TRIGGER'], + 'example' => 'TIME_TRIGGER', + 'title' => '', + ], + ], + [ + 'name' => 'Rule', + 'in' => 'query', + 'schema' => ['description' => 'The rule content.', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "nodeNumber": 1,'."\n" + .' "scalingRuleName": "test1",'."\n" + .' "scalingOutRule": {'."\n" + .' "year": 2026,'."\n" + .' "month": 3,'."\n" + .' "day": 2,'."\n" + .' "hour": 5,'."\n" + .' "minute": 50,'."\n" + .' "second": 0,'."\n" + .' "recurrenceInterval": 1,'."\n" + .' "recurrenceType": "DAILY",'."\n" + .' "recurrenceValues": null'."\n" + .' },'."\n" + .' "scalingInRule": {'."\n" + .' "year": 2026,'."\n" + .' "month": 3,'."\n" + .' "day": 2,'."\n" + .' "hour": 6,'."\n" + .' "minute": 50,'."\n" + .' "second": 0,'."\n" + .' "recurrenceInterval": 1,'."\n" + .' "recurrenceType": "DAILY",'."\n" + .' "recurrenceValues": null'."\n" + .' }'."\n" + .'}', 'title' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateScalingRule', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:CreateScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'machine', + ], + 'CreateServiceLinkedRole' => [ + 'summary' => 'This operation creates the AliyunServiceRoleForEMRStarRocks role.', + 'path' => '/webapi/user/create_default_role', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -727,34 +1013,160 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '189752', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', + 'abilityTreeCode' => '163986', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the role was successfully created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'AccessDeniedDetail', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CreateServiceLinkedRole', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:CreateServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], + '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"}]', + 'translator' => 'manual', + ], + 'DeleteBackup' => [ + 'path' => '/webapi/backup/manage/delete', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250728', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'BackupTaskId', + 'in' => 'query', + 'schema' => ['description' => 'The backup task ID.', 'type' => 'string', 'required' => true, 'example' => 'bk-yi2378sdhf2', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteBackup', + 'summary' => 'Deletes a data backup.', + 'description' => 'Deletes a data backup.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FastMode', - 'in' => 'query', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'DeleteBackupPolicy' => [ + 'path' => '/webapi/backupRestore/policy/delete', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250713', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', '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', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-0104730e9d*****', 'title' => ''], + 'PolicyId' => ['description' => 'Policy ID.', 'type' => 'string', 'required' => false, 'example' => 'bp-298ahiu289', 'title' => ''], + ], + 'description' => 'Request struct.', 'required' => false, - 'example' => 'true', - 'default' => 'false', + 'title' => '', + 'example' => '', ], ], ], @@ -763,88 +1175,238 @@ '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" }', - ], + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'Response data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteBackupPolicy', + 'summary' => 'Deletes a backup policy.', + 'description' => 'Deletes a backup policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'manual', + ], + 'DeleteGateway' => [ + 'path' => '/webapi/gateway/delete', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', - 'abilityTreeCode' => '173986', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'abilityTreeCode' => '270150', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'dg-2r69r8kpmn56k5s3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The data returned.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteGateway', + 'summary' => 'Deleting a gateway', + 'description' => 'Deletes a gateway group. After the gateway group is deleted, its FE nodes are automatically assigned to the default gateway group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'sr:DeleteGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DeleteInnerIpWhitelistGroup' => [ + 'path' => '/webapi/securityGroup/delete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '240832', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-0104730e9de40215', 'title' => ''], + 'InnerIpWhitelistGroupId' => ['description' => 'Internal network whitelist group name.', 'type' => 'string', 'required' => true, 'maxLength' => 120, 'minLength' => 2, 'pattern' => '^[a-z][a-z0-9_]*[a-z0-9]$', 'example' => 'test-g1', 'title' => ''], + ], + 'description' => 'Request parameter information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + ], + 'title' => '', + 'description' => 'Response schema.', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DeleteInnerIpWhitelistGroup', + 'summary' => 'Deletes an internal network whitelist group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteInnerIpWhitelistGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', + ], + 'DeleteScalingRule' => [ + 'summary' => 'Deletes a scaling rule.', + 'path' => '/webapi/scalingRule/deleteScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '278775', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'ScalingRuleId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the scaling rule to delete.', 'type' => 'string', 'required' => true, 'example' => 'r-d01a1cac4081s****', 'title' => ''], + ], + [ + 'name' => 'TriggerType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Trigger type.', 'type' => 'string', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'enum' => ['TIME_TRIGGER'], + 'example' => 'TIME_TRIGGER', + 'title' => '', ], ], ], @@ -853,66 +1415,46 @@ '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" }', - ], + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'Version number that you can upgrade to.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Access denied details.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteScalingRule', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeAvailableZones' => [ + 'path' => '/webapi/zone/describeZones', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -921,212 +1463,1250 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '159094', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '214130', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ - 'name' => 'ClusterName', + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The new name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'new_name', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'TrialAvailableZones' => [ + 'type' => 'array', + 'items' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'description' => 'The trial version.', + 'title' => '', + 'example' => '', + ], + 'OfficialAvailableZones' => [ + 'type' => 'array', + 'items' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'description' => 'The official version.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAvailableZones', + 'summary' => 'Queries the available zones in a region.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": {\\n \\"TrialAvailableZones\\": [\\n \\"cn-hangzhou-h\\"\\n ],\\n \\"OfficialAvailableZones\\": [\\n \\"cn-hangzhou-h\\"\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'DescribeBackupPolicies' => [ + 'path' => '/webapi/backupRestore/policy/describe', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250707', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => ['description' => 'The policy ID.', 'type' => 'string', 'required' => false, 'example' => 'bk-policy-26ec5bc0ea67b5ef', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'c-96f3bc7f04b2****', 'title' => ''], + 'PolicyId' => ['description' => 'The backup policy ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'RecurrenceValues' => [ + 'type' => 'array', + 'items' => ['description' => 'The day of the week for the backup.'."\n" + ."\n" + .'- 1: Monday'."\n" + ."\n" + .'- 2: Tuesday'."\n" + ."\n" + .'- 3: Wednesday'."\n" + ."\n" + .'- 4: Thursday'."\n" + ."\n" + .'- 5: Friday'."\n" + ."\n" + .'- 6: Saturday'."\n" + ."\n" + .'- 7: Sunday', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'description' => 'The numeric values for the policy execution cycle.', + 'title' => '', + 'example' => '', + ], + 'Hour' => ['description' => 'The hour.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Minute' => ['description' => 'The minute.', 'type' => 'string', 'example' => '30', 'title' => ''], + 'ExpireDays' => ['description' => 'The number of days to retain backup data.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'TimeoutSeconds' => ['description' => 'The timeout period for the backup job.', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Information about the instance.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'Details about the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeBackupPolicies', + 'summary' => 'Retrieve details of backup policies.', + 'description' => 'Retrieve details of backup policies.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeBackupPolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"c-96f3bc7f04b2****\\",\\n \\"PolicyId\\": \\"1\\",\\n \\"RecurrenceValues\\": [\\n 1\\n ],\\n \\"Hour\\": \\"2\\",\\n \\"Minute\\": \\"30\\",\\n \\"ExpireDays\\": 7,\\n \\"TimeoutSeconds\\": 3600\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\",\\n \\"Total\\": 100\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'DescribeBackups' => [ + 'path' => '/webapi/backup/manage/describe', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250714', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'BackupTaskId', + 'in' => 'query', + 'schema' => ['description' => 'The backup task ID.', 'type' => 'string', 'required' => false, 'example' => 'bt-2389hsdui12m', 'title' => ''], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'schema' => ['description' => 'The list of statuses.', 'type' => 'string', 'required' => false, 'example' => 'COMPLETED', 'title' => ''], + ], + [ + 'name' => 'TimePeriodStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time for querying backup jobs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1747708000', 'title' => ''], + ], + [ + 'name' => 'TimePeriodEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time for querying backup jobs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1747728000', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The query page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page for paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + ], '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], '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" }', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'c-d4be777ff5e8cXXX', 'title' => ''], + 'Size' => ['description' => 'The cloud disk size in GiB.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Status' => ['description' => 'The backup job status.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'Description' => ['description' => 'The task description.', 'type' => 'string', 'example' => '任务描述', 'title' => ''], + 'SubTasks' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The task start date.', 'type' => 'integer', 'format' => 'int64', 'example' => '1747708190', 'title' => ''], + 'FinishedTime' => ['description' => 'The task end time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1747718190', 'title' => ''], + 'SnapshotName' => ['description' => 'The snapshot name.', 'type' => 'string', 'example' => '2025-02-10_backup', 'title' => ''], + 'DataBase' => ['description' => 'The database name.', 'type' => 'string', 'example' => 'test1', 'title' => ''], + 'Table' => ['description' => 'The data table name.', 'type' => 'string', 'example' => 'cdc_ods_t2030_lcpf_api_topic_msg', 'title' => ''], + 'Size' => ['description' => 'The data size in GiB.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Status' => ['description' => 'The backup job status.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Detail' => ['description' => 'The snapshot ID.', 'type' => 'string', 'example' => '[]', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of backup subtasks.', + 'title' => '', + 'example' => '', + ], + 'BackupStartTime' => ['description' => 'The start time of this backup.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179018000', 'title' => ''], + 'BackupFinishedTime' => ['description' => 'The end time of this backup.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179028000', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time of the backup data.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742189008000', 'title' => ''], + 'BackupTaskId' => ['description' => 'The backup task ID.', 'type' => 'string', 'example' => 'bt-12sui21312dd', 'title' => ''], + 'BackupType' => ['description' => 'The backup type:'."\n" + ."\n" + .'- **0**: Fast backup.'."\n" + ."\n" + .'- **1**: Consistent backup.', 'type' => 'string', 'example' => 'FullBackup', 'title' => ''], + 'InstanceSnapshot' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'c-37708ec80b5****', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-2ze0cez8106f2n85c2d7i', 'title' => ''], + 'RunMode' => ['description' => 'The cluster\'s running mode:'."\n" + ."\n" + .'- Shared-nothing.'."\n" + ."\n" + .'- Shared-data.', 'type' => 'string', 'example' => 'shared_data', 'title' => ''], + 'SpecType' => ['description' => 'The compute group specification type. Includes the following types:'."\n" + ."\n" + .'- standard: Standard Edition.'."\n" + ."\n" + .'- localSSD: Local SSD.'."\n" + ."\n" + .'- bigData: Large-capacity storage.'."\n" + ."\n" + .'- ramEnhanced: Memory-enhanced instance family.'."\n" + ."\n" + .'- networkEnhanced: Network-enhanced.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzd7frphchx3a', 'title' => ''], + 'Version' => ['description' => 'The cluster version.', 'type' => 'string', 'example' => '3.3', 'title' => ''], + 'MinorVersion' => ['description' => 'The minor version number.', 'type' => 'string', 'example' => '3.3.13-1.0-1.7.2', 'title' => ''], + 'NodeGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentType' => ['description' => 'The compute group type. Includes the following values:'."\n" + ."\n" + .'- FE'."\n" + ."\n" + .'- BE'."\n" + ."\n" + .'- CN'."\n" + ."\n" + .'- OBSERVER'."\n" + ."\n" + .'- AGENT', 'type' => 'string', 'example' => 'FE', 'title' => ''], + 'Cu' => ['description' => 'The number of CUs. A CU (Compute Unit) is the basic unit of measurement for the service. 1 CU equals 1 CPU core + 4 GiB memory. If SpecType is memory-enhanced instance family, 1 CU equals 1 CPU core + 8 GiB memory.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'StoragePerformanceLevel' => ['description' => 'The performance level (PL) of the cloud disk. Includes the following values:'."\n" + ."\n" + .'- pl0: Maximum random read/write IOPS of 10,000 per disk.'."\n" + ."\n" + .'- pl1: Maximum random read/write IOPS of 50,000 per disk.'."\n" + ."\n" + .'- pl2: Maximum random read/write IOPS of 100,000 per disk.'."\n" + ."\n" + .'- pl3: Maximum random read/write IOPS of 1,000,000 per disk.', 'type' => 'string', 'example' => 'pl1', 'title' => ''], + 'DiskNumber' => ['description' => 'The number of disks.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'ResidentNodeNumber' => ['description' => 'The number of nodes.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'SpecType' => ['description' => 'The compute group specification type. Includes the following types:'."\n" + ."\n" + .'- standard: Standard Edition.'."\n" + ."\n" + .'- localSSD: Local SSD.'."\n" + ."\n" + .'- bigData: Large-capacity storage.'."\n" + ."\n" + .'- ramEnhanced: Memory-enhanced instance family.'."\n" + ."\n" + .'- networkEnhanced: Network-enhanced.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'LocalStorageInstanceType' => ['description' => 'The node group\'s local SSD instance type. This value is only meaningful for ECS instances where SpecType is local SSD or large-capacity storage.', 'type' => 'string', 'example' => 'null', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The compute group information.', + 'title' => '', + 'example' => '', + ], + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'bk-time', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '1747708000', 'title' => ''], + ], + 'description' => 'The tag key.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The tag information.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The backup instance information.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], + 'Total' => ['description' => 'The total number of query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeBackups', + 'summary' => 'Obtain backup details', + 'description' => 'This is an asynchronous interface. Instance restarts are not immediate. After a successful call, the instance first enters the restarting state. The instance is successfully restarted when its status returns to running.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeBackups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"Data\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"c-d4be777ff5e8cXXX\\",\\n \\"Size\\": 100,\\n \\"Status\\": \\"RUNNING\\",\\n \\"Description\\": \\"任务描述\\",\\n \\"SubTasks\\": [\\n {\\n \\"StartTime\\": 1747708190,\\n \\"FinishedTime\\": 1747718190,\\n \\"SnapshotName\\": \\"2025-02-10_backup\\",\\n \\"DataBase\\": \\"test1\\",\\n \\"Table\\": \\"cdc_ods_t2030_lcpf_api_topic_msg\\",\\n \\"Size\\": 1,\\n \\"Status\\": \\"success\\",\\n \\"Detail\\": \\"[]\\"\\n }\\n ],\\n \\"BackupStartTime\\": 1742179018000,\\n \\"BackupFinishedTime\\": 1742179028000,\\n \\"ExpireTime\\": 1742189008000,\\n \\"BackupTaskId\\": \\"bt-12sui21312dd\\",\\n \\"BackupType\\": \\"FullBackup\\",\\n \\"InstanceSnapshot\\": {\\n \\"InstanceName\\": \\"c-37708ec80b5****\\",\\n \\"VpcId\\": \\"vpc-2ze0cez8106f2n85c2d7i\\",\\n \\"RunMode\\": \\"shared_data\\",\\n \\"SpecType\\": \\"standard\\",\\n \\"ResourceGroupId\\": \\"rg-aekzd7frphchx3a\\",\\n \\"Version\\": \\"3.3\\",\\n \\"MinorVersion\\": \\"3.3.13-1.0-1.7.2\\",\\n \\"NodeGroups\\": [\\n {\\n \\"ComponentType\\": \\"FE\\",\\n \\"Cu\\": 4,\\n \\"StorageSize\\": 200,\\n \\"StoragePerformanceLevel\\": \\"pl1\\",\\n \\"DiskNumber\\": \\"2\\",\\n \\"ResidentNodeNumber\\": \\"3\\",\\n \\"SpecType\\": \\"standard\\",\\n \\"LocalStorageInstanceType\\": \\"null\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"bk-time\\",\\n \\"Value\\": \\"1747708000\\"\\n }\\n ]\\n }\\n }\\n ],\\n \\"Total\\": 1\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'manual', + ], + 'DescribeConfigHistory' => [ + 'path' => '/webapi/config/describeConfigHistory', + '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' => '244638', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163275', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], ], 'parameters' => [ [ - 'name' => 'InstanceName', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NeedTotal', 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return the total number of configuration history records.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time for the query, specified as a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1742178604000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time for the query, specified as a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1742178604000', 'title' => ''], + ], + [ + 'name' => 'EffectStatuses', + 'in' => 'query', + 'schema' => ['description' => 'Filters the results by the effective status of the configuration.', 'type' => 'string', 'required' => false, 'example' => 'effective', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'starrocks_1', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'array', + 'items' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'GmtCreate' => ['description' => 'The modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742178604000', 'title' => ''], + 'OperatorId' => ['description' => 'The ID of the user who modified the configuration.', 'type' => 'string', 'example' => '149920818483****', 'title' => ''], + 'Reason' => ['description' => 'The reason for the configuration modification.', 'type' => 'string', 'example' => 'Test.', 'title' => ''], + 'Effected' => ['description' => 'Indicates whether the configuration modification has taken effect.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ConfigMementos' => [ + 'description' => 'A list of configuration mementos.', + 'type' => 'array', + 'items' => [ + 'description' => 'A configuration memento, which records the values before and after the modification.', + 'type' => 'object', + 'properties' => [ + 'ConfigType' => ['description' => 'The configuration type. Valid values:'."\n" + ."\n" + .'- `FE`'."\n" + ."\n" + .'- `BE`'."\n" + ."\n" + .'- `core-site.xml`'."\n" + ."\n" + .'- `hdfs-site.xml`'."\n" + ."\n" + .'- `kerberos.keytab`'."\n" + ."\n" + .'- `krb5.conf`'."\n" + ."\n" + .'- `jindosdk.cfg`'."\n" + ."\n" + .'- `hadoop-env.sh`'."\n" + ."\n" + .'- `hive-site.xml`', 'type' => 'string', 'example' => 'FE', 'title' => ''], + 'ConfigKey' => ['description' => 'The name of the configuration item.', 'type' => 'string', 'example' => 'create_tablet_worker_count', 'title' => ''], + 'Before' => ['description' => 'The previous value.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'After' => ['description' => 'The new value.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'Action' => ['description' => 'The action performed. Valid values:'."\n" + ."\n" + .'- `MODIFY`'."\n" + ."\n" + .'- `ADD`'."\n" + ."\n" + .'- `DELETE`', 'type' => 'string', 'example' => 'MODIFY', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ConfigHistoryId' => ['description' => 'The configuration history ID.', 'type' => 'string', 'example' => '6838', 'title' => ''], + 'Rollback' => ['description' => 'Indicates whether the change was a rollback.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EffectStatus' => ['description' => 'The effective status.', 'type' => 'string', 'example' => 'effective', 'title' => ''], + 'ConfigHistoryEffectDetails' => [ + 'description' => 'Details about the effect of the configuration change.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details about the effect of the configuration change on a specific node.', + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['description' => 'The compute group ID.', 'type' => 'string', 'example' => 'ng-e6e15d2cdefdb38c', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => '10000367486', 'title' => ''], + 'EffectStatus' => ['description' => 'The effective status on the node.', 'type' => 'string', 'example' => 'effective', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'The access denied details.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'Query configuration modification history', + 'summary' => 'Querying instance configuration history', + 'description' => 'This is an asynchronous API, meaning the instance restart is not immediate. After a successful call, the instance enters the `restarting` state, and the process completes when its state changes to `running`.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeConfigHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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 \\"Total\\": 3,\\n \\"Data\\": [\\n {\\n \\"GmtCreate\\": 1742178604000,\\n \\"OperatorId\\": \\"149920818483****\\",\\n \\"Reason\\": \\"Test.\\",\\n \\"Effected\\": true,\\n \\"ConfigMementos\\": [\\n {\\n \\"ConfigType\\": \\"FE\\",\\n \\"ConfigKey\\": \\"create_tablet_worker_count\\",\\n \\"Before\\": \\"3\\",\\n \\"After\\": \\"4\\",\\n \\"Action\\": \\"MODIFY\\"\\n }\\n ],\\n \\"ConfigHistoryId\\": \\"6838\\",\\n \\"Rollback\\": false,\\n \\"EffectStatus\\": \\"effective\\",\\n \\"ConfigHistoryEffectDetails\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-e6e15d2cdefdb38c\\",\\n \\"NodeId\\": \\"10000367486\\",\\n \\"EffectStatus\\": \\"effective\\"\\n }\\n ]\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'DescribeEventNames' => [ + 'summary' => 'Retrieve the cluster event name.', + 'path' => '/webapi/event/describeEventNames', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '282053', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => ['description' => 'The event name.', 'type' => 'string', 'example' => '当前用户下行带宽超过流控阈值', 'title' => ''], + 'description' => 'The returned data.', + 'title' => '', + 'example' => 'User downstream bandwidth exceeds throttling threshold', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c-a0cb1c8ad6d35XXX', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeEventNames', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeEventNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"Total\\": 3,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n \\"当前用户下行带宽超过流控阈值\\"\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeInnerIpWhitelistGroups' => [ + 'path' => '/webapi/securityGroup/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageNumber', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '240836', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InnerIpWhitelistGroupId' => ['description' => 'The name of the whitelist group.', 'type' => 'string', 'example' => 'test1', 'title' => ''], + 'CidrIpList' => [ + 'type' => 'array', + 'items' => ['description' => 'A CIDR block.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'description' => 'The list of CIDR blocks.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'List of devices.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInnerIpWhitelistGroups', + 'summary' => 'Describes the whitelist groups for a private network.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeInnerIpWhitelistGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"data\\": [\\n {\\n \\"InnerIpWhitelistGroupId\\": \\"test1\\",\\n \\"CidrIpList\\": [\\n \\"192.168.0.0/16\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'DescribeInstanceConfigs' => [ + 'summary' => 'Queries instance configurations.', + 'path' => '/webapi/config/describeInstanceConfigs', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163265', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'ConfigType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the configuration item. Valid values:'."\n" + ."\n" + .'- FE'."\n" + ."\n" + .'- BE'."\n" + ."\n" + .'- CORE', 'type' => 'string', 'required' => false, 'example' => 'FE', 'title' => ''], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'query', + 'schema' => ['description' => 'The key of the configuration item.', 'type' => 'string', 'required' => false, 'example' => 'enable_udf', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the configuration item\'s feature.', 'type' => 'string', 'example' => 'Whether to enable UDF.', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'AllowModify', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether the configuration item can be modified.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'NeedTotal', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether to return all configuration items.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number for the query. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], [ 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page for a paged query. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConfigType' => ['description' => 'The type of the configuration item. Valid values:'."\n" + ."\n" + .'- FE'."\n" + ."\n" + .'- BE'."\n" + ."\n" + .'- CORE', 'type' => 'string', 'example' => 'FE', 'title' => ''], + 'ConfigKey' => ['description' => 'The key of the configuration item.', 'type' => 'string', 'example' => 'enable_udf', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value of the configuration item.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ConfigValue' => ['description' => 'The value of the configuration item.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Restart' => ['description' => 'Indicates whether the instance needs to be restarted after the configuration item is changed. Valid values:'."\n" + ."\n" + .'- **true**: Restart.'."\n" + ."\n" + .'- **false**: Do not restart.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Unit' => ['description' => 'The unit of the configuration item. An empty string is returned if no unit is available.', 'type' => 'string', 'example' => 's', 'title' => ''], + 'ValueType' => ['description' => 'The data type of the configuration item\'s value.', 'type' => 'string', 'example' => 'INT', 'title' => ''], + 'ValueRange' => ['description' => 'The value range of the configuration item. An empty string is returned if no value range is available.', 'type' => 'string', 'example' => 'true,false', 'title' => ''], + 'AllowModify' => ['description' => 'Indicates whether the configuration item can be modified.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Description' => ['description' => 'The description of the configuration item\'s feature.', 'type' => 'string', 'example' => 'Whether to enable UDF.', 'title' => ''], + 'Custom' => ['description' => 'Indicates whether the item is a custom configuration.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'NodeGroupId' => ['description' => 'The compute group ID.', 'type' => 'string', 'example' => 'ng-3d5ce6454354****', 'title' => ''], + 'DefaultNodeGroup' => ['description' => 'Indicates whether it is the default compute group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NodeGroupName' => ['description' => 'The name of the compute group.', 'type' => 'string', 'example' => 'ng_1', 'title' => ''], + 'DescriptionEn' => ['description' => 'The English description of the configuration item.', 'type' => 'string', 'example' => 'A boolean value to control whether to enable the synchronization of the tablet metadata. true indicates enabling synchronization, and false indicates disabling it.', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'The details of the access denied error.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInstanceConfigs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RegionId', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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 \\"Total\\": 4,\\n \\"Data\\": [\\n {\\n \\"ConfigType\\": \\"FE\\",\\n \\"ConfigKey\\": \\"enable_udf\\",\\n \\"DefaultValue\\": \\"true\\",\\n \\"ConfigValue\\": \\"false\\",\\n \\"Restart\\": true,\\n \\"Unit\\": \\"s\\",\\n \\"ValueType\\": \\"INT\\",\\n \\"ValueRange\\": \\"true,false\\",\\n \\"AllowModify\\": \\"true\\",\\n \\"Description\\": \\"Whether to enable UDF.\\",\\n \\"Custom\\": false,\\n \\"NodeGroupId\\": \\"ng-3d5ce6454354****\\",\\n \\"DefaultNodeGroup\\": true,\\n \\"NodeGroupName\\": \\"ng_1\\",\\n \\"DescriptionEn\\": \\"A boolean value to control whether to enable the synchronization of the tablet metadata. true indicates enabling synchronization, and false indicates disabling it.\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeInstanceDiagnosisResult' => [ + 'summary' => 'Retrieve instance health diagnosis results.', + 'path' => '/webapi/diagnosis/describe', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '268147', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number for paged queries. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'default' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => 'The number of authorized entries displayed per page for paged queries. The default value is 10, and the maximum value is 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'Dimension', + 'in' => 'query', + 'schema' => ['description' => 'Evaluation dimension.', 'type' => 'string', 'required' => false, 'example' => 'table_analysis', 'title' => ''], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'schema' => ['description' => 'Status collection.', 'type' => 'string', 'required' => false, 'example' => 'healthy', 'title' => ''], + ], + [ + 'name' => 'ReportDate', + 'in' => 'query', + 'schema' => ['description' => 'Report time.', 'type' => 'string', 'required' => false, 'example' => '2026-03-08', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'Total number of query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Dimension' => ['description' => 'Evaluation dimension.', 'type' => 'string', 'example' => 'table_analysis', 'title' => ''], + 'ItemId' => ['description' => 'Evaluation item ID.', 'type' => 'string', 'example' => '02cf887a', 'title' => ''], + 'ItemName' => ['description' => 'Evaluation item name.', 'type' => 'string', 'example' => 'Evaluate unreasonable partition and bucket configuration', 'title' => ''], + 'Introduction' => ['description' => 'Evaluation item introduction.', 'type' => 'string', 'example' => 'for autotest', 'title' => ''], + 'FullScore' => ['description' => 'Full score for the evaluation item.', 'type' => 'number', 'format' => 'double', 'example' => '10.0', 'title' => ''], + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'example' => 'c-b25e21e243889XXX', 'title' => ''], + 'EvaluationTime' => ['description' => 'Evaluation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2026-03-08T02:12:32Z', 'title' => ''], + 'Status' => ['description' => 'Status list.'."\n" + ."\n" + .'- healthy'."\n" + ."\n" + .'- info'."\n" + ."\n" + .'- medium'."\n" + ."\n" + .'- critical', 'type' => 'string', 'example' => 'healthy', 'title' => ''], + 'Description' => ['description' => 'Diagnosis item description.', 'type' => 'string', 'example' => 'Evaluate unreasonable partition and bucket configuration', 'title' => ''], + 'Score' => ['description' => 'Diagnosis score.', 'type' => 'number', 'format' => 'double', 'example' => '10.0', 'title' => ''], + 'Suggestion' => ['description' => 'Diagnosis suggestion.', 'type' => 'string', 'example' => '未出现分桶大小超过5GB的情况,评估结果为健康。', 'title' => ''], + 'BestPractice' => ['description' => 'Best Practices.', 'type' => 'string', 'example' => '无', 'title' => ''], + 'ReportDate' => ['description' => 'Report date.', 'type' => 'string', 'example' => '2026-03-08', 'title' => ''], + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInstanceDiagnosisResult', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'InstanceStatus', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceDiagnosisResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Total\\": 3,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\",\\n \\"Data\\": [\\n {\\n \\"Dimension\\": \\"table_analysis\\",\\n \\"ItemId\\": \\"02cf887a\\",\\n \\"ItemName\\": \\"Evaluate unreasonable partition and bucket configuration\\",\\n \\"Introduction\\": \\"for autotest\\",\\n \\"FullScore\\": 10,\\n \\"InstanceId\\": \\"c-b25e21e243889XXX\\",\\n \\"EvaluationTime\\": 0,\\n \\"Status\\": \\"healthy\\",\\n \\"Description\\": \\"Evaluate unreasonable partition and bucket configuration\\",\\n \\"Score\\": 10,\\n \\"Suggestion\\": \\"未出现分桶大小超过5GB的情况,评估结果为健康。\\",\\n \\"BestPractice\\": \\"无\\",\\n \\"ReportDate\\": \\"2026-03-08\\"\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeInstanceMetaToken' => [ + 'summary' => 'Obtains the meta token for a StarRocks instance.', + 'path' => '/webapi/migration/getMetaToken', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '266738', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Data' => ['description' => 'The token value.', 'type' => 'string', 'example' => '4ac66c5b-f3ef-4fce-8b52-d7f5f9*******', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about an access-denied error.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'running,creating', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInstanceMetaToken', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceMetaToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Total\\": 3,\\n \\"Data\\": \\"4ac66c5b-f3ef-4fce-8b52-d7f5f9*******\\",\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'DescribeInstances' => [ + 'path' => '/webapi/starrocks/describeInstances', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '244638', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'starrocks_1', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-a0cb1c8ad6d35XXX', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceStatus', + 'in' => 'query', + 'schema' => ['description' => 'The instance status to filter by. You can specify multiple statuses, separated by commas. Valid values:'."\n" + ."\n" + .'- unpaid'."\n" + ."\n" + .'- paid'."\n" + ."\n" + .'- creating'."\n" + ."\n" + .'- running'."\n" + ."\n" + .'- updating'."\n" + ."\n" + .'- disable'."\n" + ."\n" + .'- deleting'."\n" + ."\n" + .'- scaling\\_out'."\n" + ."\n" + .'- scaling\\_in'."\n" + ."\n" + .'- scaling\\_up'."\n" + ."\n" + .'- scaling\\_down'."\n" + ."\n" + .'- upgrading'."\n" + ."\n" + .'- modifying\\_config'."\n" + ."\n" + .'- enable\\_public\\_network'."\n" + ."\n" + .'- disable\\_public\\_network'."\n" + ."\n" + .'- convert\\_from\\_trial\\_to\\_official'."\n" + ."\n" + .'- restarting'."\n" + ."\n" + .'- migration\\_cluster\\_to\\_serverless'."\n" + ."\n" + .'- actively\\_disabled'."\n" + ."\n" + .'- enabling'."\n" + ."\n" + .'- agent\\_creating'."\n" + ."\n" + .'- agent\\_scaling\\_up', 'type' => 'string', 'required' => false, 'example' => 'running,creating', 'title' => ''], + ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmygmtrcenXXX', - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmygmtrcenXXX', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The list of tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tag information.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'k1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'k1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -1135,260 +2715,247 @@ '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The query results.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The instance information.', '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****', - ], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'c-d4be777ff5e8cXXX', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceStatus' => ['description' => 'The instance status. Valid values:'."\n" + ."\n" + .'- not\\_init: The instance is not initialized.'."\n" + ."\n" + .'- unpaid: The instance is pending payment.'."\n" + ."\n" + .'- paid: The payment is made.'."\n" + ."\n" + .'- creating: The instance is being created.'."\n" + ."\n" + .'- creating\\_failed: The instance failed to be created.'."\n" + ."\n" + .'- created: The instance is created.'."\n" + ."\n" + .'- running: The instance is running.'."\n" + ."\n" + .'- updating: The instance is being upgraded.'."\n" + ."\n" + .'- agent\\_creating: The agent is being created.'."\n" + ."\n" + .'- agent\\_scaling\\_up: The agent is being upgraded.'."\n" + ."\n" + .'- modifying\\_config: The configurations are being updated.'."\n" + ."\n" + .'- scaling\\_out: The instance is being scaled out.'."\n" + ."\n" + .'- restarting: The instance is restarting.'."\n" + ."\n" + .'- scaling\\_in: The instance is being scaled in.'."\n" + ."\n" + .'- scaling\\_up: The instance is being upgraded.'."\n" + ."\n" + .'- scaling\\_down: The instance is being downgraded.'."\n" + ."\n" + .'- upgrading: The instance is being upgraded.'."\n" + ."\n" + .'- enable\\_public\\_network: The public endpoint is being enabled.'."\n" + ."\n" + .'- disable\\_public\\_network: The public endpoint is being disabled.'."\n" + ."\n" + .'- convert\\_from\\_trial\\_to\\_official: The instance edition is being changed.'."\n" + ."\n" + .'- migration\\_cluster\\_to\\_serverless: The cluster is being migrated.'."\n" + ."\n" + .'- modifying\\_timezone: The time zone is being modified.'."\n" + ."\n" + .'- switch\\_az: The primary and secondary zones are being switched.'."\n" + ."\n" + .'- enabling: The instance is being resumed.'."\n" + ."\n" + .'- disable: The instance is unavailable.'."\n" + ."\n" + .'- actively\\_disabled: The instance is unavailable.'."\n" + ."\n" + .'- deleting: The instance is being deleted.'."\n" + ."\n" + .'- deleting\\_failed: The instance failed to be deleted.'."\n" + ."\n" + .'- deleted\\_with\\_error: The instance is deleted due to a creation failure.'."\n" + ."\n" + .'- deleted: The instance is deleted.', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'sr_test_1', 'title' => ''], + 'PackageType' => ['description' => 'The instance edition. Valid values:'."\n" + ."\n" + .'- trial: Trial Edition.'."\n" + ."\n" + .'- official: Standard Edition.', 'type' => 'string', 'example' => 'official', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmytyuofb****', 'title' => ''], 'Tags' => [ - 'description' => '', + 'description' => 'The tags attached to the instance.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tag information.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'k1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'v1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'k1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'v1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'BeginTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1733292921000', - ], - 'ExpireTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4889001600000', - ], - 'RunningTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3645445', - ], + 'BeginTime' => ['description' => 'The time when the cluster was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1733292921000', 'title' => ''], + 'ExpireTime' => ['description' => 'The time when the cluster expires.', 'type' => 'integer', 'format' => 'int64', 'example' => '4889001600000', 'title' => ''], + 'RunningTime' => ['description' => 'The duration for which the cluster has been running. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '3645445', 'title' => ''], 'VSwitches' => [ - 'description' => '', + 'description' => 'The list of vSwitches.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The vSwitch information.', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'VswId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-bp1p0mldwx5av55v0xXXX', - ], - 'Primary' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'VswId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1p0mldwx5av55v0xXXX', 'title' => ''], + 'Primary' => ['description' => 'Indicates whether the vSwitch is the primary vSwitch.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - '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****', - ], + 'PayType' => ['description' => 'The billing method:'."\n" + ."\n" + .'- prePaid: subscription.'."\n" + ."\n" + .'- postPaid: pay-as-you-go.', 'type' => 'string', 'example' => 'postPaid', 'title' => ''], + 'Version' => ['description' => 'The cluster version.', 'type' => 'string', 'example' => '3.2', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp1rbvag1cafkj4prwXXX', 'title' => ''], + 'RunMode' => ['description' => 'The running mode of the cluster:'."\n" + ."\n" + .'- shared\\_nothing: all-in-one.'."\n" + ."\n" + .'- shared\\_data: storage-compute separation.'."\n" + ."\n" + .'- lakehouse: data lake analytics.', 'type' => 'string', 'example' => 'shared_nothing', 'title' => ''], + 'MaintainablePeriod' => ['description' => 'The maintenance window of the instance. Valid values:'."\n" + ."\n" + .'- 00:00-06:00'."\n" + ."\n" + .'- 06:00-07:00'."\n" + ."\n" + .'- 07:00-08:00'."\n" + ."\n" + .'- 08:00-09:00'."\n" + ."\n" + .'- 09:00-10:00'."\n" + ."\n" + .'- 10:00-11:00'."\n" + ."\n" + .'- 11:00-12:00'."\n" + ."\n" + .'- 12:00-13:00'."\n" + ."\n" + .'- 13:00-14:00'."\n" + ."\n" + .'- 14:00-15:00'."\n" + ."\n" + .'- 15:00-16:00'."\n" + ."\n" + .'- 16:00-17:00'."\n" + ."\n" + .'- 17:00-18:00'."\n" + ."\n" + .'- 18:00-19:00'."\n" + ."\n" + .'- 19:00-20:00'."\n" + ."\n" + .'- 20:00-21:00'."\n" + ."\n" + .'- 21:00-22:00'."\n" + ."\n" + .'- 22:00-23:00'."\n" + ."\n" + .'- 23:00-24:00', 'type' => 'string', 'example' => '00:00-06:00', 'title' => ''], + 'MinorVersion' => ['description' => 'The minor version number.', 'type' => 'string', 'example' => '3.2.11-1.79-1.6.5', 'title' => ''], + 'EnableAutoMinorVersionUpgrade' => ['description' => 'Indicates whether automatic minor version upgrades are enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnabledAuditLoader' => ['description' => 'Indicates whether the audit plugin is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'MonitorType' => ['description' => 'The type of the monitoring service.', 'type' => 'string', 'example' => 'cms', 'title' => ''], + 'Architecture' => ['description' => 'The instance architecture. Valid values:'."\n" + ."\n" + .'- onEci: deployed on ECI.'."\n" + ."\n" + .'- onECS: deployed on ECS.'."\n" + ."\n" + .'- onBareMetal: deployed on a bare metal resource pool.', 'type' => 'string', 'example' => 'onECS', 'title' => ''], + 'AclId' => ['description' => 'The ID of the network access control list (ACL).', 'type' => 'string', 'example' => 'acl-bp1xc6b9vs013jjtp****', 'title' => ''], + 'SgId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-8vbaz2etr66a62b9****', 'title' => ''], + 'OssLocation' => ['description' => 'The OSS URL.', 'type' => 'string', 'example' => 'oss://sr-c-****', 'title' => ''], + 'SecurityGroupManaged' => ['description' => 'Indicates whether the security group is a managed security group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IsolateLeader' => ['description' => 'Indicates whether read/write splitting is enabled. If this parameter is set to true, the leader FE node processes write requests, and the other FE nodes process read requests.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnableSSL' => ['description' => 'Indicates whether SSL is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Encrypted' => ['description' => 'Indicates whether encryption is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'KmsKeyId' => ['description' => 'The ID of the KMS key.', 'type' => 'string', 'example' => 'rewqfds****', 'title' => ''], + 'EnableAiFunction' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + 'EnableMultiAz' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + 'AiFunctionInstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'summary' => 'This operation queries Serverless StarRocks instances. You can filter the instances by criteria such as instance name and tags.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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 \\"EnableAiFunction\\": false,\\n \\"EnableMultiAz\\": false,\\n \\"AiFunctionInstanceId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'machine', ], 'DescribeNodeGroups' => [ - 'summary' => '获取节点组信息', 'path' => '/webapi/nodegroup/describeNodeGroups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -1396,101 +2963,123 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '219304', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number for a paged query. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100000', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of entries per page in a paged query. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c-718fb04c7112****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-718fb04c7112****', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ - 'instanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'null', - ], + 'instanceId' => ['description' => 'The instance ID. This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], 'componentType' => [ - 'description' => '', + 'description' => 'The type of the compute group. Valid values:'."\n" + ."\n" + .'- FE'."\n" + ."\n" + .'- BE'."\n" + ."\n" + .'- CN'."\n" + ."\n" + .'- OBSERVER'."\n" + ."\n" + .'- AGENT', 'type' => 'string', + 'enum' => ['FE', 'BE', 'CN', 'AGENT', 'OBSERVER'], 'required' => false, 'example' => 'FE', - 'enum' => [ - 'FE', - 'BE', - 'CN', - 'AGENT', - 'OBSERVER', - ], + 'title' => '', ], 'nodeGroupIds' => [ - 'description' => '', + 'description' => 'The list of compute group IDs to query.', + 'type' => 'array', + 'items' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-a9b2e9148196****'."\n", 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'nodeGroupName' => ['description' => 'The name of the compute group.', 'type' => 'string', 'required' => false, 'example' => 'ng_1', 'title' => ''], + 'status' => ['description' => 'The status of the compute group. Valid values:'."\n" + ."\n" + .'- UNPAID: Awaiting payment.'."\n" + ."\n" + .'- PAID: Paid.'."\n" + ."\n" + .'- CREATING\\_FAILED: Creation failed.'."\n" + ."\n" + .'- CREATING: Creating.'."\n" + ."\n" + .'- RUNNING: Running.'."\n" + ."\n" + .'- MODIFYING\\_CONFIG: Modifying configuration.'."\n" + ."\n" + .'- MODIFYING\\_TIMEZONE: Modifying time zone.'."\n" + ."\n" + .'- ELASTIC\\_SCALING\\_OUT: Elastically scaling out.'."\n" + ."\n" + .'- ELASTIC\\_SCALING\\_IN: Elastically scaling in.'."\n" + ."\n" + .'- SCALING\\_OUT: Scaling out.'."\n" + ."\n" + .'- RESTARTING: Restarting.'."\n" + ."\n" + .'- SCALING\\_IN: Scaling in.'."\n" + ."\n" + .'- SCALING\\_UP: Upgrading.'."\n" + ."\n" + .'- SCALING\\_DOWN: Downgrading.'."\n" + ."\n" + .'- UPGRADING: Upgrading.'."\n" + ."\n" + .'- ENABLE\\_PUBLIC\\_NETWORK: Enabling public endpoint.'."\n" + ."\n" + .'- DISABLE\\_PUBLIC\\_NETWORK: Disabling public endpoint.'."\n" + ."\n" + .'- SWITCH\\_AZ: Switching zone.'."\n" + ."\n" + .'- DISABLE: Disabled.'."\n" + ."\n" + .'- DELETING: Deleting.'."\n" + ."\n" + .'- DELETED: Deleted.', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', 'title' => ''], + 'tags' => [ 'type' => 'array', 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-a9b2e9148196****'."\n", + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'nodeGroupName' => [ 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ng_1', - ], - 'status' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'RUNNING', + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -1499,344 +3088,1112 @@ '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F285E0EC-E928-5E0B-B2C3-7F3FE42F2BE5', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned data.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The returned data.', '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', + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'c-96f3bc7f04b2****', 'title' => ''], + 'NodeGroupId' => ['description' => 'The compute group ID.', 'type' => 'string', 'example' => 'ng-5e2ba600fee3****', 'title' => ''], + 'NodeGroupName' => ['description' => 'The name of the compute group.', 'type' => 'string', 'example' => 'ng_1', 'title' => ''], + 'Description' => ['description' => 'The description of the compute group.', 'type' => 'string', 'example' => 'ETL计算组', 'title' => ''], + 'Status' => ['description' => 'The status of the compute group. Valid values:'."\n" + ."\n" + .'- UNPAID: Awaiting payment.'."\n" + ."\n" + .'- PAID: Paid.'."\n" + ."\n" + .'- CREATING\\_FAILED: Creation failed.'."\n" + ."\n" + .'- CREATING: Creating.'."\n" + ."\n" + .'- RUNNING: Running.'."\n" + ."\n" + .'- MODIFYING\\_CONFIG: Modifying configuration.'."\n" + ."\n" + .'- MODIFYING\\_TIMEZONE: Modifying time zone.'."\n" + ."\n" + .'- ELASTIC\\_SCALING\\_OUT: Elastically scaling out.'."\n" + ."\n" + .'- ELASTIC\\_SCALING\\_IN: Elastically scaling in.'."\n" + ."\n" + .'- SCALING\\_OUT: Scaling out.'."\n" + ."\n" + .'- RESTARTING: Restarting.'."\n" + ."\n" + .'- SCALING\\_IN: Scaling in.'."\n" + ."\n" + .'- SCALING\\_UP: Upgrading.'."\n" + ."\n" + .'- SCALING\\_DOWN: Downgrading.'."\n" + ."\n" + .'- UPGRADING: Upgrading.'."\n" + ."\n" + .'- ENABLE\\_PUBLIC\\_NETWORK: Enabling public endpoint.'."\n" + ."\n" + .'- DISABLE\\_PUBLIC\\_NETWORK: Disabling public endpoint.'."\n" + ."\n" + .'- SWITCH\\_AZ: Switching zone.'."\n" + ."\n" + .'- DISABLE: Disabled.'."\n" + ."\n" + .'- DELETING: Deleting.'."\n" + ."\n" + .'- DELETED: Deleted.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'ComponentType' => ['description' => 'The type of the compute group. Valid values:'."\n" + ."\n" + .'- FE'."\n" + ."\n" + .'- BE'."\n" + ."\n" + .'- CN'."\n" + ."\n" + .'- OBSERVER'."\n" + ."\n" + .'- AGENT', 'type' => 'string', 'example' => 'FE', 'title' => ''], + 'PayType' => ['description' => 'The billing method:'."\n" + ."\n" + .'1. prePaid: subscription.'."\n" + ."\n" + .'2. postPaid: pay-as-you-go.', 'type' => 'string', 'example' => 'prePaid', 'title' => ''], + 'Cu' => ['description' => 'The number of CUs. A Compute Unit (CU) is the basic unit of measurement for the service. One CU equals 1 CPU core and 4 GiB of memory. For the memory-enhanced instance family, one CU equals 1 CPU core and 8 GiB of memory.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'MemoryCpuRatio' => ['description' => 'The ratio of memory size to the number of CUs. The value is 8 if SpecType is ramEnhanced. For other instance types, the value is 4.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'StoragePerformanceLevel' => ['description' => 'The performance level (PL) of the disk. Valid values:'."\n" + ."\n" + .'- pl0: A single disk provides up to 10,000 random read/write input/output operations per second (IOPS).'."\n" + ."\n" + .'- pl1: A single disk provides up to 50,000 random read/write IOPS.'."\n" + ."\n" + .'- pl2: A single disk provides up to 100,000 random read/write IOPS.'."\n" + ."\n" + .'- pl3: A single disk provides up to 1,000,000 random read/write IOPS.', 'type' => 'string', 'example' => 'pl1', 'title' => ''], + 'DiskNumber' => ['description' => 'The number of disks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ResidentNodeNumber' => ['description' => 'The number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'SpecType' => ['description' => 'The instance type of the compute group. Valid values:'."\n" + ."\n" + .'- standard: Standard Edition.'."\n" + ."\n" + .'- localSSD: Local SSD.'."\n" + ."\n" + .'- bigData: Large-storage.'."\n" + ."\n" + .'- ramEnhanced: Memory-enhanced.'."\n" + ."\n" + .'- networkEnhanced: Network-enhanced.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'Architecture' => ['description' => 'The architecture of the compute group. Valid values:'."\n" + ."\n" + .'- onEci: Deployed on ECI.'."\n" + ."\n" + .'- onECS: Deployed on ECS.'."\n" + ."\n" + .'- onBareMetal: Deployed on a bare metal resource pool.', 'type' => 'string', 'example' => 'onEci', 'title' => ''], + 'LocalStorageInstanceType' => ['description' => 'The instance type of the local SSD for the node group. This parameter is valid only when the instance is deployed on ECS and SpecType is localSSD or bigData.', 'type' => 'string', 'example' => 'local_ssd_4_4xlarge', 'title' => ''], + 'ElasticNodeNumber' => ['description' => 'The number of elastic nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the compute group.', 'type' => 'string', 'example' => 'be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com', 'title' => ''], + 'EnablePublicNetwork' => ['description' => 'Indicates whether the public endpoint is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PublicAddress' => ['description' => 'The public endpoint. This parameter is returned only when EnablePublicNetwork is true.', 'type' => 'string', 'example' => 'fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com', 'title' => ''], + 'BeginTime' => ['description' => 'The time when the compute group was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179008000', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time of the compute group.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179008000', 'title' => ''], + 'DefaultGroup' => ['description' => 'Indicates whether it is the default compute group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RunningTime' => ['description' => 'The duration for which the compute group has been running, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'TargetElasticNodeNumber' => ['description' => 'The target number of elastic nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'HttpPort' => ['description' => 'The HTTP port of the compute group.', 'type' => 'integer', 'format' => 'int32', 'example' => '8030', 'title' => ''], + 'AccountStatus' => ['description' => 'The account status. Valid values:'."\n" + ."\n" + .'- NORMAL: The account is in a normal state.'."\n" + ."\n" + .'- OVERDUE: The account has an overdue payment.', 'type' => 'string', 'example' => 'OVERDUE', 'title' => ''], + 'BillingInstanceId' => ['description' => 'The ID of the instance that corresponds to the bill. For a default compute group, such as an FE compute group or the default BE compute group, the value of this parameter is the instance ID. Otherwise, the value is the compute group ID.', 'type' => 'string', 'example' => 'c-96f3bc7f04b2****', 'title' => ''], + 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'emapreduce_starrockspost_public_cn', 'title' => ''], + 'NodeInfo' => [ + 'description' => 'The information about the nodes in the compute group.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node information.', + 'type' => 'object', + 'properties' => [ + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'cn-e1733d44-0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', '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' => [ + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], 'description' => '', - 'type' => 'string', - 'example' => 'standard', + 'title' => '', + 'example' => '', ], - 'Architecture' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'onEci', + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Total' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about the access denied error.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeNodeGroups', + 'summary' => 'Retrieves information about node groups.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeNodeGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', + ], + 'DescribeRegions' => [ + 'path' => '/webapi/region/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '158044', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '华东1(杭州)', 'title' => ''], + 'Description' => ['description' => 'The description of the region.', 'type' => 'string', 'example' => 'Hangzhou', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'DescriptionEn' => ['description' => 'The English description.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The instance information.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'Details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeRegions', + 'summary' => 'You can view the list of available regions.', + 'description' => 'This operation is asynchronous. After you call this operation, the instance enters a restarting state but does not restart immediately. The restart is complete when the instance status changes to running.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"Success\\": false,\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n {\\n \\"RegionName\\": \\"华东1(杭州)\\",\\n \\"Description\\": \\"Hangzhou\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DescriptionEn\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeResourceConstraints' => [ + 'summary' => 'Get resource constraint configurations.', + 'path' => '/webapi/starrocks/describeResourceConstraints', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '158059', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'PackageType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies the instance edition. Valid values:'."\n" + ."\n" + .'- trial: The entry-level edition.'."\n" + ."\n" + .'- official: The Standard Edition.', + 'type' => 'string', + 'enum' => ['trial', 'official'], + 'required' => false, + 'example' => 'trial', + 'title' => '', + ], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['description' => 'Specifies the run mode of the cluster. Valid values:'."\n" + ."\n" + .'- shared\\_nothing: The shared-nothing mode.'."\n" + ."\n" + .'- shared\\_data: The shared-data mode.'."\n" + ."\n" + .'- lakehouse: The data lake analytics mode.', 'type' => 'string', 'required' => false, 'example' => 'shared_data', 'title' => ''], + ], + [ + 'name' => 'Architecture', + 'in' => 'query', + 'schema' => ['description' => 'Specifies the instance architecture. Valid values:'."\n" + ."\n" + .'- onEci: The instance is deployed on ECI.'."\n" + ."\n" + .'- onEcs: The instance is deployed on ECS.'."\n" + ."\n" + .'- onBareMetal: The instance is deployed on a bare metal resource pool.', 'type' => 'string', 'required' => false, 'example' => 'onEcs', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code. A value of `Success` indicates that the request was successful.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'BeCu' => [ + 'type' => 'array', + 'items' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'description' => 'The available CU (Compute Unit) sizes for BE nodes.', + 'title' => '', + 'example' => '', + ], + 'BeNumber' => [ + 'type' => 'object', + 'properties' => [ + 'Min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Max' => ['description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Default' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], - 'LocalStorageInstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'local_ssd_4_4xlarge', + 'description' => 'The BE node configuration.', + 'title' => '', + 'example' => '', + ], + 'FeCu' => [ + 'type' => 'array', + 'items' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'description' => 'The available CU sizes for FE nodes.', + 'title' => '', + 'example' => '', + ], + 'FeStorage' => [ + 'type' => 'object', + 'properties' => [ + 'Min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Max' => ['description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '5000', 'title' => ''], + 'Step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Default' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '500', 'title' => ''], ], - 'ElasticNodeNumber' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', + 'description' => 'The storage size for the FE node.', + 'title' => '', + 'example' => '', + ], + 'FeNumber' => [ + 'type' => 'object', + 'properties' => [ + 'Min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Max' => ['description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''], + 'Step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'Default' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'be-c-79b0bb9f58ef****-internal.starrocks.aliyuncs.com', + 'description' => 'The number of FE nodes.', + 'title' => '', + 'example' => '', + ], + 'HaFeResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cu' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size, in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'NodeNumber' => ['description' => 'The total number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], - 'EnablePublicNetwork' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', + 'description' => 'The high availability (HA) FE node configuration.', + 'title' => '', + 'example' => '', + ], + 'NormalFeResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cu' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '64', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size, in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '500', 'title' => ''], + 'NodeNumber' => ['description' => 'The total number of nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], - 'PublicAddress' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fe-c-79b0bb9f58ef****.starrocks.aliyuncs.com', + 'description' => 'The standard FE resource configuration.', + 'title' => '', + 'example' => '', + ], + 'VersionConstraint' => [ + 'type' => 'object', + 'properties' => [ + 'Versions' => [ + 'type' => 'array', + 'items' => ['description' => 'A version number.', 'type' => 'string', 'example' => '["3.2","3.3","3.5"]', 'title' => ''], + 'description' => 'The available versions.', + 'title' => '', + 'example' => '', + ], + 'DefaultVersion' => ['description' => 'The default version.', 'type' => 'string', 'example' => '3.3', 'title' => ''], + 'BetaVersions' => [ + 'type' => 'array', + 'items' => ['description' => 'A beta version number.', 'type' => 'string', 'example' => '3.5', 'title' => ''], + 'description' => 'The beta versions.', + 'title' => '', + 'example' => '', + ], ], - 'BeginTime' => [ + 'description' => 'The version constraint.', + 'title' => '', + 'example' => '', + ], + 'BeStorageConstraints' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Level' => ['description' => 'The disk performance level.', 'type' => 'string', 'example' => 'PL1', 'title' => ''], + 'Desc' => ['description' => 'The description.', 'type' => 'string', 'example' => 'BE 存储约束描述', 'title' => ''], + 'ValueConstraint' => [ + 'type' => 'object', + 'properties' => [ + 'Min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Max' => ['description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Default' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'description' => 'The value constraint.', + 'title' => '', + 'example' => '', + ], + 'IsDefault' => ['description' => 'Indicates whether this is the default option.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DiskNumberConstraint' => [ + 'type' => 'object', + 'properties' => [ + 'Min' => ['description' => 'The minimum number of disks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Max' => ['description' => 'The maximum number of disks.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Default' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'description' => 'The disk count constraint.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1742179008000', + 'title' => '', + 'example' => '', ], - 'ExpireTime' => [ + 'description' => 'The storage constraints for BE nodes.', + 'title' => '', + 'example' => '', + ], + 'SpecType' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'Display' => ['description' => 'The display name.', 'type' => 'string', 'example' => '标准版', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1742179008000', + 'title' => '', + 'example' => '', ], - 'DefaultGroup' => [ + 'description' => 'The instance type for compute nodes. Valid values:'."\n" + ."\n" + .'- `standard`: Standard.'."\n" + ."\n" + .'- `localSSD`: Local SSD.'."\n" + ."\n" + .'- `bigData`: Large-capacity storage.'."\n" + ."\n" + .'- `ramEnhanced`: Memory-enhanced.'."\n" + ."\n" + .'- `networkEnhanced`: Network-enhanced.', + 'example' => 'standard', + 'title' => '', + ], + 'FeSpecType' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'Display' => ['description' => 'The display name.', 'type' => 'string', 'example' => '标准版', 'title' => ''], + ], 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'title' => '', + 'example' => '', ], - 'RunningTime' => [ + 'description' => 'The instance types for FE nodes.', + 'title' => '', + 'example' => '', + ], + 'BigDataInstanceTypeConstraints' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'local_hdd_2s_5xlarge', 'title' => ''], + 'EcsInstanceType' => ['description' => 'The corresponding ECS instance family.', 'type' => 'string', 'example' => 'ecs.d2s.5xlarge', 'title' => ''], + 'DiskNumber' => ['description' => 'The disk count.', 'type' => 'string', 'example' => '8', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size, in GiB.', 'type' => 'string', 'example' => '7300', 'title' => ''], + 'Display' => ['description' => 'The display name.', 'type' => 'string', 'example' => '20核 88GiB 8*7300GiB 本地HDD盘', 'title' => ''], + 'IsDefault' => ['description' => 'Indicates whether this is the default option.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Cpu' => ['description' => 'The number of vCPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'Memory' => ['description' => 'The memory size, in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '88', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', + 'title' => '', + 'example' => '', ], - 'TargetElasticNodeNumber' => [ + 'description' => 'The specification constraints for big data instance types.', + 'title' => '', + 'example' => '', + ], + 'LocalSSDInstanceTypeConstraints' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'local_ssd_2g_4xlarge', 'title' => ''], + 'EcsInstanceType' => ['description' => 'The corresponding ECS instance family.', 'type' => 'string', 'example' => 'ecs.i2g.4xlarge', 'title' => ''], + 'DiskNumber' => ['description' => 'The disk count.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'StorageSize' => ['description' => 'The storage size, in GiB.', 'type' => 'string', 'example' => '1788', 'title' => ''], + 'Display' => ['description' => 'The display name.', 'type' => 'string', 'example' => '[i2g]16核 64GiB 1*1788GiB 本地SSD盘', 'title' => ''], + 'IsDefault' => ['description' => 'Indicates whether this is the default option.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Cpu' => ['description' => 'The number of vCPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + 'Memory' => ['description' => 'The memory size, in GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '64', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', + 'title' => '', + 'example' => '', ], - 'HttpPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8030', + 'description' => 'The specification constraints for local SSD instance types.', + 'title' => '', + 'example' => '', + ], + 'ZoneSupportedSpecTypes' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'array', + 'items' => ['description' => 'An instance type supported in this availability zone.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'description' => 'The availability zone ID.', + 'example' => 'cn-beijing-h', + 'title' => '', ], - 'AccountStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'OVERDUE', + 'description' => 'The instance types supported in each availability zone.', + 'title' => '', + 'example' => '', + ], + 'ZoneSupportedEedTypes' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'array', + 'items' => ['description' => 'An EED type supported in this availability zone.', 'type' => 'string', 'example' => 'eed_standard', 'title' => ''], + 'example' => 'cn-beijing-h', + 'description' => 'The availability zone ID.', + 'title' => '', ], - 'BillingInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c-96f3bc7f04b2****', + 'description' => 'The EED types supported in each availability zone.', + 'title' => '', + 'example' => '', + ], + 'SplitDiskThresholdMap' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'array', + 'items' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '已废弃。', 'title' => ''], + 'example' => '已废弃。', + 'description' => 'This parameter is deprecated.', + 'title' => '', + ], + 'description' => 'This parameter is deprecated.', + 'example' => '已废弃。', + 'title' => '', ], - 'CommodityCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emapreduce_starrockspost_public_cn', + 'description' => 'This parameter is deprecated.', + 'example' => 'Deprecated.', + 'title' => '', + ], + 'FeCuOnEcs' => [ + 'type' => 'array', + 'items' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'description' => 'The CU sizes for FE nodes on ECS.', + 'title' => '', + 'example' => '', + ], + 'BeCuOnEcs' => [ + 'type' => 'array', + 'items' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'description' => 'The CU sizes for BE nodes on ECS.', + 'title' => '', + 'example' => '', + ], + 'AgentCu' => [ + 'type' => 'array', + 'items' => ['description' => 'The CU (Compute Unit) size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'description' => 'The CU sizes for agents.', + 'title' => '', + 'example' => '', + ], + 'compactionServiceCuConstraint' => [ + 'type' => 'object', + 'properties' => [ + 'min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'max' => ['description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '256', 'title' => ''], + 'def' => ['description' => 'The default value.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + 'step' => ['description' => 'The step.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], ], - 'NodeInfo' => [ - 'description' => '', + 'description' => 'The CU constraints for the compaction service.', + 'title' => '', + 'example' => '', + ], + 'zoneSupportCompactionService' => [ + 'type' => 'object', + 'additionalProperties' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'NodeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-e1733d44-0', - ], + 'zoneId' => ['description' => 'The availability zone ID.', 'type' => 'string', 'title' => '', 'example' => ''], + 'resourceLevel' => ['description' => 'The resource level.', 'type' => 'string', 'title' => '', 'example' => ''], + 'recommended' => ['description' => 'Indicates whether this is the recommended option.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'description' => 'The availability zone ID.', + 'title' => '', + 'example' => '', ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', + 'description' => 'The compaction services supported in each availability zone.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The response data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'Details about the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResourceConstraints', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B67D142D-D54E-184F-A306-22BDC01B2XXX\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"BeCu\\": [\\n 8\\n ],\\n \\"BeNumber\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 10,\\n \\"Step\\": 1,\\n \\"Default\\": 1\\n },\\n \\"FeCu\\": [\\n 8\\n ],\\n \\"FeStorage\\": {\\n \\"Min\\": 200,\\n \\"Max\\": 5000,\\n \\"Step\\": 100,\\n \\"Default\\": 500\\n },\\n \\"FeNumber\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 11,\\n \\"Step\\": 2,\\n \\"Default\\": 3\\n },\\n \\"HaFeResourceSpec\\": {\\n \\"Cu\\": 16,\\n \\"StorageSize\\": 100,\\n \\"NodeNumber\\": 5\\n },\\n \\"NormalFeResourceSpec\\": {\\n \\"Cu\\": 64,\\n \\"StorageSize\\": 500,\\n \\"NodeNumber\\": 5\\n },\\n \\"VersionConstraint\\": {\\n \\"Versions\\": [\\n \\"[\\\\\\"3.2\\\\\\",\\\\\\"3.3\\\\\\",\\\\\\"3.5\\\\\\"]\\"\\n ],\\n \\"DefaultVersion\\": \\"3.3\\",\\n \\"BetaVersions\\": [\\n \\"3.5\\"\\n ]\\n },\\n \\"BeStorageConstraints\\": [\\n {\\n \\"Level\\": \\"PL1\\",\\n \\"Desc\\": \\"BE 存储约束描述\\",\\n \\"ValueConstraint\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 5,\\n \\"Step\\": 1,\\n \\"Default\\": 1\\n },\\n \\"IsDefault\\": true,\\n \\"DiskNumberConstraint\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 10,\\n \\"Step\\": 1,\\n \\"Default\\": 1\\n }\\n }\\n ],\\n \\"SpecType\\": [\\n {\\n \\"Name\\": \\"standard\\",\\n \\"Display\\": \\"标准版\\"\\n }\\n ],\\n \\"FeSpecType\\": [\\n {\\n \\"Name\\": \\"standard\\",\\n \\"Display\\": \\"标准版\\"\\n }\\n ],\\n \\"BigDataInstanceTypeConstraints\\": [\\n {\\n \\"InstanceType\\": \\"local_hdd_2s_5xlarge\\",\\n \\"EcsInstanceType\\": \\"ecs.d2s.5xlarge\\",\\n \\"DiskNumber\\": \\"8\\",\\n \\"StorageSize\\": \\"7300\\",\\n \\"Display\\": \\"20核 88GiB 8*7300GiB 本地HDD盘\\",\\n \\"IsDefault\\": \\"false\\",\\n \\"Cpu\\": 20,\\n \\"Memory\\": 88\\n }\\n ],\\n \\"LocalSSDInstanceTypeConstraints\\": [\\n {\\n \\"InstanceType\\": \\"local_ssd_2g_4xlarge\\",\\n \\"EcsInstanceType\\": \\"ecs.i2g.4xlarge\\",\\n \\"DiskNumber\\": \\"1\\",\\n \\"StorageSize\\": \\"1788\\",\\n \\"Display\\": \\"[i2g]16核 64GiB 1*1788GiB 本地SSD盘\\",\\n \\"IsDefault\\": \\"true\\",\\n \\"Cpu\\": 16,\\n \\"Memory\\": 64\\n }\\n ],\\n \\"ZoneSupportedSpecTypes\\": {\\n \\"key\\": [\\n \\"standard\\"\\n ]\\n },\\n \\"ZoneSupportedEedTypes\\": {\\n \\"key\\": [\\n \\"eed_standard\\"\\n ]\\n },\\n \\"SplitDiskThresholdMap\\": {\\n \\"key\\": {\\n \\"key\\": [\\n \\"已废弃。\\"\\n ]\\n }\\n },\\n \\"FeCuOnEcs\\": [\\n 8\\n ],\\n \\"BeCuOnEcs\\": [\\n 8\\n ],\\n \\"AgentCu\\": [\\n 8\\n ],\\n \\"compactionServiceCuConstraint\\": {\\n \\"min\\": 8,\\n \\"max\\": 256,\\n \\"def\\": 16,\\n \\"step\\": 8\\n },\\n \\"zoneSupportCompactionService\\": {\\n \\"key\\": [\\n {\\n \\"zoneId\\": \\"\\",\\n \\"resourceLevel\\": \\"\\",\\n \\"recommended\\": false\\n }\\n ]\\n }\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'DescribeSystemTimezone' => [ + 'summary' => 'Obtain the system time zone of a StarRocks instance', + 'path' => '/webapi/timezone/query', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '254973', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'string', 'example' => 'Asia/Shanghai', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeSystemTimezone', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DescribeSystemTimezone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Total\\": 100,\\n \\"Data\\": \\"Asia/Shanghai\\",\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'DescribeTimeTriggerScalingRules' => [ + 'summary' => 'Retrieves the details of time-triggered scaling rules.', + 'path' => '/webapi/scalingRule/describeTimeTriggerScalingRules', + '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' => '221751', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => false, 'example' => 'ng-d332aa8bca48****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ScalingRuleId' => ['description' => 'The ID of the scaling rule.', 'type' => 'string', 'example' => 'r-d1775b776110****', 'title' => ''], + 'NodeNumber' => ['description' => 'The number of elastic nodes.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ScalingOutRule' => [ + 'type' => 'object', + 'properties' => [ + 'RecurrenceType' => ['description' => 'The trigger method. Valid values:'."\n" + ."\n" + .'- ONCE: One-time'."\n" + ."\n" + .'- DAILY: Daily'."\n" + ."\n" + .'- WEEKLY: Weekly'."\n" + ."\n" + .'- MONTHLY: Monthly', 'type' => 'string', 'example' => 'ONCE', 'title' => ''], + 'RecurrenceInterval' => ['description' => 'The trigger interval. Its meaning depends on the RecurrenceType value:'."\n" + ."\n" + .'- DAILY: The interval in days.'."\n" + ."\n" + .'- WEEKLY: The interval in weeks.'."\n" + ."\n" + .'- MONTHLY: The interval in months.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RecurrenceValues' => [ + 'type' => 'array', + 'items' => ['description' => 'The execution date.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'description' => 'The trigger values. Their meaning depends on the RecurrenceType value:'."\n" + ."\n" + .'-WEEKLY: The days of the week for execution.'."\n" + ."\n" + .'-MONTHLY: The days of the month for execution.', + 'title' => '', + 'example' => '', + ], + 'Year' => ['description' => 'The year of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '2024', 'title' => ''], + 'Month' => ['description' => 'The month of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Day' => ['description' => 'The day of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Hour' => ['description' => 'The hour of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Minute' => ['description' => 'The minute of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'Second' => ['description' => 'The second of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'description' => 'The scale-out rule.', + 'title' => '', + 'example' => '', ], - 'Tags' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'ScalingInRule' => [ + 'type' => 'object', + 'properties' => [ + 'RecurrenceType' => ['description' => 'The trigger method. Valid values:'."\n" + ."\n" + .'- ONCE: One-time'."\n" + ."\n" + .'- DAILY: Daily'."\n" + ."\n" + .'- WEEKLY: Weekly'."\n" + ."\n" + .'- MONTHLY: Monthly', 'type' => 'string', 'example' => 'ONCE', 'title' => ''], + 'RecurrenceInterval' => ['description' => 'The trigger interval. Its meaning depends on the RecurrenceType value:'."\n" + ."\n" + .'- DAILY: The interval in days.'."\n" + ."\n" + .'- WEEKLY: The interval in weeks.'."\n" + ."\n" + .'- MONTHLY: The interval in months.', 'type' => 'integer', 'format' => 'int32', 'example' => 'WEEKLY', 'title' => ''], + 'RecurrenceValues' => [ + 'type' => 'array', + 'items' => ['description' => 'The execution date.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'description' => 'The trigger values. Their meaning depends on the RecurrenceType value:'."\n" + ."\n" + .'-WEEKLY: The days of the week for execution.'."\n" + ."\n" + .'-MONTHLY: The days of the month for execution.', + 'title' => '', + 'example' => '', ], + 'Year' => ['description' => 'The year of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '2025', 'title' => ''], + 'Month' => ['description' => 'The month of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Day' => ['description' => 'The day of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Hour' => ['description' => 'The hour of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Minute' => ['description' => 'The minute of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '24', 'title' => ''], + 'Second' => ['description' => 'The second of the execution time.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], ], + 'description' => 'The scale-in rule.', + 'title' => '', + 'example' => '', ], + 'Status' => ['description' => 'The current status of the rule. Valid values:'."\n" + ."\n" + .'- INACTIVE: The rule is not triggered.'."\n" + ."\n" + .'- ACTIVE: The rule is triggered.'."\n" + ."\n" + .'- DISABLED: The rule is disabled due to an overdue payment.', 'type' => 'string', 'example' => 'INACTIVE', 'title' => ''], + 'ScalingRuleName' => ['description' => 'The name of the Auto Scaling policy.', 'type' => 'string', 'example' => 'scale-test1', 'title' => ''], ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], - '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" }', - ], + 'AccessDeniedDetail' => ['description' => 'The details of the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DescribeTimeTriggerScalingRules', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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"}]', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeTimeTriggerScalingRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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 {\\n \\"ScalingRuleId\\": \\"r-d1775b776110****\\",\\n \\"NodeNumber\\": \\"3\\",\\n \\"ScalingOutRule\\": {\\n \\"RecurrenceType\\": \\"ONCE\\",\\n \\"RecurrenceInterval\\": 1,\\n \\"RecurrenceValues\\": [\\n \\"1\\"\\n ],\\n \\"Year\\": 2024,\\n \\"Month\\": 12,\\n \\"Day\\": 10,\\n \\"Hour\\": 3,\\n \\"Minute\\": 30,\\n \\"Second\\": 20\\n },\\n \\"ScalingInRule\\": {\\n \\"RecurrenceType\\": \\"ONCE\\",\\n \\"RecurrenceInterval\\": 0,\\n \\"RecurrenceValues\\": [\\n \\"1\\"\\n ],\\n \\"Year\\": 2025,\\n \\"Month\\": 3,\\n \\"Day\\": 1,\\n \\"Hour\\": 12,\\n \\"Minute\\": 24,\\n \\"Second\\": 30\\n },\\n \\"Status\\": \\"INACTIVE\\",\\n \\"ScalingRuleName\\": \\"scale-test1\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'TagResources' => [ - 'summary' => 'Adds a tag to a resource.', - 'path' => '/webapi/tags', - 'methods' => [ - 'post', + 'DisableSSLConnection' => [ + 'summary' => 'Disables SSL for a StarRocks connection.', + 'path' => '/webapi/starrocks/disableSSLConnection', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '276254', + 'abilityTreeNodes' => ['FEATUREemapreduceZXY046'], + 'tenantRelevance' => 'tenant', ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'The version number that you can upgrade to.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DisableSSLConnection', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DisableSSLConnection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'EnableInternalSlb' => [ + 'summary' => 'Enables the internal Server Load Balancer (SLB) for the default gateway of an EMR Serverless StarRocks instance.', + 'path' => '/webapi/gateway/enableInternalSlb', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '236086', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', + 'operationType' => 'get', + 'abilityTreeCode' => '270152', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the EMR Serverless StarRocks instance.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: true, false.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the internal SLB was enabled. Valid values: true, false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], ], ], + 'title' => 'EnableInternalSlb', + 'description' => 'The instance must be in the Running state when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:EnableInternalSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'EnableMultiAz' => [ + 'summary' => 'Enables Multi-AZ deployment.', + 'path' => '/webapi/lifecycle/enableMultiAz', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '283095', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'tenant', + ], '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' => '', + 'instanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-238sjh237s12***', 'title' => ''], + 'promotionOptionNo' => ['description' => 'Coupon.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'observers' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'k1', - ], - 'Value' => [ - 'title' => '标签值', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'zoneId' => ['description' => 'Zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], + 'vswId' => ['description' => 'vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-x1232js012', 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => true, + 'description' => 'Multi-zone information.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'description' => 'Request struct.', 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -1845,375 +4202,2214 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id', - 'description' => '', - 'type' => 'string', - 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '24782976697****', 'title' => ''], + 'NodeGroupId' => ['description' => 'Compute group ID.', 'type' => 'string', 'example' => 'ng-a9b2e9148196****', 'title' => ''], + ], + 'description' => 'Order information.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'EnableMultiAz', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:EnableMultiAz', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\",\\n \\"Data\\": {\\n \\"OrderId\\": 0,\\n \\"NodeGroupId\\": \\"ng-a9b2e9148196****\\"\\n }\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'EnableSSLConnection' => [ + 'path' => '/webapi/starrocks/enableSSLConnection', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '236098', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '273603', + 'abilityTreeNodes' => ['FEATUREemapreduceZXY046'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '地域', + 'type' => 'object', + 'properties' => [ + 'CustomSSLCertificate' => ['description' => 'Custom SSL certificate.', 'type' => 'string', 'required' => false, 'example' => 'MIIP0wIBAzCCD4wGCSqGSIb3DQEHAaCCD30Egg95MIIPdTCCBbwGCSqGSIb3DQEHAaCCBa0EggWpMIIFpTCCBaEGCyqGSIb3DQEMCgECoIIFQDCCBTwwZgYJKoZIhvcNAQUNMFkwOAYJKoZIhvcNAQUMMCsEFHkQJTDaeFabOsRTB4Q7hgW6if7hAgInEAIBIDAMBggqhkiG9w0CCQU', 'title' => ''], + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-0104730e9de40215', 'title' => ''], + 'EnableCustom' => ['description' => 'Specifies whether to use a custom certificate.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'SslKeystorePassword' => ['description' => 'Keystore password.', 'type' => 'string', 'required' => false, 'example' => '21esSd9Ao', 'title' => ''], + 'SslKeyPassword' => ['description' => 'Key password.', 'type' => 'string', 'required' => false, 'example' => 'KoZ13vcNAQ', 'title' => ''], + 'Renewal' => ['description' => 'Indicates whether this request renews an existing certificate.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + 'description' => 'The request body.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Is the request successful?', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Upgradable version number.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'EnableSSLConnection', + 'summary' => 'Enables SSL for a StarRocks connection.', + 'description' => 'You can call this operation only when the instance is in the Running state.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ResourceType', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:EnableSSLConnection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'GetInstanceFeatureGate' => [ + 'path' => '/webapi/features/featureGate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '240415', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '资源类型', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'MountDlfMetaToken' => ['description' => 'Whether DLF meta tokens can be mounted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'FullManagedSecurityGroup' => ['description' => 'Whether managed security groups are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportFastRestart' => ['description' => 'Whether fast restart is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportAddConfigTypes' => [ + 'type' => 'array', + 'items' => ['description' => 'A new configuration type.', 'type' => 'string', 'example' => 'lake_compaction_max_tasks', 'title' => ''], + 'description' => 'A list of new configuration types.', + 'title' => '', + 'example' => '', + ], + 'SupportCreateAgent' => ['description' => 'Whether agents can be created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportModifyTimezone' => ['description' => 'Whether the time zone can be modified.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportBackup' => ['description' => 'Whether data backup is supported.'."\n" + ."\n" + .'- **1**: Supports data backup.'."\n" + ."\n" + .'- **2**: Does not support data backup.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportMultiAZ' => ['description' => 'Whether observers can be deployed across multiple availability zones (AZs).', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportFastModeModifyResource' => ['description' => 'Whether resources can be modified by using fast restart.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportFastModeModifyConfig' => ['description' => 'Whether fast restart is supported for configuration changes.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportCreateNonStandardNodeGroup' => ['description' => 'Whether compute groups with specifications other than `standard` can be created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'UseComputeNode' => ['description' => 'Whether the instance uses compute nodes (CNs).', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportFeGateway' => ['description' => 'Whether the FE gateway is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ConsoleControlRestart' => ['description' => 'Whether the restart process can be controlled from the console.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnableManageMv' => ['description' => 'Whether materialized views can be managed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportEnableSSL' => ['description' => 'Whether SSL can be enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportHostAlias' => ['description' => 'Whether custom domain names are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportEed' => ['description' => 'Whether elastic ephemeral disks are supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'supportCompactionService' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + 'supportCompactionServiceWhiteList' => ['description' => 'Whether the Compaction Service allowlist feature is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportEnableAi' => ['description' => 'Whether the AI function is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'The details of the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'GetInstanceFeatureGate', + 'summary' => 'Retrieves the feature gates for a StarRocks cluster instance.', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ResourceId', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:GetInstanceFeatureGate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B67D142D-D54E-184F-A306-22BDC01B2XXX\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Total\\": 100,\\n \\"Data\\": {\\n \\"MountDlfMetaToken\\": true,\\n \\"FullManagedSecurityGroup\\": true,\\n \\"SupportFastRestart\\": true,\\n \\"SupportAddConfigTypes\\": [\\n \\"lake_compaction_max_tasks\\"\\n ],\\n \\"SupportCreateAgent\\": true,\\n \\"SupportModifyTimezone\\": true,\\n \\"SupportBackup\\": true,\\n \\"SupportMultiAZ\\": true,\\n \\"SupportFastModeModifyResource\\": true,\\n \\"SupportFastModeModifyConfig\\": true,\\n \\"SupportCreateNonStandardNodeGroup\\": true,\\n \\"UseComputeNode\\": true,\\n \\"SupportFeGateway\\": true,\\n \\"ConsoleControlRestart\\": true,\\n \\"EnableManageMv\\": true,\\n \\"SupportEnableSSL\\": true,\\n \\"SupportHostAlias\\": true,\\n \\"SupportEed\\": true,\\n \\"supportCompactionService\\": false,\\n \\"supportCompactionServiceWhiteList\\": true,\\n \\"SupportEnableAi\\": true\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', + ], + 'GetNodeGroupFeatureGate' => [ + 'path' => '/webapi/features/nodeGroupFeatureGate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '247437', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'json', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-d332aa8bca48****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '资源ID,最多 50个子项', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Is the request successful?', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'Total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'SupportFastRestart' => ['description' => 'Supports fast restart.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportFastModeModifyResource' => ['description' => 'Supports modifying resources with fast restart.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportModifySpecType' => ['description' => 'Supports modifying specification type.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NeedRestartAfterModifyDiskSize' => ['description' => 'Node restart required after modifying disk size.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b25e21e243889XXX'."\n", + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'GetNodeGroupFeatureGate', + 'summary' => 'Retrieve the feature gate for a StarRocks compute group instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:GetNodeGroupFeatureGate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], - 'required' => true, ], ], + ], + '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 \\"Total\\": 3,\\n \\"Data\\": {\\n \\"SupportFastRestart\\": true,\\n \\"SupportFastModeModifyResource\\": true,\\n \\"SupportModifySpecType\\": true,\\n \\"NeedRestartAfterModifyDiskSize\\": true\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'IsolateLeader' => [ + 'path' => '/webapi/gateway/isolateLeader', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'TagKey', + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '270153', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'IsolateLeader', + 'in' => 'query', + 'schema' => ['description' => 'Enable read/write splitting. The Leader FE node handles write requests, and other nodes handle read requests.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '对应标签键列表,最多包含20个子项', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'k1', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'IsolateLeader', + 'summary' => 'Enable read/write splitting. The Leader FE node handles write requests, and other nodes handle read requests.', + 'description' => 'The instance must be in the running state when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:IsolateLeader', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ListGateway' => [ + 'summary' => 'Lists gateways.', + 'path' => '/webapi/gateway/list', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'All', + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '270155', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '是否全部删除,只针对tags为空时有效。取值范围: true false True False 默认是 false', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GatewayId' => ['description' => 'The gateway ID.', 'type' => 'string', 'example' => '13822', 'title' => ''], + 'GatewayName' => ['description' => 'The gateway name.', 'type' => 'string', 'example' => 'Gateway 1', 'title' => ''], + 'GatewayType' => ['description' => 'The gateway type. Valid values are \\`Slb\\` and \\`Privatezone\\`.', 'type' => 'string', 'example' => 'slb', 'title' => ''], + 'InternalSlbId' => ['description' => 'The ID of the internal-facing Server Load Balancer (SLB) instance.', 'type' => 'string', 'example' => 'lb-123abc', 'title' => ''], + 'PublicSlbId' => ['description' => 'The ID of the public-facing SLB instance.', 'type' => 'string', 'example' => 'lb-abc123', 'title' => ''], + 'EnablePublicNet' => ['description' => 'Indicates whether public network access is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'FeNodeNumber' => ['description' => 'The number of gateway nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'InternalDomain' => ['description' => 'The internal endpoint.', 'type' => 'string', 'example' => 'fe-c-b25e21e24388****-ab8sjd-internal.starrocks.aliyuncs.com', 'title' => ''], + 'PublicDomain' => ['description' => 'The public endpoint.', 'type' => 'string', 'example' => 'fe-c-b25e21e24388****-8s272d.starrocks.aliyuncs.com', 'title' => ''], + 'PrivatezoneId' => ['description' => 'The ID of the PrivateZone.', 'type' => 'string', 'example' => 'a62des2123243881b9s2sa220k2l38m9', 'title' => ''], + 'PublicSlbAclId' => ['description' => 'The ID of the access control list (ACL) for public network access.', 'type' => 'string', 'example' => 'acl-hsb123ksi2', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListGateway', + 'description' => 'Lists the gateways of a cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], ], + '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 {\\n \\"GatewayId\\": \\"13822\\",\\n \\"GatewayName\\": \\"Gateway 1\\",\\n \\"GatewayType\\": \\"slb\\",\\n \\"InternalSlbId\\": \\"lb-123abc\\",\\n \\"PublicSlbId\\": \\"lb-abc123\\",\\n \\"EnablePublicNet\\": true,\\n \\"FeNodeNumber\\": 2,\\n \\"InternalDomain\\": \\"fe-c-b25e21e24388****-ab8sjd-internal.starrocks.aliyuncs.com\\",\\n \\"PublicDomain\\": \\"fe-c-b25e21e24388****-8s272d.starrocks.aliyuncs.com\\",\\n \\"PrivatezoneId\\": \\"a62des2123243881b9s2sa220k2l38m9\\",\\n \\"PublicSlbAclId\\": \\"acl-hsb123ksi2\\"\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ListOperationActivity' => [ + 'path' => '/webapi/operation/listOperationActivity', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '205914', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'OperationId', + 'in' => 'query', + 'schema' => ['description' => 'The operation ID.', 'type' => 'string', 'required' => false, 'example' => 'op-f49743caa809****'."\n", 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActivityId' => ['description' => 'The activity ID.', 'type' => 'string', 'example' => 'ac-8f3f7c4026e3****', 'title' => ''], + 'Name' => ['description' => 'The activity name.', 'type' => 'string', 'example' => 'UpdateClusterStatusToModifyingConfigStatus', 'title' => ''], + 'ActivityStatus' => ['description' => 'The activity status. Valid values:'."\n" + ."\n" + .'- `COMPLETED`: The activity is complete.'."\n" + ."\n" + .'- `RUNNING`: The activity is running.', 'type' => 'string', 'example' => 'COMPLETED', 'title' => ''], + 'StartTime' => ['description' => 'The time when the activity started. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742178604000', 'title' => ''], + 'EndTime' => ['description' => 'The time when the activity ended. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742178604000', 'title' => ''], + 'ErrMessage' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'ConsoleRetryCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => 'An activity object.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], + 'Total' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '440', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListOperationActivity', + 'summary' => 'Gets detailed information about activities for a specified operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListOperationActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\"\\n}","type":"json"}]', - 'title' => 'UnTagResources', + '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 {\\n \\"ActivityId\\": \\"ac-8f3f7c4026e3****\\",\\n \\"Name\\": \\"UpdateClusterStatusToModifyingConfigStatus\\",\\n \\"ActivityStatus\\": \\"COMPLETED\\",\\n \\"StartTime\\": 1742178604000,\\n \\"EndTime\\": 1742178604000,\\n \\"ErrMessage\\": \\"\\",\\n \\"ConsoleRetryCount\\": 0\\n }\\n ],\\n \\"Total\\": 440,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'ChangeResourceGroup' => [ - 'summary' => 'This interface is used to modify the resource group of a Serverless StarRocks instance.', - 'path' => '/webapi/resourceGroup/change', - 'methods' => [ - 'post', + 'ListOperationHistory' => [ + 'summary' => 'Retrieves the operation history of a cluster.', + 'path' => '/webapi/operation/listOperationHistory', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '189493', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'Page number of the current page. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'Number of entries per page for paged queries. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'OperationId', + 'in' => 'query', + 'schema' => ['description' => 'Operation ID.', 'type' => 'string', 'required' => false, 'example' => 'op-f49743caa809****', 'title' => ''], + ], + [ + 'name' => 'OperationType', + 'in' => 'query', + 'schema' => ['description' => 'Operation type. Valid values:'."\n" + ."\n" + .'- trial\\_to\\_official: upgrade from Trial Edition to Standard Edition'."\n" + ."\n" + .'- upgrade\\_version: upgrade version'."\n" + ."\n" + .'- update\\_configuration: update configuration'."\n" + ."\n" + .'- update\\_public\\_network\\_status: update public network status'."\n" + ."\n" + .'- create\\_cluster: create cluster'."\n" + ."\n" + .'- delete\\_cluster: delete cluster'."\n" + ."\n" + .'- disable\\_cluster: stop cluster'."\n" + ."\n" + .'- enable\\_cluster: resume cluster'."\n" + ."\n" + .'- restart\\_cluster: restart cluster'."\n" + ."\n" + .'- migrate\\_cluster: migrate cluster'."\n" + ."\n" + .'- renew\\_cluster: renew cluster'."\n" + ."\n" + .'- modify\\_charge\\_type: change billing method'."\n" + ."\n" + .'- UPGRADE: upgrade cluster'."\n" + ."\n" + .'- DOWNGRADE: downgrade cluster'."\n" + ."\n" + .'- create\\_node\\_group: create node group'."\n" + ."\n" + .'- delete\\_node\\_group: delete node group'."\n" + ."\n" + .'- disable\\_node\\_group: stop node group'."\n" + ."\n" + .'- enable\\_node\\_group: resume node group'."\n" + ."\n" + .'- sre\\_operation: O\\&M cluster'."\n" + ."\n" + .'- resource\\_change: resource change'."\n" + ."\n" + .'- disable\\_postpaid\\_resource: disable pay-as-you-go resources'."\n" + ."\n" + .'- enable\\_postpaid\\_resource: enable pay-as-you-go resources'."\n" + ."\n" + .'- restart\\_node\\_group: restart compute group'."\n" + ."\n" + .'- enable\\_ha\\_cluster: enable high availability (HA) for cluster'."\n" + ."\n" + .'- restart\\_node: restart node'."\n" + ."\n" + .'- backup: data backup'."\n" + ."\n" + .'- delete\\_backup: delete data backup'."\n" + ."\n" + .'- cancel\\_backup\\_task: cancel data backup'."\n" + ."\n" + .'- modify\\_timezone: modify system time zone'."\n" + ."\n" + .'- restore: data restoration'."\n" + ."\n" + .'- switch\\_az: switch primary and secondary zones'."\n" + ."\n" + .'- rollback\\_upgrade\\_version: roll back version upgrade'."\n" + ."\n" + .'- scale\\_out\\_fe: scale out FE'."\n" + ."\n" + .'- scale\\_in\\_fe: scale in FE'."\n" + ."\n" + .'- upgrade\\_fe\\_cu: upgrade FE CU specification'."\n" + ."\n" + .'- downgrade\\_fe\\_cu: downgrade FE CU specification'."\n" + ."\n" + .'- increase\\_fe\\_disk\\_size: increase FE disk size'."\n" + ."\n" + .'- decrease\\_fe\\_disk\\_size: decrease FE disk size'."\n" + ."\n" + .'- increase\\_fe\\_disk\\_number: increase FE disk count'."\n" + ."\n" + .'- decrease\\_fe\\_disk\\_number: decrease FE disk count'."\n" + ."\n" + .'- upgrade\\_fe\\_disk\\_performance\\_level: upgrade FE disk performance level'."\n" + ."\n" + .'- downgrade\\_fe\\_disk\\_performance\\_level: downgrade FE disk performance level'."\n" + ."\n" + .'- create\\_agent: create Agent'."\n" + ."\n" + .'- upgrade\\_agent\\_cu: upgrade Agent CU specification'."\n" + ."\n" + .'- scale\\_out\\_be: scale out BE'."\n" + ."\n" + .'- scale\\_in\\_be: scale in BE'."\n" + ."\n" + .'- upgrade\\_be\\_cu: upgrade BE CU specification'."\n" + ."\n" + .'- downgrade\\_be\\_cu: downgrade BE CU specification'."\n" + ."\n" + .'- increase\\_be\\_disk\\_size: increase BE disk size'."\n" + ."\n" + .'- decrease\\_be\\_disk\\_size: decrease BE disk size'."\n" + ."\n" + .'- increase\\_be\\_disk\\_number: increase BE disk count'."\n" + ."\n" + .'- decrease\\_be\\_disk\\_number: decrease BE disk count'."\n" + ."\n" + .'- upgrade\\_be\\_disk\\_performance\\_level: upgrade BE disk performance level'."\n" + ."\n" + .'- downgrade\\_be\\_disk\\_performance\\_level: downgrade BE disk performance level'."\n" + ."\n" + .'- upgrade\\_be\\_spec\\_type: upgrade BE specification type'."\n" + ."\n" + .'- downgrade\\_be\\_spec\\_type: downgrade BE specification type'."\n" + ."\n" + .'- scale\\_out\\_cn: scale out CN'."\n" + ."\n" + .'- scale\\_in\\_cn: scale in CN'."\n" + ."\n" + .'- upgrade\\_cn\\_cu: upgrade CN CU specification'."\n" + ."\n" + .'- downgrade\\_cn\\_cu: downgrade CN CU specification'."\n" + ."\n" + .'- increase\\_cn\\_disk\\_size: increase CN disk size'."\n" + ."\n" + .'- decrease\\_cn\\_disk\\_size: decrease CN disk size'."\n" + ."\n" + .'- increase\\_cn\\_disk\\_number: increase CN disk count'."\n" + ."\n" + .'- decrease\\_cn\\_disk\\_number: decrease CN disk count'."\n" + ."\n" + .'- upgrade\\_cn\\_disk\\_performance: upgrade CN disk performance level'."\n" + ."\n" + .'- downgrade\\_cn\\_disk\\_performance: downgrade CN disk performance level'."\n" + ."\n" + .'- upgrade\\_cn\\_spec\\_type: upgrade CN specification type'."\n" + ."\n" + .'- downgrade\\_cn\\_spec\\_type: downgrade CN specification type'."\n" + ."\n" + .'- elastic\\_scale\\_out\\_cn: elastically scale out CN'."\n" + ."\n" + .'- elastic\\_scale\\_in\\_cn: elastically scale in CN', 'type' => 'string', 'required' => false, 'example' => 'update_configuration', 'title' => ''], + ], + [ + 'name' => 'OperationStatus', + 'in' => 'query', + 'schema' => ['description' => 'Operation status:'."\n" + ."\n" + .'- COMPLETED: completed'."\n" + ."\n" + .'- TERMINATED: terminated'."\n" + ."\n" + .'- HUMAN\\_PROCESSING: pending manual processing', 'type' => 'string', 'required' => false, 'example' => 'COMPLETED', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'Start time of the operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1742179008000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'End time of the operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1742179008000', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'example' => 'c-cd7a3a6f2186d5c9', 'title' => ''], + 'OperationId' => ['description' => 'Operation ID.', 'type' => 'string', 'example' => 'op-f49743caa809****', 'title' => ''], + 'OperationType' => ['description' => 'Operation type. Valid values:'."\n" + ."\n" + .'- trial\\_to\\_official: upgrade from Trial Edition to Standard Edition'."\n" + ."\n" + .'- upgrade\\_version: upgrade version'."\n" + ."\n" + .'- update\\_configuration: update configuration'."\n" + ."\n" + .'- update\\_public\\_network\\_status: update public network status'."\n" + ."\n" + .'- create\\_cluster: create cluster'."\n" + ."\n" + .'- delete\\_cluster: delete cluster'."\n" + ."\n" + .'- disable\\_cluster: stop cluster'."\n" + ."\n" + .'- enable\\_cluster: resume cluster'."\n" + ."\n" + .'- restart\\_cluster: restart cluster'."\n" + ."\n" + .'- migrate\\_cluster: migrate cluster'."\n" + ."\n" + .'- renew\\_cluster: renew cluster'."\n" + ."\n" + .'- modify\\_charge\\_type: change billing method'."\n" + ."\n" + .'- UPGRADE: upgrade cluster'."\n" + ."\n" + .'- DOWNGRADE: downgrade cluster'."\n" + ."\n" + .'- create\\_node\\_group: create node group'."\n" + ."\n" + .'- delete\\_node\\_group: delete node group'."\n" + ."\n" + .'- disable\\_node\\_group: stop node group'."\n" + ."\n" + .'- enable\\_node\\_group: resume node group'."\n" + ."\n" + .'- sre\\_operation: O\\&M cluster'."\n" + ."\n" + .'- resource\\_change: resource change'."\n" + ."\n" + .'- disable\\_postpaid\\_resource: disable pay-as-you-go resources'."\n" + ."\n" + .'- enable\\_postpaid\\_resource: enable pay-as-you-go resources'."\n" + ."\n" + .'- restart\\_node\\_group: restart compute group'."\n" + ."\n" + .'- enable\\_ha\\_cluster: enable high availability (HA) for cluster'."\n" + ."\n" + .'- restart\\_node: restart node'."\n" + ."\n" + .'- backup: data backup'."\n" + ."\n" + .'- delete\\_backup: delete data backup'."\n" + ."\n" + .'- cancel\\_backup\\_task: cancel data backup'."\n" + ."\n" + .'- modify\\_timezone: modify system time zone'."\n" + ."\n" + .'- restore: data restoration'."\n" + ."\n" + .'- switch\\_az: switch primary and secondary zones'."\n" + ."\n" + .'- rollback\\_upgrade\\_version: roll back version upgrade'."\n" + ."\n" + .'- scale\\_out\\_fe: scale out FE'."\n" + ."\n" + .'- scale\\_in\\_fe: scale in FE'."\n" + ."\n" + .'- upgrade\\_fe\\_cu: upgrade FE CU specification'."\n" + ."\n" + .'- downgrade\\_fe\\_cu: downgrade FE CU specification'."\n" + ."\n" + .'- increase\\_fe\\_disk\\_size: increase FE disk size'."\n" + ."\n" + .'- decrease\\_fe\\_disk\\_size: decrease FE disk size'."\n" + ."\n" + .'- increase\\_fe\\_disk\\_number: increase FE disk count'."\n" + ."\n" + .'- decrease\\_fe\\_disk\\_number: decrease FE disk count'."\n" + ."\n" + .'- upgrade\\_fe\\_disk\\_performance\\_level: upgrade FE disk performance level'."\n" + ."\n" + .'- downgrade\\_fe\\_disk\\_performance\\_level: downgrade FE disk performance level'."\n" + ."\n" + .'- create\\_agent: create Agent'."\n" + ."\n" + .'- upgrade\\_agent\\_cu: upgrade Agent CU specification'."\n" + ."\n" + .'- scale\\_out\\_be: scale out BE'."\n" + ."\n" + .'- scale\\_in\\_be: scale in BE'."\n" + ."\n" + .'- upgrade\\_be\\_cu: upgrade BE CU specification'."\n" + ."\n" + .'- downgrade\\_be\\_cu: downgrade BE CU specification'."\n" + ."\n" + .'- increase\\_be\\_disk\\_size: increase BE disk size'."\n" + ."\n" + .'- decrease\\_be\\_disk\\_size: decrease BE disk size'."\n" + ."\n" + .'- increase\\_be\\_disk\\_number: increase BE disk count'."\n" + ."\n" + .'- decrease\\_be\\_disk\\_number: decrease BE disk count'."\n" + ."\n" + .'- upgrade\\_be\\_disk\\_performance\\_level: upgrade BE disk performance level'."\n" + ."\n" + .'- downgrade\\_be\\_disk\\_performance\\_level: downgrade BE disk performance level'."\n" + ."\n" + .'- upgrade\\_be\\_spec\\_type: upgrade BE specification type'."\n" + ."\n" + .'- downgrade\\_be\\_spec\\_type: downgrade BE specification type'."\n" + ."\n" + .'- scale\\_out\\_cn: scale out CN'."\n" + ."\n" + .'- scale\\_in\\_cn: scale in CN'."\n" + ."\n" + .'- upgrade\\_cn\\_cu: upgrade CN CU specification'."\n" + ."\n" + .'- downgrade\\_cn\\_cu: downgrade CN CU specification'."\n" + ."\n" + .'- increase\\_cn\\_disk\\_size: increase CN disk size'."\n" + ."\n" + .'- decrease\\_cn\\_disk\\_size: decrease CN disk size'."\n" + ."\n" + .'- increase\\_cn\\_disk\\_number: increase CN disk count'."\n" + ."\n" + .'- decrease\\_cn\\_disk\\_number: decrease CN disk count'."\n" + ."\n" + .'- upgrade\\_cn\\_disk\\_performance: upgrade CN disk performance level'."\n" + ."\n" + .'- downgrade\\_cn\\_disk\\_performance: downgrade CN disk performance level'."\n" + ."\n" + .'- upgrade\\_cn\\_spec\\_type: upgrade CN specification type'."\n" + ."\n" + .'- downgrade\\_cn\\_spec\\_type: downgrade CN specification type'."\n" + ."\n" + .'- elastic\\_scale\\_out\\_cn: elastically scale out CN'."\n" + ."\n" + .'- elastic\\_scale\\_in\\_cn: elastically scale in CN', 'type' => 'string', 'example' => 'upgrade_version', 'title' => ''], + 'BeforeValue' => ['description' => 'Value before the operation.', 'type' => 'string', 'example' => 'FE enable = false', 'title' => ''], + 'AfterValue' => ['description' => 'Value after the operation.', 'type' => 'string', 'example' => 'FE enable = true', 'title' => ''], + 'GmtCreate' => ['description' => 'Start time of the operation.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179008000', 'title' => ''], + 'GmtEnd' => ['description' => 'End time of the operation.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742179008000', 'title' => ''], + 'OperationStatus' => ['description' => 'Operation status:'."\n" + ."\n" + .'- COMPLETED: completed'."\n" + ."\n" + .'- TERMINATED: terminated'."\n" + ."\n" + .'- HUMAN\\_PROCESSING: pending manual processing', 'type' => 'string', 'example' => 'COMPLETED', 'title' => ''], + 'Progress' => ['description' => 'Operation progress.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'OperationDetail' => ['description' => 'Operation details.', 'type' => 'string', 'example' => '库存不足,操作失败,已退款', 'title' => ''], + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + 'Total' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '832', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about access denied errors.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListOperationHistory', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListOperationHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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 {\\n \\"InstanceId\\": \\"c-cd7a3a6f2186d5c9\\",\\n \\"OperationId\\": \\"op-f49743caa809****\\",\\n \\"OperationType\\": \\"upgrade_version\\",\\n \\"BeforeValue\\": \\"FE enable = false\\",\\n \\"AfterValue\\": \\"FE enable = true\\",\\n \\"GmtCreate\\": 1742179008000,\\n \\"GmtEnd\\": 1742179008000,\\n \\"OperationStatus\\": \\"COMPLETED\\",\\n \\"Progress\\": 100,\\n \\"OperationDetail\\": \\"库存不足,操作失败,已退款\\"\\n }\\n ],\\n \\"Total\\": 832,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ListSSLDetails' => [ + 'summary' => 'Retrieves the ssl certificate details for a cluster.', + 'path' => '/webapi/starrocks/listSSLDetails', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '233515', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', + 'operationType' => 'get', + 'abilityTreeCode' => '275931', + 'abilityTreeNodes' => ['FEATUREemapreduceZXY046'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The http status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request id.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'IsValid' => ['description' => 'Indicates whether the certificate is valid.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnableSSL' => ['description' => 'Indicates whether SSL is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NotBefore' => ['description' => 'The start time of the certificate\'s validity period.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751000702000', 'title' => ''], + 'NotAfter' => ['description' => 'The end time of the certificate\'s validity period.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751010702000', 'title' => ''], + 'Aliases' => ['description' => 'The certificate alias.', 'type' => 'string', 'example' => 'starrocks-ssl', 'title' => ''], + 'SubjectDN' => ['description' => 'The subject\'s Distinguished Name (DN), which includes the following information:'."\n" + ."\n" + .'- **C**: The country code where the organization is located.'."\n" + ."\n" + .'- **O**: The name of the organization.'."\n" + ."\n" + .'- **OU**: The department within the organization.'."\n" + ."\n" + .'- **L**: The city where the organization is located.'."\n" + ."\n" + .'- **CN**: The common name or abbreviation of the organization.', 'type' => 'string', 'example' => 'CN=fe-{clusterId}-internal.starrocks.aliyuncs.com, OU=Aliyun Big Data Platform EMR StarRocks, O=Aliyun, L=BJ, ST=CN, C=CN', 'title' => ''], + 'IssuerDN' => ['description' => 'The Distinguished Name (DN) of the certificate\'s issuer. For a system-generated certificate, this value matches the `SubjectDN`. For a custom certificate, it identifies the Certificate Authority (CA) that issued the certificate.', 'type' => 'string', 'example' => 'CN=fe-sr-cn-xxx123-internal.starrocks.aliyuncs.com, OU=Aliyun Big Data Platform EMR StarRocks, O=Aliyun, L=BJ, ST=CN, C=CN', 'title' => ''], + 'SslCertificateText' => ['description' => 'The Base64-encoded content of the certificate file in PKCS#12 (.p12) format. For a system-generated certificate, this is the content of the generated file. For a custom certificate, this is the content that was provided during upload.', 'type' => 'string', 'example' => 'MIIJkAIBAzCCCVYGCSqGSIb3DQEHAaCCCUcEgglDMIIJPzCCA+8GCSqGSIb3DQEHBqCCA+AwggPc'."\n" + .'AgEAMIID1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQI3e4V2eXgGFMCAggAgIIDqJ/L8sA'."\n" + .'......'."\n" + .'AB3eKpMa7rQc==', 'title' => ''], + 'CustomCert' => ['description' => 'Indicates whether the certificate is a custom certificate (`true`) or was generated by the system (`false`).', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Status' => ['description' => 'The status of the certificate. Valid values:'."\n" + ."\n" + .'- valid'."\n" + ."\n" + .'- expired'."\n" + ."\n" + .'- unknown', 'type' => 'string', 'example' => 'valid', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', + ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListSSLDetails', + 'description' => 'Retrieves the ssl certificate details for a cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListSSLDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"IsValid\\": true,\\n \\"EnableSSL\\": true,\\n \\"NotBefore\\": 1751000702000,\\n \\"NotAfter\\": 1751010702000,\\n \\"Aliases\\": \\"starrocks-ssl\\",\\n \\"SubjectDN\\": \\"CN=fe-{clusterId}-internal.starrocks.aliyuncs.com, OU=Aliyun Big Data Platform EMR StarRocks, O=Aliyun, L=BJ, ST=CN, C=CN\\",\\n \\"IssuerDN\\": \\"CN=fe-sr-cn-xxx123-internal.starrocks.aliyuncs.com, OU=Aliyun Big Data Platform EMR StarRocks, O=Aliyun, L=BJ, ST=CN, C=CN\\",\\n \\"SslCertificateText\\": \\"MIIJkAIBAzCCCVYGCSqGSIb3DQEHAaCCCUcEgglDMIIJPzCCA+8GCSqGSIb3DQEHBqCCA+AwggPc\\\\nAgEAMIID1QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQI3e4V2eXgGFMCAggAgIIDqJ/L8sA\\\\n......\\\\nAB3eKpMa7rQc==\\",\\n \\"CustomCert\\": true,\\n \\"Status\\": \\"valid\\"\\n }\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'ModifyChargeType' => [ + 'summary' => 'Change the billing method for an instance', + 'path' => '/webapi/cluster/modifyChargeType', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '181466', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], 'parameters' => [ [ - 'name' => 'NewResourceGroupId', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Cluster ID', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'c-b25e21e24388****'], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Whether to enable auto-renewal. This parameter takes effect only when payType is PrePaid. Default: disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['description' => 'Subscription duration. This parameter takes effect only when payType is PrePaid.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => ['description' => 'Subscription duration unit:'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'This parameter takes effect only when payType is PrePaid.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], + ], + [ + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'List of billing instance IDs that require renewal. Separate multiple IDs with commas.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'c-3d6dc31ba67b1839'], + ], + [ + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => '2345', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '目标资源组', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Response data.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', - 'type' => 'string', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ModifyChargeType', + 'description' => 'Before you call this operation, review the billing methods for Serverless StarRocks and the <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props>.'."\n" + ."\n" + .'When you call this operation, note the following:'."\n" + ."\n" + .'- Only standard instances support changing the number of compute group Compute Units (CUs). Entry-level instances do not support this change.'."\n" + ."\n" + .'- Only instances of the standard compute group specification type support increasing the number of disks.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you change the CU count, billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new CU count.'."\n" + ."\n" + .'- Subscription: During the current billing cycle, you pay the difference between the old and new configurations. This amount is calculated based on the number of days remaining in the subscription period, starting from 00:00 of the following day.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyChargeType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\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"}]', + 'translator' => 'manual', + ], + 'ModifyCu' => [ + '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.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The target number of CUs.', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, - 'example' => 'rg-4352gdf****', + 'maximum' => '64', + 'minimum' => '4', + 'enum' => ['4', '8', '16', '32', '64'], + 'example' => '4', + 'title' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'FastMode', 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to restart the instance in fast restart mode. The default value is false.'."\n" + ."\n" + .'- true: Restarts the compute nodes in fast restart mode. The compute nodes are restarted in batches. Nodes within a batch are restarted in parallel, and batches are processed sequentially.'."\n" + ."\n" + .'- false: Restarts the compute nodes in rolling restart mode.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '地域Id', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyCu', + 'summary' => 'You can use this API to change the number of Compute Units (CUs) in a compute group of a Serverless StarRocks instance.', + 'description' => 'Before you call this API, make sure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.'."\n" + ."\n" + .'When you call this API, note the following:'."\n" + ."\n" + .'- This operation is supported only for Standard Edition instances. It is not supported for Starter Edition instances.'."\n" + ."\n" + .'- You can increase the number of disks only for instances with a standard compute group specification.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you change the number of CUs, the billing for the instance is updated as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new number of CUs.'."\n" + ."\n" + .'- Subscription: A supplementary fee is charged. This fee is calculated based on the price difference between the old and new configurations and the remaining subscription period. The remaining period starts at 00:00 on the following day and ends when the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ResourceType', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyCu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'machine', + ], + 'ModifyCuPreCheck' => [ + '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****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The warehouse ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ng-d332aa8bca48****', 'title' => ''], + ], + [ + 'name' => 'Target', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'string', + '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, - 'example' => 'instance', + 'maximum' => '100', + 'minimum' => '0', + 'example' => '2', + 'enum' => ['2', '4', '8', '16', '32', '64'], + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + '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', 'title' => ''], + 'Reason' => ['description' => 'The reason why the number of CUs cannot be modified.'."\n", 'type' => 'string', 'example' => 'Failed to find node group[ng-3d5ce6454354****].', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['title' => '', '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' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyCuPreCheck', + 'summary' => 'Performs a precheck before you modify the number of CUs for a warehouse.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyCuPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], + ], + '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"}]', + ], + 'ModifyDiskNumber' => [ + '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.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['description' => 'The target number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '0', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to restart the compute nodes in fast mode. Default value: false.'."\n" + ."\n" + .'- true: Restarts the compute nodes in fast mode. The nodes are restarted in batches. Nodes within a batch are restarted in parallel, and the batches are processed sequentially.'."\n" + ."\n" + .'- false: Restarts the compute nodes in rolling restart mode.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyDiskNumber', + 'summary' => 'Increases the number of disks for the nodes in a compute group of a Serverless StarRocks instance.', + 'description' => 'Before you call this operation, make sure you fully understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.'."\n" + .'Note the following:'."\n" + ."\n" + .'- The number of disks can be increased only for standard instances. This operation is not supported for entry-level instances.'."\n" + ."\n" + .'- The number of disks can be increased only for instances whose compute group is the Standard Edition (standard).'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you increase the number of disks, billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new disk type.'."\n" + ."\n" + .'- Subscription: A supplemental fee is calculated. This fee is based on the price difference between the old and new configurations and the remaining days in the billing cycle. The remaining period starts from 00:00 on the following day and ends when the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'machine', + ], + 'ModifyDiskPerformanceLevel' => [ + '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.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => 'The target disk performance level.', 'type' => 'string', 'required' => true, - 'example' => 'c-1854345****', + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], + 'example' => 'pl2', + 'title' => '', ], ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], ], '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" }', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyDiskPerformanceLevel', + 'summary' => 'This operation modifies the disk performance level of the nodes in a compute group of a Serverless StarRocks instance.', + 'description' => 'Before you call this operation, understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.1837281f3hbi2d#/ecs/detail/vm)</props><props="intl">[pricing](https://www.alibabacloud.com/zh/product/ecs?_p_lc=1#pricing)</props> of Serverless StarRocks.'."\n" + .'Note the following when you call this operation:'."\n" + ."\n" + .'- You can upgrade or downgrade disks only for standard instances. This operation is not supported for Starter Edition instances.'."\n" + ."\n" + .'- Disk upgrades and downgrades are supported only for instances that have a Standard Edition (standard) compute group.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'- You cannot downgrade the disk performance level (PL) to PL0.'."\n" + ."\n" + .'- The performance level of an Enhanced SSD (ESSD) is limited by its capacity. If you cannot upgrade the performance level, increase the disk capacity and try again. For more information, see <props="china">[ESSDs](https://help.aliyun.com/zh/ecs/user-guide/essds)</props><props="intl">[ESSDs](https://www.alibabacloud.com/help/en/ecs/user-guide/essds)</props>.'."\n" + ."\n" + .'After you change the disk configuration, the billing is adjusted as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are charged based on the new disk type.'."\n" + ."\n" + .'- Subscription: A supplemental fee is calculated based on the price difference between the new and old configurations for the remainder of the billing cycle. The remaining period starts at 00:00 on the next day and ends when the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskPerformanceLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'machine', ], - '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', + 'ModifyDiskSize' => [ + '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 ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['description' => 'The target disk size. Unit: GB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '65000', 'minimum' => '0', 'example' => '500', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'default' => 'false', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The ID of the order.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'The details of the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyDiskSize', + 'summary' => 'Scales out the disk of a compute group node for a Serverless StarRocks instance.', + 'description' => 'Before you call this operation, ensure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.'."\n" + .'Note the following:'."\n" + ."\n" + .'- Only standard instances support disk scale-out. Entry-level instances do not.'."\n" + ."\n" + .'- Only instances that have a compute group of the standard specification type support disk scale-out.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you scale out the disk, your billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are charged based on the new disk size.'."\n" + ."\n" + .'- Subscription: You must pay an upgrade fee. The fee is calculated based on the price difference between the old and new configurations and the remaining subscription period. The remaining subscription period is calculated starting from 00:00 on the next day.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskSize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + '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"}]', + 'translator' => 'machine', + ], + 'ModifyDiskType' => [ + 'path' => '/webapi/resourceChange/modifyDiskType', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '181121', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceZXY046', - ], + 'abilityTreeCode' => '281276', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'TargetPerformanceLevel', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'The target disk performance level.', 'type' => 'string', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], + 'example' => 'pl2', + 'title' => '', ], ], [ - 'name' => 'TargetVersion', + 'name' => 'TargetDiskType', 'in' => 'query', 'schema' => [ - 'description' => 'The version to which you want to upgrade.'."\n", + 'description' => 'The target disk type.', 'type' => 'string', 'required' => true, - 'example' => '3.3.2-1.77-1.6.4', + 'enum' => ['eed', 'essd'], + 'example' => 'essd', + 'title' => '', ], ], [ - 'name' => 'Minor', + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'The ID of the coupon.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyDiskType', + 'summary' => 'Change the disk type for nodes in a compute group', + 'description' => 'Before you call this operation, review the Serverless StarRocks billing model and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props>.'."\n" + ."\n" + .'- Only standard instances support disk scaling. Starter instances do not support disk scaling.'."\n" + ."\n" + .'- Only instances with a compute group specification type of Standard Edition support disk scaling.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After disk scaling, billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new disk size.'."\n" + ."\n" + .'- Subscription: During the billing cycle, the additional fee is calculated based on the price difference between the old and new configurations and the remaining days, from 00:00 the next day to the end of the validity period.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\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"}]', + 'translator' => 'manual', + ], + 'ModifyHostAlias' => [ + 'path' => '/webapi/network/modifyHostAlias', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'FastMode', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '276723', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', + 'properties' => [ + 'hostAliases' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'hostnames' => [ + 'type' => 'array', + 'items' => ['description' => 'Domain name', 'type' => 'string', 'required' => false, 'example' => 'abc.122.com', 'title' => ''], + 'description' => 'Host alias.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ip' => ['description' => 'Machine IP', 'type' => 'string', 'required' => false, 'example' => '26.15.54.221', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'Host alias list.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Request parameter information.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], ], '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****', + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Is the request successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Order ID.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyHostAlias', + 'summary' => 'Modifies the /etc/hosts file.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:ModifyHostAlias', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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}","type":"json"}]', + 'translator' => 'manual', + ], + 'ModifyInstanceConfig' => [ + 'path' => '/webapi/config/modifyInstanceConfig', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '163273', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Sample ID', 'type' => 'string', 'required' => true, 'example' => 'c-991ca6180620****', 'title' => ''], + ], + [ + 'name' => 'ConfigList', + 'in' => 'query', + 'schema' => ['description' => 'Additional information', 'type' => 'string', 'required' => false, 'example' => '[{\\"type\\":\\"sas_analysis_online-sas-operation-log-sh-sas-event-rasp\\",\\"configItemList\\":[{\\"key\\":\\"item_level\\",\\"valueList\\":[\\"all\\"]},{\\"key\\":\\"alert_type\\",\\"valueList\\":[\\"all\\"]}]}]', 'title' => ''], + ], + [ + 'name' => 'Reason', + 'in' => 'query', + 'schema' => ['description' => 'Reason for modification', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'AddConfigList', + 'in' => 'query', + 'schema' => ['description' => '\\[Deprecated] List of configurations to add', 'type' => 'string', 'required' => false, 'example' => '[]', 'title' => ''], + ], + [ + 'name' => 'DeleteConfigList', + 'in' => 'query', + 'schema' => ['description' => '\\[Deprecated] List of configurations to delete', 'type' => 'string', 'required' => false, 'example' => '[]', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'configsToUpdate' => [ + 'type' => 'array', + 'items' => ['description' => 'List of configurations', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'description' => 'Configurations to update', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'configsToAdd' => [ + 'type' => 'array', + 'items' => ['description' => 'List of configurations', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'description' => 'Configurations to add', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ErrCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'InvalidParams', + 'configsToDelete' => [ + 'type' => 'array', + 'items' => ['description' => 'List of configurations', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'description' => 'Configurations to delete', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ErrMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Invalid instance status: [cannot upgrade when instance is not running].', + 'fastMode' => ['description' => 'Whether to restart quickly', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'restart' => ['description' => 'Whether to restart.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + 'description' => 'Request struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B1DBBA4E-6CD4-54F7-81E4-12C3425AB519', 'title' => ''], + 'Success' => ['description' => 'Whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Instance information.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ModifyInstanceConfig', + 'summary' => 'This API modifies the configuration of a Serverless StarRocks instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyInstanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B1DBBA4E-6CD4-54F7-81E4-12C3425AB519\\",\\n \\"Success\\": true,\\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"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', + ], + 'ModifyInstanceConfigPreCheck' => [ + 'path' => '/webapi/config/modifyInstanceConfigPreCheck', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '256709', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'configsToUpdate' => [ + 'description' => 'The configurations to update.', + 'type' => 'array', + 'items' => ['description' => 'A configuration object.', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'boolean', + 'configsToAdd' => [ + 'description' => 'The configurations to add.', + 'type' => 'array', + 'items' => ['description' => 'A configuration object.', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], - '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" }', + 'configsToDelete' => [ + 'description' => 'The configurations to delete.', + 'type' => 'array', + 'items' => ['description' => 'A configuration object.', '$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ 'description' => '', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'description' => 'The response data.', + 'type' => 'array', + 'items' => ['description' => 'An item in the response data.', 'type' => 'string', 'example' => '24151320976****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'Precheck before modifying instance configuration', + 'summary' => 'This operation pre-checks modifications to the instance configuration of a Serverless StarRocks instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyInstanceConfigPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": [\\n \\"24151320976****\\"\\n ],\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'machine', + ], + 'ModifyMaintainableTime' => [ + 'path' => '/webapi/starrocks/modifyMaintainableTime', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2222,157 +6418,520 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '168030', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '167788', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'MaintainableTimePeriod', + 'in' => 'query', + 'schema' => ['description' => 'The maintenance window for the instance.', 'type' => 'string', 'required' => true, 'example' => '08:00-09:00', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the maintenance window was updated successfully.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about the access denied error.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ModifyMaintainableTime', + 'summary' => 'Modifies the maintenance window for a StarRocks instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Minor', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyMaintainableTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'machine', + ], + 'ModifyNodeNumber' => [ + '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.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'c-b25e21e24388****'], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ng-3d5ce6454354****'], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['description' => 'The target number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '0', 'title' => '', 'example' => '3'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'Parallelism', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'TerminationGracePeriodSeconds', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****'], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => 'InvalidParams'], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'Invalid params: [instance not exists].'], + 'Data' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '24151320976****'], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'Details about the access denial.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyNodeNumber', + 'summary' => 'Modifies the number of nodes in a compute group of a Serverless StarRocks instance.', + 'description' => 'Before you call this operation, ensure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.'."\n" + .'Note the following:'."\n" + ."\n" + .'- You can modify the number of nodes in a compute group only for standard instances. This operation is not supported for starter instances.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'- The number of frontend (FE) nodes cannot be an even number. You cannot scale in FE nodes.'."\n" + ."\n" + .'After you modify the number of nodes, the billing rules change as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new number of nodes.'."\n" + ."\n" + .'- Subscription: For a subscription instance, you must pay a supplementary fee. This fee is calculated based on the price difference between the new and old configurations and the remaining subscription duration. The remaining duration is calculated starting from 00:00 of the next day.', + 'changeSet' => [ + ['createdAt' => '2025-11-25T07:23:42.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyNodeNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', + ], + 'ModifyNodeNumberPreCheck' => [ + '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****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The warehouse ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + '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', 'title' => ''], + ], + ], '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], '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', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Allow' => ['description' => 'Indicates whether the number of nodes can be modified.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Reason' => ['description' => 'The reason why the number of nodes cannot be modified.'."\n", 'type' => 'string', 'example' => 'Failed to find node group[ng-3d5ce6454354****].', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - '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" }', - ], + 'AccessDeniedDetail' => ['title' => '', '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' => '', + 'title' => '', + 'example' => '', ], ], ], - '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' => [ + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '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', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyNodeNumberPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + '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"}]', + ], + 'ModifyScalingRule' => [ + 'summary' => 'Modifies an Auto Scaling rule.', + 'path' => '/webapi/scalingRule/modifyScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '278846', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'OldTriggerType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Old trigger type.', + 'type' => 'string', + 'required' => true, + 'enum' => ['TIME_TRIGGER'], + 'example' => 'TIME_TRIGGER', + 'title' => '', + ], + ], + [ + 'name' => 'NewTriggerType', + 'in' => 'query', + 'schema' => [ + 'description' => 'New trigger type.', + 'type' => 'string', + 'required' => true, + 'enum' => ['TIME_TRIGGER'], + 'example' => 'TIME_TRIGGER', + 'title' => '', + ], + ], + [ + 'name' => 'ScalingRuleId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the scaling rule to modify.', 'type' => 'string', 'required' => true, 'example' => 'asr-bp10s4t9l21u9qtyrtco', 'title' => ''], + ], + [ + 'name' => 'Rule', + 'in' => 'query', + 'schema' => ['description' => 'Rule content.', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "nodeNumber": 1,'."\n" + .' "scalingRuleName": "test1",'."\n" + .' "scalingOutRule": {'."\n" + .' "year": 2026,'."\n" + .' "month": 3,'."\n" + .' "day": 2,'."\n" + .' "hour": 5,'."\n" + .' "minute": 50,'."\n" + .' "second": 0,'."\n" + .' "recurrenceInterval": 1,'."\n" + .' "recurrenceType": "DAILY",'."\n" + .' "recurrenceValues": null'."\n" + .' },'."\n" + .' "scalingInRule": {'."\n" + .' "year": 2026,'."\n" + .' "month": 3,'."\n" + .' "day": 2,'."\n" + .' "hour": 6,'."\n" + .' "minute": 50,'."\n" + .' "second": 0,'."\n" + .' "recurrenceInterval": 1,'."\n" + .' "recurrenceType": "DAILY",'."\n" + .' "recurrenceValues": null'."\n" + .' }'."\n" + .'}', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => ['description' => 'Order ID.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyScalingRule', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'produces' => [ - 'application/json', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ModifySpecType' => [ + 'summary' => 'Modify the node specifications type of the compute group.', + 'path' => '/webapi/resourceChange/modifySpecType', + 'methods' => ['post'], + 'schemes' => ['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', - ], + 'abilityTreeCode' => '260887', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'TargetSpecType', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'Target specifications type.', 'type' => 'string', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'cpuEnhanced'], + 'example' => 'standard', + 'title' => '', ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['description' => 'Restart in fast restart mode. Default is false.'."\n" + ."\n" + .'- true: Restarts compute nodes in fast restart mode. Nodes restart in parallel within a batch, and batches execute sequentially.'."\n" + ."\n" + .'- false: Restarts compute nodes in rolling restart mode.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The warehouse ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-3d5ce6454354****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifySpecType', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Target', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifySpecType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', + ], + 'ModifySpecTypePreCheck' => [ + 'summary' => 'Runs a precheck to modify the node specification type for a compute group.', + 'path' => '/webapi/resourceChange/modifySpecTypePreCheck', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '260892', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'TargetSpecType', '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', + 'description' => 'The target specification type.', + 'type' => 'string', + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'localSSD', 'bigData', 'cpuEnhanced'], + 'required' => false, + 'example' => 'standard', + 'title' => '', ], ], ], @@ -2381,445 +6940,2463 @@ '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', + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'Allow' => ['description' => 'Indicates whether the number of CUs can be modified.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Reason' => ['description' => 'The reason why the number of CUs cannot be modified.', 'type' => 'string', 'example' => 'Failed to find node group[ng-3d5ce6454354****].', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], - 'ErrMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Invalid params: [instance not exists].', + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ModifySpecTypePreCheck', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifySpecTypePreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\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"}]', + 'translator' => 'manual', + ], + 'ModifyUserPassword' => [ + 'path' => '/webapi/password/modify', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '260421', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => ['description' => 'The client\'s new password.', 'type' => 'string', 'required' => false, 'example' => '***', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The order ID.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyUserPassword', + 'summary' => 'Modifies the password for a StarRocks user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyUserPassword', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\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"}]', + 'translator' => 'manual', + ], + 'QueryEnableMultiAzPrice' => [ + 'path' => '/webapi/priceInquiry/enableMultiAz', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '283091', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'instanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-8dsy12g*****', 'title' => ''], + 'promotionOptionNo' => ['description' => 'The coupon.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'observers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'zoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-h', 'title' => ''], + 'vswId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-9sdur12t27s', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of observers.', + 'required' => false, + 'title' => '', + 'example' => '', ], + ], + 'description' => 'The request struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], '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', + 'OriginalAmount' => ['description' => 'The original price. This is the list price multiplied by the usage.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. This is the original amount minus the bill\'s payable amount, which includes coupon deductions.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'multi-zone', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price of the order.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount for the order.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + ], + 'description' => 'The component price.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency. Valid values:'."\n" + ."\n" + .'- CNY: Chinese Yuan.'."\n" + ."\n" + .'- USD: U.S. dollar.'."\n" + ."\n" + .'- JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon number.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price based on the official discount.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction percentage.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '7641', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to show the price reduction.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The total official price after the price reduction.', + 'example' => '7641', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule_28sdhsu2320t', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '2ju2sd9dss', 'title' => ''], + 'Amount' => ['description' => 'The quantity.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], + ], + 'description' => 'The list of rules.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data structure.', + 'title' => '', + 'example' => '', ], - 'Reason' => [ - 'description' => 'The reason why the number of nodes cannot be modified.'."\n", - 'type' => 'string', - 'example' => 'Failed to find node group[ng-3d5ce6454354****].', + 'ModuleInstance' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModuleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'zone', 'title' => ''], + 'TotalProductFee' => ['description' => 'The original price of the product.', 'type' => 'string', 'example' => '7641', 'title' => ''], + 'ModuleCode' => ['description' => 'The identifier of the billing module.', 'type' => 'string', 'example' => 'multi-zone', 'title' => ''], + 'StandPrice' => ['description' => 'The discounted price.', 'type' => 'string', 'example' => '7641', 'title' => ''], + ], + 'description' => 'The property code.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The module ID.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], - '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" }', - ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryEnableMultiAzPrice', + 'summary' => 'Queries the price for enabling multi-zone deployment.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryEnableMultiAzPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 7641,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7641,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"multi-zone\\",\\n \\"OriginalAmount\\": 7641,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7641\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 7641,\\n \\"StandDiscountPrice\\": 7641,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 7641,\\n \\"OriginalStandAmount\\": 7641,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_28sdhsu2320t\\",\\n \\"RuleDescId\\": \\"2ju2sd9dss\\",\\n \\"Amount\\": 2\\n }\\n ],\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleName\\": \\"zone\\",\\n \\"TotalProductFee\\": \\"7641\\",\\n \\"ModuleCode\\": \\"multi-zone\\",\\n \\"StandPrice\\": \\"7641\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'ModifyNodeNumber' => [ - 'summary' => 'Modifies the number of nodes in a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', - 'path' => '/webapi/resourceChange/modifyNodeNumber', - 'methods' => [ - 'post', + 'QueryMinorVersion' => [ + 'summary' => 'Queries the latest minor version for the current major version.', + 'path' => '/webapi/starrocks/queryAppDefineVersion', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '266389', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the cluster.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Version', + 'in' => 'query', + 'schema' => ['description' => 'The major version of the instance.', 'type' => 'string', 'required' => false, 'example' => '3.3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Minor version.', 'type' => 'string', 'example' => '3.3.13-1.0-1.7.12', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'QueryMinorVersion', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryMinorVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": \\"3.3.13-1.0-1.7.12\\",\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyChargeTypePrice' => [ + 'path' => '/webapi/buy/query_modify_charge_type_price', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '181463', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'c-b25e21e24388****'], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-renewal. This parameter is valid only when \\`payType\\` is set to \\`PrePaid\\`. The default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['description' => 'The subscription duration. This parameter is valid only when \\`payType\\` is set to \\`PrePaid\\`.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => ['description' => 'The unit of the subscription duration:'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'This parameter is valid only when \\`payType\\` is set to \\`PrePaid\\`.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], + ], + [ + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'A list of billing instance IDs to modify. Separate multiple IDs with commas.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'c-3d6dc31ba67b1839'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price (list price × usage).', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. This is the original amount minus the payable amount, which includes coupon deductions.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'cu_num', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount for the order.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price. This is the original price minus the discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_1238293', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discount price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the price reduction amount.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The cost after discounts.', + 'title' => '', + 'example' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule1', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'rule-12iudfj', 'title' => ''], + 'Amount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + ], + 'description' => 'The data structure of the response.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The price calculation rules.', + 'title' => '', + 'example' => '', + ], + 'ModuleInstance' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModuleName' => ['description' => 'The name of the pricing module.', 'type' => 'string', 'example' => 'cu_num', 'title' => ''], + 'TotalProductFee' => ['description' => 'The original price of the product.', 'type' => 'string', 'example' => '7986', 'title' => ''], + 'ModuleCode' => ['description' => 'The code of the pricing module.', 'type' => 'string', 'example' => 'instance_type', 'title' => ''], + 'StandPrice' => ['description' => 'The discounted price.', 'type' => 'string', 'example' => '7986', 'title' => ''], + ], + 'description' => 'The property type.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The module ID.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The order amount.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'QueryModifyChargeTypePrice', + 'summary' => 'Queries the price for changing the billing method of a StarRocks instance.', + 'description' => 'Before you call this operation, make sure that you fully understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks.'."\n" + ."\n" + .'Note the following when you call this operation:'."\n" + ."\n" + .'- You can change the number of compute units (CUs) in a compute group only for Standard Edition instances. This feature is not supported for Starter Edition instances.'."\n" + ."\n" + .'- You can increase the disk size only for instances that have a standard compute group specification.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you change the number of CUs, the billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new number of CUs.'."\n" + ."\n" + .'- Subscription: The system calculates the supplementary fee based on the price difference between the old and new configurations and the remaining days in the billing cycle. The calculation starts from 00:00 on the following day.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryModifyChargeTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'produces' => [ - 'application/json', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 7986,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7986,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"cu_num\\",\\n \\"OriginalAmount\\": 7986,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7986\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_1238293\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 7986,\\n \\"StandDiscountPrice\\": 7986,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 7986,\\n \\"OriginalStandAmount\\": 7986,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule1\\",\\n \\"RuleDescId\\": \\"rule-12iudfj\\",\\n \\"Amount\\": 0\\n }\\n ],\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleName\\": \\"cu_num\\",\\n \\"TotalProductFee\\": \\"7986\\",\\n \\"ModuleCode\\": \\"instance_type\\",\\n \\"StandPrice\\": \\"7986\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyCuPrice' => [ + 'summary' => 'Queries the price for modifying the CU of compute group nodes.', + 'path' => '/webapi/priceInquiry/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' => '220610', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'abilityTreeCode' => '220175', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], ], [ 'name' => 'NodeGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The warehouse ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-3d5ce6454354****', - ], + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], ], [ 'name' => 'Target', 'in' => 'query', 'schema' => [ - 'description' => 'The number of nodes to which you want to change to.'."\n", + 'description' => 'The target number of CUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '3', + 'enum' => ['2', '4', '8', '16', '32', '64'], + 'example' => '2', + 'title' => '', ], ], [ 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'The ID of the coupon.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B67D142D-D54E-184F-A306-22BDC01B2XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price. Original price = List price × Billing usage.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. Discount amount = Original amount - Billable amount. The billable amount includes coupon deductions.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The transaction amount.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The name of the component.', 'type' => 'string', 'example' => 'cu_num', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + ], + 'description' => 'The prices of the components.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The prices of the components.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The ID of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The name of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The description of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The discounted price on the official website.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The price after the standard discount is applied.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total list price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total list price.', 'type' => 'number', 'format' => 'float', 'example' => '7986', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to show the price reduction information.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The depreciation rate.', + 'example' => '0', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'rule_123123', 'title' => ''], + 'RuleDescId' => ['description' => 'The ID of the rule.', 'type' => 'string', 'example' => 'ak72hajsd', 'title' => ''], + 'Amount' => ['description' => 'The number of instances to purchase in a batch. You can use this parameter to query the price of purchasing multiple Elastic Compute Service (ECS) instances with a specific configuration. Valid values: 1 to 1000.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + ], + 'description' => 'The price calculation rules.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The data structure returned in the response.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'Details about the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyCuPrice', + 'description' => 'Before you use this API, understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props> <props="intl">[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)</props> for Serverless StarRocks.'."\n" + ."\n" + .'When you call this API, note the following:'."\n" + ."\n" + .'- Only standard instances allow you to modify the number of CUs for compute groups. Entry-level instances do not.'."\n" + ."\n" + .'- You can increase the disk size only for instances with a Standard Edition (standard) compute group.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you modify the number of CUs, billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: Billing is based on the new number of CUs.'."\n" + ."\n" + .'- Subscription: The amount to pay is calculated based on the price difference between the old and new configurations for the remainder of the subscription period. This period starts at 00:00 on the following day.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Parallelism', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyCuPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"B67D142D-D54E-184F-A306-22BDC01B2XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 7986,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7986,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"cu_num\\",\\n \\"OriginalAmount\\": 7986,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 7986\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 7986,\\n \\"StandDiscountPrice\\": 7986,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 7986,\\n \\"OriginalStandAmount\\": 7986,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_123123\\",\\n \\"RuleDescId\\": \\"ak72hajsd\\",\\n \\"Amount\\": 1\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyDiskNumberPrice' => [ + 'summary' => 'Retrieve the price for changing the number of disks in a compute group node', + 'path' => '/webapi/priceInquiry/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' => '220347', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The target number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '16', 'minimum' => '1', 'example' => '500', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the coupon.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original amount = catalog price × usage.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount = original amount − payable amount on the bill (including coupon deductions).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final amount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The name of the component.', 'type' => 'string', 'example' => 'disk', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original amount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount for the order.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final amount, which equals the original amount minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + ], + 'description' => 'The price of a component.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The prices of components.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The ID of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The name of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The description of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The discount rate.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official price after discount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to show the discount amount.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The total official price after discount.', + 'example' => '17629', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'rule_12hus92', 'title' => ''], + 'RuleDescId' => ['description' => 'The ID of the rule.', 'type' => 'string', 'example' => '6yhsi10223', 'title' => ''], + 'Amount' => ['description' => 'The number of Elastic Compute Service (ECS) instances for which you want to query the price. Valid values: 1 to 1000. Default value: 1.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'number', 'format' => 'float', 'example' => '3', 'title' => ''], + ], + 'description' => 'The pricing rule.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of rules that match your request. Each item is a matching rule. Only matching rule information and the location of each matching rule are returned.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The ID of the order.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyDiskNumberPrice', + 'description' => 'Before you call this operation, review the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> for Serverless StarRocks.'."\n" + ."\n" + .'- You can increase the disk count only for Standard Edition instances. You cannot increase the disk count for Starter Edition instances.'."\n" + ."\n" + .'- You can increase the disk count only for instances with a compute group specification type of Standard Edition (standard).'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you increase the disk count, billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: Billing is based on the new disk type.'."\n" + ."\n" + .'- Subscription: During the billing cycle, the additional fee is calculated based on the price difference between the new and original configurations and the remaining days—from 00:00 the next day to the end of the validity period.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TerminationGracePeriodSeconds', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskNumberPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 17629,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 17629,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"disk\\",\\n \\"OriginalAmount\\": 17629,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 17629\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 17629,\\n \\"StandDiscountPrice\\": 17629,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 17629,\\n \\"OriginalStandAmount\\": 17629,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_12hus92\\",\\n \\"RuleDescId\\": \\"6yhsi10223\\",\\n \\"Amount\\": 3\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyDiskPerformanceLevelPrice' => [ + 'path' => '/webapi/priceInquiry/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' => 'get', + 'abilityTreeCode' => '220348', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-a7fa8b85ff6bced6', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-204ea5d711860b4d', 'title' => ''], + ], + [ + 'name' => 'Target', 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The target disk performance level.', + 'type' => 'string', + 'required' => true, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], + 'example' => 'pl2', + 'title' => '', ], ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], ], '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '86865DD4-7733-5446-B52B-C9DA71961B76', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], '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" }', + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price. Original price = List price × Usage.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. Discount amount = Original price - Amount payable (including the amount deducted by coupons).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'Resource group ID', 'type' => 'string', 'example' => 'disk_type', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency. Valid values:'."\n" + ."\n" + .'- CNY: Chinese Yuan.'."\n" + ."\n" + .'- USD: US Dollar.'."\n" + ."\n" + .'- JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price based on the official discount.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '17629', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the price reduction range.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The total official price after the price reduction.', + 'example' => '17629', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule_128nsg182', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '78hujis12jd', 'title' => ''], + 'Amount' => ['description' => 'The number of purchased resources.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + ], + 'description' => 'A list of hit rules. Each item is a rule. Only information about the hit rules and their locations is returned.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of hit rules. Each item is a rule. Only information about the hit rules and their locations is returned.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The order ID.', + 'title' => '', + 'example' => '', ], + 'AccessDeniedDetail' => ['description' => 'The details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyDiskPerformanceLevelPrice', + 'summary' => 'Queries the price of changing the disk performance level for a compute group node.', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and <props="intl">[pricing](https://www.alibabacloud.com/product/ecs?_p_lc=1#pricing)</props> of Serverless StarRocks.'."\n" + .'Note the following when you call this operation:'."\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" + .'- Only standard instances support disk upgrade or downgrade. Entry-level instances do not.'."\n" ."\n" - .'After you modify the number of nodes in a warehouse, the billing of nodes has the following changes:'."\n" + .'- Only instances with a standard compute group specification support disk upgrade or downgrade.'."\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', + .'- The instance must be in the running state.'."\n" + ."\n" + .'- You cannot downgrade the disk to performance level (PL) 0.'."\n" + ."\n" + .'- The performance level of an Enhanced SSD (ESSD) is limited by its capacity. If you cannot upgrade the performance level, scale out the disk and try again. For more information, see <props="intl">[ESSDs](https://www.alibabacloud.com/help/en/ecs/user-guide/essds)</props>.'."\n" + ."\n" + .'After you upgrade or downgrade a disk, the billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are charged based on the new disk type.'."\n" + ."\n" + .'- Subscription: A supplementary fee is calculated based on the price difference between the new and old configurations and the remaining days in the subscription period, starting from 00:00 on the following day.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskPerformanceLevelPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"86865DD4-7733-5446-B52B-C9DA71961B76\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 17629,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 17629,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"disk_type\\",\\n \\"OriginalAmount\\": 17629,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 17629\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 17629,\\n \\"StandDiscountPrice\\": 17629,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 17629,\\n \\"OriginalStandAmount\\": 17629,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_128nsg182\\",\\n \\"RuleDescId\\": \\"78hujis12jd\\",\\n \\"Amount\\": 1\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyDiskSizePrice' => [ + 'path' => '/webapi/priceInquiry/modifyDiskSize', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220346', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], - 'produces' => [ - 'application/json', + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['description' => 'Target disk size. Unit: GB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '65000', 'minimum' => '50', 'example' => '1000', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price. Original amount = catalog price × billing usage.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. Discount amount = original amount - billable amount (including coupon deductions).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The component name. Defaults to the component ID.', 'type' => 'string', 'example' => 'disk_size', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'DiscountAmount' => ['description' => 'The order discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency. Valid values:'."\n" + ."\n" + .'- CNY: Chinese Yuan.'."\n" + ."\n" + .'- USD: US Dollar.'."\n" + ."\n" + .'- JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official website discount price.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price based on the official website discount.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official website price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official website price.', 'type' => 'number', 'format' => 'float', 'example' => '9872', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the price reduction.', 'type' => 'boolean', 'example' => '0', 'title' => ''], + ], + 'description' => 'Indicates whether to display the price reduction.', + 'example' => 'true', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule-083ja12', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '7ysj12ksaa', 'title' => ''], + 'Amount' => ['description' => 'The quantity.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + ], + 'description' => 'The activity rules.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The price calculation rules.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The order information.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyDiskSizePrice', + 'summary' => 'Queries the price for modifying the disk size of a single node in a compute group.', + 'description' => 'Before you call this operation, make sure you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props> <props="intl">[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)</props> of Serverless StarRocks. When you call this operation, note the following:'."\n" + ."\n" + .'- Disk scale-out is supported only for standard instances. It is not supported for entry-level instances.'."\n" + ."\n" + .'- Disk scale-out is supported only for instances that use the standard compute group specification.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After you scale out the disk, the billing changes are as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed for the new disk size.'."\n" + ."\n" + .'- Subscription: A supplementary fee is calculated based on the price difference between the old and new configurations and the remaining days in your subscription. The remaining days are calculated from 00:00 on the next day until the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskSizePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 9872,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 9872,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"disk_size\\",\\n \\"OriginalAmount\\": 9872,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 9872\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 9872,\\n \\"StandDiscountPrice\\": 9872,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 9872,\\n \\"OriginalStandAmount\\": 9872,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule-083ja12\\",\\n \\"RuleDescId\\": \\"7ysj12ksaa\\",\\n \\"Amount\\": 10\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyDiskTypePrice' => [ + 'summary' => 'Queries the price for modifying the disk type of nodes in a compute group.', + 'path' => '/webapi/priceInquiry/modifyDiskType', + 'methods' => ['post'], + 'schemes' => ['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', - ], + 'abilityTreeCode' => '281278', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'Compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-d332aa8bca48****', 'title' => ''], + ], + [ + 'name' => 'TargetPerformanceLevel', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'Target disk performance.', 'type' => 'string', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], + 'example' => 'pl2', + 'title' => '', ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'TargetDiskType', 'in' => 'query', 'schema' => [ - 'description' => 'The warehouse ID.'."\n", + 'description' => 'Target disk type.', 'type' => 'string', 'required' => true, - 'example' => 'ng-d332aa8bca48****', + 'enum' => ['eed', 'essd'], + 'example' => 'essd', + 'title' => '', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Is the request successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'Original price (original amount) = catalog price × usage.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'DiscountAmount' => ['description' => 'Discount amount = original amount - bill payable amount (including coupon deduction amount).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'Amount.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'Resource group ID.', 'type' => 'string', 'example' => 'disk_type', 'title' => ''], + 'OriginalAmount' => ['description' => 'Original price.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'DiscountAmount' => ['description' => 'Discount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'Final price, which is the original price minus the discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + ], + 'description' => 'Component prices.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'Currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'Coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'Coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The description of the coupon.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'Coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'Official website discount price.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'Discounted price based on the official website discount.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'Price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'Total official website price after reduction.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'Original total official website price.', 'type' => 'number', 'format' => 'float', 'example' => '10923', 'title' => ''], + 'IsShow' => ['description' => 'Display price reduction range.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'Price reduction ratio.', + 'title' => '', + 'example' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Rule name.', 'type' => 'string', 'example' => 'rule-928shy23sa', 'title' => ''], + 'RuleDescId' => ['description' => 'Rule ID.', 'type' => 'string', 'example' => '7dsu230ks23', 'title' => ''], + 'Amount' => ['description' => 'Quantity.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + ], + 'description' => 'Returned data structure.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Returned data structure.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Returned data.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyDiskTypePrice', + 'description' => 'Before you call this API, make sure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props> <props="intl">[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)</props> of the Serverless StarRocks product. Take note of the following:'."\n" + ."\n" + .'- Only standard instances support disk scale-out. Entry-level instances do not.'."\n" + ."\n" + .'- Only instances that have a compute group of the Standard Edition (standard) specification type support disk scale-out.'."\n" + ."\n" + .'- Instances must be in the running (Running) state.'."\n" + ."\n" + .'After a disk scale-out, the billing changes as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new disk size.'."\n" + ."\n" + .'- Subscription: A supplemental fee is calculated based on the price difference between the new and old configurations for the remaining duration of the subscription. The remaining duration is calculated from 00:00 on the next day until the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 10923,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 10923,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"disk_type\\",\\n \\"OriginalAmount\\": 10923,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 10923\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 10923,\\n \\"StandDiscountPrice\\": 10923,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 10923,\\n \\"OriginalStandAmount\\": 10923,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule-928shy23sa\\",\\n \\"RuleDescId\\": \\"7dsu230ks23\\",\\n \\"Amount\\": 10\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifyNodeNumberPrice' => [ + 'summary' => 'Queries the price for changing the number of nodes in a compute group.', + 'path' => '/webapi/priceInquiry/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' => '220171', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], [ 'name' => 'Target', 'in' => 'query', + 'schema' => ['description' => 'The target number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '0', 'example' => '4', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price. This is calculated as: List Price × Billable Usage.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount is the difference between the original amount and the amount payable. The amount payable is the final cost after any coupon deductions.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The payable amount.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'RangerUserSync', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price of the order.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The actual transaction price of the order.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + ], + 'description' => 'The component price.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency. Valid values:'."\n" + ."\n" + .'- CNY: Chinese Yuan.'."\n" + ."\n" + .'- USD: US Dollar.'."\n" + ."\n" + .'- JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official website discount price.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price based on the official website discount.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total price on the official website after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total price on the official website.', 'type' => 'number', 'format' => 'float', 'example' => '26710', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the price reduction range.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The price reduction ratio.', + 'example' => '0', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule_923su2sf', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '8uy3sh12sa', 'title' => ''], + 'Amount' => ['description' => 'The price for purchasing a batch of Elastic Compute Service (ECS) instances with a specific configuration. Valid values: 1 to 1000.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + ], + 'description' => 'A list of rules that were hit. Each item represents a rule. Only information about the hit rules and their positions is returned.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The returned data structure.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The order information.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifyNodeNumberPrice', + 'description' => 'Before you call this API, make sure you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props> <props="intl">[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)</props> of Serverless StarRocks.'."\n" + .'When you call this API, note the following:'."\n" + ."\n" + .'- You can change the number of nodes in a compute group only for standard instances. This operation is not supported for entry-level instances.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'- The number of frontend (FE) nodes cannot be an even number. You cannot scale in FE nodes.'."\n" + ."\n" + .'After you change the number of nodes, billing is affected as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are charged based on the new number of nodes.'."\n" + ."\n" + .'- Subscription: A supplemental fee is calculated based on the price difference between the old and new configurations and the number of remaining days in the subscription period. The remaining period is calculated from 00:00 of the next day until the subscription expires.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyNodeNumberPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 26710,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 26710,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"RangerUserSync\\",\\n \\"OriginalAmount\\": 26710,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 26710\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 26710,\\n \\"StandDiscountPrice\\": 26710,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 26710,\\n \\"OriginalStandAmount\\": 26710,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_923su2sf\\",\\n \\"RuleDescId\\": \\"8uy3sh12sa\\",\\n \\"Amount\\": 10\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryModifySpecTypePrice' => [ + 'path' => '/webapi/priceInquiry/modifySpecType', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '262047', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'TargetSpecType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The node type of the compute group.', + 'type' => 'string', + 'required' => true, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'cpuEnhanced'], + 'example' => 'standard', + 'title' => '', + ], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'The original price. Formula: List price × Billed usage.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount. Formula: Original amount - Payable amount on the bill. The payable amount includes the amount deducted by coupons.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The amount.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'node_type', 'title' => ''], + 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'The final price. The final price is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + ], + 'description' => 'The component price.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The component prices.', + 'title' => '', + 'example' => '', + ], + 'Currency' => ['description' => 'The currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'The official website discount price.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'The discounted price that is based on the official website discount.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'The price reduction ratio.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The total official website price after the price reduction.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total official website price.', 'type' => 'number', 'format' => 'float', 'example' => '5612', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the price reduction.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'The name of the campaign.', + 'title' => '', + 'example' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'rule_827231sg1', 'title' => ''], + 'RuleDescId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '7usy32gs01', 'title' => ''], + 'Amount' => ['description' => 'The resource count.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + ], + 'description' => 'The price calculation rule.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The price calculation rules.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", + 'AccessDeniedDetail' => ['description' => 'Details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryModifySpecTypePrice', + 'summary' => 'Queries the price to change the specification type of a compute group.', + 'description' => 'Before you call this operation, ensure that you understand the billing methods and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> of Serverless StarRocks. Note the following:'."\n" + ."\n" + .'- Only standard instances support disk scale-out. Basic instances do not.'."\n" + ."\n" + .'- Only instances with the Standard (standard) compute group specification type support disk scale-out.'."\n" + ."\n" + .'- The instance must be in the Running state.'."\n" + ."\n" + .'After a disk scale-out, the billing changes are as follows:'."\n" + ."\n" + .'- Pay-as-you-go: You are billed based on the new disk size.'."\n" + ."\n" + .'- Subscription: A supplementary fee is calculated based on the price difference between the old and new configurations and the number of remaining days in the subscription period (from 00:00 on the next day to the end of the validity period).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifySpecTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 5612,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 5612,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"node_type\\",\\n \\"OriginalAmount\\": 5612,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 5612\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 5612,\\n \\"StandDiscountPrice\\": 5612,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 5612,\\n \\"OriginalStandAmount\\": 5612,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_827231sg1\\",\\n \\"RuleDescId\\": \\"7usy32gs01\\",\\n \\"Amount\\": 10\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryPriceV1' => [ + 'path' => '/webapi/price/create', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '260340', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'PayType' => [ + 'description' => 'Payment type:'."\n" + ."\n" + .'1. Subscription (prePaid).'."\n" + ."\n" + .'2. Pay-as-you-go (postPaid).', 'type' => 'string', - 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'enum' => ['postPaid', 'prePaid'], + 'required' => false, + 'example' => 'prePaid', + 'title' => '', ], - 'ErrCode' => [ - 'description' => 'The error code.'."\n", + 'PackageType' => [ + 'description' => 'Instance edition:'."\n" + ."\n" + .'- Trial Edition (trial).'."\n" + ."\n" + .'- Standard Edition (official).', 'type' => 'string', - 'example' => 'InvalidParams', + 'enum' => ['trial', 'official'], + 'required' => false, + 'example' => 'official', + 'title' => '', + ], + 'Duration' => ['description' => 'Subscription duration. Valid only when PayType is prePaid.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'PricingCycle' => ['description' => 'Subscription duration unit:'."\n" + ."\n" + .'- Month (Month)'."\n" + ."\n" + .'- Year (Year)'."\n" + ."\n" + .'Valid only when PayType is prePaid.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], + 'ObserverNodeGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'specType' => ['description' => 'Compute group specification type. Only standard is supported.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + 'cu' => ['description' => 'Number of CUs. A Compute Unit (CU) is the basic billing unit. One CU equals one vCPU plus 4 GiB of memory.', 'type' => 'string', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size in GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'storagePerformanceLevel' => ['description' => 'Disk performance level. Only pl1 is supported. Maximum random read/write IOPS per disk is 50,000.', 'type' => 'string', 'required' => false, 'example' => 'pl1', 'title' => ''], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type. Do not set this field for Observer compute groups.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + ], + 'description' => 'Observer compute group information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'description' => 'Observer compute group information.', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ErrMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Invalid params: [instance not exists].', + 'FrontendNodeGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'specType' => ['description' => 'Compute group specification type. Only standard is supported.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + 'cu' => ['description' => 'Number of CUs. A Compute Unit (CU) is the basic billing unit. One CU equals one vCPU plus 4 GiB of memory.', 'type' => 'string', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size in GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'storagePerformanceLevel' => ['description' => 'Disk performance level. Only pl1 is supported. Maximum random read/write IOPS per disk is 50,000.', 'type' => 'string', 'required' => false, 'example' => 'pl1', 'title' => ''], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type. Do not set this field for FE compute groups.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], + ], + 'description' => 'FE node group information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'description' => 'FE node group information.', + 'required' => false, + 'title' => '', + 'example' => '', ], + 'BackendNodeGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'specType' => ['description' => 'Compute group specification type. Supported types include the following:'."\n" + ."\n" + .'- standard: Standard Edition.'."\n" + ."\n" + .'- localSSD: Local SSD.'."\n" + ."\n" + .'- bigData: Large-storage Edition.'."\n" + ."\n" + .'- ramEnhanced: Memory-enhanced instance family.'."\n" + ."\n" + .'- networkEnhanced: Network-enhanced instance family.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + 'cu' => ['description' => 'Number of CUs. A Compute Unit (CU) is the basic billing unit. One CU equals one vCPU plus 4 GiB of memory. For ramEnhanced instances, one CU equals one vCPU plus 8 GiB of memory.', 'type' => 'string', 'required' => false, 'example' => '8', 'title' => ''], + 'storageSize' => ['description' => 'Storage size in GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'storagePerformanceLevel' => ['description' => 'Disk performance level. Supported values include the following:'."\n" + ."\n" + .'- pl0: Maximum random read/write IOPS per disk is 10,000.'."\n" + ."\n" + .'- pl1: Maximum random read/write IOPS per disk is 50,000.'."\n" + ."\n" + .'- pl2: Maximum random read/write IOPS per disk is 100,000.'."\n" + ."\n" + .'- pl3: Maximum random read/write IOPS per disk is 1,000,000.', 'type' => 'string', 'required' => false, 'example' => 'pl1', 'title' => ''], + 'diskNumber' => ['description' => 'Number of disks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'residentNodeNumber' => ['description' => 'Number of nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + 'localStorageInstanceType' => ['description' => 'Local SSD instance type for the node group. This field applies only to ECS-based instances with specType set to localSSD or bigData.', 'type' => 'string', 'required' => false, 'example' => 'local_ssd_4_4xlarge', 'title' => ''], + ], + 'description' => 'BE or CN compute group information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'description' => 'BE or CN compute group information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RunMode' => ['description' => 'Cluster run mode:'."\n" + ."\n" + .'- Shared-nothing (shared\\_nothing).'."\n" + ."\n" + .'- Shared-data (shared\\_data).', 'type' => 'string', 'required' => false, 'example' => 'shared_data', 'title' => ''], + 'PromotionOptionNo' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'AgentNodeGroup' => [ + 'type' => 'object', + 'properties' => [ + 'cu' => ['description' => 'Number of CUs. A Compute Unit (CU) is the basic billing unit. One CU equals one vCPU plus 4 GiB of memory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + 'description' => 'Agent compute group.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Request struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], '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', + 'OriginalAmount' => ['description' => 'Original amount = list price × usage.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'DiscountAmount' => ['description' => 'Discount amount = original amount − billable amount (including coupon discounts).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'Final amount.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'ComponentPrices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'Component name.', 'type' => 'string', 'example' => 'FE', 'title' => ''], + 'OriginalAmount' => ['description' => 'Original price.', 'type' => 'number', 'format' => 'float', 'example' => '3192', 'title' => ''], + 'DiscountAmount' => ['description' => 'Order discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'Final price = original price − discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '3192', 'title' => ''], + ], + 'description' => 'Component price.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Component prices.', + 'title' => '', + 'example' => '', ], - 'Reason' => [ - 'description' => 'The reason why the number of CUs cannot be modified.'."\n", - 'type' => 'string', - 'example' => 'Failed to find node group[ng-3d5ce6454354****].', + 'Currency' => ['description' => 'Currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'Coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'Coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'Coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'Coupon ID.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Coupon information.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'Official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'Discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'Discount rate.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'Total official price after discount.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'Original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '8094', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether to display the discount rate.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'Promotion information.', + 'title' => '', + 'example' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Rule name.', 'type' => 'string', 'example' => 'rule_8usi12321sa', 'title' => ''], + 'RuleDescId' => ['description' => 'Rule ID.', 'type' => 'string', 'example' => '7u22yshaasds', 'title' => ''], + 'Amount' => ['description' => 'Quantity.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + ], + 'description' => 'Pricing rule.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Response data structure.', + 'title' => '', + 'example' => '', + ], + 'ModuleInstance' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModuleName' => ['description' => 'Pricing module name.', 'type' => 'string', 'example' => 'CU', 'title' => ''], + 'TotalProductFee' => ['description' => 'Product original price.', 'type' => 'string', 'example' => '1622', 'title' => ''], + 'ModuleCode' => ['description' => 'Pricing module code.', 'type' => 'string', 'example' => 'cu_num', 'title' => ''], + 'StandPrice' => ['description' => 'Discounted price.', 'type' => 'string', 'example' => '1622', 'title' => ''], + ], + 'description' => 'Price difference discount (displayed as order total).', + 'title' => '', + 'example' => '', + ], + 'description' => 'Product original price.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'Response data.', + 'title' => '', + 'example' => '', ], - '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" }', - ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'QueryPriceV1', + 'summary' => 'An API for querying the price of new StarRocks purchases.', + 'description' => 'Before you use this API, review the billing model and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props><props="intl">[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)</props> for Serverless StarRocks.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryPriceV1', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"Data\\": {\\n \\"OriginalAmount\\": 8094,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 8094,\\n \\"ComponentPrices\\": [\\n {\\n \\"ComponentName\\": \\"FE\\",\\n \\"OriginalAmount\\": 3192,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 3192\\n }\\n ],\\n \\"Currency\\": \\"CNY\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 8094,\\n \\"StandDiscountPrice\\": 8094,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 8094,\\n \\"OriginalStandAmount\\": 8094,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_8usi12321sa\\",\\n \\"RuleDescId\\": \\"7u22yshaasds\\",\\n \\"Amount\\": 1\\n }\\n ],\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleName\\": \\"CU\\",\\n \\"TotalProductFee\\": \\"1622\\",\\n \\"ModuleCode\\": \\"cu_num\\",\\n \\"StandPrice\\": \\"1622\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryRefundPrice' => [ + 'summary' => 'Pricing information for unsubscribing from StarRocks subscription instances', + 'path' => '/webapi/buy/queryRefundPrice', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '290510', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'billingInstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'A comma-separated list of instance IDs to cancel.', 'type' => 'string', 'required' => false, 'example' => 'ng-1syeu23,ng-81293sa', 'title' => ''], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID. This field is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'c-82su12s0kl12', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8C69A6D0-49B7-54B9-BF21-9AF52172A5F7', 'title' => ''], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'errCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'errMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'None', 'title' => ''], + 'data' => ['description' => 'The refund amount.', 'type' => 'number', 'format' => 'double', 'example' => '18837', 'title' => ''], + 'accessDeniedDetail' => ['description' => 'The access denied detail.', 'type' => 'string', 'title' => '', 'example' => 'None'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], - 'produces' => [ - 'application/json', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryRefundPrice', + 'description' => '><danger>'."\n" + ."\n" + .'After you release an instance, Alibaba Cloud reclaims all physical resources used by the instance. All associated data is permanently lost and cannot be recovered.'."\n" + ."\n" + .'></danger>', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryRefundPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"httpStatusCode\\": 200,\\n \\"requestId\\": \\"8C69A6D0-49B7-54B9-BF21-9AF52172A5F7\\",\\n \\"success\\": true,\\n \\"errCode\\": \\"0\\",\\n \\"errMessage\\": \\"None\\",\\n \\"data\\": 18837,\\n \\"accessDeniedDetail\\": \\"None\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryRenewPrice' => [ + 'path' => '/webapi/price/renew', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '220690', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '161471', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'pattern' => '^[0-9a-zA-Z_-]+$', 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'Duration', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', + 'description' => 'Renewal period.', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'maximum' => '12', + 'minimum' => '1', + 'enum' => ['1', '2', '3', '6', '9'], + 'example' => '2', + 'title' => '', ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'PricingCycle', 'in' => 'query', 'schema' => [ - 'description' => 'The warehouse ID.'."\n", + 'description' => 'Renewal unit.', 'type' => 'string', 'required' => true, - 'example' => 'ng-3d5ce6454354****', + 'enum' => ['Month', 'Year'], + 'example' => 'Month', + 'title' => '', ], ], [ - 'name' => 'Target', + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'List of billing instance IDs to renew. Separate multiple IDs with commas.', 'type' => 'string', 'required' => true, 'maxLength' => 200, 'example' => 'c-3d6dc31ba67b1839', 'title' => ''], + ], + [ + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'Coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalAmount' => ['description' => 'Original amount = catalog price × usage.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'DiscountAmount' => ['description' => 'Discount amount = original amount − billable amount (including coupon discounts).', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TradeAmount' => ['description' => 'Amount.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'Currency' => ['description' => 'Currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'BillingInstanceId' => ['description' => 'Billing instance ID. For the default compute group (FE compute group and default BE compute group), this value is the instance ID. Otherwise, it is the compute group ID.', 'type' => 'string', 'example' => 'c-96f3bc7f04b2****', 'title' => ''], + 'OptionalPromotions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionOptionNo' => ['description' => 'Coupon ID.', 'type' => 'string', 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + 'PromotionName' => ['description' => 'Coupon name.', 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'PromotionDesc' => ['description' => 'Coupon description.', 'type' => 'string', 'example' => 'youhuiquan_desc', 'title' => ''], + ], + 'description' => 'Coupon information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Coupon ID.', + 'title' => '', + 'example' => '', + ], + 'StandPrice' => ['description' => 'Official discounted price.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'StandDiscountPrice' => ['description' => 'Discounted price based on the official discount.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'DepreciateInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CheapRate' => ['description' => 'Discount rate.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'CheapStandAmount' => ['description' => 'Total official price after discount.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'Original total official price.', 'type' => 'number', 'format' => 'float', 'example' => '9812', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether the discount amount is displayed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => 'Total official price after discount.', + 'example' => '9812', + 'title' => '', + ], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Rule name.', 'type' => 'string', 'example' => 'rule_8syh2j121ns', 'title' => ''], + 'RuleDescId' => ['description' => 'Rule ID.', 'type' => 'string', 'example' => '8su2i3hsdf128', 'title' => ''], + 'Amount' => ['description' => 'Resource count.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + ], + 'description' => 'List of matched rules. Each item represents one matched rule. Only returns matched rule information and match location.', + 'title' => '', + 'example' => '', + ], + 'description' => 'Data structure of the response.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'Response data.', + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'QueryRenewPrice', + 'summary' => 'Query the renewal price for a StarRocks billing instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PromotionOptionNo', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryRenewPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": [\\n {\\n \\"OriginalAmount\\": 9812,\\n \\"DiscountAmount\\": 0,\\n \\"TradeAmount\\": 9812,\\n \\"Currency\\": \\"CNY\\",\\n \\"BillingInstanceId\\": \\"c-96f3bc7f04b2****\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionOptionNo\\": \\"youhuiquan_12378dfj6\\",\\n \\"PromotionName\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionDesc\\": \\"youhuiquan_desc\\"\\n }\\n ],\\n \\"StandPrice\\": 9812,\\n \\"StandDiscountPrice\\": 9812,\\n \\"DepreciateInfo\\": {\\n \\"CheapRate\\": 0,\\n \\"CheapStandAmount\\": 9812,\\n \\"OriginalStandAmount\\": 9812,\\n \\"IsShow\\": true\\n },\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"rule_8syh2j121ns\\",\\n \\"RuleDescId\\": \\"8su2i3hsdf128\\",\\n \\"Amount\\": 1\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'QueryUnpaidOrder' => [ + 'summary' => 'Queries the unpaid orders of a compute group or cluster.', + 'path' => '/webapi/order/queryUnpaidOrder', + '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' => '230184', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'maxLength' => 30, 'pattern' => '^[0-9a-zA-Z_-]+$', 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'BillingInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance that is associated with the bill. For the default compute group, which includes the FE compute group and the default BE compute group, this parameter is the instance ID. For other compute groups, this parameter is the compute group ID.', 'type' => 'string', 'required' => true, 'maxLength' => 30, 'pattern' => '^[0-9a-zA-Z_-]+$', 'example' => 'ng-12zxs328sha2', 'title' => ''], + ], + [ + 'name' => 'OrderType', 'in' => 'query', 'schema' => [ + 'description' => 'Order type', 'type' => 'string', + 'required' => false, + 'enum' => ['BUY', 'RENEW', 'RESOURCE_CHANGE'], + 'example' => 'BUY', + 'title' => '', ], ], ], @@ -2828,297 +9405,1420 @@ '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].', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryUnpaidOrder', + 'description' => 'Queries the unpaid orders of a compute group or cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryUnpaidOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"Data\\": 0\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'QueryUpgradableVersions' => [ + '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.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + '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" + ."\n" + .'- false: The major versions that you can upgrade to.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], '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' => 'The versions that you can upgrade to.', + 'type' => 'array', + 'items' => ['description' => 'The version that you can upgrade to.', 'type' => 'string', 'example' => '3.3.2-1.77-1.6.4', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'The detailed information about the failed permission verification.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'QueryUpgradableVersions', + 'summary' => 'Queries the available upgrade versions for an EMR Serverless StarRocks instance. StarRocks instances have two version layers: a major version and a minor version. You can view both versions in the Version Information section on the Instance Details page in the EMR console. Use the Minor parameter to specify whether to query upgradable minor versions or major versions.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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.', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryUpgradableVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', ], - 'ModifyDiskSize' => [ - 'summary' => 'Expands the disk size for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance.', - 'path' => '/webapi/resourceChange/modifyDiskSize', - 'methods' => [ - 'post', + 'RebootECS' => [ + 'summary' => 'Reboot ECS instances in a cluster.', + 'path' => '/webapi/event/rebootEcs', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '279235', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], + 'parameters' => [ + [ + 'name' => 'RebootTime', + 'in' => 'query', + 'schema' => ['description' => 'The reboot time for the instance.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772076782', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The system event ID.', 'type' => 'string', 'required' => false, 'example' => '8c96a3fc8a0d4a48b5db5fdb9742fbbc', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the reboot succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RebootECS', + 'description' => 'This operation is asynchronous. The instance does not reboot immediately. After a successful call, the instance enters the Rebooting state. The reboot is complete when the instance status changes to Running.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:RebootECS', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"Total\\": 100,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ReleaseInstance' => [ + 'path' => '/webapi/cluster/release', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + '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****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.'."\n", 'type' => 'boolean', 'title' => '', 'example' => ''], + 'AccessDeniedDetail' => ['title' => '', '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' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '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.', + '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", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'sr:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - 'produces' => [ - 'application/json', + '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\\": false,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + ], + 'RenewInstance' => [ + 'summary' => 'Renews an instance.', + 'path' => '/webapi/order/renew_instance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '220685', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '162279', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'pattern' => '^[0-9a-zA-Z_-]+$', 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'Duration', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', + 'description' => 'The subscription duration.', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, - 'example' => 'c-b25e21e24388****', + 'maximum' => '12', + 'minimum' => '1', + 'enum' => ['1', '2', '3', '6', '9'], + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'PricingCycle', 'in' => 'query', 'schema' => [ - 'description' => 'The warehouse ID.'."\n", + 'description' => 'Duration unit:'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'Valid only when payType is PrePaid.', 'type' => 'string', 'required' => true, - 'example' => 'ng-3d5ce6454354****', + 'enum' => ['Month', 'Year'], + 'example' => 'Year', + 'title' => '', ], ], [ - 'name' => 'Target', + 'name' => 'BillingInstanceIds', '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', - ], + 'schema' => ['description' => 'A comma-separated list of billing instance IDs to renew. Billing instances include clusters and compute groups.', 'type' => 'string', 'required' => true, 'maxLength' => 200, 'example' => 'ng-dd8933281e46****', 'title' => ''], ], [ 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_12378dfj6', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'OrderIds' => [ + 'type' => 'array', + 'items' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '24793054452****', 'title' => ''], + 'description' => 'A list of order IDs.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The response data.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'RenewInstance', + 'description' => 'Before you call this API, make sure that you fully understand the billing model and <props="china">[billable items](https://help.aliyun.com/zh/emr/emr-serverless-starrocks/product-overview/billable-items?spm=a2c4g.11186623.help-menu-28066.d_0_1_1.4db82b05p3Gg0G)</props> <props="intl">[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)</props> of Serverless StarRocks.'."\n" + ."\n" + .'When you call this API, note that only subscription instances can be renewed.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:RenewInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Data\\": {\\n \\"OrderIds\\": [\\n \\"24793054452****\\"\\n ]\\n }\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'RestartInstance' => [ + '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****', 'title' => ''], + ], [ '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', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'boolean', - 'default' => 'false', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Unsupported.Non.Whitelist.Operation', 'title' => ''], + 'Data' => ['description' => 'The returned data.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['title' => '', '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' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RestartInstance', + 'summary' => 'Restarts an E-MapReduce (EMR) Serverless StarRocks instance.', + '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", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + ], + 'RestartNodeGroup' => [ + 'summary' => 'Restarts a specified node group.', + 'path' => '/webapi/nodegroup/restart', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '238196', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => false, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['description' => 'Whether to restart in fast mode. Default value: false.'."\n" + ."\n" + .'- true: Restart compute nodes in fast mode. Nodes restart in batches. Within each batch, nodes restart in parallel. Between batches, restarts run sequentially.'."\n" + ."\n" + .'- false: Restart compute nodes using rolling restart.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The order ID.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'RestartNodeGroup', + 'description' => 'This operation is asynchronous. The instance does not restart immediately. After you call the operation successfully, the instance enters the restarting state. When the instance status changes to running, the restart is complete.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartNodeGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'RestartNodes' => [ + 'summary' => 'Restart nodes in a cluster.', + 'path' => '/webapi/restart/restart', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '253221', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RestartNodeGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-dcc7450e06a271b9', 'title' => ''], + 'FastMode' => ['description' => 'Whether to use fast restart mode. Default is false.'."\n" + ."\n" + .'- true: Restart compute nodes in fast mode. Nodes restart in multiple batches. Within each batch, nodes restart in parallel. Batches execute sequentially.'."\n" + ."\n" + .'- false: Restart compute nodes using rolling restart.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'NodeIds' => [ + 'type' => 'array', + 'items' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'fe-0', 'title' => ''], + 'description' => 'List of node IDs.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'Information about compute group nodes to restart.', + 'required' => false, + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", + ], + 'description' => 'Request parameters.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + 'Data' => ['description' => 'Instance information.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'RestartNodes', + 'description' => 'This API is asynchronous. The instance restart is not immediate. After a successful call, the instance enters the restarting state. The restart is complete when the returned status is running.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'RestoreInstance' => [ + 'path' => '/webapi/restore/restoreInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '257323', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AdminPassword' => ['description' => 'Cluster administrator password.', 'type' => 'string', 'required' => false, 'example' => 'password_example', 'title' => ''], + 'AutoRenew' => ['description' => 'Enable auto-renewal. This parameter applies only when PayType is prePaid. Default: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'true'], + 'RegionId' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], + 'PayType' => [ + 'description' => 'Payment type:'."\n" + .'prePaid for subscription'."\n" + .'postPaid for pay-as-you-go', 'type' => 'string', - 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'required' => false, + 'enum' => ['prePaid', 'postPaid'], + 'title' => '', + 'example' => 'prePaid', ], - 'ErrCode' => [ - 'description' => 'The error code.'."\n", + 'VpcId' => ['description' => 'VPC ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'vpc-bp1fll2mci6d7pw8m****'], + 'PricingCycle' => [ + 'description' => 'Billing cycle unit. This parameter applies only when PayType is prePaid.'."\n" + .'Month for monthly billing'."\n" + .'Year for yearly billing', 'type' => 'string', - 'example' => 'InvalidParams', + 'required' => false, + 'enum' => ['Month', 'Year'], + 'title' => '', + 'example' => 'Month', ], - 'ErrMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Invalid params: [instance not exists].', + 'VSwitches' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'Zone ID of the VSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], + 'VswId' => ['description' => 'VSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp19mlh98tm9teyyd****', 'title' => ''], + ], + 'description' => 'VSwitch information.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'description' => 'VSwitch and zone information.', + 'example' => '', + ], + 'Duration' => ['description' => 'Subscription duration. This parameter applies only when PayType is prePaid.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], + 'BackupTaskId' => ['description' => 'Backup job ID.', 'type' => 'string', 'required' => false, 'example' => 'bk-adskj23hd9s', 'title' => ''], + 'InstanceName' => ['description' => 'Instance name.', 'type' => 'string', 'required' => false, 'example' => 'c1', 'title' => ''], + 'ResourceGroupId' => ['description' => 'Resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzllkih7jqxxx', 'title' => ''], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'Tag key.', 'type' => 'string', 'required' => false, 'example' => 'dukang-chengdu-sgueg', 'title' => ''], + 'value' => ['description' => 'Tag value.', 'type' => 'string', 'required' => false, 'example' => '{\'reasons\': [], \'patterns\': [], \'aggregates\': [], \'event_statistic\': {\'statistic\': {}}}', 'title' => ''], + ], + 'description' => 'Tag struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'description' => 'Tag struct.', + 'required' => false, + 'title' => '', + 'example' => '', ], + ], + 'description' => 'Request struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], '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" }', + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '241526000650XXX', 'title' => ''], + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'example' => 'c-b25e21e243889XXX', 'title' => ''], + ], + 'description' => 'Response data.', + 'title' => '', + 'example' => '', ], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RestoreInstance', + 'summary' => 'Restore an instance from a backup', + 'description' => 'This is an asynchronous API. The instance does not restart immediately. After you call this API successfully, the instance enters the restarting state. When the instance status changes to running, the restore is complete.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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" + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:RestoreInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"null\\",\\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"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + 'ResumeInstance' => [ + 'path' => '/webapi/lifecycle/resumeInstance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '244097', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ResumeInstance', + 'summary' => 'Resumes an instance automatically stopped by openlake.', + 'description' => '><danger>'."\n" ."\n" - .'After you expand the disk size, the billing of disks has the following changes:'."\n" + .'When you release an instance, its physical resources are reclaimed. All data on the instance is lost and cannot be recovered.'."\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', + .'></danger>', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ResumeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\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"}]', + 'translator' => 'manual', + ], + 'RollbackConfigModification' => [ + 'summary' => 'Rolls back a configuration modification that is currently in progress.', + 'path' => '/webapi/config/rollbackConfigModification', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '255694', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'ConfigHistoryId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the configuration modification history.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '187291', 'title' => ''], + ], + [ + 'name' => 'Restart', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specifies whether to restart the instance after the configuration is changed. Valid values:'."\n" + ."\n" + .'- **true**: Restart the instance.'."\n" + ."\n" + .'- **false**: Do not restart the instance.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RollbackConfigModification', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RollbackConfigModification', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\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"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'produces' => [ - 'application/json', + 'translator' => 'machine', + ], + 'SwitchActiveStandbyZones' => [ + 'path' => '/webapi/recovery/switchZones', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '220689', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', + 'abilityTreeCode' => '260492', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'TargetZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the target zone.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-k', 'title' => ''], ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'The version number of an available upgrade.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Details about access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SwitchActiveStandbyZones', + 'summary' => 'Switches the active and standby zones.', + 'description' => 'Switches the active and standby zones.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:SwitchActiveStandbyZones', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'TagResources' => [ + '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' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'instance'], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], + 'ResourceId' => [ + 'title' => '', + 'description' => 'A list of resource IDs. The list can contain up to 50 IDs.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e243889XXX'."\n", 'title' => ''], + 'required' => true, + 'example' => '', + ], + 'Tag' => [ + 'title' => '', + 'description' => 'A list of tags to add. The list can contain up to 20 tags.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'k1'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'v1'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'TagResources', + 'summary' => 'Attaches tags to specified resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ToggleAutoMinorVersionUpgrade' => [ + 'path' => '/webapi/starrocks/toggleAutoMinorVersionUpgrade', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '168127', + 'abilityTreeNodes' => ['FEATUREemapreduceZXY046'], + ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'AutoUpgrade', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable automatic minor version upgrades. Valid values:'."\n" + ."\n" + .'- true: Enables automatic upgrades.'."\n" + ."\n" + .'- false: Disables automatic upgrades.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'The details of the access denial.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ToggleAutoMinorVersionUpgrade', + 'summary' => 'Enables or disables automatic minor version upgrades for a StarRocks instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NodeGroupId', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ToggleAutoMinorVersionUpgrade', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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"}]', + 'translator' => 'manual', + ], + 'TogglePublicSlb' => [ + 'summary' => 'Switches an Internet-facing SLB instance on or off.', + 'path' => '/webapi/gateway/togglePublicSlb', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '270432', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['description' => 'Private gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'gw-0002xci9buu68ongixvk', 'title' => ''], + ], + [ + 'name' => 'EnablePublicSlb', + 'in' => 'query', + 'schema' => ['description' => 'Is Internet-facing SLB enabled?'."\n" + ."\n" + .'- Enable: true'."\n" + ."\n" + .'- Disable: false', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The warehouse ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-3d5ce6454354****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Is the request successful?', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'TogglePublicSlb', + 'description' => '><danger>'."\n" + ."\n" + .'After you release an instance, Alibaba Cloud reclaims all physical resources used by the instance. All associated data is permanently lost and cannot be recovered.'."\n" + ."\n" + .'></danger>', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Target', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:TogglePublicSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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}","type":"json"}]', + 'translator' => 'manual', + ], + 'UnTagResources' => [ + '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' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The resource type.', 'type' => 'string', 'required' => true, 'example' => 'instance'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of disks to which you want to change to.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'title' => '', + 'description' => 'A list of resource IDs. The list can contain up to 50 resource IDs.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c-b25e21e243889XXX'."\n"], 'required' => true, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '3', + 'example' => '', ], ], [ - 'name' => 'FastMode', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'json', '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', + 'title' => '', + 'description' => 'A list of tag keys to remove. The list can contain up to 20 tag keys.', + 'type' => 'array', + 'items' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'k1'], 'required' => false, - 'example' => 'true', + 'example' => '', ], ], [ - 'name' => 'PromotionOptionNo', + 'name' => 'All', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Specifies whether to remove all tags from the resources. This parameter is valid only when the TagKey parameter is left empty. The default value is false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UnTagResources', + 'summary' => 'Detaches tags from multiple resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:UnTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'UpdateBackup' => [ + 'path' => '/webapi/backup/manage/update', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250725', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the cluster is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'description' => ['description' => 'The description of the backup.', 'type' => 'string', 'required' => false, 'example' => 'backupTask-desc1', 'title' => ''], + 'backupTaskId' => ['description' => 'The ID of the backup job.', 'type' => 'string', 'required' => false, 'example' => 'bk-t1232839', 'title' => ''], + ], + 'description' => 'The request parameters.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -3127,242 +10827,537 @@ '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" }', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'UpdateBackup', + 'summary' => 'Updates the description of a backup job.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [Region id should be select from set [cn-beijing, cn-hangzhou]]\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'manual', + ], + 'UpdateBackupPolicy' => [ + 'summary' => 'Updates a backup policy.', + 'path' => '/webapi/backupRestore/policy/update', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '250709', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-0104730e9de40215', 'title' => ''], + 'PolicyId' => ['description' => 'Backup policy ID.', 'type' => 'string', 'required' => false, 'example' => 'bk-9812023', 'title' => ''], + 'RecurrenceValues' => [ + 'type' => 'array', + 'items' => ['description' => 'Numerical value for the policy execution cycle.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '31', 'minimum' => '1', 'required' => false, 'example' => '2', 'title' => ''], + 'description' => 'Numerical values for the policy execution cycle.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Hour' => ['description' => 'Trigger time: hour.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '23', 'minimum' => '0', 'example' => '10', 'default' => '0', 'required' => false, 'title' => ''], + 'Minute' => ['description' => 'Trigger time: minute.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '59', 'minimum' => '0', 'default' => '0', 'required' => false, 'example' => '15', 'title' => ''], + 'ExpireDays' => ['description' => 'Validity period in days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''], + 'TimeoutSeconds' => ['description' => 'Timeout duration for the backup policy.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3600', 'title' => ''], + ], + 'description' => 'Request struct.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the role was created successfully.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'AccessDeniedDetail', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateBackupPolicy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'produces' => [ - 'application/json', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'manual', + ], + 'UpdateGateway' => [ + 'path' => '/webapi/gateway/update', + 'methods' => ['post'], + 'schemes' => ['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', - ], + 'abilityTreeCode' => '270148', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'dg-65u7d65p5960fjq7', 'title' => ''], + ], + [ + 'name' => 'GatewayName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'polar-byd-glm-47', 'title' => ''], + ], + [ + 'name' => 'FeNodeNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of gateway nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b25e21e24388****', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => '24151320976****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'UpdateGateway', + 'summary' => 'Updates the number of gateway nodes.', + 'description' => 'Updates the number of gateway nodes.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NodeGroupId', - 'in' => 'query', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:UpdateGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"null\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'UpdateInnerIpWhitelistGroup' => [ + 'path' => '/webapi/securityGroup/update', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '240833', + 'abilityTreeNodes' => ['FEATUREemapreduceRZEU20'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => 'The warehouse ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-3d5ce6454354****', + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-0104730e9de40215', 'title' => ''], + 'InnerIpWhitelistGroupId' => ['description' => 'The ID of the private network whitelist group.', 'type' => 'string', 'required' => true, 'maxLength' => 120, 'minLength' => 2, 'pattern' => '^[a-z][a-z0-9_]*[a-z0-9]$', 'example' => 'sg-28sjsi12bs1', 'title' => ''], + 'CidrIpList' => [ + 'type' => 'array', + 'items' => ['description' => 'A CIDR block for the whitelist.', 'type' => 'string', 'pattern' => '^((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\/([0-9]|[1-2]?\\d|3[0-2]))?$', 'required' => false, 'example' => '192.168.23.0/24', 'title' => ''], + 'required' => true, + 'maxItems' => 20, + 'description' => 'The list of CIDR blocks for the whitelist.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The request struct.', + 'required' => false, + 'example' => '', ], ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE74XXX'."\n", 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams'."\n", 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].'."\n", 'title' => ''], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateInnerIpWhitelistGroup', + 'summary' => 'Updates the CIDR blocks in a whitelist group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Target', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateInnerIpWhitelistGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE74XXX\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\\\n\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\\\n\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'manual', + ], + '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', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Data' => ['description' => 'The returned data.'."\n", 'type' => 'boolean', 'title' => '', 'example' => ''], + 'AccessDeniedDetail' => ['title' => '', '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' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'UpdateInstanceName', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FastMode', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdateInstanceName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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\\": false,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + ], + 'UpdateNodeGroupDescription' => [ + 'summary' => 'Updates the description of a compute group.', + 'path' => '/webapi/nodegroup/updateDescription', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '273259', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the compute group.', 'type' => 'string', 'required' => false, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the compute group.', 'type' => 'string', 'required' => false, 'example' => 'okcc', 'title' => ''], + ], + [ + 'name' => 'X-Acs-Ram-Auth-Context', 'in' => 'query', + 'schema' => ['description' => 'The RAM authorization information.', 'type' => 'string', 'example' => 'Optional', 'required' => false, 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'null', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateNodeGroupDescription', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PromotionOptionNo', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdateNodeGroupDescription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": false,\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"null\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'UpdatePublicNetworkStatus' => [ + 'path' => '/webapi/network/updatePublicNetworkStatus', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '164046', + 'abilityTreeNodes' => ['FEATUREemapreduceUHHTB7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Data returned by the operation.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'ComponentType', 'in' => 'query', 'schema' => [ + 'description' => 'Data returned by the operation.', 'type' => 'string', + 'required' => false, + 'enum' => ['FE', 'BE', 'CN'], + 'example' => 'BE', + 'title' => '', ], ], + [ + 'name' => 'PublicNetworkEnabled', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Enable or disable the public network.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The compute group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-3d5ce6454354****', 'title' => ''], + ], ], '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" }', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code of the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid params: [instance not exists].', 'title' => ''], + 'Total' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Data' => ['description' => 'Data returned by the operation.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessDeniedDetail' => ['description' => 'Access denied details.', 'type' => 'string', 'title' => '', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'UpdatePublicNetworkStatus', + 'summary' => 'Enable or disable the Internet-facing SLB for the FE or BE component.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdatePublicNetworkStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"32A44F0D-BFF6-5664-999A-218BBDE7****\\",\\n \\"Success\\": true,\\n \\"ErrCode\\": \\"InvalidParams\\",\\n \\"ErrMessage\\": \\"Invalid params: [instance not exists].\\",\\n \\"Total\\": 100,\\n \\"Data\\": true,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'UpgradeVersion' => [ + 'path' => '/webapi/starrocks/upgradeVersion', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3371,122 +11366,1353 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '163986', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUHHTB7', + 'operationType' => 'update', + 'abilityTreeCode' => '181121', + 'abilityTreeNodes' => ['FEATUREemapreduceZXY046'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b25e21e24388****', 'title' => ''], + ], + [ + 'name' => 'TargetVersion', + 'in' => 'query', + 'schema' => ['description' => 'The target version number.', 'type' => 'string', 'required' => true, 'example' => '3.3.2-1.77-1.6.4', 'title' => ''], + ], + [ + 'name' => 'Minor', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a minor version update. The default value is true.'."\n" + ."\n" + .'- true: Perform a minor version update.'."\n" + ."\n" + .'- false: Perform a major engine version upgrade.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], - '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" }', - ], + 'HttpStatusCode' => ['description' => 'The HTTP request status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '32A44F0D-BFF6-5664-999A-218BBDE7****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParams', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Invalid instance status: [cannot upgrade when instance is not running].', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'AccessDeniedDetail' => ['title' => '', 'description' => 'The details of the access denied error.', 'type' => 'string', 'example' => '{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpgradeVersion', + 'summary' => 'This API upgrades the version of a Serverless StarRocks instance. Serverless StarRocks defines two version layers: a major version and a minor version. The major version is displayed in the Version field on the cluster product page. The minor version is displayed in the Minor Version field on the cluster product page. You can use this API to perform a minor version update or a major engine version upgrade. You can call the QueryUpgradableVersions API to query the available upgrade versions for the cluster.', + 'description' => 'You can call this API only when the instance is in the Running state.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpgradeVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + ], + '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\\": false,\\n \\"AccessDeniedDetail\\": \\"{ \\\\\\"PolicyType\\\\\\": \\\\\\"AccountLevelIdentityBasedPolicy\\\\\\", \\\\\\"AuthPrincipalOwnerId\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"EncodedDiagnosticMessage\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalType\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"AuthPrincipalDisplayName\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"NoPermissionType\\\\\\": \\\\\\"ImplicitDeny\\\\\\", \\\\\\"AuthAction\\\\\\": \\\\\\"sr:xxx\\\\\\" }\\"\\n}","type":"json"}]', + 'translator' => 'machine', ], ], 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.ap-southeast-1.aliyuncs.com', 'endpoint' => 'starrocks.ap-southeast-1.aliyuncs.com', 'vpc' => 'starrocks-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.ap-southeast-5.aliyuncs.com', 'endpoint' => 'starrocks.ap-southeast-5.aliyuncs.com', 'vpc' => 'starrocks-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-beijing.aliyuncs.com', 'endpoint' => 'starrocks.cn-beijing.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-hangzhou.aliyuncs.com', 'endpoint' => 'starrocks.cn-hangzhou.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-hongkong.aliyuncs.com', 'endpoint' => 'starrocks.cn-hongkong.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-qingdao.aliyuncs.com', 'endpoint' => 'starrocks.cn-qingdao.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-shanghai.aliyuncs.com', 'endpoint' => 'starrocks.cn-shanghai.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-shenzhen.aliyuncs.com', 'endpoint' => 'starrocks.cn-shenzhen.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'starrocks.cn-wulanchabu.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'starrocks.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'starrocks.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'starrocks.us-west-1.aliyuncs.com', 'endpoint' => 'starrocks.us-west-1.aliyuncs.com', 'vpc' => 'starrocks-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'starrocks.us-east-1.aliyuncs.com', 'endpoint' => 'starrocks.us-east-1.aliyuncs.com', 'vpc' => 'starrocks-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'starrocks.eu-central-1.aliyuncs.com', 'endpoint' => 'starrocks.eu-central-1.aliyuncs.com', 'vpc' => 'starrocks-vpc.eu-central-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: Unsupported reduce the storage size.', 'http_code' => 400, 'description' => ''], + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: Unsupported modify storage performance level at current architecture.', 'http_code' => 400, 'description' => ''], + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: FE node number can\'t be less than current node number.', 'http_code' => 400, 'description' => 'Unsupported operation: The number of FEs cannot be less than the current number of nodes.'], + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: FE node number can\'t be an even number.', 'http_code' => 400, 'description' => 'Unsupported operation: Number of FEs cannot be even.'], + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: Unsupported modify cu at current spec type.', 'http_code' => 400, 'description' => 'Unsupported operation: The current specification type does not support modifying the calculated cell.'], + ['code' => 'Action.Unsupported', 'message' => 'Unsupported operation: fast restart.', 'http_code' => 400, 'description' => 'Fast restart operation not supported'], + ['code' => 'BillingInstance.NotFound', 'message' => 'Failed to find billing instance.', 'http_code' => 400, 'description' => ''], + ['code' => 'ClusterNameUnset', 'message' => 'Cluster name needs to be set.', 'http_code' => 400, 'description' => 'Cluster name cannot be empty'], + ['code' => 'Duplicate.TagKey', 'message' => 'The Tag.N.Key contains duplicate keys.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalClusterName', 'message' => 'Cluster name is illegal.', 'http_code' => 400, 'description' => 'The cluster name is invalid.'], + ['code' => 'InadequateSlbQuota', 'message' => 'Your slb quota is insufficient, please scale up and try again.', 'http_code' => 400, 'description' => 'SLB quota is insufficient, please resize and try again'], + ['code' => 'Instance.NotFound', 'message' => 'Failed to find instance.', 'http_code' => 400, 'description' => ''], + ['code' => 'InsufficientResources', 'message' => 'Selected zone has insufficient resource.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Invalid params: package type should not be null.', 'http_code' => 400, 'description' => 'Parameter PackageType cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'Package type should be select from set [trial, official, standard].', 'http_code' => 400, 'description' => 'PackageType field must be one of: official / standard'], + ['code' => 'InvalidParams', 'message' => 'Region id should not be null.', 'http_code' => 400, 'description' => 'Region ID cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'Pay type should be select from set [prePaid, postPaid].', 'http_code' => 400, 'description' => 'Payment type should be one of [prePaid, postPaid]'], + ['code' => 'InvalidParams', 'message' => 'Pay type should not be null.', 'http_code' => 400, 'description' => 'Payment type cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'Zone id should not be null.', 'http_code' => 400, 'description' => 'Zone ID cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: The specified ResourceIds are not found in our records.', 'http_code' => 400, 'description' => 'Invalid Parameter: Resource ID does not exist'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: Node number in default node group can not be 0.', 'http_code' => 400, 'description' => 'Invalid Parameter: The number of nodes in the default node group cannot be 0.'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: Invalid configuration change.', 'http_code' => 400, 'description' => 'Invalid Parameter: Invalid de configuration change.'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: modify reason is empty.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Invalid params: Invalid param autoUpgrade.', 'http_code' => 400, 'description' => 'Invalid Parameter: autoUpgrade'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: Billing instanceId not match with instanceId.', 'http_code' => 400, 'description' => 'Invalid parameter: The billing instance ID does not match the instance ID.'], + ['code' => 'InvalidParams', 'message' => 'Invalid params: Billing instanceId can not be empty.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Only post paid instance can be actively released.', 'http_code' => 400, 'description' => 'Only Pay-As-You-Go instances support active release.'], + ['code' => 'InvalidParams', 'message' => 'Access oss role name should not be null.', 'http_code' => 400, 'description' => 'Access oss role name cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'VPC can not found.', 'http_code' => 400, 'description' => 'VPC does not exist'], + ['code' => 'InvalidParams', 'message' => 'Auto renew should not be null.', 'http_code' => 400, 'description' => 'Auto-renewal cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'VSwitch id should not be null.', 'http_code' => 400, 'description' => 'Switch IDbu'], + ['code' => 'InvalidParams', 'message' => 'Admin password should not be null.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Fe resource should not be null.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Be resource should not be null.', 'http_code' => 400, 'description' => 'BE node resource specification cannot be empty'], + ['code' => 'InvalidParams', 'message' => 'Duration should not be null.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'Pricing cycle should be select from set [Year, Month].', 'http_code' => 400, 'description' => 'The buying cycle must be'], + ['code' => 'InvalidParams', 'message' => 'Pricing cycle should not be null.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'IP address in vSwitch is not enough.', 'http_code' => 400, 'description' => 'Insufficient switch IP address'], + ['code' => 'InvalidParams', 'message' => 'VSwitch can not found.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParams', 'message' => 'VSwitch is not belong to current VPC.', 'http_code' => 400, 'description' => 'The switch does not belong to the current VPC'], + ['code' => 'InvalidParams', 'message' => 'Invalid network segment of VPC.', 'http_code' => 400, 'description' => 'Invalid VPCwang duan'], + ['code' => 'InvalidStatus', 'message' => 'Invalid instance status: exist down backend nodes.', 'http_code' => 400, 'description' => 'Invalid instance state: BE in offline state exists'], + ['code' => 'InvalidStatus', 'message' => 'Invalid instance status: frontend is not available.', 'http_code' => 400, 'description' => 'Invalid instance state: FE unavailable'], + ['code' => 'InvalidStatus', 'message' => 'Invalid instance status: cluster must be in running status.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidStatus', 'message' => 'Invalid instance status: cannot upgrade when instance is not running.', 'http_code' => 400, 'description' => 'Invalid instance state: An instance that is not running cannot be upgraded.'], + ['code' => 'InvalidStatus.ExistUnpaidRenewOrder', 'message' => 'There is an unpaid renewal order.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidStatus.ExistUnpaidResourceChangeOrder', 'message' => 'There is an unpaid configuration change order.', 'http_code' => 400, 'description' => 'There are unpaid change orders'], + ['code' => 'InvalidStatus.InsufficientStorage', 'message' => 'Invalid status: insufficient storage.', 'http_code' => 400, 'description' => 'Invalid State: Not enough storage'], + ['code' => 'MissingParameter.RegionId', 'message' => 'The RegionId parameters that are required for processing this request are missing.', 'http_code' => 400, 'description' => 'Missing RegionId parameter.'], + ['code' => 'MissingParameter.ResourceGroupId', 'message' => 'The ResourceGroupId parameters that are required for processing this request are missing.', 'http_code' => 400, 'description' => 'Missing ResourceGroupId parameter.'], + ['code' => 'MissingParameter.ResourceId', 'message' => 'The ResourceId parameters that are required for processing this request are missing.', 'http_code' => 400, 'description' => 'Missing ResourceId parameter.'], + ['code' => 'MissingParameter.ResourceIds', 'message' => 'You must specify ResourceId.N.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter.ResourceType', 'message' => 'You must specify ResourceType.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter.TagKey', 'message' => 'You must specify Tag.N.Key.', 'http_code' => 400, 'description' => 'Tag key cannot be empty'], + ['code' => 'MissingParameter.Tags', 'message' => 'You must specify Tags.', 'http_code' => 400, 'description' => 'Label must be specified.'], + ['code' => 'MissingParameter.TagValue', 'message' => 'You must specify Tag.N.Value.', 'http_code' => 400, 'description' => 'Value of label cannot be empty'], + ['code' => 'NoPermission.ChangeResourceGroup', 'message' => 'You are not authorized to change resourcegroup.', 'http_code' => 403, 'description' => ''], + ['code' => 'NumberExceed.ResourceIds', 'message' => 'The maximum number of ResourceIds is exceeded.', 'http_code' => 400, 'description' => 'Resource ID'], + ['code' => 'NumberExceed.Tags', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => 'Maximum number of labels exceeded'], + ['code' => 'ResourceNotFound', 'message' => 'The specified resource is not found.', 'http_code' => 400, 'description' => 'The resource does not exist under your account.'], + ['code' => 'SystemError', 'message' => 'A system error occurred while processing your request.', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [ [ - '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', + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyNodeNumber'], + ], + 'createdAt' => '2025-11-25T07:23:42.000Z', + 'description' => '', ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'starrocks.eu-central-1.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'starrocks.ap-southeast-1.aliyuncs.com', + ], + 'ram' => [ + 'productCode' => 'StarRocks', + 'productName' => 'E-MapReduce', + 'ramCodes' => ['starrocks', 'sr'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetInstanceFeatureGate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:GetInstanceFeatureGate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateBackupPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceConfigs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyDiskTypePrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpgradeVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpgradeVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DisableSSLConnection', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DisableSSLConnection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ResumeInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ResumeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RollbackConfigModification', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RollbackConfigModification', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifySpecTypePreCheck', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifySpecTypePreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateBackup', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddGateway', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:AddGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteBackupPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryModifySpecTypePrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifySpecTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'EnableMultiAz', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:EnableMultiAz', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyDiskPerformanceLevelPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskPerformanceLevelPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'GetNodeGroupFeatureGate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:GetNodeGroupFeatureGate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateNodeGroupDescription', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdateNodeGroupDescription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDiskType', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteGateway', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'sr:DeleteGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeSystemTimezone', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DescribeSystemTimezone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyMaintainableTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyMaintainableTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateServiceLinkedRole', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:CreateServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBackupPolicies', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeBackupPolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RenewInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:RenewInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateInnerIpWhitelistGroup', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:UpdateInnerIpWhitelistGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteInnerIpWhitelistGroup', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteInnerIpWhitelistGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'TogglePublicSlb', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:TogglePublicSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RestartInstance', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryEnableMultiAzPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryEnableMultiAzPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstanceConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyInstanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'EnableInternalSlb', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:EnableInternalSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstanceConfigPreCheck', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyInstanceConfigPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryMinorVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryMinorVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteScalingRule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifySpecType', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifySpecType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyChargeType', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyChargeType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryUpgradableVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryUpgradableVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyNodeNumberPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyNodeNumberPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryPriceV1', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryPriceV1', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyScalingRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyCu', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyCu', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyNodeNumberPreCheck', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyNodeNumberPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryRefundPrice', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryRefundPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOperationActivity', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListOperationActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateScalingRule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:CreateScalingRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RebootECS', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:RebootECS', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'EnableSSLConnection', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:EnableSSLConnection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDiskSize', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskSize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateInstanceName', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdateInstanceName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyCuPreCheck', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyCuPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RestartNodeGroup', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartNodeGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeEventNames', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeEventNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOperationHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListOperationHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryRenewPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryRenewPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListGateway', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteBackup', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DeleteBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'AddBackupPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:AddBackupPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceMetaToken', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceMetaToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ReleaseInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'sr:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyCuPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyCuPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeConfigHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeConfigHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeTimeTriggerScalingRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeTimeTriggerScalingRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSSLDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ListSSLDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyDiskSizePrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskSizePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RestoreInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:RestoreInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstances', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyHostAlias', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:ModifyHostAlias', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBackups', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeBackups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyChargeTypePrice', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:QueryModifyChargeTypePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CheckInventory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:CheckInventory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNodeGroups', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeNodeGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnTagResources', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:UnTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceDiagnosisResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:DescribeInstanceDiagnosisResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdatePublicNetworkStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:UpdatePublicNetworkStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyUserPassword', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyUserPassword', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateInstanceV1', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'sr:CreateInstanceV1', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAgentResource', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:CreateAgentResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDiskPerformanceLevel', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskPerformanceLevel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'IsolateLeader', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:IsolateLeader', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ToggleAutoMinorVersionUpgrade', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'sr:ToggleAutoMinorVersionUpgrade', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'QueryModifyDiskNumberPrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryModifyDiskNumberPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'SwitchActiveStandbyZones', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:SwitchActiveStandbyZones', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyDiskNumber', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyDiskNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateGateway', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:UpdateGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RestartNodes', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:RestartNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyNodeNumber', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:ModifyNodeNumber', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeInnerIpWhitelistGroups', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'sr:DescribeInnerIpWhitelistGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryUnpaidOrder', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'sr:QueryUnpaidOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'StarRocks', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'starrocks.ap-southeast-5.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:sr:{#regionId}:{#accountId}:*'], ], ], ]; |
