diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/starrocks/2022-10-19 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/starrocks/2022-10-19')
| -rw-r--r-- | data/starrocks/2022-10-19/api-docs.php | 3507 |
1 files changed, 2717 insertions, 790 deletions
diff --git a/data/starrocks/2022-10-19/api-docs.php b/data/starrocks/2022-10-19/api-docs.php index 724b9eb..ebc026c 100644 --- a/data/starrocks/2022-10-19/api-docs.php +++ b/data/starrocks/2022-10-19/api-docs.php @@ -1,70 +1,235 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'starrocks', - 'version' => '2022-10-19', - ], + 'info' => ['style' => 'ROA', 'product' => 'starrocks', 'version' => '2022-10-19'], 'components' => [ 'schemas' => [ 'InstanceConfigDto' => [ 'type' => 'object', 'properties' => [ - 'nodeGroupId' => [ - 'type' => 'string', - ], - 'configType' => [ - 'type' => 'string', - ], - 'configKey' => [ - 'type' => 'string', - ], - 'configValue' => [ - 'type' => 'string', - ], + 'nodeGroupId' => ['type' => 'string'], + 'configType' => ['type' => 'string'], + 'configKey' => ['type' => 'string'], + 'configValue' => ['type' => 'string'], ], ], 'ResourceSpec' => [ 'type' => 'object', 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'storageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'nodeNumber' => [ - 'type' => 'integer', - 'format' => 'int32', + 'cu' => ['type' => 'integer', 'format' => 'int32'], + 'storageSize' => ['type' => 'integer', 'format' => 'int32'], + 'nodeNumber' => ['type' => 'integer', 'format' => 'int32'], + 'storagePerformanceLevel' => ['type' => 'string'], + 'localStorageInstanceType' => ['type' => 'string'], + 'specType' => ['type' => 'string'], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + ], + ], + 'apis' => [ + 'AddBackupPolicy' => [ + 'path' => '/webapi/backupRestore/policy/add', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'required' => false], + 'RecurrenceType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Once', 'Daily', 'Weekly', 'Monthly'], + ], + 'RecurrenceValues' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '31'], + ], + 'Hour' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '23'], + 'Minute' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '59'], + 'ExpireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], - 'storagePerformanceLevel' => [ + ], + ], + ], + 'AddGateway' => [ + 'path' => '/webapi/gateway/add', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GatewayName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'FeNodeNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ChangeResourceGroup' => [ + 'path' => '/webapi/resourceGroup/change', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NewResourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'CheckInventory' => [ + 'path' => '/webapi/check/inventory', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ClusterInfo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateAgentResource' => [ + 'path' => '/webapi/lifecycle/createAgentNodeGroup', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PayType', + 'in' => 'query', + 'schema' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['postPaid', 'prePaid'], ], - 'localStorageInstanceType' => [ + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '12'], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => [ 'type' => 'string', + 'required' => false, + 'enum' => ['Month', 'Year'], ], - 'specType' => [ + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'SpecType', + 'in' => 'query', + 'schema' => [ 'type' => 'string', + 'required' => false, + 'enum' => ['standard'], ], - 'diskNumber' => [ + ], + [ + 'name' => 'Cu', + 'in' => 'query', + 'schema' => [ 'type' => 'integer', 'format' => 'int32', + 'required' => true, + 'minimum' => '2', + 'maximum' => '16', + 'enum' => ['2', '4', '8', '16'], ], ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - ], - 'apis' => [ 'CreateInstanceV1' => [ 'path' => '/webapi/cluster/createV1', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -80,62 +245,31 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'InstanceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'AdminPassword' => [ - 'type' => 'string', - 'required' => true, - ], - 'Version' => [ - 'type' => 'string', - 'required' => true, - ], - 'AutoRenew' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'InstanceName' => ['type' => 'string', 'required' => true], + 'AdminPassword' => ['type' => 'string', 'required' => true], + 'Version' => ['type' => 'string', 'required' => true], + 'AutoRenew' => ['type' => 'boolean', 'required' => false], 'RunMode' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'lakehouse', - 'shared_nothing', - 'shared_data', - ], - ], - 'RegionId' => [ - 'type' => 'string', - 'required' => true, + 'enum' => ['lakehouse', 'shared_nothing', 'shared_data'], ], + 'RegionId' => ['type' => 'string', 'required' => true], 'PackageType' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'official', - 'trial', - ], + 'enum' => ['official', 'trial'], ], 'PayType' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'prePaid', - 'postPaid', - ], - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => true, + 'enum' => ['prePaid', 'postPaid'], ], + 'VpcId' => ['type' => 'string', 'required' => true], 'PricingCycle' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'Month', - 'Year', - ], + 'enum' => ['Month', 'Year'], ], 'VSwitches' => [ 'type' => 'array', @@ -144,30 +278,14 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'VswId' => [ - 'type' => 'string', - 'required' => true, - ], - 'ZoneId' => [ - 'type' => 'string', - 'required' => false, - ], + 'VswId' => ['type' => 'string', 'required' => true], + 'ZoneId' => ['type' => 'string', 'required' => false], ], ], ], - 'ZoneId' => [ - 'type' => 'string', - 'required' => true, - ], - 'OssAccessingRoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'ZoneId' => ['type' => 'string', 'required' => true], + 'OssAccessingRoleName' => ['type' => 'string', 'required' => false], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Tags' => [ 'type' => 'array', 'required' => false, @@ -175,25 +293,13 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], ], - 'ResourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'ClientToken' => [ - 'type' => 'string', - 'required' => false, - ], + 'ResourceGroupId' => ['type' => 'string', 'required' => false], + 'ClientToken' => ['type' => 'string', 'required' => false], 'ObserverNodeGroups' => [ 'type' => 'array', 'required' => false, @@ -201,42 +307,14 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storagePerformanceLevel' => [ - 'type' => 'string', - 'required' => false, - ], - 'diskNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'residentNodeNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'specType' => [ - 'type' => 'string', - 'required' => false, - ], - 'localStorageInstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'zoneId' => [ - 'type' => 'string', - 'required' => false, - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storagePerformanceLevel' => ['type' => 'string', 'required' => false], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'specType' => ['type' => 'string', 'required' => false], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + 'zoneId' => ['type' => 'string', 'required' => false], ], ], ], @@ -247,57 +325,22 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'storagePerformanceLevel' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'pl0', - 'pl1', - 'pl2', - 'pl3', - ], - ], - 'diskNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - ], - 'residentNodeNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3'], ], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0'], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'specType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'standard', - 'ramEnhanced', - 'networkEnhanced', - 'bigData', - 'localSSD', - 'cpuEnhanced', - ], - ], - 'localStorageInstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'zoneId' => [ - 'type' => 'string', - 'required' => false, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'bigData', 'localSSD', 'cpuEnhanced'], ], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + 'zoneId' => ['type' => 'string', 'required' => false], ], ], ], @@ -308,148 +351,173 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storagePerformanceLevel' => [ - 'type' => 'string', - 'required' => false, - ], - 'diskNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'residentNodeNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storagePerformanceLevel' => ['type' => 'string', 'required' => false], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'specType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'standard', - 'ramEnhanced', - ], - ], - 'localStorageInstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'zoneId' => [ - 'type' => 'string', - 'required' => false, + 'enum' => ['standard', 'ramEnhanced'], ], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + 'zoneId' => ['type' => 'string', 'required' => false], ], ], ], - 'PromotionOptionNo' => [ - 'type' => 'string', - 'required' => false, - ], - 'Encrypted' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'KmsKeyId' => [ - 'type' => 'string', - 'required' => false, - ], - 'GatewayType' => [ - 'type' => 'string', - 'required' => false, - ], + 'PromotionOptionNo' => ['type' => 'string', 'required' => false], + 'Encrypted' => ['type' => 'boolean', 'required' => false], + 'KmsKeyId' => ['type' => 'string', 'required' => false], + 'GatewayType' => ['type' => 'string', 'required' => false], 'AgentNodeGroup' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], - 'AutoPay' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'LinkedRamUserName' => [ - 'type' => 'string', - 'required' => false, - ], - 'DlfCatalogName' => [ - 'type' => 'string', - 'required' => false, - ], - 'DlfCatalogType' => [ - 'type' => 'string', - 'required' => false, - ], - 'PrincipalType' => [ - 'type' => 'string', - 'required' => false, - ], - 'RamUserId' => [ - 'type' => 'string', - 'required' => false, - ], + 'AutoPay' => ['type' => 'boolean', 'required' => false], + 'LinkedRamUserName' => ['type' => 'string'], + 'DlfCatalogName' => ['type' => 'string'], + 'DlfCatalogType' => ['type' => 'string'], + 'PrincipalType' => ['type' => 'string'], + 'RamUserId' => ['type' => 'string'], + 'EnableMultiAz' => ['type' => 'boolean'], ], ], ], ], ], - 'RestartInstance' => [ - 'path' => '/webapi/starrocks/restartCluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateScalingRule' => [ + 'path' => '/webapi/scalingRule/createScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TriggerType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['TIME_TRIGGER'], ], ], [ - 'name' => 'FastMode', + 'name' => 'Rule', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'CreateServiceLinkedRole' => [ + 'path' => '/webapi/user/create_default_role', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'DeleteBackup' => [ + 'path' => '/webapi/backup/manage/delete', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'BackupTaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DeleteBackupPolicy' => [ + 'path' => '/webapi/backupRestore/policy/delete', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'required' => false], + 'PolicyId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ReleaseInstance' => [ - 'path' => '/webapi/cluster/release', - 'methods' => [ - 'post', + 'DeleteGateway' => [ + 'path' => '/webapi/gateway/delete', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'DeleteInnerIpWhitelistGroup' => [ + 'path' => '/webapi/securityGroup/delete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -458,24 +526,76 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'required' => true], + 'InnerIpWhitelistGroupId' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 120, 'pattern' => '^[a-z][a-z0-9_]*[a-z0-9]$'], + ], + ], + ], + ], + ], + 'DeleteScalingRule' => [ + 'path' => '/webapi/scalingRule/deleteScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ScalingRuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TriggerType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['TIME_TRIGGER'], ], ], ], ], - 'UpdateInstanceName' => [ - 'path' => '/webapi/cluster/update_name', - 'methods' => [ - 'post', + 'DescribeAvailableZones' => [ + 'path' => '/webapi/zone/describeZones', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DescribeBackupPolicies' => [ + 'path' => '/webapi/backupRestore/policy/describe', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -484,31 +604,288 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ClusterName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeInstances' => [ - 'path' => '/webapi/starrocks/describeInstances', - 'methods' => [ - 'post', + 'DescribeBackups' => [ + 'path' => '/webapi/backup/manage/describe', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'BackupTaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TimePeriodStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'TimePeriodEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'DescribeConfigHistory' => [ + 'path' => '/webapi/config/describeConfigHistory', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NeedTotal', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EffectStatuses', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeEventNames' => [ + 'path' => '/webapi/event/describeEventNames', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeInnerIpWhitelistGroups' => [ + 'path' => '/webapi/securityGroup/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeInstanceConfigs' => [ + 'path' => '/webapi/config/describeInstanceConfigs', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ConfigType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AllowModify', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'NeedTotal', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'schemes' => [ - 'https', + ], + 'DescribeInstanceDiagnosisResult' => [ + 'path' => '/webapi/diagnosis/describe', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Dimension', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ReportDate', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeInstanceMetaToken' => [ + 'path' => '/webapi/migration/getMetaToken', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeInstances' => [ + 'path' => '/webapi/starrocks/describeInstances', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -519,64 +896,37 @@ [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', @@ -589,14 +939,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], ], @@ -605,56 +949,31 @@ ], 'DescribeNodeGroups' => [ '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'], ], [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -664,56 +983,166 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], + 'instanceId' => ['type' => 'string', 'required' => false], 'componentType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'FE', - 'BE', - 'CN', - 'AGENT', - 'OBSERVER', - ], + 'enum' => ['FE', 'BE', 'CN', 'AGENT', 'OBSERVER'], ], 'nodeGroupIds' => [ 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'nodeGroupName' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', 'items' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], ], ], - 'nodeGroupName' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], ], ], ], ], ], - 'TagResources' => [ - 'path' => '/webapi/tags', - 'methods' => [ - 'post', + 'DescribeRegions' => [ + 'path' => '/webapi/region/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'DescribeResourceConstraints' => [ + 'path' => '/webapi/starrocks/describeResourceConstraints', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PackageType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['trial', 'official'], + ], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Architecture', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeSystemTimezone' => [ + 'path' => '/webapi/timezone/query', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeTimeTriggerScalingRules' => [ + 'path' => '/webapi/scalingRule/describeTimeTriggerScalingRules', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DisableSSLConnection' => [ + 'path' => '/webapi/starrocks/disableSSLConnection', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'EnableInternalSlb' => [ + 'path' => '/webapi/gateway/enableInternalSlb', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'EnableMultiAz' => [ + 'path' => '/webapi/lifecycle/enableMultiAz', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -724,37 +1153,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ResourceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'RegionId' => [ - 'type' => 'string', - 'required' => true, - ], - 'ResourceId' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Tag' => [ + 'instanceId' => ['type' => 'string', 'required' => false], + 'promotionOptionNo' => ['type' => 'string', 'required' => false], + 'observers' => [ 'type' => 'array', - 'required' => true, + 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'zoneId' => ['type' => 'string', 'required' => false], + 'vswId' => ['type' => 'string', 'required' => false], ], ], ], @@ -763,15 +1172,42 @@ ], ], ], - 'UnTagResources' => [ - 'path' => '/webapi/tags', - 'methods' => [ - 'delete', + 'EnableSSLConnection' => [ + 'path' => '/webapi/starrocks/enableSSLConnection', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'CustomSSLCertificate' => ['type' => 'string', 'required' => false], + 'InstanceId' => ['type' => 'string', 'required' => false], + 'EnableCustom' => ['type' => 'boolean', 'required' => false], + 'SslKeystorePassword' => ['type' => 'string', 'required' => false], + 'SslKeyPassword' => ['type' => 'string', 'required' => false], + 'Renewal' => ['type' => 'boolean', 'required' => false], + ], + ], + ], ], + ], + 'GetInstanceFeatureGate' => [ + 'path' => '/webapi/features/featureGate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -780,65 +1216,107 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetNodeGroupFeatureGate' => [ + 'path' => '/webapi/features/nodeGroupFeatureGate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceType', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ResourceId', + 'name' => 'NodeGroupId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'IsolateLeader' => [ + 'path' => '/webapi/gateway/isolateLeader', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'TagKey', + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'All', + 'name' => 'IsolateLeader', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'ChangeResourceGroup' => [ - 'path' => '/webapi/resourceGroup/change', - 'methods' => [ - 'post', + 'ListGateway' => [ + 'path' => '/webapi/gateway/list', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'schemes' => [ - 'https', + ], + 'ListOperationActivity' => [ + 'path' => '/webapi/operation/listOperationActivity', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'OperationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ListOperationHistory' => [ + 'path' => '/webapi/operation/listOperationHistory', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -847,98 +1325,412 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'NewResourceGroupId', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'OperationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'OperationType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'OperationStatus', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + 'ListSSLDetails' => [ + 'path' => '/webapi/starrocks/listSSLDetails', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ModifyChargeType' => [ + 'path' => '/webapi/cluster/modifyChargeType', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ModifyCu' => [ + 'path' => '/webapi/resourceChange/modifyCu', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', 'in' => 'query', 'schema' => [ - 'type' => 'string', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, + 'minimum' => '4', + 'maximum' => '64', + 'enum' => ['4', '8', '16', '32', '64'], ], ], [ - 'name' => 'RegionId', + 'name' => 'FastMode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ResourceType', + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ModifyCuPreCheck' => [ + 'path' => '/webapi/resourceChange/modifyCuPreCheck', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', 'in' => 'query', 'schema' => [ - 'type' => 'string', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, + 'minimum' => '0', + 'maximum' => '100', + 'enum' => ['2', '4', '8', '16', '32', '64'], ], ], + ], + ], + 'ModifyDiskNumber' => [ + 'path' => '/webapi/resourceChange/modifyDiskNumber', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '100'], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ModifyDiskPerformanceLevel' => [ + 'path' => '/webapi/resourceChange/modifyDiskPerformanceLevel', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], ], ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'UpgradeVersion' => [ - 'path' => '/webapi/starrocks/upgradeVersion', - 'methods' => [ - 'post', + 'ModifyDiskSize' => [ + 'path' => '/webapi/resourceChange/modifyDiskSize', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '65000'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], + ], + 'ModifyDiskType' => [ + 'path' => '/webapi/resourceChange/modifyDiskType', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetPerformanceLevel', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], ], ], [ - 'name' => 'TargetVersion', + 'name' => 'TargetDiskType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['eed', 'essd'], ], ], [ - 'name' => 'Minor', + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ModifyHostAlias' => [ + 'path' => '/webapi/network/modifyHostAlias', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'hostAliases' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'hostnames' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'ip' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], [ - 'name' => 'FastMode', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'QueryUpgradableVersions' => [ - 'path' => '/webapi/starrocks/queryUpgradableVersions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstanceConfig' => [ + 'path' => '/webapi/config/modifyInstanceConfig', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -949,189 +1741,475 @@ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ConfigList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Reason', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AddConfigList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DeleteConfigList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'configsToUpdate' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + 'configsToAdd' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + 'configsToDelete' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + 'fastMode' => ['type' => 'boolean', 'required' => false], + 'restart' => ['type' => 'boolean', 'required' => false], + ], ], ], + ], + ], + 'ModifyInstanceConfigPreCheck' => [ + 'path' => '/webapi/config/modifyInstanceConfigPreCheck', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Minor', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'configsToUpdate' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + 'configsToAdd' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + 'configsToDelete' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/InstanceConfigDto', 'required' => false], + ], + ], ], ], ], ], - 'ModifyNodeNumberPreCheck' => [ - 'path' => '/webapi/resourceChange/modifyNodeNumberPreCheck', - 'methods' => [ - 'post', + 'ModifyMaintainableTime' => [ + 'path' => '/webapi/starrocks/modifyMaintainableTime', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'MaintainableTimePeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'ModifyNodeNumber' => [ + 'path' => '/webapi/resourceChange/modifyNodeNumber', + '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'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '100'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Parallelism', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'TerminationGracePeriodSeconds', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], ], - 'produces' => [ - 'application/json', + ], + 'ModifyNodeNumberPreCheck' => [ + 'path' => '/webapi/resourceChange/modifyNodeNumberPreCheck', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '100'], + ], + ], + ], + 'ModifyScalingRule' => [ + 'path' => '/webapi/scalingRule/modifyScalingRule', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'NodeGroupId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'OldTriggerType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['TIME_TRIGGER'], ], ], [ - 'name' => 'Target', + 'name' => 'NewTriggerType', 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'string', 'required' => true, - 'minimum' => '0', - 'maximum' => '100', + 'enum' => ['TIME_TRIGGER'], ], ], + [ + 'name' => 'ScalingRuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Rule', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'ModifyNodeNumber' => [ - 'path' => '/webapi/resourceChange/modifyNodeNumber', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifySpecType' => [ + 'path' => '/webapi/resourceChange/modifySpecType', + 'methods' => ['post'], + 'schemes' => ['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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeGroupId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetSpecType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'cpuEnhanced'], ], ], [ - 'name' => 'Target', + 'name' => 'FastMode', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ModifySpecTypePreCheck' => [ + 'path' => '/webapi/resourceChange/modifySpecTypePreCheck', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetSpecType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'localSSD', 'bigData', 'cpuEnhanced'], ], ], + ], + ], + 'ModifyUserPassword' => [ + 'path' => '/webapi/password/modify', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Parallelism', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TerminationGracePeriodSeconds', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryEnableMultiAzPrice' => [ + 'path' => '/webapi/priceInquiry/enableMultiAz', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'instanceId' => ['type' => 'string', 'required' => false], + 'promotionOptionNo' => ['type' => 'string', 'required' => false], + 'observers' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'zoneId' => ['type' => 'string', 'required' => false], + 'vswId' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'ModifyCuPreCheck' => [ - 'path' => '/webapi/resourceChange/modifyCuPreCheck', - 'methods' => [ - 'post', + 'QueryMinorVersion' => [ + 'path' => '/webapi/starrocks/queryAppDefineVersion', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'QueryModifyChargeTypePrice' => [ + 'path' => '/webapi/buy/query_modify_charge_type_price', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'QueryModifyCuPrice' => [ + 'path' => '/webapi/priceInquiry/modifyCu', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Target', @@ -1140,366 +2218,1215 @@ 'type' => 'integer', 'format' => 'int32', 'required' => true, - 'minimum' => '0', - 'maximum' => '100', - 'enum' => [ - '2', - '4', - '8', - '16', - '32', - '64', - ], + 'enum' => ['2', '4', '8', '16', '32', '64'], ], ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'ModifyDiskPerformanceLevel' => [ - 'path' => '/webapi/resourceChange/modifyDiskPerformanceLevel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'QueryModifyDiskNumberPrice' => [ + 'path' => '/webapi/priceInquiry/modifyDiskNumber', + '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'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '16'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'QueryModifyDiskPerformanceLevelPrice' => [ + 'path' => '/webapi/priceInquiry/modifyDiskPerformanceLevel', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], ], ], [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryModifyDiskSizePrice' => [ + 'path' => '/webapi/priceInquiry/modifyDiskSize', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '50', 'maximum' => '65000'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryModifyDiskTypePrice' => [ + 'path' => '/webapi/priceInquiry/modifyDiskType', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'NodeGroupId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetPerformanceLevel', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['pl0', 'pl1', 'pl2', 'pl3', 'eed_standard', 'eed_advanced'], ], ], [ - 'name' => 'Target', + 'name' => 'TargetDiskType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'pl0', - 'pl1', - 'pl2', - 'pl3', - 'eed_standard', - 'eed_advanced', - ], + 'enum' => ['eed', 'essd'], ], ], [ 'name' => 'PromotionOptionNo', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ModifyDiskSize' => [ - 'path' => '/webapi/resourceChange/modifyDiskSize', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'QueryModifyNodeNumberPrice' => [ + 'path' => '/webapi/priceInquiry/modifyNodeNumber', + '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'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '100'], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'QueryModifySpecTypePrice' => [ + 'path' => '/webapi/priceInquiry/modifySpecType', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetSpecType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['standard', 'ramEnhanced', 'networkEnhanced', 'cpuEnhanced'], ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'PromotionOptionNo', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryPriceV1' => [ + 'path' => '/webapi/price/create', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'RegionId' => ['type' => 'string', 'required' => false], + 'PayType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['postPaid', 'prePaid'], + ], + 'PackageType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['trial', 'official'], + ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'PricingCycle' => ['type' => 'string', 'required' => false], + 'ObserverNodeGroups' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'specType' => ['type' => 'string', 'required' => false], + 'cu' => ['type' => 'string', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storagePerformanceLevel' => ['type' => 'string', 'required' => false], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'FrontendNodeGroups' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'specType' => ['type' => 'string', 'required' => false], + 'cu' => ['type' => 'string', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storagePerformanceLevel' => ['type' => 'string', 'required' => false], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'BackendNodeGroups' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'specType' => ['type' => 'string', 'required' => false], + 'cu' => ['type' => 'string', 'required' => false], + 'storageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storagePerformanceLevel' => ['type' => 'string', 'required' => false], + 'diskNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'residentNodeNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'localStorageInstanceType' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'RunMode' => ['type' => 'string', 'required' => false], + 'PromotionOptionNo' => ['type' => 'string', 'required' => false], + 'AgentNodeGroup' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], ], ], + ], + ], + 'QueryRefundPrice' => [ + 'path' => '/webapi/buy/queryRefundPrice', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Target', + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'billingInstanceIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryRenewPrice' => [ + 'path' => '/webapi/price/renew', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^[0-9a-zA-Z_-]+$'], + ], + [ + 'name' => 'Duration', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, - 'minimum' => '0', - 'maximum' => '65000', + 'minimum' => '1', + 'maximum' => '12', + 'enum' => ['1', '2', '3', '6', '9'], ], ], [ - 'name' => 'PromotionOptionNo', + 'name' => 'PricingCycle', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['Month', 'Year'], ], ], [ - 'name' => 'FastMode', + 'name' => 'BillingInstanceIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 200], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'QueryUnpaidOrder' => [ + 'path' => '/webapi/order/queryUnpaidOrder', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 30, 'pattern' => '^[0-9a-zA-Z_-]+$'], + ], + [ + 'name' => 'BillingInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 30, 'pattern' => '^[0-9a-zA-Z_-]+$'], + ], + [ + 'name' => 'OrderType', 'in' => 'query', 'schema' => [ - 'type' => 'boolean', + 'type' => 'string', 'required' => false, + 'enum' => ['BUY', 'RENEW', 'RESOURCE_CHANGE'], ], ], ], ], - 'ModifyDiskNumber' => [ - 'path' => '/webapi/resourceChange/modifyDiskNumber', - 'methods' => [ - 'post', + 'QueryUpgradableVersions' => [ + 'path' => '/webapi/starrocks/queryUpgradableVersions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Minor', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], - 'schemes' => [ - 'http', - 'https', + ], + 'RebootECS' => [ + 'path' => '/webapi/event/rebootEcs', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RebootTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ReleaseInstance' => [ + 'path' => '/webapi/cluster/release', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'RenewInstance' => [ + 'path' => '/webapi/order/renew_instance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^[0-9a-zA-Z_-]+$'], + ], + [ + 'name' => 'Duration', + 'in' => 'query', 'schema' => [ - 'type' => 'string', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, + 'minimum' => '1', + 'maximum' => '12', + 'enum' => ['1', '2', '3', '6', '9'], ], ], [ - 'name' => 'NodeGroupId', + 'name' => 'PricingCycle', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['Month', 'Year'], ], ], [ - 'name' => 'Target', + 'name' => 'BillingInstanceIds', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 200], + ], + [ + 'name' => 'PromotionOptionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'RestartInstance' => [ + 'path' => '/webapi/starrocks/restartCluster', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'RestartNodeGroup' => [ + 'path' => '/webapi/nodegroup/restart', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FastMode', 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'RestartNodes' => [ + 'path' => '/webapi/restart/restart', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'RestartNodeGroups' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'NodeGroupId' => ['type' => 'string', 'required' => false], + 'FastMode' => ['type' => 'boolean', 'required' => false], + 'NodeIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], ], ], + ], + ], + 'RestoreInstance' => [ + 'path' => '/webapi/restore/restoreInstance', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PromotionOptionNo', - 'in' => 'query', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'AdminPassword' => ['type' => 'string', 'required' => false], + 'AutoRenew' => ['type' => 'boolean', 'required' => false], + 'RegionId' => ['type' => 'string', 'required' => false], + 'PayType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['prePaid', 'postPaid'], + ], + 'VpcId' => ['type' => 'string', 'required' => false], + 'PricingCycle' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Month', 'Year'], + ], + 'VSwitches' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ZoneId' => ['type' => 'string', 'required' => false], + 'VswId' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'BackupTaskId' => ['type' => 'string', 'required' => false], + 'InstanceName' => ['type' => 'string', 'required' => false], + 'ResourceGroupId' => ['type' => 'string', 'required' => false], + 'Tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'ModifyCu' => [ - 'path' => '/webapi/resourceChange/modifyCu', - 'methods' => [ - 'post', + 'ResumeInstance' => [ + 'path' => '/webapi/lifecycle/resumeInstance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'RollbackConfigModification' => [ + 'path' => '/webapi/config/rollbackConfigModification', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - 'application/x-www-form-urlencoded', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ConfigHistoryId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'Restart', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'SwitchActiveStandbyZones' => [ + 'path' => '/webapi/recovery/switchZones', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NodeGroupId', + 'name' => 'TargetZoneId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'TagResources' => [ + 'path' => '/webapi/tags', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ResourceType' => ['type' => 'string', 'required' => true], + 'RegionId' => ['type' => 'string', 'required' => true], + 'ResourceId' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + 'Tag' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], + ], + ], + 'ToggleAutoMinorVersionUpgrade' => [ + 'path' => '/webapi/starrocks/toggleAutoMinorVersionUpgrade', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Target', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'AutoUpgrade', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => true], + ], + ], + ], + 'TogglePublicSlb' => [ + 'path' => '/webapi/gateway/togglePublicSlb', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EnablePublicSlb', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'UnTagResources' => [ + 'path' => '/webapi/tags', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => true, - 'minimum' => '4', - 'maximum' => '64', - 'enum' => [ - '4', - '8', - '16', - '32', - '64', - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'FastMode', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'PromotionOptionNo', + 'name' => 'All', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'UpdateBackup' => [ + 'path' => '/webapi/backup/manage/update', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'backupTaskId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CreateServiceLinkedRole' => [ - 'path' => '/webapi/user/create_default_role', - 'methods' => [ - 'post', + 'UpdateBackupPolicy' => [ + 'path' => '/webapi/backupRestore/policy/update', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'required' => false], + 'PolicyId' => ['type' => 'string', 'required' => false], + 'RecurrenceValues' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '31'], + ], + 'Hour' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '23'], + 'Minute' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '59'], + 'ExpireDays' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TimeoutSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], ], + ], + 'UpdateGateway' => [ + 'path' => '/webapi/gateway/update', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'starrocks.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'starrocks.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'starrocks.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'starrocks.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'starrocks.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'starrocks.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'starrocks.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'starrocks.cn-hongkong.aliyuncs.com', + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GatewayId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GatewayName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'FeNodeNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'starrocks.us-east-1.aliyuncs.com', + 'UpdateInnerIpWhitelistGroup' => [ + 'path' => '/webapi/securityGroup/update', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'required' => true], + 'InnerIpWhitelistGroupId' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 120, 'pattern' => '^[a-z][a-z0-9_]*[a-z0-9]$'], + 'CidrIpList' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false, '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]))?$'], + 'maxItems' => 20, + ], + ], + ], + ], + ], ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'starrocks.us-west-1.aliyuncs.com', + 'UpdateInstanceName' => [ + 'path' => '/webapi/cluster/update_name', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'starrocks.eu-central-1.aliyuncs.com', + 'UpdateNodeGroupDescription' => [ + 'path' => '/webapi/nodegroup/updateDescription', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json', 'application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Acs-Ram-Auth-Context', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'starrocks.ap-southeast-1.aliyuncs.com', + 'UpdatePublicNetworkStatus' => [ + 'path' => '/webapi/network/updatePublicNetworkStatus', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ComponentType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['FE', 'BE', 'CN'], + ], + ], + [ + 'name' => 'PublicNetworkEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'starrocks.ap-southeast-5.aliyuncs.com', + 'UpgradeVersion' => [ + 'path' => '/webapi/starrocks/upgradeVersion', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetVersion', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Minor', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'FastMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], ], ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-beijing.aliyuncs.com', 'endpoint' => 'starrocks.cn-beijing.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-hangzhou.aliyuncs.com', 'endpoint' => 'starrocks.cn-hangzhou.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-hongkong.aliyuncs.com', 'endpoint' => 'starrocks.cn-hongkong.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-qingdao.aliyuncs.com', 'endpoint' => 'starrocks.cn-qingdao.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-shanghai.aliyuncs.com', 'endpoint' => 'starrocks.cn-shanghai.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-shenzhen.aliyuncs.com', 'endpoint' => 'starrocks.cn-shenzhen.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'starrocks.cn-wulanchabu.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'starrocks.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'starrocks.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'starrocks-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'starrocks.eu-central-1.aliyuncs.com', 'endpoint' => 'starrocks.eu-central-1.aliyuncs.com', 'vpc' => 'starrocks-vpc.eu-central-1.aliyuncs.com'], + ], ]; |
