summaryrefslogtreecommitdiff
path: root/data/zh_cn/hitsdb/2020-06-15/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/hitsdb/2020-06-15/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/hitsdb/2020-06-15/api-docs.php')
-rw-r--r--data/zh_cn/hitsdb/2020-06-15/api-docs.php7068
1 files changed, 1809 insertions, 5259 deletions
diff --git a/data/zh_cn/hitsdb/2020-06-15/api-docs.php b/data/zh_cn/hitsdb/2020-06-15/api-docs.php
index 3947bc7..ba6567e 100644
--- a/data/zh_cn/hitsdb/2020-06-15/api-docs.php
+++ b/data/zh_cn/hitsdb/2020-06-15/api-docs.php
@@ -1,67 +1,33 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'hitsdb',
- 'version' => '2020-06-15',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'hitsdb', 'version' => '2020-06-15'],
'directories' => [
[
- 'children' => [
- 'DescribeRegions',
- ],
+ 'children' => ['DescribeRegions'],
'type' => 'directory',
'title' => '区域',
'id' => 24390,
],
[
- 'children' => [
- 'CreateLindormInstance',
- 'ReleaseLindormInstance',
- 'UpgradeLindormInstance',
- 'GetLindormInstance',
- 'GetLindormInstanceEngineList',
- 'GetLindormInstanceList',
- 'RenewLindormInstance',
- 'ModifyInstancePayType',
- 'SwitchLSQLV3MySQLService',
- ],
+ 'children' => ['CreateLindormInstance', 'ReleaseLindormInstance', 'UpgradeLindormInstance', 'GetLindormInstance', 'GetLindormInstanceEngineList', 'GetLindormInstanceList', 'RenewLindormInstance', 'ModifyInstancePayType', 'SwitchLSQLV3MySQLService'],
'type' => 'directory',
'title' => '实例',
'id' => 24395,
],
[
- 'children' => [
- 'UpdateInstanceIpWhiteList',
- 'GetInstanceIpWhiteList',
- ],
+ 'children' => ['UpdateInstanceIpWhiteList', 'GetInstanceIpWhiteList'],
'type' => 'directory',
'title' => '白名单',
'id' => 24392,
],
[
- 'children' => [
- 'ListTagResources',
- 'TagResources',
- 'UntagResources',
- ],
+ 'children' => ['ListTagResources', 'TagResources', 'UntagResources'],
'type' => 'directory',
'title' => '标签',
'id' => 24405,
],
[
- 'children' => [
- 'ChangeResourceGroup',
- 'CreateLindormV2Instance',
- 'GetInstanceSummary',
- 'GetLindormFsUsedDetail',
- 'GetLindormV2StorageUsage',
- 'ReleaseLindormV2Instance',
- 'UpdateLindormV2Instance',
- 'GetLindormV2InstanceDetails',
- 'UpdateLindormInstanceAttribute',
- 'UpdateLindormV2WhiteIpList',
- ],
+ 'children' => ['ChangeResourceGroup', 'CreateLindormV2Instance', 'GetInstanceSummary', 'GetLindormFsUsedDetail', 'GetLindormV2StorageUsage', 'ReleaseLindormV2Instance', 'UpdateLindormV2Instance', 'GetLindormV2InstanceDetails', 'UpdateLindormInstanceAttribute', 'UpdateLindormV2WhiteIpList'],
'type' => 'directory',
'title' => '其他',
'id' => 148525,
@@ -73,14 +39,8 @@
'apis' => [
'ChangeResourceGroup' => [
'summary' => '资源转组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -90,43 +50,23 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '145137',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb6YHIIK',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'title' => '资源Id',
- 'description' => '资源Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ld-bp17j28j2y7pm****',
- ],
+ 'schema' => ['title' => '资源Id', 'description' => '资源Id', 'type' => 'string', 'required' => true, 'example' => 'ld-bp17j28j2y7pm****'],
],
[
'name' => 'ResourceRegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域Id',
- 'description' => '地域Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['title' => '地域Id', 'description' => '地域Id', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'title' => '目标资源组',
- 'description' => '目标资源组',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-aek2i6wee****',
- ],
+ 'schema' => ['title' => '目标资源组', 'description' => '目标资源组', 'type' => 'string', 'required' => true, 'example' => 'rg-aek2i6wee****'],
],
],
'responses' => [
@@ -136,75 +76,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'FAED4C02-AF99-5015-A075-692DE9C99630',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'FAED4C02-AF99-5015-A075-692DE9C99630'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission.ChangeResourceGroup',
- 'errorMessage' => 'You are not authorized to change resourcegroup',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceRegionId',
- 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceId',
- 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceGroupId',
- 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidResourceGroup',
- 'errorMessage' => 'The specified ResourceGroupId is invalid',
- 'description' => '',
- ],
- [
- 'errorCode' => 'SystemError',
- 'errorMessage' => 'A system error occurred while processing your request',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ResourceNotFound',
- 'errorMessage' => ' The specified resource is not found',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''],
+ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'eventInfo' => [
@@ -222,26 +113,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
],
'CreateLindormInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -252,564 +132,344 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '64027',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai-f',
- ],
+ 'schema' => ['description' => '实例的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的名称。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'lindorm_test',
- ],
+ 'schema' => ['description' => '实例的名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm_test'],
],
[
'name' => 'InstanceStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的存储容量,单位为GB。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '480',
- ],
+ 'schema' => ['description' => '实例的存储容量,单位为GB。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '480'],
],
[
'name' => 'PayType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的付费类型,取值:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月(预付费)。'."\n"
- .'- **POSTPAY**:按量付费(后付费)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'POSTPAY',
- ],
+ 'schema' => ['description' => '实例的付费类型,取值:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月(预付费)。'."\n"
+ .'- **POSTPAY**:按量付费(后付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'POSTPAY'],
],
[
'name' => 'VPCId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的专有网络ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vpc-bp1nme44gek34slfc****',
- ],
+ 'schema' => ['description' => '实例的专有网络ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-bp1nme44gek34slfc****'],
],
[
'name' => 'VSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '虚拟交换机的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vsw-bp1e7clcw529l773d****',
- ],
+ 'schema' => ['description' => '虚拟交换机的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
- 'schema' => [
- 'description' => '实例购买的付费周期,取值:'."\n"
- ."\n"
- .'- **Month**:单位为月。'."\n"
- .'- **Year**:单位为年。'."\n"
- ."\n"
- .'> PayType取值为**PREPAY**时,本参数可用且必须传入。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Month',
- ],
+ 'schema' => ['description' => '实例购买的付费周期,取值:'."\n"
+ ."\n"
+ .'- **Month**:单位为月。'."\n"
+ .'- **Year**:单位为年。'."\n"
+ ."\n"
+ .'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'string', 'required' => false, 'example' => 'Month'],
],
[
'name' => 'Duration',
'in' => 'query',
- 'schema' => [
- 'description' => '实例包年包月的时间,取值:'."\n"
- ."\n"
- .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
- .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
- ."\n"
- .'> PayType取值为**PREPAY**时,本参数可用且必须传入。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
+ ."\n"
+ .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
+ .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
+ ."\n"
+ .'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'DiskCategory',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的存储类型,取值:'."\n"
- ."\n"
- .'- **cloud_efficiency**:标准型云存储。'."\n"
- .'- **cloud_ssd**:性能型云存储。'."\n"
- .'- **cloud_essd**:性能增强型云存储。'."\n"
- .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
- .'- **capacity\\_cloud\\_storage**:容量型云存储(多可用区实例不支持)。'."\n"
- .'- **local\\_ssd\\_pro**:本地SSD盘(多可用区实例不支持)。'."\n"
- .'- **local\\_hdd\\_pro**:本地HDD盘(多可用区实例不支持)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cloud_efficiency',
- ],
+ 'schema' => ['description' => '实例的存储类型,取值:'."\n"
+ ."\n"
+ .'- **cloud_efficiency**:标准型云存储。'."\n"
+ .'- **cloud_ssd**:性能型云存储。'."\n"
+ .'- **cloud_essd**:性能增强型云存储。'."\n"
+ .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
+ .'- **capacity\\_cloud\\_storage**:容量型云存储(多可用区实例不支持)。'."\n"
+ .'- **local\\_ssd\\_pro**:本地SSD盘(多可用区实例不支持)。'."\n"
+ .'- **local\\_hdd\\_pro**:本地HDD盘(多可用区实例不支持)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cloud_efficiency'],
],
[
'name' => 'CoreSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的本地盘类型节点规格。'."\n"
- ."\n"
- .'本地存储类型为local_ssd_pro时,本参数取值为,其中I3机型当前仅支持包年包月商品:'."\n"
- ."\n"
- .'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
- .'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
- .'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
- .'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
- .'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
- .'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
- .'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
- .'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
- .'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
- .'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
- .'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
- .'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
- ."\n"
- .'本地存储类型为local_hdd_pro时,本参数取值为:'."\n"
- ."\n"
- .'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
- .'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
- .'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
- .'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
- .'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
- .'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
- .'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
- .'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
- .'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
- .'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
- .'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.i2.xlarge',
- ],
+ 'schema' => ['description' => '实例的本地盘类型节点规格。'."\n"
+ ."\n"
+ .'本地存储类型为local_ssd_pro时,本参数取值为,其中I3机型当前仅支持包年包月商品:'."\n"
+ ."\n"
+ .'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
+ .'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
+ .'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
+ .'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
+ .'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
+ .'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
+ .'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
+ .'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
+ .'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
+ .'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
+ .'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
+ .'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
+ ."\n"
+ .'本地存储类型为local_hdd_pro时,本参数取值为:'."\n"
+ ."\n"
+ .'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
+ .'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
+ .'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
+ .'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
+ .'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
+ .'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
+ .'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
+ .'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
+ .'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
+ .'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
+ .'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.i2.xlarge'],
],
[
'name' => 'LindormNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的宽表引擎节点数量。'."\n"
- ."\n"
- .'如果需要创建单可用区实例,取值范围为:**0**\\~**90**。'."\n"
- ."\n"
- .'**如果需要创建多可用区实例,该参数必填**。非本地盘存储类型的实例,取值范围为:**4**\\~**400**。本地盘存储类型的实例,取值范围为:**6**\\~**400**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的宽表引擎节点数量。'."\n"
+ ."\n"
+ .'如果需要创建单可用区实例,取值范围为:**0**\\~**90**。'."\n"
+ ."\n"
+ .'**如果需要创建多可用区实例,该参数必填**。非本地盘存储类型的实例,取值范围为:**4**\\~**400**。本地盘存储类型的实例,取值范围为:**6**\\~**400**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'SolrSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的搜索引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '实例的搜索引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'SolrNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的搜索引擎节点数量,取值:**0**~**60**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的搜索引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'ColdStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的容量型云存储容量,单位为GB,不填默认不开通容量型云存储。取值范围:**800**~**1000000**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '800',
- ],
+ 'schema' => ['description' => '实例的容量型云存储容量,单位为GB,不填默认不开通容量型云存储。取值范围:**800**~**1000000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '800'],
],
[
'name' => 'TsdbSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的时序引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '实例的时序引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'TsdbNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的时序引擎节点数量,取值如下:'."\n"
- .'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**24**。'."\n"
- .'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**32**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的时序引擎节点数量,取值如下:'."\n"
+ .'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**24**。'."\n"
+ .'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**32**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LindormSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的宽表引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.c.xlarge',
- ],
+ 'schema' => ['description' => '实例的宽表引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'FilestoreNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的文件引擎节点数量,取值如下:'."\n"
- .'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**60**。'."\n"
- .'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**8**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的文件引擎节点数量,取值如下:'."\n"
+ .'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**60**。'."\n"
+ .'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**8**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'FilestoreSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的文件引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.c.xlarge**:表示4核8GB(标准规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.c.xlarge',
- ],
+ 'schema' => ['description' => '实例的文件引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.c.xlarge**:表示4核8GB(标准规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'StreamNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的流引擎节点数量,取值:**0**~**60**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的流引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'StreamSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的流引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '实例的流引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'ArchVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '部署架构,取值:'."\n"
- ."\n"
- .'- **1.0**:单可用区。'."\n"
- .'- **2.0**:多可用区。'."\n"
- ."\n"
- .'不填写此参数时,默认为1.0。创建多可用区实例,请填写2.0。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.0',
- ],
+ 'schema' => ['description' => '部署架构,取值:'."\n"
+ ."\n"
+ .'- **1.0**:单可用区。'."\n"
+ .'- **2.0**:多可用区。'."\n"
+ ."\n"
+ .'不填写此参数时,默认为1.0。创建多可用区实例,请填写2.0。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => '2.0'],
],
[
'name' => 'PrimaryZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-e',
- ],
+ 'schema' => ['description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-e'],
],
[
'name' => 'StandbyZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-f',
- ],
+ 'schema' => ['description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'ArbiterZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-g',
- ],
+ 'schema' => ['description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-g'],
],
[
'name' => 'MultiZoneCombination',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
- ."\n"
- .'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
- .'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
- .'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
- .'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
- .'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
- .'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
- .'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
- .'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
- .'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
- .'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
- .'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。'."\n"
- ."\n"
- .'**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-efg-aliyun',
- ],
+ 'schema' => ['description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
+ ."\n"
+ .'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
+ .'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
+ .'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
+ .'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
+ .'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
+ .'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
+ .'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
+ .'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
+ .'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
+ .'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
+ .'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。'."\n"
+ ."\n"
+ .'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-efg-aliyun'],
],
[
'name' => 'PrimaryVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6fdqa7c0pipnqzq****',
- ],
+ 'schema' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
],
[
'name' => 'StandbyVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-2zec0kcn08cgdtr6****',
- ],
+ 'schema' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-2zec0kcn08cgdtr6****'],
],
[
'name' => 'ArbiterVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6664pqjawb87k36****',
- ],
+ 'schema' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6664pqjawb87k36****'],
],
[
'name' => 'CoreSingleStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,core单节点容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '400',
- ],
+ 'schema' => ['description' => '多可用区实例,core单节点容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400'],
],
[
'name' => 'LogDiskCategory',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
- ."\n"
- .'- **cloud_efficiency**:标准云存储。'."\n"
- .'- **cloud_ssd**:性能云存储。'."\n"
- ."\n"
- .'**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cloud_ssd',
- ],
+ 'schema' => ['description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
+ ."\n"
+ .'- **cloud_efficiency**:标准云存储。'."\n"
+ .'- **cloud_ssd**:性能云存储。'."\n"
+ ."\n"
+ .'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd'],
],
[
'name' => 'LogSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,log节点规格。取值如下:'."\n"
- .'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
- .'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
- ."\n"
- .'**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.sn1.large',
- ],
+ 'schema' => ['description' => '多可用区实例,log节点规格。取值如下:'."\n"
+ .'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
+ .'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ ."\n"
+ .'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'lindorm.sn1.large'],
],
[
'name' => 'LogNum',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,log节点数量。取值范围4~400。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => '多可用区实例,log节点数量。取值范围4~400。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'LogSingleStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,log单节点磁盘容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '400',
- ],
+ 'schema' => ['description' => '多可用区实例,log单节点磁盘容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek2i6weeb4nfii',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2i6weeb4nfii'],
],
[
'name' => 'AutoRenewal',
'in' => 'query',
- 'schema' => [
- 'description' => '实例是否自动续费,枚举值:'."\n"
- .'- **true**:自动续费。'."\n"
- .'- **false**:不自动续费。'."\n"
- ."\n"
- .'默认值为false'."\n"
- ."\n"
- .'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '实例是否自动续费,枚举值:'."\n"
+ .'- **true**:自动续费。'."\n"
+ .'- **false**:不自动续费。'."\n"
+ ."\n"
+ .'默认值为false'."\n"
+ ."\n"
+ .'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'AutoRenewDuration',
'in' => 'query',
- 'schema' => [
- 'description' => '自动续费时长。单位:月。'."\n"
- ."\n"
- .'取值范围:**1**~**12**。'."\n"
- ."\n"
- .'> 仅**AutoRenewal**为**true**时,该项才生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '自动续费时长。单位:月。'."\n"
+ ."\n"
+ .'取值范围:**1**~**12**。'."\n"
+ ."\n"
+ .'> 仅**AutoRenewal**为**true**时,该项才生效。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'LtsSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的LTS引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '实例的LTS引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'LtsNum',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的LTS引擎节点数量,取值:**0**~**60**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '实例的LTS引擎节点数量,取值:**0**~**60**。', 'type' => 'string', 'required' => false, 'example' => '2'],
],
[
'name' => 'Tag',
@@ -822,22 +482,12 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签的键。N的取值范围:1~20。'."\n"
- ."\n"
- .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'description' => '标签的值。N的取值范围:1~20。'."\n"
- ."\n"
- .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value',
- ],
+ 'Key' => ['description' => '标签的键。N的取值范围:1~20。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['description' => '标签的值。N的取值范围:1~20。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => 'value'],
],
'required' => false,
],
@@ -851,60 +501,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '93BE8227-3406-4D7A-883D-9A421D42****',
- ],
- 'InstanceId' => [
- 'description' => '创建的实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '111111111111111',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '93BE8227-3406-4D7A-883D-9A421D42****'],
+ 'InstanceId' => ['description' => '创建的实例ID。', 'type' => 'string', 'example' => 'ld-bp1o3y0yme2i2****'],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111111111'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '创建Lindorm实例',
@@ -917,43 +531,32 @@
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
+ ['createdAt' => '2025-06-04T12:13:27.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2025-05-27T03:40:19.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-26T08:56:43.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-26T08:56:35.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-26T07:57:09.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-26T07:57:02.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'ramActions' => [
[
- 'createdAt' => '2025-06-04T12:13:27.000Z',
- 'description' => '错误码发生变更',
- ],
- [
- 'createdAt' => '2025-05-27T03:40:19.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-26T08:56:43.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-26T08:56:35.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-26T07:57:09.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-26T07:57:02.000Z',
- 'description' => 'OpenAPI 下线',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'lindorm:CreateLindormInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'ramActions' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93BE8227-3406-4D7A-883D-9A421D42****\\",\\n \\"InstanceId\\": \\"ld-bp1o3y0yme2i2****\\",\\n \\"OrderId\\": 111111111111111,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateLindormInstanceResponse>\\n<RequestId>93BE8227-3406-4D7A-883D-9A421D42****</RequestId>\\n<InstanceId>ld-bp1o3y0yme2i2****</InstanceId>\\n<OrderId>111111111111111</OrderId>\\n</CreateLindormInstanceResponse>","errorExample":""}]',
],
'CreateLindormV2Instance' => [
'summary' => '创建Lindorm V2实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -966,43 +569,23 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '251726',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai-f',
- ],
+ 'schema' => ['description' => '实例的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的名称。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'lindorm-test',
- ],
+ 'schema' => ['description' => '实例的名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm-test'],
],
[
'name' => 'CloudStorageType',
@@ -1016,48 +599,26 @@
'required' => false,
'docRequired' => true,
'example' => 'PerformanceStorage',
- 'enum' => [
- 'StandardStorage',
- 'PerformanceStorage',
- 'CapacityStorage',
- ],
+ 'enum' => ['StandardStorage', 'PerformanceStorage', 'CapacityStorage'],
],
],
[
'name' => 'PayType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的付费类型,取值:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月(预付费)。'."\n"
- .'- **POSTPAY**:按量付费(后付费)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'PREPAY',
- ],
+ 'schema' => ['description' => '实例的付费类型,取值:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月(预付费)。'."\n"
+ .'- **POSTPAY**:按量付费(后付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PREPAY'],
],
[
'name' => 'VPCId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的专有网络ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vpc-wz9ydz3vg93s1ozsd****',
- ],
+ 'schema' => ['description' => '实例的专有网络ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-wz9ydz3vg93s1ozsd****'],
],
[
'name' => 'VSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '虚拟交换机的ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'vsw-bp1e7clcw529l773d****',
- ],
+ 'schema' => ['description' => '虚拟交换机的ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****'],
],
[
'name' => 'PricingCycle',
@@ -1072,153 +633,87 @@
'type' => 'string',
'required' => false,
'example' => 'Month',
- 'enum' => [
- 'Month',
- 'Year',
- ],
+ 'enum' => ['Month', 'Year'],
],
],
[
'name' => 'Duration',
'in' => 'query',
- 'schema' => [
- 'description' => '实例包年包月的时间,取值:'."\n"
- ."\n"
- .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
- .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
- ."\n"
- .'> PayType取值为**PREPAY**时,本参数可用且必须传入。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
+ ."\n"
+ .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
+ .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
+ ."\n"
+ .'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'CloudStorageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '云存储空间大小,单位GB',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '320',
- ],
+ 'schema' => ['description' => '云存储空间大小,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '320'],
],
[
'name' => 'ArchVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '部署架构,取值:'."\n"
- ."\n"
- .'- **1.0**:单可用区。'."\n"
- .'- **2.0**:多可用区基础版。'."\n"
- .'- **3.0**:多可用区高可用版。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.0',
- ],
+ 'schema' => ['description' => '部署架构,取值:'."\n"
+ ."\n"
+ .'- **1.0**:单可用区。'."\n"
+ .'- **2.0**:多可用区基础版。'."\n"
+ .'- **3.0**:多可用区高可用版。', 'type' => 'string', 'required' => false, 'example' => '2.0'],
],
[
'name' => 'PrimaryZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-e',
- ],
+ 'schema' => ['description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-e'],
],
[
'name' => 'StandbyZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-f',
- ],
+ 'schema' => ['description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'ArbiterZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai-g',
- ],
+ 'schema' => ['description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-g'],
],
[
'name' => 'PrimaryVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6fdqa7c0pipnqzq****',
- ],
+ 'schema' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
],
[
'name' => 'StandbyVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-2zec0kcn08cgdtr6****',
- ],
+ 'schema' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-2zec0kcn08cgdtr6****'],
],
[
'name' => 'ArbiterVSwitchId',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6664pqjawb87k36****',
- ],
+ 'schema' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6664pqjawb87k36****'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek2i6weeb4nfii',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2i6weeb4nfii'],
],
[
'name' => 'AutoRenewal',
'in' => 'query',
- 'schema' => [
- 'description' => '实例是否自动续费,枚举值:'."\n"
- .'- **true**:自动续费。'."\n"
- .'- **false**:不自动续费。'."\n"
- ."\n"
- .'默认值为false'."\n"
- ."\n"
- .'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '实例是否自动续费,枚举值:'."\n"
+ .'- **true**:自动续费。'."\n"
+ .'- **false**:不自动续费。'."\n"
+ ."\n"
+ .'默认值为false'."\n"
+ ."\n"
+ .'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'AutoRenewDuration',
'in' => 'query',
- 'schema' => [
- 'description' => '自动续费时长。单位:月。'."\n"
- ."\n"
- .'取值范围:**1**~**12**。'."\n"
- ."\n"
- .'> 仅**AutoRenewal**为**true**时,该项才生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '自动续费时长。单位:月。'."\n"
+ ."\n"
+ .'取值范围:**1**~**12**。'."\n"
+ ."\n"
+ .'> 仅**AutoRenewal**为**true**时,该项才生效。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'ClusterPattern',
@@ -1231,10 +726,7 @@
'required' => false,
'example' => 'basic',
'default' => 'basic',
- 'enum' => [
- 'basic',
- 'light',
- ],
+ 'enum' => ['basic', 'light'],
],
],
[
@@ -1248,31 +740,18 @@
'required' => false,
'example' => 'BASIC ',
'default' => 'BASIC',
- 'enum' => [
- 'BASIC',
- ],
+ 'enum' => ['BASIC'],
],
],
[
'name' => 'EnableCapacityStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开通容量型存储',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否开通容量型存储', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CapacityStorageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '容量型存储大小,单位GB',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10000',
- ],
+ 'schema' => ['description' => '容量型存储大小,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10000'],
],
[
'name' => 'EngineList',
@@ -1298,17 +777,7 @@
'type' => 'string',
'required' => true,
'example' => 'TABLE',
- 'enum' => [
- 'TABLE',
- 'TSDB',
- 'LTS',
- 'LSEARCH',
- 'LSTREAM',
- 'LVECTOR',
- 'LMESSAGE',
- 'LAI',
- 'LCOLUMN',
- ],
+ 'enum' => ['TABLE', 'TSDB', 'LTS', 'LSEARCH', 'LSTREAM', 'LVECTOR', 'LMESSAGE', 'LAI', 'LCOLUMN'],
],
'NodeGroupList' => [
'description' => '引擎节点列表',
@@ -1317,84 +786,59 @@
'description' => '引擎节点列表',
'type' => 'object',
'properties' => [
- 'NodeSpec' => [
- 'description' => '节点规格'."\n"
- ."\n"
- .'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
- ."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB。'."\n"
- .'- **lindorm.r.2xlarge**:表示8核64GB。'."\n"
- .'- **lindorm.r.4xlarge**:表示16核128GB。'."\n"
- .'- **lindorm.r.8xlarge**:表示32核256GB。'."\n"
- ."\n\n"
- .'选择本地SSD类型时,本参数取值为:'."\n"
- ."\n"
- .'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
- .'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
- .'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
- .'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
- .'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
- .'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
- .'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
- .'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
- .'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
- .'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
- .'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
- .'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
- ."\n"
- .'选择大数据型时,本参数取值为:'."\n"
- ."\n"
- .'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
- .'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
- .'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
- .'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
- .'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
- .'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
- .'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
- .'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
- .'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
- .'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
- .'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lindorm.g.2xlarge',
- ],
- 'NodeCount' => [
- 'description' => '集群节点数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '7',
- ],
+ 'NodeSpec' => ['description' => '节点规格'."\n"
+ ."\n"
+ .'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
+ ."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB。'."\n"
+ .'- **lindorm.r.2xlarge**:表示8核64GB。'."\n"
+ .'- **lindorm.r.4xlarge**:表示16核128GB。'."\n"
+ .'- **lindorm.r.8xlarge**:表示32核256GB。'."\n"
+ ."\n\n"
+ .'选择本地SSD类型时,本参数取值为:'."\n"
+ ."\n"
+ .'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
+ .'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
+ .'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
+ .'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
+ .'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
+ .'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
+ .'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
+ .'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
+ .'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
+ .'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
+ .'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
+ .'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
+ ."\n"
+ .'选择大数据型时,本参数取值为:'."\n"
+ ."\n"
+ .'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
+ .'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
+ .'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
+ .'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
+ .'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
+ .'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
+ .'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
+ .'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
+ .'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
+ .'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
+ .'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。', 'type' => 'string', 'required' => true, 'example' => 'lindorm.g.2xlarge'],
+ 'NodeCount' => ['description' => '集群节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'],
'NodeDiskType' => [
'description' => '节点云盘类型,非必填,**特殊场景下使用,白名单开放**',
'type' => 'string',
'required' => false,
'example' => 'cloud_essd',
'default' => 'cloud_essd',
- 'enum' => [
- 'cloud_essd',
- 'cloud_efficiency',
- ],
- ],
- 'NodeDiskSize' => [
- 'description' => '单节点磁盘大小,默认单位为GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
- 'ResourceGroupName' => [
- 'description' => '节点组名称,**必填**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'group_name_01',
+ 'enum' => ['cloud_essd', 'cloud_efficiency'],
],
+ 'NodeDiskSize' => ['description' => '单节点磁盘大小,默认单位为GB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
+ 'ResourceGroupName' => ['description' => '节点组名称,**必填**', 'type' => 'string', 'required' => false, 'example' => 'group_name_01'],
],
'required' => false,
],
@@ -1415,27 +859,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1mq0tdzbx1m****',
- ],
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '211110656240000',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1mq0tdzbx1m****'],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '211110656240000'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
@@ -1443,41 +870,16 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'asynchronous',
- 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance',
- 'callbackInterval' => 300000,
- 'maxCallbackTimes' => 12,
- ],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance', 'callbackInterval' => 300000, 'maxCallbackTimes' => 12],
'title' => '创建Lindorm V2实例',
'description' => '创建实例时至少需选择一种数据引擎。'."\n"
.'关于数据引擎和存储规格请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。'."\n"
@@ -1492,12 +894,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1505,14 +902,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1mq0tdzbx1m****\\",\\n \\"OrderId\\": 211110656240000,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'DescribeRegions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1523,23 +914,16 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '64039',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果中地域名称(LocalName)的显示语言,取值:'."\n"
- ."\n"
- .'- **zh-CN**:中文,默认值。'."\n"
- .'- **en-US**:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '返回结果中地域名称(LocalName)的显示语言,取值:'."\n"
+ ."\n"
+ .'- **zh-CN**:中文,默认值。'."\n"
+ .'- **en-US**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
],
'responses' => [
@@ -1547,46 +931,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '73F6E6DA-9AE5-5548-9E07-761A554DAF2E',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '73F6E6DA-9AE5-5548-9E07-761A554DAF2E'],
'Regions' => [
'description' => '地域列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'RegionEndpoint' => [
- 'description' => '地域对应的接入地址(Endpoint)。',
- 'type' => 'string',
- 'example' => 'hitsdb.cn-hangzhou.aliyuncs.com',
- ],
- 'LocalName' => [
- 'description' => '地域名称。',
- 'type' => 'string',
- 'example' => 'China (Hangzhou)',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'RegionEndpoint' => ['description' => '地域对应的接入地址(Endpoint)。', 'type' => 'string', 'example' => 'hitsdb.cn-hangzhou.aliyuncs.com'],
+ 'LocalName' => ['description' => '地域名称。', 'type' => 'string', 'example' => 'China (Hangzhou)'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => '400',
- 'errorMessage' => 'Parameter is not valid',
- 'description' => '',
- ],
+ ['errorCode' => '400', 'errorMessage' => 'Parameter is not valid', 'description' => ''],
],
],
'title' => '获取Lindorm产品支持的所有地域',
@@ -1596,14 +962,8 @@
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"73F6E6DA-9AE5-5548-9E07-761A554DAF2E\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"hitsdb.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"China (Hangzhou)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n<RequestId>73F6E6DA-9AE5-5548-9E07-761A554DAF2E</RequestId>\\n<Regions>\\n <Region>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东1(杭州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东2(上海)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-qingdao</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北1(青岛)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北2(北京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北3(张家口)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北5(呼和浩特)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南1(深圳)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-guangzhou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南3(广州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>中国(香港)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>新加坡</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>澳大利亚(悉尼)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>马来西亚(吉隆坡)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度尼西亚(雅加达)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>日本(东京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>德国(法兰克福)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>英国(伦敦)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-west-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(硅谷)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(弗吉尼亚)</LocalName>\\n </Region>\\n</Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
],
'GetInstanceIpWhiteList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1614,21 +974,13 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '76391',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb3JDHWG',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426068~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1z3506imz2g****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426068~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2g****'],
],
],
'responses' => [
@@ -1636,24 +988,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1z3506imz2f****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1D1F6F4D-9203-53E7-84E9-5376B4657E63',
- ],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1D1F6F4D-9203-53E7-84E9-5376B4657E63'],
'IpList' => [
'description' => '白名单IP地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '白名单IP地址。',
- 'type' => 'string',
- 'example' => '192.168.0.0/24',
- ],
+ 'items' => ['description' => '白名单IP地址。', 'type' => 'string', 'example' => '192.168.0.0/24'],
],
'GroupList' => [
'description' => '白名单分组列表。',
@@ -1661,62 +1001,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '白名单分组名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'SecurityIpList' => [
- 'description' => '白名单IP列表。',
- 'type' => 'string',
- 'example' => '192.168.1.0/24',
- ],
+ 'GroupName' => ['description' => '白名单分组名称。', 'type' => 'string', 'example' => 'test'],
+ 'SecurityIpList' => ['description' => '白名单IP列表。', 'type' => 'string', 'example' => '192.168.1.0/24'],
],
+ 'description' => '',
],
],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例的访问白名单',
@@ -1725,18 +1031,24 @@
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:GetInstanceIpWhiteList',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"RequestId\\": \\"1D1F6F4D-9203-53E7-84E9-5376B4657E63\\",\\n \\"IpList\\": [\\n \\"192.168.0.0/24\\"\\n ],\\n \\"GroupList\\": [\\n {\\n \\"GroupName\\": \\"test\\",\\n \\"SecurityIpList\\": \\"192.168.1.0/24\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<GetInstanceIpWhiteListResponse>\\n<RequestId>1D1F6F4D-9203-53E7-84E9-5376B4657E63</RequestId>\\n<InstanceId>ld-bp1z3506imz2f****</InstanceId>\\n<IpList>10.20.XX.XX</IpList>\\n<IpList>10.61.XX.XX</IpList>\\n<IpList>117.36.XX.XX</IpList>\\n<IpList>10.61.XX.XX/24</IpList>\\n<IpList>203.119.XX.XX</IpList>\\n<IpList>106.11.XX.XX</IpList>\\n<IpList>42.120.XX.XX</IpList>\\n<IpList>120.55.XX.XX</IpList>\\n<IpList>42.120.XX.XX</IpList>\\n<IpList>101.37.XX.XX</IpList>\\n<IpList>127.0.XX.XX</IpList>\\n</GetInstanceIpWhiteListResponse>","errorExample":""}]',
],
'GetInstanceSummary' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1747,21 +1059,13 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '76394',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1769,29 +1073,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'LockingCount' => [
- 'description' => '即将到期实例数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'Total' => [
- 'description' => '运行中及即将到期实例总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RunningCount' => [
- 'description' => '运行中的实例数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'LockingCount' => ['description' => '即将到期实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'Total' => ['description' => '运行中及即将到期实例总数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RunningCount' => ['description' => '运行中的实例数', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'RegionalSummary' => [
'description' => '地域信息的集合',
'type' => 'array',
@@ -1799,29 +1084,10 @@
'description' => '地域信息的集合',
'type' => 'object',
'properties' => [
- 'LockingCount' => [
- 'description' => '`{RegionId}`即将到期实例数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Total' => [
- 'description' => '`{RegionId}`运行中及即将到期实例总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RegionId' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'RunningCount' => [
- 'description' => '`{RegionId}`运行中的实例数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'LockingCount' => ['description' => '`{RegionId}`即将到期实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Total' => ['description' => '`{RegionId}`运行中及即将到期实例总数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RegionId' => ['description' => '地域id', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'RunningCount' => ['description' => '`{RegionId}`运行中的实例数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
@@ -1832,35 +1098,33 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
],
],
'title' => '获取账户实例概览',
'summary' => '获取当前账号的Lindorm实例数量概览信息',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:GetInstanceSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LockingCount\\": 1,\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"Total\\": 10,\\n \\"RunningCount\\": 9,\\n \\"RegionalSummary\\": [\\n {\\n \\"LockingCount\\": 1,\\n \\"Total\\": 6,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RunningCount\\": 5\\n }\\n ]\\n}","type":"json"}]',
],
'GetLindormFsUsedDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1871,31 +1135,18 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '121530',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbDXDFAS',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-xxxx',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-xxxx'],
],
],
'responses' => [
@@ -1903,96 +1154,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '4F23D50C-400C-592C-9486-9D1E10179065',
- ],
- 'Valid' => [
- 'description' => '返回值是否合法,true表示合法,false表示返回异常,需要提供requestid来排查。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'FsCapacity' => [
- 'description' => '集群存储空间总量,单位:bytes。',
- 'type' => 'string',
- 'example' => '85899345920',
- ],
- 'FsCapacityHot' => [
- 'description' => '集群热存空间,单位:bytes。',
- 'type' => 'string',
- 'example' => '85899345920',
- ],
- 'FsCapacityCold' => [
- 'description' => '集群冷存空间,单位:bytes。',
- 'type' => 'string',
- 'example' => '85899345920',
- ],
- 'FsUsedHot' => [
- 'description' => '集群热存空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedCold' => [
- 'description' => '集群冷存空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedOnLindormTable' => [
- 'description' => '集群宽表引擎空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedOnLindormTableData' => [
- 'description' => '集群宽表引擎表数据的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedOnLindormTableWAL' => [
- 'description' => '集群宽表引擎日志数据的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedOnLindormSearch' => [
- 'description' => '集群搜索引擎空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedOnLindormTSDB' => [
- 'description' => '集群时序引擎空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedHotOnLindormTable' => [
- 'description' => '集群宽表引擎表数据热存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedColdOnLindormTable' => [
- 'description' => '集群宽表引擎表数据冷存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedHotOnLindormSearch' => [
- 'description' => '集群搜索引擎表数据热存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedColdOnLindormSearch' => [
- 'description' => '集群搜索引擎表数据冷存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedHotOnLindormTSDB' => [
- 'description' => '集群时序引擎表数据热存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'FsUsedColdOnLindormTSDB' => [
- 'description' => '集群时序引擎表数据冷存的空间使用量,单位:bytes。',
- 'type' => 'string',
- 'example' => '33269',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '4F23D50C-400C-592C-9486-9D1E10179065'],
+ 'Valid' => ['description' => '返回值是否合法,true表示合法,false表示返回异常,需要提供requestid来排查。', 'type' => 'string', 'example' => 'true'],
+ 'FsCapacity' => ['description' => '集群存储空间总量,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
+ 'FsCapacityHot' => ['description' => '集群热存空间,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
+ 'FsCapacityCold' => ['description' => '集群冷存空间,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
+ 'FsUsedHot' => ['description' => '集群热存空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedCold' => ['description' => '集群冷存空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedOnLindormTable' => ['description' => '集群宽表引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedOnLindormTableData' => ['description' => '集群宽表引擎表数据的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedOnLindormTableWAL' => ['description' => '集群宽表引擎日志数据的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedOnLindormSearch' => ['description' => '集群搜索引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedOnLindormTSDB' => ['description' => '集群时序引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedHotOnLindormTable' => ['description' => '集群宽表引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedColdOnLindormTable' => ['description' => '集群宽表引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedHotOnLindormSearch' => ['description' => '集群搜索引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedColdOnLindormSearch' => ['description' => '集群搜索引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedHotOnLindormTSDB' => ['description' => '集群时序引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
+ 'FsUsedColdOnLindormTSDB' => ['description' => '集群时序引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'LStorageUsageList' => [
'description' => '底层存储引擎版本>=4.1.9 以后,存储详情展示以这个字段为准,按照存储介质进行分类。',
'type' => 'array',
@@ -2000,116 +1179,65 @@
'description' => '某种存储介质类型的存储详情。',
'type' => 'object',
'properties' => [
- 'DiskType' => [
- 'description' => '集群存储类型。可能值:'."\n"
- .'- StandardCloudStorage:标准型云存储。'."\n"
- .'- PerformanceCloudStorage:性能型云存储。'."\n"
- .'- CapacityCloudStorage:容量型云存储。'."\n"
- .'- LocalSsdStorage:本地SSD盘。'."\n"
- .'- LocalHddStorage:本地HDD盘。'."\n"
- .'- LocalEbsStorage:本地云存储。',
- 'type' => 'string',
- 'example' => 'StandardCloudStorage',
- ],
- 'Capacity' => [
- 'description' => '该存储介质类型下,存储总容量,单位:byte。',
- 'type' => 'string',
- 'example' => '85899345920',
- ],
- 'Used' => [
- 'description' => '该存储介质类型下,存储使用量,单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedLindormTable' => [
- 'description' => '该存储介质类型下,宽表引擎存储使用量,单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedLindormTsdb' => [
- 'description' => '该存储介质类型下,时序引擎存储使用量,单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedLindormSearch' => [
- 'description' => '该存储介质类型下,搜索引擎存储使用量,单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedLindormSpark' => [
- 'description' => '该存储介质类型下,计算引擎存储使用量,单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedOther' => [
- 'description' => '该存储介质类型下,其他存储使用量(例如log,回收站等存储占用),单位:byte。',
- 'type' => 'string',
- 'example' => '33269',
- ],
- 'UsedLindormMessage3' => [
- 'type' => 'string',
- ],
- 'UsedLindormColumn3' => [
- 'type' => 'string',
- ],
- 'UsedLindormVector3' => [
- 'type' => 'string',
- ],
+ 'DiskType' => ['description' => '集群存储类型。可能值:'."\n"
+ .'- StandardCloudStorage:标准型云存储。'."\n"
+ .'- PerformanceCloudStorage:性能型云存储。'."\n"
+ .'- CapacityCloudStorage:容量型云存储。'."\n"
+ .'- LocalSsdStorage:本地SSD盘。'."\n"
+ .'- LocalHddStorage:本地HDD盘。'."\n"
+ .'- LocalEbsStorage:本地云存储。', 'type' => 'string', 'example' => 'StandardCloudStorage'],
+ 'Capacity' => ['description' => '该存储介质类型下,存储总容量,单位:byte。', 'type' => 'string', 'example' => '85899345920'],
+ 'Used' => ['description' => '该存储介质类型下,存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedLindormTable' => ['description' => '该存储介质类型下,宽表引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedLindormTsdb' => ['description' => '该存储介质类型下,时序引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedLindormSearch' => ['description' => '该存储介质类型下,搜索引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedLindormSpark' => ['description' => '该存储介质类型下,计算引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedOther' => ['description' => '该存储介质类型下,其他存储使用量(例如log,回收站等存储占用),单位:byte。', 'type' => 'string', 'example' => '33269'],
+ 'UsedLindormMessage3' => ['type' => 'string'],
+ 'UsedLindormColumn3' => ['type' => 'string'],
+ 'UsedLindormVector3' => ['type' => 'string'],
],
],
],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{}',
- ],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
],
],
'title' => '获取Lindorm实例存储详情',
'summary' => '获取某个具体的Lindorm实例下各个存储介质的存储详情。',
'description' => 'Lindorm 集群的底层存储版本>= 4.1.9 以后,存储使用详情参考 LStorageUsageList 放回的列表值。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:GetLindormFsUsedDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4F23D50C-400C-592C-9486-9D1E10179065\\",\\n \\"Valid\\": \\"true\\",\\n \\"FsCapacity\\": \\"85899345920\\",\\n \\"FsCapacityHot\\": \\"85899345920\\",\\n \\"FsCapacityCold\\": \\"85899345920\\",\\n \\"FsUsedHot\\": \\"33269\\",\\n \\"FsUsedCold\\": \\"33269\\",\\n \\"FsUsedOnLindormTable\\": \\"33269\\",\\n \\"FsUsedOnLindormTableData\\": \\"33269\\",\\n \\"FsUsedOnLindormTableWAL\\": \\"33269\\",\\n \\"FsUsedOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedOnLindormTSDB\\": \\"33269\\",\\n \\"FsUsedHotOnLindormTable\\": \\"33269\\",\\n \\"FsUsedColdOnLindormTable\\": \\"33269\\",\\n \\"FsUsedHotOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedColdOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedHotOnLindormTSDB\\": \\"33269\\",\\n \\"FsUsedColdOnLindormTSDB\\": \\"33269\\",\\n \\"LStorageUsageList\\": [\\n {\\n \\"DiskType\\": \\"StandardCloudStorage\\",\\n \\"Capacity\\": \\"85899345920\\",\\n \\"Used\\": \\"33269\\",\\n \\"UsedLindormTable\\": \\"33269\\",\\n \\"UsedLindormTsdb\\": \\"33269\\",\\n \\"UsedLindormSearch\\": \\"33269\\",\\n \\"UsedLindormSpark\\": \\"33269\\",\\n \\"UsedOther\\": \\"33269\\",\\n \\"UsedLindormMessage3\\": \\"\\",\\n \\"UsedLindormColumn3\\": \\"\\",\\n \\"UsedLindormVector3\\": \\"\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{}\\"\\n}","type":"json"}]',
],
'GetLindormInstance' => [
'summary' => '获取Lindorm实例的详细信息,包括实例类型、付费类型、所属专有网络等。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2122,22 +1250,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '64062',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbDXDFAS',
- 'FEATUREhitsdb6YHIIK',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS', 'FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
],
'responses' => [
@@ -2145,210 +1264,96 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'VpcId' => [
- 'description' => '实例所属的专有网络(VPC)的ID。',
- 'type' => 'string',
- 'example' => 'vpc-bp1n3i15v90el48nx****',
- ],
- 'VswitchId' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-bp1vbjzmod9q3l9eo****',
- ],
- 'CreateTime' => [
- 'description' => '实例创建时间,格式:**yyyy-MM-dd HH:mm:ss**。',
- 'type' => 'string',
- 'example' => '2021-07-26 17:10:26',
- ],
- 'PayType' => [
- 'description' => '实例的付费类型,返回:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月。'."\n"
- .'- **POSTPAY**:按量付费。',
- 'type' => 'string',
- 'example' => 'POSTPAY',
- ],
- 'NetworkType' => [
- 'description' => '实例的网络类型。',
- 'type' => 'string',
- 'example' => 'vpc',
- ],
- 'ServiceType' => [
- 'description' => '实例类型,取值:'."\n"
- ."\n"
- .'- **lindorm**:表示Lindorm单可用区实例。'."\n"
- .'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
- .'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
- .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
- .'- **lts**:表示Lindorm数据通道服务类型。',
- 'type' => 'string',
- 'example' => 'lindorm',
- ],
- 'EnableKms' => [
- 'description' => '是否开启密钥管理服务KMS,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EnableStoreTDE' => [
- 'description' => '是否开启存储加密服务,返回:'."\n"
- ."\n"
- .'- true:开启。'."\n"
- ."\n"
- .'- false:关闭。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DiskUsage' => [
- 'description' => '磁盘空间使用率。',
- 'type' => 'string',
- 'example' => '0.0%',
- ],
- 'DiskCategory' => [
- 'description' => '存储类型,返回:'."\n"
- ."\n"
- .'- **cloud_efficiency**:标准型云存储。'."\n"
- .'- **cloud_ssd**:性能型云存储。'."\n"
- .'- **cloud_essd**:性能增强型云存储。'."\n"
- .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
- .'- **capacity\\_cloud\\_storage**:容量型云存储。'."\n"
- .'- **local\\_ssd\\_pro**:本地SSD盘。'."\n"
- .'- **local\\_hdd\\_pro**:本地HDD盘。',
- 'type' => 'string',
- 'example' => 'cloud_efficiency',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '633F1BE4-C8DA-5744-8FDF-A3075C3FE37F',
- ],
- 'ColdStorage' => [
- 'description' => '容量型云存储容量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0GB',
- ],
- 'ArchiveStorage' => [
- 'description' => '归档存储类型的计费存储量,单位GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0GB',
- ],
- 'ExpiredMilliseconds' => [
- 'description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629993600000',
- ],
- 'EngineType' => [
- 'description' => '支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
- ."\n"
- .'- 1: 搜索引擎'."\n"
- .'- 2: 时序引擎'."\n"
- .'- 4: 宽表引擎'."\n"
- .'- 8: 文件引擎'."\n"
- ."\n"
- .'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'ExpireTime' => [
- 'description' => '实例的到期时间,格式:**yyyy-MM-dd HH:mm:ss**。'."\n"
- ."\n"
- .'> 付费类型为包年包月,才会返回本参数。',
- 'type' => 'string',
- 'example' => '2021-08-27 00:00:00',
- ],
- 'AutoRenew' => [
- 'description' => '是否开通自动续费,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。'."\n"
- ."\n"
- .'> 实例的付费类型为包年包月会返回此参数。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DeletionProtection' => [
- 'description' => '是否开启删除保护,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'InstanceStorage' => [
- 'description' => '实例的存储容量。',
- 'type' => 'string',
- 'example' => '480',
- ],
- 'AliUid' => [
- 'description' => '阿里云账号(主账号)的16位AliUid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '164901546557****',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CreateMilliseconds' => [
- 'description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1627290664000',
- ],
- 'InstanceAlias' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test0726',
- ],
- 'DiskThreshold' => [
- 'description' => '磁盘空间的阈值。',
- 'type' => 'string',
- 'example' => '80%',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'InstanceStatus' => [
- 'description' => '实例状态,返回:'."\n"
- ."\n"
- .'- **CREATING**:创建中。'."\n"
- .'- **ACTIVATIO**N:运行中。'."\n"
- .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
- .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
- .'- **RESIZING**:节点扩容中。'."\n"
- .'- **SHRINKING**:节点缩容中。'."\n"
- .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
- .'- **SSL_SWITCHING**:SSL变更中。'."\n"
- .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
- .'- **TRANSFER**:数据迁移中。'."\n"
- .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
- .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
- .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
- .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
- .'- **NET_MODIFYING**:网络变更中。'."\n"
- .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
- .'- **NET_CREATING**:创建网络链接中。'."\n"
- .'- **NET_DELETING**:删除网络链接中。'."\n"
- .'- **DELETING**:删除中。'."\n"
- .'- **RESTARTING**:重启中。'."\n"
- .'- **LOCKED**:实例已过期,锁定中。',
- 'type' => 'string',
- 'example' => 'ACTIVATION',
- ],
+ 'VpcId' => ['description' => '实例所属的专有网络(VPC)的ID。', 'type' => 'string', 'example' => 'vpc-bp1n3i15v90el48nx****'],
+ 'VswitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1vbjzmod9q3l9eo****'],
+ 'CreateTime' => ['description' => '实例创建时间,格式:**yyyy-MM-dd HH:mm:ss**。', 'type' => 'string', 'example' => '2021-07-26 17:10:26'],
+ 'PayType' => ['description' => '实例的付费类型,返回:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月。'."\n"
+ .'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'POSTPAY'],
+ 'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'vpc'],
+ 'ServiceType' => ['description' => '实例类型,取值:'."\n"
+ ."\n"
+ .'- **lindorm**:表示Lindorm单可用区实例。'."\n"
+ .'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
+ .'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
+ .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
+ .'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'example' => 'lindorm'],
+ 'EnableKms' => ['description' => '是否开启密钥管理服务KMS,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。', 'type' => 'boolean', 'example' => 'false'],
+ 'EnableStoreTDE' => ['description' => '是否开启存储加密服务,返回:'."\n"
+ ."\n"
+ .'- true:开启。'."\n"
+ ."\n"
+ .'- false:关闭。', 'type' => 'boolean', 'example' => 'false'],
+ 'DiskUsage' => ['description' => '磁盘空间使用率。', 'type' => 'string', 'example' => '0.0%'],
+ 'DiskCategory' => ['description' => '存储类型,返回:'."\n"
+ ."\n"
+ .'- **cloud_efficiency**:标准型云存储。'."\n"
+ .'- **cloud_ssd**:性能型云存储。'."\n"
+ .'- **cloud_essd**:性能增强型云存储。'."\n"
+ .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
+ .'- **capacity\\_cloud\\_storage**:容量型云存储。'."\n"
+ .'- **local\\_ssd\\_pro**:本地SSD盘。'."\n"
+ .'- **local\\_hdd\\_pro**:本地HDD盘。', 'type' => 'string', 'example' => 'cloud_efficiency'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '633F1BE4-C8DA-5744-8FDF-A3075C3FE37F'],
+ 'ColdStorage' => ['description' => '容量型云存储容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0GB'],
+ 'ArchiveStorage' => ['description' => '归档存储类型的计费存储量,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '0GB'],
+ 'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629993600000'],
+ 'EngineType' => ['description' => '支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
+ ."\n"
+ .'- 1: 搜索引擎'."\n"
+ .'- 2: 时序引擎'."\n"
+ .'- 4: 宽表引擎'."\n"
+ .'- 8: 文件引擎'."\n"
+ ."\n"
+ .'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'ExpireTime' => ['description' => '实例的到期时间,格式:**yyyy-MM-dd HH:mm:ss**。'."\n"
+ ."\n"
+ .'> 付费类型为包年包月,才会返回本参数。', 'type' => 'string', 'example' => '2021-08-27 00:00:00'],
+ 'AutoRenew' => ['description' => '是否开通自动续费,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。'."\n"
+ ."\n"
+ .'> 实例的付费类型为包年包月会返回此参数。', 'type' => 'boolean', 'example' => 'false'],
+ 'DeletionProtection' => ['description' => '是否开启删除保护,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。', 'type' => 'string', 'example' => 'false'],
+ 'InstanceStorage' => ['description' => '实例的存储容量。', 'type' => 'string', 'example' => '480'],
+ 'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1o3y0yme2i2****'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627290664000'],
+ 'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test0726'],
+ 'DiskThreshold' => ['description' => '磁盘空间的阈值。', 'type' => 'string', 'example' => '80%'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'InstanceStatus' => ['description' => '实例状态,返回:'."\n"
+ ."\n"
+ .'- **CREATING**:创建中。'."\n"
+ .'- **ACTIVATIO**N:运行中。'."\n"
+ .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
+ .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
+ .'- **RESIZING**:节点扩容中。'."\n"
+ .'- **SHRINKING**:节点缩容中。'."\n"
+ .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
+ .'- **SSL_SWITCHING**:SSL变更中。'."\n"
+ .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
+ .'- **TRANSFER**:数据迁移中。'."\n"
+ .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
+ .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
+ .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
+ .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
+ .'- **NET_MODIFYING**:网络变更中。'."\n"
+ .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
+ .'- **NET_CREATING**:创建网络链接中。'."\n"
+ .'- **NET_DELETING**:删除网络链接中。'."\n"
+ .'- **DELETING**:删除中。'."\n"
+ .'- **RESTARTING**:重启中。'."\n"
+ .'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
'EngineList' => [
'description' => '引擎信息列表。',
'type' => 'array',
@@ -2356,276 +1361,113 @@
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => '引擎类型的版本号。',
- 'type' => 'string',
- 'example' => '2.2.3',
- ],
- 'CpuCount' => [
- 'description' => '引擎节点CPU数量。',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'CoreCount' => [
- 'description' => '引擎节点数量。',
- 'type' => 'string',
- 'example' => '2',
- ],
- 'Engine' => [
- 'description' => '引擎类型,返回:'."\n"
- ."\n"
- .'- **lindorm**:宽表引擎。'."\n"
- .'- **tsdb**:时序引擎。'."\n"
- .'- **solr**:搜索引擎。'."\n"
- .'- **store**:文件引擎。'."\n"
- .'- **bds**:LTS引擎。'."\n"
- .'- **compute**:计算引擎。',
- 'type' => 'string',
- 'example' => 'lindorm',
- ],
- 'Specification' => [
- 'description' => '引擎节点规格',
- 'type' => 'string',
- 'example' => 'lindorm.g.2xlarge',
- ],
- 'MemorySize' => [
- 'description' => '引擎类型的节点内存大小。',
- 'type' => 'string',
- 'example' => '8GB',
- ],
- 'IsLastVersion' => [
- 'description' => '引擎类型是否最新版本,返回:'."\n"
- .'- **true**:最新版本。'."\n"
- .'- **false**:不是最新版本。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'LatestVersion' => [
- 'description' => '引擎类型对应的最新的版本号。',
- 'type' => 'string',
- 'example' => '2.2.19.2',
- ],
- 'PrimaryCoreCount' => [
- 'type' => 'string',
- 'description' => '',
- ],
- 'StandbyCoreCount' => [
- 'type' => 'string',
- 'description' => '',
- ],
- 'ArbiterCoreCount' => [
- 'type' => 'string',
- 'description' => '',
- ],
+ 'Version' => ['description' => '引擎类型的版本号。', 'type' => 'string', 'example' => '2.2.3'],
+ 'CpuCount' => ['description' => '引擎节点CPU数量。', 'type' => 'string', 'example' => '4'],
+ 'CoreCount' => ['description' => '引擎节点数量。', 'type' => 'string', 'example' => '2'],
+ 'Engine' => ['description' => '引擎类型,返回:'."\n"
+ ."\n"
+ .'- **lindorm**:宽表引擎。'."\n"
+ .'- **tsdb**:时序引擎。'."\n"
+ .'- **solr**:搜索引擎。'."\n"
+ .'- **store**:文件引擎。'."\n"
+ .'- **bds**:LTS引擎。'."\n"
+ .'- **compute**:计算引擎。', 'type' => 'string', 'example' => 'lindorm'],
+ 'Specification' => ['description' => '引擎节点规格', 'type' => 'string', 'example' => 'lindorm.g.2xlarge'],
+ 'MemorySize' => ['description' => '引擎类型的节点内存大小。', 'type' => 'string', 'example' => '8GB'],
+ 'IsLastVersion' => ['description' => '引擎类型是否最新版本,返回:'."\n"
+ .'- **true**:最新版本。'."\n"
+ .'- **false**:不是最新版本。', 'type' => 'boolean', 'example' => 'false'],
+ 'LatestVersion' => ['description' => '引擎类型对应的最新的版本号。', 'type' => 'string', 'example' => '2.2.19.2'],
+ 'PrimaryCoreCount' => ['description' => '主可用区节点数', 'type' => 'string', 'example' => '2'],
+ 'StandbyCoreCount' => ['description' => '备可用区节点数', 'type' => 'string', 'example' => '2'],
+ 'ArbiterCoreCount' => ['description' => '协调可用区节点数', 'type' => 'string', 'example' => '2'],
],
],
],
- 'EnableCompute' => [
- 'description' => '是否开通实例的计算引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableSSL' => [
- 'description' => '是否开启SSL链路加密功能,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EnableMLCtrl' => [
- 'description' => '是否开通AI控制节点'."\n"
- ."\n"
- .'- True: 表示开通'."\n"
- ."\n"
- .'- False: 表示未开通',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'EnableCdc' => [
- 'description' => '是否开通实例的数据订阅功能,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EnableStream' => [
- 'description' => '实例是否开通流引擎,返回值:'."\n"
- ."\n"
- .'- **true**:开通流引擎。'."\n"
- .'- **false**:未开通流引擎。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableLTS' => [
- 'description' => '实例是否开通LTS引擎,返回值:'."\n"
- ."\n"
- .'- **true**:开通LTS引擎。'."\n"
- .'- **false**:未开通LTS引擎。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableShs' => [
- 'description' => '是否开通计算引擎History Server。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableBlob' => [
- 'description' => '实例是否开通LBlob,返回值:'."\n"
- ."\n"
- .'true:开通LBlob。'."\n"
- .'false:未开通LBlob。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'MaintainStartTime' => [
- 'description' => '可维护开始时间。',
- 'type' => 'string',
- 'example' => '00:00Z',
- ],
- 'MaintainEndTime' => [
- 'description' => '可维护结束时间。',
- 'type' => 'string',
- 'example' => '20:00Z',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-aek2wvd6oia****',
- ],
- 'PrimaryZoneId' => [
- 'description' => '多可用区实例,主可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-e',
- ],
- 'StandbyZoneId' => [
- 'description' => '多可用区实例,备可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-f',
- ],
- 'ArbiterZoneId' => [
- 'description' => '多可用区实例,协调可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-g',
- ],
- 'PrimaryVSwitchId' => [
- 'description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-uf6fdqa7c0pipnqzq****',
- ],
- 'StandbyVSwitchId' => [
- 'description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-2zec0kcn08cgdtr6****',
- ],
- 'ArbiterVSwitchId' => [
- 'description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-uf6664pqjawb87k36****',
- ],
- 'MultiZoneCombination' => [
- 'description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
- ."\n"
- .'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
- .'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
- .'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
- .'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
- .'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
- .'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
- .'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
- .'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
- .'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
- .'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
- .'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-efg-aliyun',
- ],
- 'CoreDiskCategory' => [
- 'description' => '多可用区实例,core节点磁盘类型,返回:'."\n"
- ."\n"
- .'- **cloud_efficiency**:标准型云存储。'."\n"
- .'- **cloud_ssd**:性能型云存储。'."\n"
- .'- **cloud_essd**:性能增强型云存储。'."\n"
- .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。',
- 'type' => 'string',
- 'example' => 'cloud_efficiency',
- ],
- 'CoreSpec' => [
- 'description' => '多可用区实例,core节点规格。',
- 'type' => 'string',
- 'example' => 'lindorm.g.xlarge',
- ],
- 'CoreNum' => [
- 'description' => '多可用区实例,core节点数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'CoreSingleStorage' => [
- 'description' => '多可用区实例,core单节点磁盘容量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '400',
- ],
- 'LogDiskCategory' => [
- 'description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
- ."\n"
- .'- **cloud_efficiency**:标准云存储。'."\n"
- .'- **cloud_ssd**:性能云存储。',
- 'type' => 'string',
- 'example' => 'cloud_ssd',
- ],
- 'LogSpec' => [
- 'description' => '多可用区实例,log节点规格。',
- 'type' => 'string',
- 'example' => 'lindorm.sn1.large',
- ],
- 'LogNum' => [
- 'description' => '多可用区实例,log节点数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'LogSingleStorage' => [
- 'description' => '多可用区实例,log单节点磁盘容量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '400GB',
- ],
- 'BackupInstance' => [
- 'type' => 'string',
- ],
- 'EnableLsqlVersionV3' => [
- 'description' => '宽表引擎是否支持LindormSQL-V3能力,其兼容MySQL协议,'."\n"
- .'2023-10-24号之后新购的实例默认支持;存量实例需要联系值班同学评估后再打开。'."\n"
- ."\n"
- .'- True 表示支持'."\n"
- ."\n"
- .'- False 表示不支持',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'EnableLProxy' => [
- 'description' => '宽表引擎是否支持Thrift、CQL协议。如不支持的话,可以通过SwitchLProxyService接口进行开通与关闭。'."\n"
- ."\n"
- .'True 表示支持'."\n"
- ."\n"
- .'False 表示不支持',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'ArchVersion' => [
- 'description' => '部署架构,取值:'."\n"
- ."\n"
- .'- **1.0**:单可用区。'."\n"
- .'- **2.0**:多可用区。',
- 'type' => 'string',
- 'example' => '1.0',
- ],
+ 'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableSSL' => ['description' => '是否开启SSL链路加密功能,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。', 'type' => 'boolean', 'example' => 'false'],
+ 'EnableMLCtrl' => ['description' => '是否开通AI控制节点'."\n"
+ ."\n"
+ .'- True: 表示开通'."\n"
+ ."\n"
+ .'- False: 表示未开通', 'type' => 'boolean', 'example' => 'False'],
+ 'EnableCdc' => ['description' => '是否开通实例的数据订阅功能,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'false'],
+ 'EnableStream' => ['description' => '实例是否开通流引擎,返回值:'."\n"
+ ."\n"
+ .'- **true**:开通流引擎。'."\n"
+ .'- **false**:未开通流引擎。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableLTS' => ['description' => '实例是否开通LTS引擎,返回值:'."\n"
+ ."\n"
+ .'- **true**:开通LTS引擎。'."\n"
+ .'- **false**:未开通LTS引擎。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableShs' => ['description' => '是否开通计算引擎History Server。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableBlob' => ['description' => '实例是否开通LBlob,返回值:'."\n"
+ ."\n"
+ .'true:开通LBlob。'."\n"
+ .'false:未开通LBlob。', 'type' => 'boolean', 'example' => 'true'],
+ 'MaintainStartTime' => ['description' => '可维护开始时间。', 'type' => 'string', 'example' => '00:00Z'],
+ 'MaintainEndTime' => ['description' => '可维护结束时间。', 'type' => 'string', 'example' => '20:00Z'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek2wvd6oia****'],
+ 'PrimaryZoneId' => ['description' => '多可用区实例,主可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-e'],
+ 'StandbyZoneId' => ['description' => '多可用区实例,备可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-f'],
+ 'ArbiterZoneId' => ['description' => '多可用区实例,协调可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-g'],
+ 'PrimaryVSwitchId' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
+ 'StandbyVSwitchId' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-2zec0kcn08cgdtr6****'],
+ 'ArbiterVSwitchId' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6664pqjawb87k36****'],
+ 'MultiZoneCombination' => ['description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
+ ."\n"
+ .'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
+ .'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
+ .'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
+ .'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
+ .'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
+ .'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
+ .'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
+ .'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
+ .'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
+ .'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
+ .'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。', 'type' => 'string', 'example' => 'cn-shanghai-efg-aliyun'],
+ 'CoreDiskCategory' => ['description' => '多可用区实例,core节点磁盘类型,返回:'."\n"
+ ."\n"
+ .'- **cloud_efficiency**:标准型云存储。'."\n"
+ .'- **cloud_ssd**:性能型云存储。'."\n"
+ .'- **cloud_essd**:性能增强型云存储。'."\n"
+ .'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。', 'type' => 'string', 'example' => 'cloud_efficiency'],
+ 'CoreSpec' => ['description' => '多可用区实例,core节点规格。', 'type' => 'string', 'example' => 'lindorm.g.xlarge'],
+ 'CoreNum' => ['description' => '多可用区实例,core节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'CoreSingleStorage' => ['description' => '多可用区实例,core单节点磁盘容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '400'],
+ 'LogDiskCategory' => ['description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
+ ."\n"
+ .'- **cloud_efficiency**:标准云存储。'."\n"
+ .'- **cloud_ssd**:性能云存储。', 'type' => 'string', 'example' => 'cloud_ssd'],
+ 'LogSpec' => ['description' => '多可用区实例,log节点规格。', 'type' => 'string', 'example' => 'lindorm.sn1.large'],
+ 'LogNum' => ['description' => '多可用区实例,log节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'LogSingleStorage' => ['description' => '多可用区实例,log单节点磁盘容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '400GB'],
+ 'BackupInstance' => ['description' => '备份实例', 'type' => 'string', 'example' => 'ld-xxxx'],
+ 'EnableLsqlVersionV3' => ['description' => '宽表引擎是否支持LindormSQL-V3能力,其兼容MySQL协议,'."\n"
+ .'2023-10-24号之后新购的实例默认支持;存量实例需要联系值班同学评估后再打开。'."\n"
+ ."\n"
+ .'- True 表示支持'."\n"
+ ."\n"
+ .'- False 表示不支持', 'type' => 'boolean', 'example' => 'True'],
+ 'EnableLProxy' => ['description' => '宽表引擎是否支持Thrift、CQL协议。如不支持的话,可以通过SwitchLProxyService接口进行开通与关闭。'."\n"
+ ."\n"
+ .'True 表示支持'."\n"
+ ."\n"
+ .'False 表示不支持', 'type' => 'boolean', 'example' => 'False'],
+ 'ArchVersion' => ['description' => '部署架构,取值:'."\n"
+ ."\n"
+ .'- **1.0**:单可用区。'."\n"
+ .'- **2.0**:多可用区。', 'type' => 'string', 'example' => '1.0'],
],
'description' => '',
],
@@ -2633,38 +1475,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例的详细信息',
@@ -2672,18 +1490,9 @@
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
- [
- 'createdAt' => '2025-06-04T12:13:27.000Z',
- 'description' => '错误码发生变更',
- ],
- [
- 'createdAt' => '2025-05-27T03:40:19.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-27T03:40:14.000Z',
- 'description' => 'OpenAPI 下线',
- ],
+ ['createdAt' => '2025-06-04T12:13:27.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2025-05-27T03:40:19.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-27T03:40:14.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
@@ -2693,28 +1502,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"VswitchId\\": \\"vsw-bp1vbjzmod9q3l9eo****\\",\\n \\"CreateTime\\": \\"2021-07-26 17:10:26\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"EnableKms\\": false,\\n \\"EnableStoreTDE\\": false,\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"cloud_efficiency\\",\\n \\"RequestId\\": \\"633F1BE4-C8DA-5744-8FDF-A3075C3FE37F\\",\\n \\"ColdStorage\\": 0,\\n \\"ArchiveStorage\\": 0,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"EngineType\\": 15,\\n \\"ExpireTime\\": \\"2021-08-27 00:00:00\\",\\n \\"AutoRenew\\": false,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"InstanceStorage\\": \\"480\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1o3y0yme2i2****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"test0726\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"CpuCount\\": \\"4\\",\\n \\"CoreCount\\": \\"2\\",\\n \\"Engine\\": \\"lindorm\\",\\n \\"Specification\\": \\"lindorm.g.2xlarge\\",\\n \\"MemorySize\\": \\"8GB\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"PrimaryCoreCount\\": \\"\\",\\n \\"StandbyCoreCount\\": \\"\\",\\n \\"ArbiterCoreCount\\": \\"\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"EnableSSL\\": false,\\n \\"EnableMLCtrl\\": true,\\n \\"EnableCdc\\": false,\\n \\"EnableStream\\": true,\\n \\"EnableLTS\\": true,\\n \\"EnableShs\\": true,\\n \\"EnableBlob\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-aek2wvd6oia****\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"MultiZoneCombination\\": \\"cn-shanghai-efg-aliyun\\",\\n \\"CoreDiskCategory\\": \\"cloud_efficiency\\",\\n \\"CoreSpec\\": \\"lindorm.g.xlarge\\",\\n \\"CoreNum\\": 4,\\n \\"CoreSingleStorage\\": 400,\\n \\"LogDiskCategory\\": \\"cloud_ssd\\",\\n \\"LogSpec\\": \\"lindorm.sn1.large\\",\\n \\"LogNum\\": 4,\\n \\"LogSingleStorage\\": 0,\\n \\"BackupInstance\\": \\"\\",\\n \\"EnableLsqlVersionV3\\": true,\\n \\"EnableLProxy\\": true,\\n \\"ArchVersion\\": \\"1.0\\"\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceResponse>\\n<ExpiredMilliseconds>1629993600000</ExpiredMilliseconds>\\n<DiskThreshold>80%</DiskThreshold>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>2.2.9.1</Version>\\n <Engine>lindorm</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.2.15</Version>\\n <Engine>tsdb</Engine>\\n <IsLastVersion>false</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>7.7.10</Version>\\n <Engine>solr</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.10.6</Version>\\n <Engine>store</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EnableBDS>false</EnableBDS>\\n<AutoRenew>false</AutoRenew>\\n<DiskUsage>0.0%</DiskUsage>\\n<EnableFS>true</EnableFS>\\n<EnableCompute>true</EnableCompute>\\n<InstanceAlias>test0726</InstanceAlias>\\n<InstanceStatus>ACTIVATION</InstanceStatus>\\n<NetworkType>vpc</NetworkType>\\n<ServiceType>lindorm</ServiceType>\\n<EngineType>15</EngineType>\\n<CreateMilliseconds>1627290664000</CreateMilliseconds>\\n<EnableSSL>false</EnableSSL>\\n<InstanceStorage>480</InstanceStorage>\\n<RequestId>633F1BE4-C8DA-5744-8FDF-A3075C3FE37F</RequestId>\\n<ZoneId>cn-hangzhou-h</ZoneId>\\n<InstanceId>ld-bp1o3y0yme2i2****</InstanceId>\\n<EnableKms>false</EnableKms>\\n<CreateTime>2021-07-26 17:10:26</CreateTime>\\n<ColdStorage>0</ColdStorage>\\n<DiskCategory>cloud_efficiency</DiskCategory>\\n<PayType>PREPAY</PayType>\\n<DeletionProtection>false</DeletionProtection>\\n<VswitchId>vsw-bp1vbjzmod9q3l9eo****</VswitchId>\\n<VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n<EnableCdc>false</EnableCdc>\\n<EnablePhoenix>false</EnablePhoenix>\\n<RegionId>cn-hangzhou</RegionId>\\n<ExpireTime>2021-08-27 00:00:00</ExpireTime>\\n<AliUid>1000000000000000</AliUid>\\n</GetLindormInstanceResponse>","errorExample":""}]',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"VswitchId\\": \\"vsw-bp1vbjzmod9q3l9eo****\\",\\n \\"CreateTime\\": \\"2021-07-26 17:10:26\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"EnableKms\\": false,\\n \\"EnableStoreTDE\\": false,\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"cloud_efficiency\\",\\n \\"RequestId\\": \\"633F1BE4-C8DA-5744-8FDF-A3075C3FE37F\\",\\n \\"ColdStorage\\": 0,\\n \\"ArchiveStorage\\": 0,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"EngineType\\": 15,\\n \\"ExpireTime\\": \\"2021-08-27 00:00:00\\",\\n \\"AutoRenew\\": false,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"InstanceStorage\\": \\"480\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1o3y0yme2i2****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"test0726\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"CpuCount\\": \\"4\\",\\n \\"CoreCount\\": \\"2\\",\\n \\"Engine\\": \\"lindorm\\",\\n \\"Specification\\": \\"lindorm.g.2xlarge\\",\\n \\"MemorySize\\": \\"8GB\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"PrimaryCoreCount\\": \\"2\\",\\n \\"StandbyCoreCount\\": \\"2\\",\\n \\"ArbiterCoreCount\\": \\"2\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"EnableSSL\\": false,\\n \\"EnableMLCtrl\\": true,\\n \\"EnableCdc\\": false,\\n \\"EnableStream\\": true,\\n \\"EnableLTS\\": true,\\n \\"EnableShs\\": true,\\n \\"EnableBlob\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-aek2wvd6oia****\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"MultiZoneCombination\\": \\"cn-shanghai-efg-aliyun\\",\\n \\"CoreDiskCategory\\": \\"cloud_efficiency\\",\\n \\"CoreSpec\\": \\"lindorm.g.xlarge\\",\\n \\"CoreNum\\": 4,\\n \\"CoreSingleStorage\\": 400,\\n \\"LogDiskCategory\\": \\"cloud_ssd\\",\\n \\"LogSpec\\": \\"lindorm.sn1.large\\",\\n \\"LogNum\\": 4,\\n \\"LogSingleStorage\\": 0,\\n \\"BackupInstance\\": \\"ld-xxxx\\",\\n \\"EnableLsqlVersionV3\\": true,\\n \\"EnableLProxy\\": true,\\n \\"ArchVersion\\": \\"1.0\\"\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceResponse>\\n<ExpiredMilliseconds>1629993600000</ExpiredMilliseconds>\\n<DiskThreshold>80%</DiskThreshold>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>2.2.9.1</Version>\\n <Engine>lindorm</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.2.15</Version>\\n <Engine>tsdb</Engine>\\n <IsLastVersion>false</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>7.7.10</Version>\\n <Engine>solr</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.10.6</Version>\\n <Engine>store</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EnableBDS>false</EnableBDS>\\n<AutoRenew>false</AutoRenew>\\n<DiskUsage>0.0%</DiskUsage>\\n<EnableFS>true</EnableFS>\\n<EnableCompute>true</EnableCompute>\\n<InstanceAlias>test0726</InstanceAlias>\\n<InstanceStatus>ACTIVATION</InstanceStatus>\\n<NetworkType>vpc</NetworkType>\\n<ServiceType>lindorm</ServiceType>\\n<EngineType>15</EngineType>\\n<CreateMilliseconds>1627290664000</CreateMilliseconds>\\n<EnableSSL>false</EnableSSL>\\n<InstanceStorage>480</InstanceStorage>\\n<RequestId>633F1BE4-C8DA-5744-8FDF-A3075C3FE37F</RequestId>\\n<ZoneId>cn-hangzhou-h</ZoneId>\\n<InstanceId>ld-bp1o3y0yme2i2****</InstanceId>\\n<EnableKms>false</EnableKms>\\n<CreateTime>2021-07-26 17:10:26</CreateTime>\\n<ColdStorage>0</ColdStorage>\\n<DiskCategory>cloud_efficiency</DiskCategory>\\n<PayType>PREPAY</PayType>\\n<DeletionProtection>false</DeletionProtection>\\n<VswitchId>vsw-bp1vbjzmod9q3l9eo****</VswitchId>\\n<VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n<EnableCdc>false</EnableCdc>\\n<EnablePhoenix>false</EnablePhoenix>\\n<RegionId>cn-hangzhou</RegionId>\\n<ExpireTime>2021-08-27 00:00:00</ExpireTime>\\n<AliUid>1000000000000000</AliUid>\\n</GetLindormInstanceResponse>","errorExample":""}]',
],
'GetLindormInstanceEngineList' => [
'summary' => '获取Lindorm实例支持的引擎类型。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2727,31 +1525,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '64064',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1nq34mv3smk****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1nq34mv3smk****'],
],
],
'responses' => [
@@ -2759,115 +1544,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1nq34mv3smk****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B496BA0E-520C-59FC-BA04-196D8F3B07EF',
- ],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1nq34mv3smk****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B496BA0E-520C-59FC-BA04-196D8F3B07EF'],
'EngineList' => [
'description' => '引擎类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'EngineType' => [
- 'description' => '引擎类型,返回值:'."\n"
- ."\n"
- .'- **lindorm**:宽表引擎。'."\n"
- .'- **tsdb**:时序引擎。'."\n"
- .'- **solr**:搜索引擎。'."\n"
- .'- **store**:文件引擎。',
- 'type' => 'string',
- 'example' => 'lindorm',
- ],
+ 'EngineType' => ['description' => '引擎类型,返回值:'."\n"
+ ."\n"
+ .'- **lindorm**:宽表引擎。'."\n"
+ .'- **tsdb**:时序引擎。'."\n"
+ .'- **solr**:搜索引擎。'."\n"
+ .'- **store**:文件引擎。', 'type' => 'string', 'example' => 'lindorm'],
'NetInfoList' => [
'description' => '引擎的数据库连接信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'AccessType' => [
- 'description' => '表示宽表引擎的连接方式,返回值:'."\n"
- ."\n"
- .'- **0**:默认为0,可以忽略'."\n"
- .'- **1**:使用HBase Java API访问宽表引擎地址。'."\n"
- .'- **2**:使用HBase 非Java API访问宽表引擎地址。'."\n"
- .'- **3**:使用CQL访问宽表引擎地址。'."\n"
- .'- **4**:使用Lindorm宽表SQL地址。'."\n"
- .'- **5**:使用Lindorm宽表S3兼容地址。'."\n"
- .'- **6**:使用Lindorm宽表MySQL兼容地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Port' => [
- 'description' => '数据库连接地址的端口号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30020',
- ],
- 'ConnectionString' => [
- 'description' => '数据库连接地址。',
- 'type' => 'string',
- 'example' => 'ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com',
- ],
- 'NetType' => [
- 'description' => '数据库连接地址的网络类型,返回值:'."\n"
- ."\n"
- .'- **0**:公网。'."\n"
- .'- **2**:专有网络。',
- 'type' => 'string',
- 'example' => '2',
- ],
+ 'AccessType' => ['description' => '表示宽表引擎的连接方式,返回值:'."\n"
+ ."\n"
+ .'- **0**:默认为0,可以忽略'."\n"
+ .'- **1**:使用HBase Java API访问宽表引擎地址。'."\n"
+ .'- **2**:使用HBase 非Java API访问宽表引擎地址。'."\n"
+ .'- **3**:使用CQL访问宽表引擎地址。'."\n"
+ .'- **4**:使用Lindorm宽表SQL地址。'."\n"
+ .'- **5**:使用Lindorm宽表S3兼容地址。'."\n"
+ .'- **6**:使用Lindorm宽表MySQL兼容地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Port' => ['description' => '数据库连接地址的端口号。', 'type' => 'integer', 'format' => 'int32', 'example' => '30020'],
+ 'ConnectionString' => ['description' => '数据库连接地址。', 'type' => 'string', 'example' => 'ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com'],
+ 'NetType' => ['description' => '数据库连接地址的网络类型,返回值:'."\n"
+ ."\n"
+ .'- **0**:公网。'."\n"
+ .'- **2**:专有网络。', 'type' => 'string', 'example' => '2'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例支持的引擎类型',
@@ -2875,18 +1609,25 @@
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:GetLindormInstanceEngineList',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceId\\": \\"ld-bp1nq34mv3smk****\\",\\n \\"RequestId\\": \\"B496BA0E-520C-59FC-BA04-196D8F3B07EF\\",\\n \\"EngineList\\": [\\n {\\n \\"EngineType\\": \\"lindorm\\",\\n \\"NetInfoList\\": [\\n {\\n \\"AccessType\\": 1,\\n \\"Port\\": 30020,\\n \\"ConnectionString\\": \\"ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com\\",\\n \\"NetType\\": \\"2\\"\\n }\\n ]\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'GetLindormInstanceList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '获取Lindorm实例列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2899,94 +1640,51 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '76395',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'QueryStr',
'in' => 'query',
- 'schema' => [
- 'description' => '实例名称关键字,可根据该关键字模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '实例名称关键字,可根据该关键字模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '指定要查询的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '指定要查询的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '指定分页查询时每页行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '20',
- 'default' => '100',
- ],
+ 'schema' => ['description' => '指定分页查询时每页行数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '20', 'default' => '100'],
],
[
'name' => 'ServiceType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型,取值:'."\n"
- ."\n"
- .'- **lindorm**:表示Lindorm单可用区实例。'."\n"
- .'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
- .'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
- .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
- .'- **lts**:表示Lindorm数据通道服务类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm',
- ],
+ 'schema' => ['description' => '实例类型,取值:'."\n"
+ ."\n"
+ .'- **lindorm**:表示Lindorm单可用区实例。'."\n"
+ .'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
+ .'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
+ .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
+ .'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'required' => false, 'example' => 'lindorm'],
],
[
'name' => 'SupportEngine',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的实例支持的数据引擎类型,取值:'."\n"
- ."\n"
- .'- **1**:支持搜索引擎。'."\n"
- .'- **2**:支持时序引擎。'."\n"
- .'- **4**:支持宽表引擎。'."\n"
- .'- **8**:支持文件引擎。'."\n"
- ."\n"
- .'> 例如:SupportEngine取值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。SupportEngine取值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '7',
- 'minimum' => '-1',
- 'example' => '15',
- 'default' => '-1',
- ],
+ 'schema' => ['description' => '查询的实例支持的数据引擎类型,取值:'."\n"
+ ."\n"
+ .'- **1**:支持搜索引擎。'."\n"
+ .'- **2**:支持时序引擎。'."\n"
+ .'- **4**:支持宽表引擎。'."\n"
+ .'- **8**:支持文件引擎。'."\n"
+ ."\n"
+ .'> 例如:SupportEngine取值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。SupportEngine取值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '7', 'minimum' => '-1', 'example' => '15', 'default' => '-1'],
],
[
'name' => 'Tag',
@@ -2999,22 +1697,12 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签的键。N的取值范围:1~20。'."\n"
- ."\n"
- .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'description' => '标签的值。N的取值范围:1~20。'."\n"
- ."\n"
- .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.2.18',
- ],
+ 'Key' => ['description' => '标签的键。N的取值范围:1~20。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['description' => '标签的值。N的取值范围:1~20。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.18'],
],
'required' => false,
],
@@ -3026,12 +1714,7 @@
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek3b63arvg27vi',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek3b63arvg27vi'],
],
],
'responses' => [
@@ -3039,241 +1722,113 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0',
- ],
- 'PageNumber' => [
- 'description' => '实例所在页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '实例所在页的行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Total' => [
- 'description' => '查询到的实例总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0'],
+ 'PageNumber' => ['description' => '实例所在页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '实例所在页的行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '查询到的实例总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'InstanceList' => [
'description' => '实例列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'VpcId' => [
- 'description' => '实例所属的专有网络ID。',
- 'type' => 'string',
- 'example' => 'vpc-bp1n3i15v90el48nx****',
- ],
- 'EngineType' => [
- 'description' => '实例支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
- ."\n"
- .'- **1**:支持搜索引擎。'."\n"
- .'- **2**:支持时序引擎。'."\n"
- .'- **4**:支持宽表引擎。'."\n"
- .'- **8**:支持文件引擎。'."\n"
- ."\n"
- .'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。',
- 'type' => 'string',
- 'example' => '15',
- ],
- 'ExpireTime' => [
- 'description' => '实例的到期时间。'."\n"
- ."\n"
- .'> 实例的付费类型为包年包月,才会返回本参数。',
- 'type' => 'string',
- 'example' => '2022-04-26 00:00:00',
- ],
- 'CreateTime' => [
- 'description' => '实例的创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-16 14:13:13',
- ],
- 'PayType' => [
- 'description' => '实例的付费类型,返回值:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月。'."\n"
- .'- **POSTPAY**:按量付费。',
- 'type' => 'string',
- 'example' => 'PREPAY',
- ],
- 'AliUid' => [
- 'description' => '阿里云账号(主账号)的16位AliUid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '164901546557****',
- ],
- 'InstanceStorage' => [
- 'description' => '实例的存储容量。',
- 'type' => 'string',
- 'example' => '960',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp17pwu1541ia****',
- ],
- 'NetworkType' => [
- 'description' => '实例的网络类型。',
- 'type' => 'string',
- 'example' => 'vpc',
- ],
- 'ServiceType' => [
- 'description' => '实例类型,返回值:'."\n"
- ."\n"
- .'- **lindorm**:表示Lindorm实例。'."\n"
- .'- **serverless_lindorm**:表示LindormServerless实例。'."\n"
- .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
- .'- **lts**:表示Lindorm数据通道服务类型。',
- 'type' => 'string',
- 'example' => 'lindorm',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CreateMilliseconds' => [
- 'description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1631772842000',
- ],
- 'InstanceAlias' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'InstanceStatus' => [
- 'description' => '实例状态,返回值:'."\n"
- ."\n"
- .'- **CREATING**:创建中。'."\n"
- .'- **ACTIVATION**:运行中。'."\n"
- .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
- .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
- .'- **RESIZING**:节点扩容中。'."\n"
- .'- **SHRINKING**:节点缩容中。'."\n"
- .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
- .'- **SSL_SWITCHING:SSL**变更中。'."\n"
- .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
- .'- **TRANSFER**:数据迁移中。'."\n"
- .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
- .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
- .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
- .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
- .'- **NET_MODIFYING**:网络变更中。'."\n"
- .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
- .'- **NET_CREATING**:创建网络链接中。'."\n"
- .'- **NET_DELETING**:删除网络链接中。'."\n"
- .'- **DELETING**:删除中。'."\n"
- .'- **RESTARTING**:重启中。'."\n"
- .'- **LOCKED**:实例已过期,锁定中。',
- 'type' => 'string',
- 'example' => 'ACTIVATION',
- ],
- 'ExpiredMilliseconds' => [
- 'description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1650902400000',
- ],
- 'EnableStream' => [
- 'description' => '实例是否开通流引擎,返回值:'."\n"
- ."\n"
- .'- **true**:开通流引擎。'."\n"
- .'- **false**:未开通流引擎。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'VpcId' => ['description' => '实例所属的专有网络ID。', 'type' => 'string', 'example' => 'vpc-bp1n3i15v90el48nx****'],
+ 'EngineType' => ['description' => '实例支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
+ ."\n"
+ .'- **1**:支持搜索引擎。'."\n"
+ .'- **2**:支持时序引擎。'."\n"
+ .'- **4**:支持宽表引擎。'."\n"
+ .'- **8**:支持文件引擎。'."\n"
+ ."\n"
+ .'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'string', 'example' => '15'],
+ 'ExpireTime' => ['description' => '实例的到期时间。'."\n"
+ ."\n"
+ .'> 实例的付费类型为包年包月,才会返回本参数。', 'type' => 'string', 'example' => '2022-04-26 00:00:00'],
+ 'CreateTime' => ['description' => '实例的创建时间。', 'type' => 'string', 'example' => '2021-09-16 14:13:13'],
+ 'PayType' => ['description' => '实例的付费类型,返回值:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月。'."\n"
+ .'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'PREPAY'],
+ 'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
+ 'InstanceStorage' => ['description' => '实例的存储容量。', 'type' => 'string', 'example' => '960'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp17pwu1541ia****'],
+ 'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'vpc'],
+ 'ServiceType' => ['description' => '实例类型,返回值:'."\n"
+ ."\n"
+ .'- **lindorm**:表示Lindorm实例。'."\n"
+ .'- **serverless_lindorm**:表示LindormServerless实例。'."\n"
+ .'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
+ .'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'example' => 'lindorm'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1631772842000'],
+ 'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'InstanceStatus' => ['description' => '实例状态,返回值:'."\n"
+ ."\n"
+ .'- **CREATING**:创建中。'."\n"
+ .'- **ACTIVATION**:运行中。'."\n"
+ .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
+ .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
+ .'- **RESIZING**:节点扩容中。'."\n"
+ .'- **SHRINKING**:节点缩容中。'."\n"
+ .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
+ .'- **SSL_SWITCHING:SSL**变更中。'."\n"
+ .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
+ .'- **TRANSFER**:数据迁移中。'."\n"
+ .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
+ .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
+ .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
+ .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
+ .'- **NET_MODIFYING**:网络变更中。'."\n"
+ .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
+ .'- **NET_CREATING**:创建网络链接中。'."\n"
+ .'- **NET_DELETING**:删除网络链接中。'."\n"
+ .'- **DELETING**:删除中。'."\n"
+ .'- **RESTARTING**:重启中。'."\n"
+ .'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
+ 'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1650902400000'],
+ 'EnableStream' => ['description' => '实例是否开通流引擎,返回值:'."\n"
+ ."\n"
+ .'- **true**:开通流引擎。'."\n"
+ .'- **false**:未开通流引擎。', 'type' => 'boolean', 'example' => 'true'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签的键。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Value' => [
- 'description' => '标签的值。',
- 'type' => 'string',
- 'example' => '2.2.18',
- ],
+ 'Key' => ['description' => '标签的键。', 'type' => 'string', 'example' => 'test'],
+ 'Value' => ['description' => '标签的值。', 'type' => 'string', 'example' => '2.2.18'],
],
'description' => '',
],
],
- 'EnableCompute' => [
- 'description' => '是否开通实例的计算引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-aekzledqeat****',
- ],
- 'EnableMessage' => [
- 'description' => '是否开通消息引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableVector' => [
- 'description' => '是否开通向量引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableLts' => [
- 'description' => '是否开通LTS引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableColumn' => [
- 'description' => '是否开通列存引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EnableRow' => [
- 'description' => '是否开通宽表3.0引擎,返回:'."\n"
- ."\n"
- .'true:已开通。'."\n"
- .'false:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CreateErrorCode' => [
- 'type' => 'string',
- ],
+ 'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aekzledqeat****'],
+ 'EnableMessage' => ['description' => '是否开通消息引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableVector' => ['description' => '是否开通向量引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableLts' => ['description' => '是否开通LTS引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableColumn' => ['description' => '是否开通列存引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'EnableRow' => ['description' => '是否开通宽表3.0引擎,返回:'."\n"
+ ."\n"
+ .'true:已开通。'."\n"
+ .'false:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'CreateErrorCode' => ['description' => '创建失败原因', 'type' => 'string', 'example' => 'Resource is not enough'],
],
'description' => '',
],
@@ -3285,32 +1840,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotAvailable',
- 'errorMessage' => 'The instance is unavailable.',
- 'description' => '操作失败,实例不可用。',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotAvailable', 'errorMessage' => 'The instance is unavailable.', 'description' => '操作失败,实例不可用。'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'title' => '获取Lindorm实例列表',
- 'summary' => '获取Lindorm实例列表。',
'changeSet' => [],
'ramActions' => [
[
@@ -3320,27 +1858,16 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1,\\n \\"InstanceList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"EngineType\\": \\"15\\",\\n \\"ExpireTime\\": \\"2022-04-26 00:00:00\\",\\n \\"CreateTime\\": \\"2021-09-16 14:13:13\\",\\n \\"PayType\\": \\"PREPAY\\",\\n \\"AliUid\\": 0,\\n \\"InstanceStorage\\": \\"960\\",\\n \\"InstanceId\\": \\"ld-bp17pwu1541ia****\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1631772842000,\\n \\"InstanceAlias\\": \\"test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"ExpiredMilliseconds\\": 1650902400000,\\n \\"EnableStream\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test\\",\\n \\"Value\\": \\"2.2.18\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"ResourceGroupId\\": \\"rg-aekzledqeat****\\",\\n \\"EnableMessage\\": true,\\n \\"EnableVector\\": true,\\n \\"EnableLts\\": true,\\n \\"EnableColumn\\": true,\\n \\"EnableRow\\": true,\\n \\"CreateErrorCode\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceListResponse>\\n <RequestId>1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0</RequestId>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <Total>1</Total>\\n <InstanceList>\\n <ExpiredMilliseconds>1650902400000</ExpiredMilliseconds>\\n <InstanceStorage>960</InstanceStorage>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <InstanceId>ld-bp17pwu1541i****</InstanceId>\\n <CreateTime>2021-09-16 14:13:13</CreateTime>\\n <PayType>PREPAY</PayType>\\n <VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n <NetworkType>vpc</NetworkType>\\n <ServiceType>lindorm</ServiceType>\\n <InstanceAlias>test</InstanceAlias>\\n <InstanceStatus>ACTIVATION</InstanceStatus>\\n <EnableStream>true</EnableStream>\\n <EngineType>15</EngineType>\\n <RegionId>cn-hangzhou</RegionId>\\n <ExpireTime>2022-04-26 00:00:00</ExpireTime>\\n <CreateMilliseconds>1631772842000</CreateMilliseconds>\\n <Tags>\\n <Value>2.2.18</Value>\\n <Key>test</Key>\\n </Tags>\\n <AliUid>1000000000000000</AliUid>\\n </InstanceList>\\n</GetLindormInstanceListResponse>","errorExample":""}]',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1,\\n \\"InstanceList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"EngineType\\": \\"15\\",\\n \\"ExpireTime\\": \\"2022-04-26 00:00:00\\",\\n \\"CreateTime\\": \\"2021-09-16 14:13:13\\",\\n \\"PayType\\": \\"PREPAY\\",\\n \\"AliUid\\": 0,\\n \\"InstanceStorage\\": \\"960\\",\\n \\"InstanceId\\": \\"ld-bp17pwu1541ia****\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1631772842000,\\n \\"InstanceAlias\\": \\"test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"ExpiredMilliseconds\\": 1650902400000,\\n \\"EnableStream\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test\\",\\n \\"Value\\": \\"2.2.18\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"ResourceGroupId\\": \\"rg-aekzledqeat****\\",\\n \\"EnableMessage\\": true,\\n \\"EnableVector\\": true,\\n \\"EnableLts\\": true,\\n \\"EnableColumn\\": true,\\n \\"EnableRow\\": true,\\n \\"CreateErrorCode\\": \\"Resource is not enough\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceListResponse>\\n <RequestId>1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0</RequestId>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <Total>1</Total>\\n <InstanceList>\\n <ExpiredMilliseconds>1650902400000</ExpiredMilliseconds>\\n <InstanceStorage>960</InstanceStorage>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <InstanceId>ld-bp17pwu1541i****</InstanceId>\\n <CreateTime>2021-09-16 14:13:13</CreateTime>\\n <PayType>PREPAY</PayType>\\n <VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n <NetworkType>vpc</NetworkType>\\n <ServiceType>lindorm</ServiceType>\\n <InstanceAlias>test</InstanceAlias>\\n <InstanceStatus>ACTIVATION</InstanceStatus>\\n <EnableStream>true</EnableStream>\\n <EngineType>15</EngineType>\\n <RegionId>cn-hangzhou</RegionId>\\n <ExpireTime>2022-04-26 00:00:00</ExpireTime>\\n <CreateMilliseconds>1631772842000</CreateMilliseconds>\\n <Tags>\\n <Value>2.2.18</Value>\\n <Key>test</Key>\\n </Tags>\\n <AliUid>1000000000000000</AliUid>\\n </InstanceList>\\n</GetLindormInstanceListResponse>","errorExample":""}]',
],
'GetLindormV2InstanceDetails' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3353,21 +1880,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '188570',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1mq0tdzbx1m****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1mq0tdzbx1m****'],
],
],
'responses' => [
@@ -3375,173 +1894,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'VpcId' => [
- 'description' => '实例所属的专有网络(VPC)的ID。',
- 'type' => 'string',
- 'example' => 'vpc-bp1xxxxxxxxxxxxxxxxxx',
- ],
- 'VswitchId' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-bp1xxxxxxxxxxxxxxxxxx',
- ],
- 'PayType' => [
- 'description' => '实例的付费类型,返回:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月。'."\n"
- .'- **POSTPAY**:按量付费。',
- 'type' => 'string',
- 'example' => 'POSTPAY',
- ],
- 'NetworkType' => [
- 'description' => '实例的网络类型。',
- 'type' => 'string',
- 'example' => 'VPC',
- ],
- 'DiskUsage' => [
- 'description' => '磁盘空间使用率。',
- 'type' => 'string',
- 'example' => '0.0%',
- ],
- 'DiskCategory' => [
- 'description' => '存储类型,返回:'."\n"
- ."\n"
- .'- **StandardStorage**:标准型云存储。'."\n"
- .'- **PerformanceStorage**:性能型云存储。',
- 'type' => 'string',
- 'example' => 'PerformanceStorage',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'ColdStorage' => [
- 'description' => '容量型云存储容量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '800',
- ],
- 'ExpiredMilliseconds' => [
- 'description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629993600000',
- ],
- 'AutoRenew' => [
- 'description' => '是否开通自动续费,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。'."\n"
- ."\n"
- .'> 实例的付费类型为包年包月会返回此参数。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DeletionProtection' => [
- 'description' => '是否开启删除保护,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'AliUid' => [
- 'description' => '阿里云账号(主账号)的16位AliUid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '164901546557****',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1mq0tdzbx1m****',
- ],
- 'InstanceType' => [
- 'description' => '形态选择,取值:'."\n"
- ."\n"
- .'- basic:生产型',
- 'type' => 'string',
- 'example' => 'basic',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CreateMilliseconds' => [
- 'description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1627290664000',
- ],
- 'InstanceAlias' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'lindorm-test',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'InstanceStatus' => [
- 'description' => '实例状态,返回:'."\n"
- ."\n"
- .'- **CREATING**:创建中。'."\n"
- .'- **ACTIVATIO**N:运行中。'."\n"
- .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
- .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
- .'- **RESIZING**:节点扩容中。'."\n"
- .'- **SHRINKING**:节点缩容中。'."\n"
- .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
- .'- **SSL_SWITCHING**:SSL变更中。'."\n"
- .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
- .'- **TRANSFER**:数据迁移中。'."\n"
- .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
- .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
- .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
- .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
- .'- **NET_MODIFYING**:网络变更中。'."\n"
- .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
- .'- **NET_CREATING**:创建网络链接中。'."\n"
- .'- **NET_DELETING**:删除网络链接中。'."\n"
- .'- **DELETING**:删除中。'."\n"
- .'- **RESTARTING**:重启中。'."\n"
- .'- **LOCKED**:实例已过期,锁定中。',
- 'type' => 'string',
- 'example' => 'ACTIVATION',
- ],
- 'PrimaryZoneId' => [
- 'description' => '多可用区实例,主可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-e',
- ],
- 'PrimaryVSwitchId' => [
- 'description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-uf6fdqa7c0pipnqzq****',
- ],
- 'StandbyZoneId' => [
- 'description' => '多可用区实例,备可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-f',
- ],
- 'StandbyVSwitchId' => [
- 'description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-2zec0kcn08cgdtr6****',
- ],
- 'ArbiterZoneId' => [
- 'description' => '多可用区实例,协调可用区的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-g',
- ],
- 'ArbiterVSwitchId' => [
- 'description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。',
- 'type' => 'string',
- 'example' => 'vsw-uf6664pqjawb87k36****',
- ],
+ 'VpcId' => ['description' => '实例所属的专有网络(VPC)的ID。', 'type' => 'string', 'example' => 'vpc-bp1xxxxxxxxxxxxxxxxxx'],
+ 'VswitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1xxxxxxxxxxxxxxxxxx'],
+ 'PayType' => ['description' => '实例的付费类型,返回:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月。'."\n"
+ .'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'POSTPAY'],
+ 'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'VPC'],
+ 'DiskUsage' => ['description' => '磁盘空间使用率。', 'type' => 'string', 'example' => '0.0%'],
+ 'DiskCategory' => ['description' => '存储类型,返回:'."\n"
+ ."\n"
+ .'- **StandardStorage**:标准型云存储。'."\n"
+ .'- **PerformanceStorage**:性能型云存储。', 'type' => 'string', 'example' => 'PerformanceStorage'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'ColdStorage' => ['description' => '容量型云存储容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '800'],
+ 'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629993600000'],
+ 'AutoRenew' => ['description' => '是否开通自动续费,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。'."\n"
+ ."\n"
+ .'> 实例的付费类型为包年包月会返回此参数。', 'type' => 'boolean', 'example' => 'true'],
+ 'DeletionProtection' => ['description' => '是否开启删除保护,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。', 'type' => 'string', 'example' => 'false'],
+ 'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1mq0tdzbx1m****'],
+ 'InstanceType' => ['description' => '形态选择,取值:'."\n"
+ ."\n"
+ .'- basic:生产型', 'type' => 'string', 'example' => 'basic'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627290664000'],
+ 'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'lindorm-test'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'InstanceStatus' => ['description' => '实例状态,返回:'."\n"
+ ."\n"
+ .'- **CREATING**:创建中。'."\n"
+ .'- **ACTIVATIO**N:运行中。'."\n"
+ .'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
+ .'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
+ .'- **RESIZING**:节点扩容中。'."\n"
+ .'- **SHRINKING**:节点缩容中。'."\n"
+ .'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
+ .'- **SSL_SWITCHING**:SSL变更中。'."\n"
+ .'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
+ .'- **TRANSFER**:数据迁移中。'."\n"
+ .'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
+ .'- **GUARD_CREATING**:生产灾备实例中。'."\n"
+ .'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
+ .'- **DATABASE_IMPORTING**:数据导入中。'."\n"
+ .'- **NET_MODIFYING**:网络变更中。'."\n"
+ .'- **NET_SWITCHING**:内网和外网切换中。'."\n"
+ .'- **NET_CREATING**:创建网络链接中。'."\n"
+ .'- **NET_DELETING**:删除网络链接中。'."\n"
+ .'- **DELETING**:删除中。'."\n"
+ .'- **RESTARTING**:重启中。'."\n"
+ .'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
+ 'PrimaryZoneId' => ['description' => '多可用区实例,主可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-e'],
+ 'PrimaryVSwitchId' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
+ 'StandbyZoneId' => ['description' => '多可用区实例,备可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-f'],
+ 'StandbyVSwitchId' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-2zec0kcn08cgdtr6****'],
+ 'ArbiterZoneId' => ['description' => '多可用区实例,协调可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-g'],
+ 'ArbiterVSwitchId' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6664pqjawb87k36****'],
'EngineList' => [
'description' => '引擎信息列表。',
'type' => 'array',
@@ -3549,35 +1964,19 @@
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => '引擎类型的版本号。',
- 'type' => 'string',
- 'example' => '2.2.3',
- ],
- 'Engine' => [
- 'description' => '引擎类型,返回:'."\n"
- ."\n"
- .'- **TABLE**:宽表引擎。'."\n"
- .'- **TSDB**:时序引擎。'."\n"
- .'- **LSEARCH**:搜索引擎。'."\n"
- .'- **LTS**:LTS引擎。'."\n"
- .'- **LVECTOR**:向量引擎。'."\n"
- .'- **LCOLUMN**:列存引擎。',
- 'type' => 'string',
- 'example' => 'TABLE',
- ],
- 'IsLastVersion' => [
- 'description' => '引擎类型是否最新版本,返回:'."\n"
- .'- **true**:最新版本。'."\n"
- .'- **false**:不是最新版本。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'LatestVersion' => [
- 'description' => '引擎类型对应的最新的版本号。',
- 'type' => 'string',
- 'example' => '2.2.19.2',
- ],
+ 'Version' => ['description' => '引擎类型的版本号。', 'type' => 'string', 'example' => '2.2.3'],
+ 'Engine' => ['description' => '引擎类型,返回:'."\n"
+ ."\n"
+ .'- **TABLE**:宽表引擎。'."\n"
+ .'- **TSDB**:时序引擎。'."\n"
+ .'- **LSEARCH**:搜索引擎。'."\n"
+ .'- **LTS**:LTS引擎。'."\n"
+ .'- **LVECTOR**:向量引擎。'."\n"
+ .'- **LCOLUMN**:列存引擎。', 'type' => 'string', 'example' => 'TABLE'],
+ 'IsLastVersion' => ['description' => '引擎类型是否最新版本,返回:'."\n"
+ .'- **true**:最新版本。'."\n"
+ .'- **false**:不是最新版本。', 'type' => 'boolean', 'example' => 'false'],
+ 'LatestVersion' => ['description' => '引擎类型对应的最新的版本号。', 'type' => 'string', 'example' => '2.2.19.2'],
'ConnectAddressList' => [
'description' => '引擎链接地址列表',
'type' => 'array',
@@ -3585,24 +1984,12 @@
'description' => '引擎链接地址列表',
'type' => 'object',
'properties' => [
- 'Address' => [
- 'description' => '链接地址',
- 'type' => 'string',
- 'example' => 'ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060',
- ],
- 'Type' => [
- 'description' => '链接地址类型'."\n"
- ."\n"
- .'- INTRANET: VPC私网地址'."\n"
- .'- INTERNET:公网地址',
- 'type' => 'string',
- 'example' => 'INTRANET',
- ],
- 'Port' => [
- 'description' => '数据库连接地址的端口号。',
- 'type' => 'string',
- 'example' => '33060',
- ],
+ 'Address' => ['description' => '链接地址', 'type' => 'string', 'example' => 'ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060'],
+ 'Type' => ['description' => '链接地址类型'."\n"
+ ."\n"
+ .'- INTRANET: VPC私网地址'."\n"
+ .'- INTERNET:公网地址', 'type' => 'string', 'example' => 'INTRANET'],
+ 'Port' => ['description' => '数据库连接地址的端口号。', 'type' => 'string', 'example' => '33060'],
],
],
],
@@ -3613,129 +2000,73 @@
'description' => '引擎节点组列表',
'type' => 'object',
'properties' => [
- 'NodeSpec' => [
- 'description' => '节点规格'."\n"
- ."\n"
- .'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
- ."\n"
- .'- lindorm.c.2xlarge:表示8核16GB。'."\n"
- .'- lindorm.g.2xlarge:表示8核32GB。'."\n"
- .'- lindorm.c.4xlarge:表示16核32GB。'."\n"
- .'- lindorm.g.4xlarge:表示16核64GB。'."\n"
- .'- lindorm.c.8xlarge:表示32核64GB。'."\n"
- .'- lindorm.g.8xlarge:表示32核128GB。'."\n"
- .'- lindorm.r.2xlarge:表示8核64GB。'."\n"
- .'- lindorm.r.4xlarge:表示16核128GB。'."\n"
- .'- lindorm.r.8xlarge:表示32核256GB。'."\n"
- ."\n"
- .'选择本地SSD类型时,本参数取值为:'."\n"
- ."\n"
- .'- lindorm.i4.xlarge:表示4核32GB(I4)。'."\n"
- .'- lindorm.i4.2xlarge:表示8核64GB(I4)。'."\n"
- .'- lindorm.i4.4xlarge:表示16核128GB(I4)。'."\n"
- .'- lindorm.i4.8xlarge:表示32核256GB(I4)。'."\n"
- .'- lindorm.i3.xlarge:表示4核32GB(I3)。'."\n"
- .'- lindorm.i3.2xlarge:表示8核64GB(I3)。'."\n"
- .'- lindorm.i3.4xlarge:表示16核128GB(I3)。'."\n"
- .'- lindorm.i3.8xlarge:表示32核256GB(I3)。'."\n"
- .'- lindorm.i2.xlarge:表示4核32GB(I2)。'."\n"
- .'- lindorm.i2.2xlarge:表示8核64GB(I2)。'."\n"
- .'- lindorm.i2.4xlarge:表示16核128GB(I2)。'."\n"
- .'- lindorm.i2.8xlarge:表示32核256GB(I2)。'."\n"
- ."\n"
- .'选择大数据型时,本参数取值为:'."\n"
- ."\n"
- .'- lindorm.sd3c.3xlarge:表示14核56GB(D3C PRO)。'."\n"
- .'- lindorm.sd3c.7xlarge:表示28核112GB(D3C PRO)。'."\n"
- .'- lindorm.sd3c.14xlarge:表示56核224GB(D3C PRO)。'."\n"
- .'- lindorm.d2c.6xlarge:表示24核88GB(D2C)。'."\n"
- .'- lindorm.d2c.12xlarge:表示48核176GB(D2C)。'."\n"
- .'- lindorm.d2c.24xlarge:表示96核352GB(D2C)。'."\n"
- .'- lindorm.d2s.5xlarge:表示20核88GB(D2S)。'."\n"
- .'- lindorm.d2s.10xlarge:表示40核176GB(D2S)。'."\n"
- .'- lindorm.d1.2xlarge:表示8核32GB(D1NE)。'."\n"
- .'- lindorm.d1.4xlarge:表示16核64GB(D1NE)。'."\n"
- .'- lindorm.d1.6xlarge:表示24核96GB(D1NE)。',
- 'type' => 'string',
- 'example' => 'lindorm.g.2xlarge',
- ],
- 'EnableAttachLocalDisk' => [
- 'description' => '节点上是否挂载本地云盘',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'LocalDiskCategory' => [
- 'description' => '本地云盘类型'."\n"
- ."\n"
- .'- cloud_essd: 性能型云盘'."\n"
- .'- cloud_efficiency: 标准型云盘',
- 'type' => 'string',
- 'example' => 'cloud_essd',
- ],
- 'LocalDiskCapacity' => [
- 'description' => '本地云盘空间大小,单位GB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'CpuCoreCount' => [
- 'description' => '节点vCPU核数目。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '32',
- ],
- 'MemorySizeGiB' => [
- 'description' => '节点内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '64',
- ],
- 'Quantity' => [
- 'description' => '节点数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Category' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => 'caculated',
- ],
- 'ResourceGroupName' => [
- 'description' => '节点组名称,**必填**,与创建时保持一致',
- 'type' => 'string',
- 'example' => 'job_debug',
- ],
- 'SpecId' => [
- 'description' => '与交付组ID唯一对应的ID。',
- 'type' => 'string',
- 'example' => 'ecs.c6.large',
- ],
- 'Status' => [
- 'description' => '节点状态',
- 'type' => 'string',
- 'example' => 'ACTIVATION',
- ],
+ 'NodeSpec' => ['description' => '节点规格'."\n"
+ ."\n"
+ .'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
+ ."\n"
+ .'- lindorm.c.2xlarge:表示8核16GB。'."\n"
+ .'- lindorm.g.2xlarge:表示8核32GB。'."\n"
+ .'- lindorm.c.4xlarge:表示16核32GB。'."\n"
+ .'- lindorm.g.4xlarge:表示16核64GB。'."\n"
+ .'- lindorm.c.8xlarge:表示32核64GB。'."\n"
+ .'- lindorm.g.8xlarge:表示32核128GB。'."\n"
+ .'- lindorm.r.2xlarge:表示8核64GB。'."\n"
+ .'- lindorm.r.4xlarge:表示16核128GB。'."\n"
+ .'- lindorm.r.8xlarge:表示32核256GB。'."\n"
+ ."\n"
+ .'选择本地SSD类型时,本参数取值为:'."\n"
+ ."\n"
+ .'- lindorm.i4.xlarge:表示4核32GB(I4)。'."\n"
+ .'- lindorm.i4.2xlarge:表示8核64GB(I4)。'."\n"
+ .'- lindorm.i4.4xlarge:表示16核128GB(I4)。'."\n"
+ .'- lindorm.i4.8xlarge:表示32核256GB(I4)。'."\n"
+ .'- lindorm.i3.xlarge:表示4核32GB(I3)。'."\n"
+ .'- lindorm.i3.2xlarge:表示8核64GB(I3)。'."\n"
+ .'- lindorm.i3.4xlarge:表示16核128GB(I3)。'."\n"
+ .'- lindorm.i3.8xlarge:表示32核256GB(I3)。'."\n"
+ .'- lindorm.i2.xlarge:表示4核32GB(I2)。'."\n"
+ .'- lindorm.i2.2xlarge:表示8核64GB(I2)。'."\n"
+ .'- lindorm.i2.4xlarge:表示16核128GB(I2)。'."\n"
+ .'- lindorm.i2.8xlarge:表示32核256GB(I2)。'."\n"
+ ."\n"
+ .'选择大数据型时,本参数取值为:'."\n"
+ ."\n"
+ .'- lindorm.sd3c.3xlarge:表示14核56GB(D3C PRO)。'."\n"
+ .'- lindorm.sd3c.7xlarge:表示28核112GB(D3C PRO)。'."\n"
+ .'- lindorm.sd3c.14xlarge:表示56核224GB(D3C PRO)。'."\n"
+ .'- lindorm.d2c.6xlarge:表示24核88GB(D2C)。'."\n"
+ .'- lindorm.d2c.12xlarge:表示48核176GB(D2C)。'."\n"
+ .'- lindorm.d2c.24xlarge:表示96核352GB(D2C)。'."\n"
+ .'- lindorm.d2s.5xlarge:表示20核88GB(D2S)。'."\n"
+ .'- lindorm.d2s.10xlarge:表示40核176GB(D2S)。'."\n"
+ .'- lindorm.d1.2xlarge:表示8核32GB(D1NE)。'."\n"
+ .'- lindorm.d1.4xlarge:表示16核64GB(D1NE)。'."\n"
+ .'- lindorm.d1.6xlarge:表示24核96GB(D1NE)。', 'type' => 'string', 'example' => 'lindorm.g.2xlarge'],
+ 'EnableAttachLocalDisk' => ['description' => '节点上是否挂载本地云盘', 'type' => 'boolean', 'example' => 'false'],
+ 'LocalDiskCategory' => ['description' => '本地云盘类型'."\n"
+ ."\n"
+ .'- cloud_essd: 性能型云盘'."\n"
+ .'- cloud_efficiency: 标准型云盘', 'type' => 'string', 'example' => 'cloud_essd'],
+ 'LocalDiskCapacity' => ['description' => '本地云盘空间大小,单位GB', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'CpuCoreCount' => ['description' => '节点vCPU核数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'],
+ 'MemorySizeGiB' => ['description' => '节点内存大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '64'],
+ 'Quantity' => ['description' => '节点数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Category' => ['description' => '废弃', 'type' => 'string', 'example' => 'caculated'],
+ 'ResourceGroupName' => ['description' => '节点组名称,**必填**,与创建时保持一致', 'type' => 'string', 'example' => 'job_debug'],
+ 'SpecId' => ['description' => '与交付组ID唯一对应的ID。', 'type' => 'string', 'example' => 'ecs.c6.large'],
+ 'Status' => ['description' => '节点状态', 'type' => 'string', 'example' => 'ACTIVATION'],
],
],
],
],
],
],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-aek2i6weeb4nfii',
- ],
- 'ServiceType' => [
- 'description' => '实例类型,取值:'."\n"
- ."\n"
- .'- **lindorm_v2**:表示Lindorm V2单可用区实例。'."\n"
- .'- **lindorm_v2_multizone**:表示Lindorm V2多可用区基础版实例。'."\n"
- .'- **lindorm_v2_multizone_ha**:表示Lindorm V2多可用区g高可用版实例。',
- 'type' => 'string',
- 'example' => 'lindorm_v2',
- ],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek2i6weeb4nfii'],
+ 'ServiceType' => ['description' => '实例类型,取值:'."\n"
+ ."\n"
+ .'- **lindorm_v2**:表示Lindorm V2单可用区实例。'."\n"
+ .'- **lindorm_v2_multizone**:表示Lindorm V2多可用区基础版实例。'."\n"
+ .'- **lindorm_v2_multizone_ha**:表示Lindorm V2多可用区g高可用版实例。', 'type' => 'string', 'example' => 'lindorm_v2'],
'WhiteIpList' => [
'description' => '实例访问白名单',
'type' => 'array',
@@ -3743,16 +2074,8 @@
'description' => '实例访问白名单',
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '分组名称,只允许包含字母、数字、下划线。',
- 'type' => 'string',
- 'example' => 'swhy',
- ],
- 'IpList' => [
- 'description' => '白名单IP地址。',
- 'type' => 'string',
- 'example' => '[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']',
- ],
+ 'GroupName' => ['description' => '分组名称,只允许包含字母、数字、下划线。', 'type' => 'string', 'example' => 'swhy'],
+ 'IpList' => ['description' => '白名单IP地址。', 'type' => 'string', 'example' => '[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']'],
],
],
],
@@ -3763,64 +2086,23 @@
'CapacityByDiskCategory' => [
'description' => '实例存储水位',
'type' => 'array',
- 'items' => [
- 'description' => '实例存储水位',
- 'type' => 'object',
- 'example' => 'Capacity',
- ],
- ],
- 'EngineUsage' => [
- 'description' => '各引擎存储使用大小',
- 'type' => 'object',
- 'example' => '16',
+ 'items' => ['description' => '实例存储水位', 'type' => 'object', 'example' => 'Capacity'],
],
+ 'EngineUsage' => ['description' => '各引擎存储使用大小', 'type' => 'object', 'example' => '16'],
],
],
- 'ZoneEngineInfoMap' => [
- 'description' => '引擎可用区部署详情',
- 'type' => 'object',
- 'example' => 'ZoneEngineInfoMap',
- ],
- 'InitialRootPassword' => [
- 'description' => '初始化默认密码',
- 'type' => 'string',
- 'example' => '*****',
- ],
- 'DiskThreshold' => [
- 'description' => '磁盘空间的阈值。',
- 'type' => 'string',
- 'example' => '80%',
- ],
- 'EnableCompute' => [
- 'description' => '是否开通实例的计算引擎,返回:'."\n"
- ."\n"
- .'- **true**:已开通。'."\n"
- .'- **false**:未开通。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'MaintainStartTime' => [
- 'description' => '可维护开始时间。',
- 'type' => 'string',
- 'example' => '00:00Z',
- ],
- 'MaintainEndTime' => [
- 'description' => '可维护结束时间。',
- 'type' => 'string',
- 'example' => '20:00Z',
- ],
- 'CloudStorageSize' => [
- 'description' => '云存储空间,单位GB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '480',
- ],
- 'EnableFs' => [
- 'type' => 'string',
- ],
- 'EnableStoreTDE' => [
- 'type' => 'string',
- ],
+ 'ZoneEngineInfoMap' => ['description' => '引擎可用区部署详情', 'type' => 'object', 'example' => 'ZoneEngineInfoMap'],
+ 'InitialRootPassword' => ['description' => '初始化默认密码', 'type' => 'string', 'example' => '*****'],
+ 'DiskThreshold' => ['description' => '磁盘空间的阈值。', 'type' => 'string', 'example' => '80%'],
+ 'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
+ ."\n"
+ .'- **true**:已开通。'."\n"
+ .'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
+ 'MaintainStartTime' => ['description' => '可维护开始时间。', 'type' => 'string', 'example' => '00:00Z'],
+ 'MaintainEndTime' => ['description' => '可维护结束时间。', 'type' => 'string', 'example' => '20:00Z'],
+ 'CloudStorageSize' => ['description' => '云存储空间,单位GB', 'type' => 'integer', 'format' => 'int64', 'example' => '480'],
+ 'EnableFs' => ['description' => '是否开通文件引擎', 'type' => 'string', 'example' => 'false'],
+ 'EnableStoreTDE' => ['description' => '是否开启存储TDE加密', 'type' => 'string', 'example' => 'false'],
],
'description' => '',
],
@@ -3828,48 +2110,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询Lindorm V2实例详情',
'summary' => '查询新架构实例详情。',
'description' => 'Lindorm 集群的底层存储版本>= 4.1.9 以后,存储使用详情参考 LStorageUsageList 放回的列表值。',
@@ -3882,27 +2134,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"VswitchId\\": \\"vsw-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"PerformanceStorage\\",\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"ColdStorage\\": 800,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"AutoRenew\\": true,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1mq0tdzbx1m****\\",\\n \\"InstanceType\\": \\"basic\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"lindorm-test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"Engine\\": \\"TABLE\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"ConnectAddressList\\": [\\n {\\n \\"Address\\": \\"ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060\\",\\n \\"Type\\": \\"INTRANET\\",\\n \\"Port\\": \\"33060\\"\\n }\\n ],\\n \\"NodeGroup\\": [\\n {\\n \\"NodeSpec\\": \\"lindorm.g.2xlarge\\",\\n \\"EnableAttachLocalDisk\\": false,\\n \\"LocalDiskCategory\\": \\"cloud_essd\\",\\n \\"LocalDiskCapacity\\": 100,\\n \\"CpuCoreCount\\": 32,\\n \\"MemorySizeGiB\\": 64,\\n \\"Quantity\\": 10,\\n \\"Category\\": \\"caculated\\",\\n \\"ResourceGroupName\\": \\"job_debug\\",\\n \\"SpecId\\": \\"ecs.c6.large\\",\\n \\"Status\\": \\"ACTIVATION\\"\\n }\\n ]\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-aek2i6weeb4nfii\\",\\n \\"ServiceType\\": \\"lindorm_v2\\",\\n \\"WhiteIpList\\": [\\n {\\n \\"GroupName\\": \\"swhy\\",\\n \\"IpList\\": \\"[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']\\"\\n }\\n ],\\n \\"StorageUsage\\": {\\n \\"CapacityByDiskCategory\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"EngineUsage\\": 16\\n },\\n \\"ZoneEngineInfoMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"InitialRootPassword\\": \\"*****\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"EnableCompute\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"CloudStorageSize\\": 480,\\n \\"EnableFs\\": \\"\\",\\n \\"EnableStoreTDE\\": \\"\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"VswitchId\\": \\"vsw-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"PerformanceStorage\\",\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"ColdStorage\\": 800,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"AutoRenew\\": true,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1mq0tdzbx1m****\\",\\n \\"InstanceType\\": \\"basic\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"lindorm-test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"Engine\\": \\"TABLE\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"ConnectAddressList\\": [\\n {\\n \\"Address\\": \\"ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060\\",\\n \\"Type\\": \\"INTRANET\\",\\n \\"Port\\": \\"33060\\"\\n }\\n ],\\n \\"NodeGroup\\": [\\n {\\n \\"NodeSpec\\": \\"lindorm.g.2xlarge\\",\\n \\"EnableAttachLocalDisk\\": false,\\n \\"LocalDiskCategory\\": \\"cloud_essd\\",\\n \\"LocalDiskCapacity\\": 100,\\n \\"CpuCoreCount\\": 32,\\n \\"MemorySizeGiB\\": 64,\\n \\"Quantity\\": 10,\\n \\"Category\\": \\"caculated\\",\\n \\"ResourceGroupName\\": \\"job_debug\\",\\n \\"SpecId\\": \\"ecs.c6.large\\",\\n \\"Status\\": \\"ACTIVATION\\"\\n }\\n ]\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-aek2i6weeb4nfii\\",\\n \\"ServiceType\\": \\"lindorm_v2\\",\\n \\"WhiteIpList\\": [\\n {\\n \\"GroupName\\": \\"swhy\\",\\n \\"IpList\\": \\"[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']\\"\\n }\\n ],\\n \\"StorageUsage\\": {\\n \\"CapacityByDiskCategory\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"EngineUsage\\": 16\\n },\\n \\"ZoneEngineInfoMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"InitialRootPassword\\": \\"*****\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"EnableCompute\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"CloudStorageSize\\": 480,\\n \\"EnableFs\\": \\"false\\",\\n \\"EnableStoreTDE\\": \\"false\\"\\n}","type":"json"}]',
],
'GetLindormV2StorageUsage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3913,21 +2154,13 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '194193',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbDXDFAS',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-ufxxxxxxxxxx',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-ufxxxxxxxxxx'],
],
],
'responses' => [
@@ -3977,72 +2210,31 @@
'UsageByDiskCategory' => [
'description' => '各存储介质的水位信息',
'type' => 'array',
- 'items' => [
- 'description' => '- **capacity** 总容量(单位: Byte)'."\n"
- .'- **used** 已使用容量(单位: Byte)'."\n"
- .'- **diskType** 存储类型,取值:'."\n"
- .' - **STANDARD_CLOUD_STORAGE** 远端云存储-标准型'."\n"
- .' - **PERFORMANCE_CLOUD_STORAGE** 远端云存储-性能型'."\n"
- .' - **CAPACITY_CLOUD_STORAGE** 远端云存储-容量型'."\n"
- .' - **LOCAL_SSD_STORAGE** 本地SSD盘'."\n"
- .' - **LOCAL_HDD_STORAGE** 本地HDD盘'."\n"
- .' - **LOCAL_EBS_STORAGE** 本地数据云盘'."\n"
- .' - **FOREIGN_BUFFER_STORAGE** 容量型云存储本地缓存云盘'."\n"
- .' - **LOCAL_EBS_STORAGE_EFFECTIVE** 本地高效数据云盘'."\n"
- .' - **LOCAL_EBS_STORAGE_PL0** 本地PL0数据云盘'."\n"
- .' - **LOCAL_EBS_STORAGE_PL1** 本地PL1数据云盘'."\n"
- .' - **LOCAL_EBS_STORAGE_PL2** 本地PL2数据云盘'."\n"
- .' - **LOCAL_EBS_STORAGE_PL3** 本地PL3数据云盘'."\n"
- .'- **usedLindormTable** 宽表引擎使用'."\n"
- .'- **usedLindormTsdb** 时序引擎使用'."\n"
- .'- **usedLindormSteam** 流引擎使用'."\n"
- .'- **usedLindormSearch** 搜索引擎使用'."\n"
- .'- **usedLindormSearch3** 搜索引擎使用'."\n"
- .'- **usedLindormVector3** 向量引擎使用'."\n"
- .'- **usedLindormColumn3** 列存引擎使用'."\n"
- .'- **usedLindormMessage3** 消息引擎使用'."\n"
- .'- **usedLindormSpark** 计算引擎使用'."\n"
- .'- **usedOther** 其他使用',
- 'type' => 'object',
- 'example' => ' {'."\n"
- .' "usedLindormColumn3": 688935,'."\n"
- .' "usedLindormTable": 1086288931872,'."\n"
- .' "usedLindormTsdb": 0,'."\n"
- .' "usedOther": 0,'."\n"
- .' "usedLindormMessage3": 0,'."\n"
- .' "diskType": "PerformanceCloudStorage",'."\n"
- .' "used": 1719816329046,'."\n"
- .' "usedLindormSearch3": 36339905446,'."\n"
- .' "usedLindormSpark": 2131936938,'."\n"
- .' "capacity": 4294967296000,'."\n"
- .' "usedLindormSearch": 0,'."\n"
- .' "usedLindormVector3": 595054865855'."\n"
- .' }',
- ],
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'BDDB1954-002B-4249-B2DF-2CDDA0259668',
- ],
- 'InstanceStorageZoneMap' => [
- 'description' => '多可用区实例容量信息'."\n"
- ."\n"
- .'{"ZoneId":{"CapacityByDiskCategory":{...},"UsageByDiskCategory":{...}}}',
- 'type' => 'object',
- 'example' => '{'."\n"
- .' "cn-hangzhou-i": {'."\n"
- .' "diskTypeCapacity": ['."\n"
- .' {'."\n"
- .' "mode": "CLOUD_STORAGE",'."\n"
- .' "perfLevel": "PL1",'."\n"
- .' "usedCapacity": 0,'."\n"
- .' "category": "PERF_CLOUD_ESSD_PL1",'."\n"
- .' "capacity": 4000'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "diskTypeUsage": ['."\n"
- .' {'."\n"
+ 'items' => ['description' => '- **capacity** 总容量(单位: Byte)'."\n"
+ .'- **used** 已使用容量(单位: Byte)'."\n"
+ .'- **diskType** 存储类型,取值:'."\n"
+ .' - **STANDARD_CLOUD_STORAGE** 远端云存储-标准型'."\n"
+ .' - **PERFORMANCE_CLOUD_STORAGE** 远端云存储-性能型'."\n"
+ .' - **CAPACITY_CLOUD_STORAGE** 远端云存储-容量型'."\n"
+ .' - **LOCAL_SSD_STORAGE** 本地SSD盘'."\n"
+ .' - **LOCAL_HDD_STORAGE** 本地HDD盘'."\n"
+ .' - **LOCAL_EBS_STORAGE** 本地数据云盘'."\n"
+ .' - **FOREIGN_BUFFER_STORAGE** 容量型云存储本地缓存云盘'."\n"
+ .' - **LOCAL_EBS_STORAGE_EFFECTIVE** 本地高效数据云盘'."\n"
+ .' - **LOCAL_EBS_STORAGE_PL0** 本地PL0数据云盘'."\n"
+ .' - **LOCAL_EBS_STORAGE_PL1** 本地PL1数据云盘'."\n"
+ .' - **LOCAL_EBS_STORAGE_PL2** 本地PL2数据云盘'."\n"
+ .' - **LOCAL_EBS_STORAGE_PL3** 本地PL3数据云盘'."\n"
+ .'- **usedLindormTable** 宽表引擎使用'."\n"
+ .'- **usedLindormTsdb** 时序引擎使用'."\n"
+ .'- **usedLindormSteam** 流引擎使用'."\n"
+ .'- **usedLindormSearch** 搜索引擎使用'."\n"
+ .'- **usedLindormSearch3** 搜索引擎使用'."\n"
+ .'- **usedLindormVector3** 向量引擎使用'."\n"
+ .'- **usedLindormColumn3** 列存引擎使用'."\n"
+ .'- **usedLindormMessage3** 消息引擎使用'."\n"
+ .'- **usedLindormSpark** 计算引擎使用'."\n"
+ .'- **usedOther** 其他使用', 'type' => 'object', 'example' => ' {'."\n"
.' "usedLindormColumn3": 688935,'."\n"
.' "usedLindormTable": 1086288931872,'."\n"
.' "usedLindormTsdb": 0,'."\n"
@@ -4055,16 +2247,41 @@
.' "capacity": 4294967296000,'."\n"
.' "usedLindormSearch": 0,'."\n"
.' "usedLindormVector3": 595054865855'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' }',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
+ .' }'],
],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'BDDB1954-002B-4249-B2DF-2CDDA0259668'],
+ 'InstanceStorageZoneMap' => ['description' => '多可用区实例容量信息'."\n"
+ ."\n"
+ .'{"ZoneId":{"CapacityByDiskCategory":{...},"UsageByDiskCategory":{...}}}', 'type' => 'object', 'example' => '{'."\n"
+ .' "cn-hangzhou-i": {'."\n"
+ .' "diskTypeCapacity": ['."\n"
+ .' {'."\n"
+ .' "mode": "CLOUD_STORAGE",'."\n"
+ .' "perfLevel": "PL1",'."\n"
+ .' "usedCapacity": 0,'."\n"
+ .' "category": "PERF_CLOUD_ESSD_PL1",'."\n"
+ .' "capacity": 4000'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "diskTypeUsage": ['."\n"
+ .' {'."\n"
+ .' "usedLindormColumn3": 688935,'."\n"
+ .' "usedLindormTable": 1086288931872,'."\n"
+ .' "usedLindormTsdb": 0,'."\n"
+ .' "usedOther": 0,'."\n"
+ .' "usedLindormMessage3": 0,'."\n"
+ .' "diskType": "PerformanceCloudStorage",'."\n"
+ .' "used": 1719816329046,'."\n"
+ .' "usedLindormSearch3": 36339905446,'."\n"
+ .' "usedLindormSpark": 2131936938,'."\n"
+ .' "capacity": 4294967296000,'."\n"
+ .' "usedLindormSearch": 0,'."\n"
+ .' "usedLindormVector3": 595054865855'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
@@ -4072,58 +2289,38 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取Lindorm_V2实例存储详情',
'summary' => '获取某个具体的Lindorm新架构实例下各个存储介质的存储详情。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:GetLindormV2StorageUsage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CapacityByDiskCategory\\": [\\n {\\n \\"mode\\": \\"CLOUD_STORAGE\\",\\n \\"perfLevel\\": \\"PL1\\",\\n \\"usedCapacity\\": 0,\\n \\"category\\": \\"PERF_CLOUD_ESSD_PL1\\",\\n \\"capacity\\": 4000\\n }\\n ],\\n \\"UsageByDiskCategory\\": [\\n {\\n \\"usedLindormColumn3\\": 688935,\\n \\"usedLindormTable\\": 1086288931872,\\n \\"usedLindormTsdb\\": 0,\\n \\"usedOther\\": 0,\\n \\"usedLindormMessage3\\": 0,\\n \\"diskType\\": \\"PerformanceCloudStorage\\",\\n \\"used\\": 1719816329046,\\n \\"usedLindormSearch3\\": 36339905446,\\n \\"usedLindormSpark\\": 2131936938,\\n \\"capacity\\": 4294967296000,\\n \\"usedLindormSearch\\": 0,\\n \\"usedLindormVector3\\": 595054865855\\n }\\n ],\\n \\"RequestId\\": \\"BDDB1954-002B-4249-B2DF-2CDDA0259668\\",\\n \\"InstanceStorageZoneMap\\": {\\n \\"cn-hangzhou-i\\": {\\n \\"diskTypeCapacity\\": [\\n {\\n \\"mode\\": \\"CLOUD_STORAGE\\",\\n \\"perfLevel\\": \\"PL1\\",\\n \\"usedCapacity\\": 0,\\n \\"category\\": \\"PERF_CLOUD_ESSD_PL1\\",\\n \\"capacity\\": 4000\\n }\\n ],\\n \\"diskTypeUsage\\": [\\n {\\n \\"usedLindormColumn3\\": 688935,\\n \\"usedLindormTable\\": 1086288931872,\\n \\"usedLindormTsdb\\": 0,\\n \\"usedOther\\": 0,\\n \\"usedLindormMessage3\\": 0,\\n \\"diskType\\": \\"PerformanceCloudStorage\\",\\n \\"used\\": 1719816329046,\\n \\"usedLindormSearch3\\": 36339905446,\\n \\"usedLindormSpark\\": 2131936938,\\n \\"capacity\\": 4294967296000,\\n \\"usedLindormSearch\\": 0,\\n \\"usedLindormVector3\\": 595054865855\\n }\\n ]\\n }\\n },\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'ListTagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4131,19 +2328,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceId',
@@ -4152,12 +2342,7 @@
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '实例ID,可以查询多个实例和标签的绑定关系,请传入多个实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ld-bp17j28j2y7pm****',
- ],
+ 'items' => ['description' => '实例ID,可以查询多个实例和标签的绑定关系,请传入多个实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => false,
'docRequired' => true,
'maxItems' => 51,
@@ -4167,24 +2352,14 @@
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '下一个查询开始Token,用来返回更多结果。'."\n"
- ."\n"
- .'> 第一次查询不需要提供本参数,如果一次查询没有返回全部结果,则可在后续查询中传入前一次返回的**NextToken**值以继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '212db86****',
- ],
+ 'schema' => ['description' => '下一个查询开始Token,用来返回更多结果。'."\n"
+ ."\n"
+ .'> 第一次查询不需要提供本参数,如果一次查询没有返回全部结果,则可在后续查询中传入前一次返回的**NextToken**值以继续查询。', 'type' => 'string', 'required' => false, 'example' => '212db86****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值固定为**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'Tag',
@@ -4196,22 +2371,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签的键。'."\n"
- .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'description' => '标签的值。'."\n"
- .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.2.8',
- ],
+ 'Key' => ['description' => '标签的键。'."\n"
+ .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['description' => '标签的值。'."\n"
+ .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.8'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
'maxItems' => 21,
@@ -4224,109 +2390,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '05CB115C-91CB-529F-9098-50C1F6CB3BD3',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '05CB115C-91CB-529F-9098-50C1F6CB3BD3'],
'TagResources' => [
'description' => '资源列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。返回值固定为**ALIYUN::HITSDB::INSTANCE**。',
- 'type' => 'string',
- 'example' => 'ALIYUN::HITSDB::INSTANCE',
- ],
- 'TagValue' => [
- 'description' => '标签的值。',
- 'type' => 'string',
- 'example' => '2.2.8',
- ],
- 'ResourceId' => [
- 'description' => '资源ID,即实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp17j28j2y7pm****',
- ],
- 'TagKey' => [
- 'description' => '标签的键。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'ResourceType' => ['description' => '资源类型。返回值固定为**ALIYUN::HITSDB::INSTANCE**。', 'type' => 'string', 'example' => 'ALIYUN::HITSDB::INSTANCE'],
+ 'TagValue' => ['description' => '标签的值。', 'type' => 'string', 'example' => '2.2.8'],
+ 'ResourceId' => ['description' => '资源ID,即实例ID。', 'type' => 'string', 'example' => 'ld-bp17j28j2y7pm****'],
+ 'TagKey' => ['description' => '标签的键。', 'type' => 'string', 'example' => 'test'],
],
+ 'description' => '',
],
],
- 'NextToken' => [
- 'description' => '下一个查询开始Token。'."\n"
- ."\n"
- .'> 如果一次查询没有返回全部结果,则会返回本参数,您可以后续查询中传入本参数返回的值以继续查询。',
- 'type' => 'string',
- 'example' => '212db86****',
- ],
+ 'NextToken' => ['description' => '下一个查询开始Token。'."\n"
+ ."\n"
+ .'> 如果一次查询没有返回全部结果,则会返回本参数,您可以后续查询中传入本参数返回的值以继续查询。', 'type' => 'string', 'example' => '212db86****'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.MissingParameter',
- 'errorMessage' => 'You must specify ResourceId.N or Tags',
- 'description' => '请指定实例ID或标签。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags',
- 'errorMessage' => 'The maximum number of Tags is exceeded.',
- 'description' => '标签数量超过限制,最多不超过20个。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds',
- 'errorMessage' => 'The maximum number of ResourceIds is exceeded.',
- 'description' => '实例ID数量超过限制,最多不超过50个',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.MissingParameter', 'errorMessage' => 'You must specify ResourceId.N or Tags', 'description' => '请指定实例ID或标签。'],
+ ['errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超过限制,最多不超过20个。'],
+ ['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => '实例ID数量超过限制,最多不超过50个'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.InstanceNotFound',
- 'errorMessage' => 'The instance is not found.',
- 'description' => '操作失败,该实例不存在。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '获取Lindorm实例和标签的绑定关系',
'summary' => '获取Lindorm实例和标签的绑定关系。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'lindorm:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"05CB115C-91CB-529F-9098-50C1F6CB3BD3\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"ALIYUN::HITSDB::INSTANCE\\",\\n \\"TagValue\\": \\"2.2.8\\",\\n \\"ResourceId\\": \\"ld-bp17j28j2y7pm****\\",\\n \\"TagKey\\": \\"test\\"\\n }\\n ],\\n \\"NextToken\\": \\"212db86****\\"\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>48E3A4AA-808C-5480-9DC7-8F4B96E13A93</RequestId>\\n <TagResources>\\n <ResourceType>ALIYUN::HITSDB::INSTANCE</ResourceType>\\n <TagValue>2.2.8</TagValue>\\n <ResourceId>ld-bp17j28j2y7pm****</ResourceId>\\n <TagKey>test</TagKey>\\n </TagResources>\\n <NextToken>212db86****</NextToken>\\n</ListTagResourcesResponse>","errorExample":""}]',
],
'ModifyInstancePayType' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4337,65 +2459,39 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '158675',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb6YHIIK',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1z3506imz2f****',
- ],
+ 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'Duration',
'in' => 'query',
- 'schema' => [
- 'description' => '购买时长,转成包年包月类型时需要传入。'."\n"
- ."\n"
- .'- PricingCycle为Month时,取值范围为\\[1,9\\]。'."\n"
- ."\n"
- .'- PricingCycle为Year时,取值范围为\\[1,3\\]。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '购买时长,转成包年包月类型时需要传入。'."\n"
+ ."\n"
+ .'- PricingCycle为Month时,取值范围为\\[1,9\\]。'."\n"
+ ."\n"
+ .'- PricingCycle为Year时,取值范围为\\[1,3\\]。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
- 'schema' => [
- 'description' => '转成包年包月类型时的购买时长单位。'."\n"
- ."\n"
- .'- Month:月。'."\n"
- ."\n"
- .'- Year:年。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'Month',
- ],
+ 'schema' => ['description' => '转成包年包月类型时的购买时长单位。'."\n"
+ ."\n"
+ .'- Month:月。'."\n"
+ ."\n"
+ .'- Year:年。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Month'],
],
[
'name' => 'PayType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的付费类型,返回:'."\n"
- ."\n"
- .'- **PREPAY**:包年包月。'."\n"
- .'- **POSTPAY**:按量付费。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'POSTPAY',
- ],
+ 'schema' => ['description' => '实例的付费类型,返回:'."\n"
+ ."\n"
+ .'- **PREPAY**:包年包月。'."\n"
+ .'- **POSTPAY**:按量付费。', 'type' => 'string', 'required' => true, 'example' => 'POSTPAY'],
],
],
'responses' => [
@@ -4404,67 +2500,26 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '587BCA54-50DA-4885-ADE9-80A848339151',
- ],
- 'OrderId' => [
- 'description' => '订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '211662251220224',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'ld-bp1z3506imz2f****',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '587BCA54-50DA-4885-ADE9-80A848339151'],
+ 'OrderId' => ['description' => '订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '211662251220224'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotAvailable',
- 'errorMessage' => 'The instance is unavailable.',
- 'description' => '操作失败,实例不可用。',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotAvailable', 'errorMessage' => 'The instance is unavailable.', 'description' => '操作失败,实例不可用。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.InstanceNotFound',
- 'errorMessage' => 'The instance is not found.',
- 'description' => '操作失败,该实例不存在。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '变更Lindorm实例的计费方式',
@@ -4474,18 +2529,25 @@
.'请确保在使用该接口前,已充分了解Lindorm产品的收费方式和<props="china">[价格](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.6345281fu63xJ3#/hitsdb/detail/hitsdb_lindormpre_public_cn)。只发布国内站</props>'."\n"
.'<props="intl">[价格](https://www.alibabacloud.com/zh/pricing-calculator?_p_lc=1&spm=a2796.7960336.3034855210.1.7396b91aC5VjZ7#/commodity/vm_intl)。只发布国际站</props>',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:ModifyInstancePayType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"587BCA54-50DA-4885-ADE9-80A848339151\\",\\n \\"OrderId\\": 211662251220224,\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'ReleaseLindormInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '释放Lindorm实例。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4498,33 +2560,18 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '64084',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1z3506imz2f****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'Immediately',
'in' => 'query',
- 'schema' => [
- 'description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。',
- 'type' => 'boolean',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'false',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'default' => 'true'],
],
],
'responses' => [
@@ -4532,76 +2579,35 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F67BFFF3-F5C2-45B5-9C28-6E4A1E51****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F67BFFF3-F5C2-45B5-9C28-6E4A1E51****'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ChargeType.IsNotValid',
- 'errorMessage' => 'The charge type is invalid.',
- 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。',
- ],
- [
- 'errorCode' => 'Instance.IsNotPostPay',
- 'errorMessage' => 'The instance billing type is not pay as you go.',
- 'description' => '该实例的付费类型不是按量付费。',
- ],
- [
- 'errorCode' => 'Instance.DeleteProtection',
- 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.',
- 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。',
- ],
+ ['errorCode' => 'ChargeType.IsNotValid', 'errorMessage' => 'The charge type is invalid.', 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
+ ['errorCode' => 'Instance.IsNotPostPay', 'errorMessage' => 'The instance billing type is not pay as you go.', 'description' => '该实例的付费类型不是按量付费。'],
+ ['errorCode' => 'Instance.DeleteProtection', 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.InstanceNotFound',
- 'errorMessage' => 'The instance is not found.',
- 'description' => '操作失败,该实例不存在。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '释放Lindorm实例',
- 'summary' => '释放Lindorm实例。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
- [
- 'createdAt' => '2025-05-26T12:59:31.000Z',
- 'description' => '请求参数发生变更',
- ],
- [
- 'createdAt' => '2025-05-26T12:55:38.000Z',
- 'description' => 'OpenAPI 下线',
- ],
- [
- 'createdAt' => '2025-05-26T12:55:30.000Z',
- 'description' => 'OpenAPI 下线',
- ],
+ ['createdAt' => '2025-05-26T12:59:31.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-05-26T12:55:38.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2025-05-26T12:55:30.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
@@ -4611,12 +2617,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
@@ -4625,13 +2626,8 @@
],
'ReleaseLindormV2Instance' => [
'summary' => '释放实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4644,33 +2640,18 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '253512',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~190281~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~190281~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'Immediately',
'in' => 'query',
- 'schema' => [
- 'description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。',
- 'type' => 'boolean',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'true', 'default' => 'true'],
],
],
'responses' => [
@@ -4678,16 +2659,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
@@ -4695,50 +2668,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ChargeType.IsNotValid',
- 'errorMessage' => 'The charge type is invalid.',
- 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。',
- ],
- [
- 'errorCode' => 'Instance.IsNotPostPay',
- 'errorMessage' => 'The instance billing type is not pay as you go.',
- 'description' => '该实例的付费类型不是按量付费。',
- ],
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.DeleteProtection',
- 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.',
- 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。',
- ],
+ ['errorCode' => 'ChargeType.IsNotValid', 'errorMessage' => 'The charge type is invalid.', 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
+ ['errorCode' => 'Instance.IsNotPostPay', 'errorMessage' => 'The instance billing type is not pay as you go.', 'description' => '该实例的付费类型不是按量付费。'],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.DeleteProtection', 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.InstanceNotFound',
- 'errorMessage' => 'The instance is not found.',
- 'description' => '操作失败,该实例不存在。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '释放Lindorm V2实例',
@@ -4751,12 +2692,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
@@ -4764,14 +2700,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A7153E4-8354-497E-87E5-5D0EBEF5AEB1\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'RenewLindormInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4782,31 +2712,18 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '158636',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb6YHIIK',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ld-bp1z3506imz2f****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'PricingCycle',
@@ -4819,27 +2736,16 @@
'type' => 'string',
'required' => true,
'example' => 'Month',
- 'enum' => [
- 'Month',
- 'Year',
- ],
+ 'enum' => ['Month', 'Year'],
],
],
[
'name' => 'Duration',
'in' => 'query',
- 'schema' => [
- 'description' => '实例包年包月的时间,取值:'."\n"
- ."\n"
- .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
- .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '9',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
+ ."\n"
+ .'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
+ .'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '9', 'minimum' => '1', 'example' => '1'],
],
],
'responses' => [
@@ -4848,72 +2754,27 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'ld-bp1z3506imz2f****',
- ],
- 'OrderId' => [
- 'description' => '订单ID。您可以在阿里云费用与成本的订单管理中获取。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213465921640411',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
+ 'OrderId' => ['description' => '订单ID。您可以在阿里云费用与成本的订单管理中获取。', 'type' => 'integer', 'format' => 'int64', 'example' => '213465921640411'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.Order.CreateFailed',
- 'errorMessage' => 'Create order failed.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.Order.CreateFailed', 'errorMessage' => 'Create order failed.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.PayType.IsNotValid',
- 'errorMessage' => 'Pay type is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.Commodity.NotFound',
- 'errorMessage' => 'Commodity is not found.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.PayType.IsNotValid', 'errorMessage' => 'Pay type is not valid.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.Commodity.NotFound', 'errorMessage' => 'Commodity is not found.', 'description' => ''],
],
],
'title' => '为Lindorm实例续费',
@@ -4922,19 +2783,25 @@
."\n"
.'请确保在使用该接口前,已充分了解Lindorm产品的收费方式和价格。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:RenewLindormInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"OrderId\\": 213465921640411,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'SwitchLSQLV3MySQLService' => [
'summary' => '开通与关闭Lindorm MySQL兼容协议。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4945,21 +2812,13 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '195286',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb7G1Y1A',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb7G1Y1A'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'ActionType',
@@ -4976,10 +2835,7 @@
'required' => true,
'docRequired' => true,
'example' => '1',
- 'enum' => [
- '0',
- '1',
- ],
+ 'enum' => ['0', '1'],
],
],
],
@@ -4988,42 +2844,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'MinorVersion.TooLow',
- 'errorMessage' => 'The minor version is too low. Please upgrade.',
- 'description' => '操作失败,引擎版本过低,请升级引擎版本。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
+ ['errorCode' => 'MinorVersion.TooLow', 'errorMessage' => 'The minor version is too low. Please upgrade.', 'description' => '操作失败,引擎版本过低,请升级引擎版本。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'title' => '开通LindormMySQL协议',
@@ -5035,18 +2868,24 @@
."\n"
.'满足如上两个条件才可以支持开通MySQL协议,',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:SwitchLSQLV3MySQLService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'TagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5057,30 +2896,18 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '128918',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbI6NK1A',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbI6NK1A'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值固定为**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
@@ -5089,12 +2916,7 @@
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '实例ID,可以同时为多个实例绑定标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ld-bp17j28j2y7pm****',
- ],
+ 'items' => ['description' => '实例ID,可以同时为多个实例绑定标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => true,
'maxItems' => 51,
'minItems' => 1,
@@ -5110,24 +2932,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签的键。'."\n"
- ."\n"
- .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test',
- ],
- 'Value' => [
- 'description' => '标签的值。'."\n"
- ."\n"
- .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.2.8',
- ],
+ 'Key' => ['description' => '标签的键。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => true, 'example' => 'test'],
+ 'Value' => ['description' => '标签的值。'."\n"
+ ."\n"
+ .'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.8'],
],
'required' => false,
+ 'description' => '',
],
'required' => true,
'maxItems' => 21,
@@ -5140,93 +2953,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4F23D50C-400C-592C-9486-9D1E10179065',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4F23D50C-400C-592C-9486-9D1E10179065'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagValue',
- 'errorMessage' => 'The Tag.N.Value parameter is invalid.',
- 'description' => '输入的标签Value无效',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey',
- 'errorMessage' => 'The Tag.N.Key parameter is invalid.',
- 'description' => '输入的标签Key无效。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey',
- 'errorMessage' => 'The Tag.N.Key contains duplicate keys.',
- 'description' => '存在重复标签Key。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds',
- 'errorMessage' => 'The maximum number of ResourceIds is exceeded.',
- 'description' => '实例ID数量超过限制,最多不超过50个',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags',
- 'errorMessage' => 'The maximum number of Tags is exceeded.',
- 'description' => '标签数量超过限制,最多不超过20个。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource',
- 'errorMessage' => 'The maximum number of tags for each resource is exceeded',
- 'description' => '单个实例标签数量超限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => '输入的标签Value无效'],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '输入的标签Key无效。'],
+ ['errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => '存在重复标签Key。'],
+ ['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => '实例ID数量超过限制,最多不超过50个'],
+ ['errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超过限制,最多不超过20个。'],
+ ['errorCode' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource', 'errorMessage' => 'The maximum number of tags for each resource is exceeded', 'description' => '单个实例标签数量超限。'],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => ''],
],
[
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidResourceId',
- 'errorMessage' => 'The specified ResourceIds are not found in our records.',
- 'description' => '指定的实例不存在',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.MissingParameter.TagKey',
- 'errorMessage' => 'You must specify Tag.N.Key.',
- 'description' => '请指定标签Key',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidResourceId', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => '指定的实例不存在'],
+ ['errorCode' => 'Lindorm.Errorcode.MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => '请指定标签Key'],
],
],
'title' => '为Lindorm实例绑定标签',
'summary' => '为一个或多个Lindorm实例绑定标签。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4F23D50C-400C-592C-9486-9D1E10179065\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>4F23D50C-400C-592C-9486-9D1E10179065</RequestId>\\n</TagResourcesResponse>","errorExample":""}]',
],
'UntagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5237,20 +3009,13 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '129417',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbI6NK1A',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbI6NK1A'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,取值固定为**INSTANCE**。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
@@ -5259,12 +3024,7 @@
'schema' => [
'description' => '实例ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '实例ID,可以同时为多个实例解绑标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ld-bp17j28j2y7pm****',
- ],
+ 'items' => ['description' => '实例ID,可以同时为多个实例解绑标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => true,
'maxItems' => 51,
'minItems' => 1,
@@ -5277,14 +3037,9 @@
'schema' => [
'description' => '标签的键列表。',
'type' => 'array',
- 'items' => [
- 'description' => '标签的键。'."\n"
- ."\n"
- .'> 如果需要解绑多个实例的标签,请填写多个实例标签的键。例如:第一个TagKey表示第一个ResourceId标签的值;第二个TagKey表示第二个ResourceId标签的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'items' => ['description' => '标签的键。'."\n"
+ ."\n"
+ .'> 如果需要解绑多个实例的标签,请填写多个实例标签的键。例如:第一个TagKey表示第一个ResourceId标签的值;第二个TagKey表示第二个ResourceId标签的值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'required' => false,
'maxItems' => 21,
'minItems' => 1,
@@ -5293,19 +3048,13 @@
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'description' => '是否解绑实例上的所有标签,取值:'."\n"
- ."\n"
- .'- **true**:解绑实例上的所有标签。'."\n"
- .'- **false**:不解绑实例上的所有标签。'."\n"
- ."\n"
- .'> - 默认值为false。'."\n"
- .'- 如果同时传入TagKey和本参数,本参数不生效。'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否解绑实例上的所有标签,取值:'."\n"
+ ."\n"
+ .'- **true**:解绑实例上的所有标签。'."\n"
+ .'- **false**:不解绑实例上的所有标签。'."\n"
+ ."\n"
+ .'> - 默认值为false。'."\n"
+ .'- 如果同时传入TagKey和本参数,本参数不生效。'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
],
'responses' => [
@@ -5313,87 +3062,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8CACBBCE-7519-545C-8695-86D4F09CED7E',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8CACBBCE-7519-545C-8695-86D4F09CED7E'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey',
- 'errorMessage' => 'The Tag.N.Key parameter is invalid.',
- 'description' => '输入的标签Key无效。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.Tags.ExceedLimitation',
- 'errorMessage' => 'The maximum number of Tags is exceeded.',
- 'description' => '标签数量超限',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey',
- 'errorMessage' => 'The Tag.N.Key contains duplicate keys.',
- 'description' => '存在重复标签Key。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidTagKey.Malformed',
- 'errorMessage' => 'The Tag.N.Key parameter is invalid.',
- 'description' => '无效的标签Key',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll',
- 'errorMessage' => 'The TagKeys or DeleteAll parameter is invalid.',
- 'description' => '请指定唯一标签或设置全部删除。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.InvalidResourceId.NotFound',
- 'errorMessage' => 'The specified ResourceIds are not found in our records.',
- 'description' => '实例资源不存在',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds',
- 'errorMessage' => 'The ResourceIds parameter\'s number is exceed.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '输入的标签Key无效。'],
+ ['errorCode' => 'Lindorm.Errorcode.Tags.ExceedLimitation', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超限'],
+ ['errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => '存在重复标签Key。'],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidTagKey.Malformed', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '无效的标签Key'],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll', 'errorMessage' => 'The TagKeys or DeleteAll parameter is invalid.', 'description' => '请指定唯一标签或设置全部删除。'],
+ ['errorCode' => 'Lindorm.Errorcode.InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => '实例资源不存在'],
+ ['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter\'s number is exceed.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => ''],
],
],
'title' => '为Lindorm实例解绑标签',
'summary' => '为Lindorm实例解绑标签。',
'description' => '如果标签没有绑定到任何Lindorm实例,则该标签会被删除。',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CACBBCE-7519-545C-8695-86D4F09CED7E\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>8CACBBCE-7519-545C-8695-86D4F09CED7E</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]',
],
'UpdateInstanceIpWhiteList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5404,54 +3116,30 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '64089',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb3JDHWG',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1z3506imz2f****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'SecurityIpList',
'in' => 'query',
- 'schema' => [
- 'description' => '需要设置的白名单IP地址。'."\n"
- ."\n"
- .'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '192.168.0.X/24',
- ],
+ 'schema' => ['description' => '需要设置的白名单IP地址。'."\n"
+ ."\n"
+ .'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.168.0.X/24'],
],
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '白名单分组名称,不填默认为”user“。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_group',
- ],
+ 'schema' => ['description' => '白名单分组名称,不填默认为”user“。', 'type' => 'string', 'required' => false, 'example' => 'test_group'],
],
[
'name' => 'Delete',
'in' => 'query',
- 'schema' => [
- 'description' => '是否清空白名单。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否清空白名单。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -5459,49 +3147,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4944539D-D27C-458D-95F1-2DCEB5E0EED5',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4944539D-D27C-458D-95F1-2DCEB5E0EED5'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '设置Lindorm实例的访问白名单',
@@ -5510,19 +3171,25 @@
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:UpdateInstanceIpWhiteList',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4944539D-D27C-458D-95F1-2DCEB5E0EED5\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormInstanceAttribute' => [
'summary' => '更新实例名称或删除保护。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5535,45 +3202,26 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '76409',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb6YHIIK',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1z3506imz2f****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
- 'schema' => [
- 'description' => '实例名称',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'lindorm-test',
- ],
+ 'schema' => ['description' => '实例名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm-test'],
],
[
'name' => 'DeletionProtection',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启删除保护,返回:'."\n"
- ."\n"
- .'- **true**:开启。'."\n"
- .'- **false**:关闭。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否开启删除保护,返回:'."\n"
+ ."\n"
+ .'- **true**:开启。'."\n"
+ .'- **false**:关闭。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -5581,16 +3229,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝的详细原因。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
@@ -5598,33 +3238,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'eventInfo' => [
@@ -5645,12 +3265,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
@@ -5658,14 +3273,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormV2Instance' => [
- 'summary' => '更新LindormV2Instance',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5678,21 +3287,13 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '251726',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbUE1KPV',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'CloudStorageType',
@@ -5706,45 +3307,23 @@
'required' => false,
'docRequired' => true,
'example' => 'PerformanceStorage',
- 'enum' => [
- 'StandardStorage',
- 'PerformanceStorage',
- 'CapacityStorage',
- ],
+ 'enum' => ['StandardStorage', 'PerformanceStorage', 'CapacityStorage'],
],
],
[
'name' => 'CloudStorageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '云存储空间,单位GB',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '480',
- ],
+ 'schema' => ['description' => '云存储空间,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '480'],
],
[
'name' => 'EnableCapacityStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启容量型存储',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否开启容量型存储', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CapacityStorageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '容量型存储空间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10000',
- ],
+ 'schema' => ['description' => '容量型存储空间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10000'],
],
[
'name' => 'EngineList',
@@ -5770,17 +3349,7 @@
'type' => 'string',
'required' => true,
'example' => 'TABLE',
- 'enum' => [
- 'TABLE',
- 'TSDB',
- 'LTS',
- 'LSEARCH',
- 'LSTREAM',
- 'LVECTOR',
- 'LMESSAGE',
- 'LAI',
- 'LCOLUMN',
- ],
+ 'enum' => ['TABLE', 'TSDB', 'LTS', 'LSEARCH', 'LSTREAM', 'LVECTOR', 'LMESSAGE', 'LAI', 'LCOLUMN'],
],
'NodeGroupList' => [
'description' => '引擎节点组列表',
@@ -5789,56 +3358,26 @@
'description' => '引擎节点组列表',
'type' => 'object',
'properties' => [
- 'NodeSpec' => [
- 'description' => '引擎节点规格'."\n"
- ."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lindorm.g.2xlarge',
- ],
- 'NodeCount' => [
- 'description' => '节点数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '6',
- ],
+ 'NodeSpec' => ['description' => '引擎节点规格'."\n"
+ ."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB。', 'type' => 'string', 'required' => true, 'example' => 'lindorm.g.2xlarge'],
+ 'NodeCount' => ['description' => '节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'],
'NodeDiskType' => [
'description' => '节点云盘类型,非必填,**特殊场景下使用,白名单开放**',
'type' => 'string',
'required' => false,
'example' => 'cloud_essd',
'default' => 'cloud_essd',
- 'enum' => [
- 'cloud_essd',
- 'cloud_efficiency',
- ],
- ],
- 'NodeDiskSize' => [
- 'description' => '单节点磁盘大小,非必填',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'ResourceGroupName' => [
- 'description' => '节点组名称,**必填**,通过GetLindormV2Instance接口查询返回',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'groupName',
- ],
- 'GroupId' => [
- 'description' => '节点组Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ix90Yes',
+ 'enum' => ['cloud_essd', 'cloud_efficiency'],
],
+ 'NodeDiskSize' => ['description' => '单节点磁盘大小,非必填', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'ResourceGroupName' => ['description' => '节点组名称,**必填**,通过GetLindormV2Instance接口查询返回', 'type' => 'string', 'required' => false, 'example' => 'groupName'],
+ 'GroupId' => ['description' => '节点组Id', 'type' => 'string', 'required' => false, 'example' => 'ix90Yes'],
],
'required' => false,
],
@@ -5856,12 +3395,7 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
],
'responses' => [
@@ -5869,88 +3403,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'ld-bp1478w1603****',
- ],
- 'OrderId' => [
- 'description' => '订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '240136741090345',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '权限校验失败详情。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1478w1603****'],
+ 'OrderId' => ['description' => '订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '240136741090345'],
+ 'AccessDeniedDetail' => ['description' => '权限校验失败详情。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.ParameterInvaild',
- 'errorMessage' => 'The parameter is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
- [
- 'errorCode' => 'LindormErrorCode.OperationDenied.OrderProcessing',
- 'errorMessage' => 'There is an order in process, please confirm that it has been processed and try again.',
- 'description' => '',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
+ ['errorCode' => 'LindormErrorCode.OperationDenied.OrderProcessing', 'errorMessage' => 'There is an order in process, please confirm that it has been processed and try again.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'asynchronous',
- 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance',
- 'callbackInterval' => 300000,
- 'maxCallbackTimes' => 12,
- ],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance', 'callbackInterval' => 300000, 'maxCallbackTimes' => 12],
'title' => '变配Lindorm V2实例',
+ 'summary' => '更新LindormV2Instance',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:UpdateLindormV2Instance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1478w1603****\\",\\n \\"OrderId\\": 240136741090345,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormV2WhiteIpList' => [
'summary' => '设置LindormV2实例的访问白名单',
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5962,31 +3459,19 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdb3JDHWG',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用GetLindormV2InstanceList接口获取。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ld-2ze5ipz9zx1e4****',
- ],
+ 'schema' => ['description' => '实例ID,可调用GetLindormV2InstanceList接口获取。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'example' => 'ld-2ze5ipz9zx1e4****'],
],
[
'name' => 'WhiteIpGroupList',
@@ -5999,19 +3484,9 @@
'description' => '白名单分组列表。',
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '白名单分组名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user001',
- ],
- 'WhiteIpList' => [
- 'description' => '需要设置的白名单IP地址。'."\n"
- .'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '192.168.0.X/24',
- ],
+ 'GroupName' => ['description' => '白名单分组名称。', 'type' => 'string', 'required' => true, 'example' => 'user001'],
+ 'WhiteIpList' => ['description' => '需要设置的白名单IP地址。'."\n"
+ .'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。'."\n", 'type' => 'string', 'required' => true, 'example' => '192.168.0.X/24'],
],
'required' => false,
],
@@ -6027,79 +3502,47 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '权限校验失败详情。',
- 'type' => 'string',
- 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1'],
+ 'AccessDeniedDetail' => ['description' => '权限校验失败详情。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
- [
- 'errorCode' => 'LindormErrorCode.%s',
- 'errorMessage' => '%s.',
- 'description' => '%s.',
- ],
- [
- 'errorCode' => 'WhiteIpInUpdating',
- 'errorMessage' => 'Instance is updating whiteIp now, please wait.',
- 'description' => '实例白名单更新中,请稍候。',
- ],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
+ ['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
+ ['errorCode' => 'WhiteIpInUpdating', 'errorMessage' => 'Instance is updating whiteIp now, please wait.', 'description' => '实例白名单更新中,请稍候。'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置LindormV2实例的访问白名单',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'lindorm:UpdateLindormV2WhiteIpList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A7153E4-8354-497E-87E5-5D0EBEF5AEB1\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpgradeLindormInstance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '为Lindorm实例开通冷存储,变更节点规格或节点数量,变更存储空间。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6111,278 +3554,148 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREhitsdbNQ2Q4L',
- ],
+ 'abilityTreeNodes' => ['FEATUREhitsdbNQ2Q4L'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '可用区ID,可调用[GetLindormInstance](~~426067~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai-f',
- ],
+ 'schema' => ['description' => '可用区ID,可调用[GetLindormInstance](~~426067~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ld-bp1o3y0yme2i2****',
- ],
+ 'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'UpgradeType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例需要变配的类型,支持的变配类型请参见请求参数补充中的UpgradeType参数说明。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'upgrade-cold-storage',
- ],
+ 'schema' => ['description' => '实例需要变配的类型,支持的变配类型请参见请求参数补充中的UpgradeType参数说明。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'upgrade-cold-storage'],
],
[
'name' => 'ClusterStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的存储容量,单位为GB,取值:**480**~**1017600**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '480',
- ],
+ 'schema' => ['description' => '变配后实例的存储容量,单位为GB,取值:**480**~**1017600**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '480'],
],
[
'name' => 'ColdStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的冷存储容量,单位为GB,取值:**800**~**1000000**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '800',
- ],
+ 'schema' => ['description' => '变配后实例的冷存储容量,单位为GB,取值:**800**~**1000000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '800'],
],
[
'name' => 'SolrSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的搜索引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarg**e:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的搜索引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarg**e:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'SolrNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的搜索引擎节点数量,取值:**0**~**60**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的搜索引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LindormSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的宽表引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.c.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的宽表引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'LindormNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的宽表引擎节点数量,取值:**0**~**90**。'."\n"
- ."\n"
- .'> 本参数需要和LindormSpec参数同时传入。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的宽表引擎节点数量,取值:**0**~**90**。'."\n"
+ ."\n"
+ .'> 本参数需要和LindormSpec参数同时传入。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '2'],
],
[
'name' => 'TsdbSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的时序引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
- .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
- .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的时序引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
+ .'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
+ .'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'TsdbNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的时序引擎节点数量,取值:**0**~**24**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的时序引擎节点数量,取值:**0**~**24**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'FilestoreSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的文件引擎节点规格,取值:'."\n"
- ."\n"
- .'**indorm.c.xlarge**:表示4核8GB(标准规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.c.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的文件引擎节点规格,取值:'."\n"
+ ."\n"
+ .'**indorm.c.xlarge**:表示4核8GB(标准规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'FilestoreNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的文件引擎节点数量,取值:**0**~**60**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的文件引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'StreamSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的流引擎节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
- .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
- .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的流引擎节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ .'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
+ .'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'StreamNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的流引擎节点数量,取值:**0**~**90**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的流引擎节点数量,取值:**0**~**90**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LtsCoreSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的LTS节点规格,取值:'."\n"
- ."\n"
- .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
- .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.g.xlarge',
- ],
+ 'schema' => ['description' => '变配后实例的LTS节点规格,取值:'."\n"
+ ."\n"
+ .'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
+ .'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'LtsCoreNum',
'in' => 'query',
- 'schema' => [
- 'description' => '变配后实例的LTS节点数量,取值:**0**~**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '变配后实例的LTS节点数量,取值:**0**~**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'CoreSingleStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,变配后实例的core单节点容量。取值范围400~64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '400GB',
- ],
+ 'schema' => ['description' => '多可用区实例,变配后实例的core单节点容量。取值范围400~64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400GB'],
],
[
'name' => 'LogSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,变配后实例的log节点规格。取值如下:'."\n"
- .'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
- .'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
- ."\n"
- .'**如果目标实例是多可用区实例,选填该参数。**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lindorm.sn1.large',
- ],
+ 'schema' => ['description' => '多可用区实例,变配后实例的log节点规格。取值如下:'."\n"
+ .'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
+ .'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
+ ."\n"
+ .'**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'string', 'required' => false, 'example' => 'lindorm.sn1.large'],
],
[
'name' => 'LogNum',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,变配后实例的log节点数量。取值范围4~400。**如果目标实例是多可用区实例,选填该参数。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => '多可用区实例,变配后实例的log节点数量。取值范围4~400。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'LogSingleStorage',
'in' => 'query',
- 'schema' => [
- 'description' => '多可用区实例,变配后实例的log单节点磁盘容量。取值范围400-64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '400GB',
- ],
+ 'schema' => ['description' => '多可用区实例,变配后实例的log单节点磁盘容量。取值范围400-64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400GB'],
],
],
'responses' => [
@@ -6390,74 +3703,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '111111111111111',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2A7D4F9D-AA26-4E15-A2B1-3E4792C6****',
- ],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111111111'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2A7D4F9D-AA26-4E15-A2B1-3E4792C6****'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Lindorm.Errorcode.InstanceStorageInvalid',
- 'errorMessage' => 'The instance storage parameter is invalid: %s',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Instance.IsDeleted',
- 'errorMessage' => 'The instance is deleted.',
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'errorCode' => 'Instance.IsNotValid',
- 'errorMessage' => 'The instance is invalid.',
- 'description' => '操作失败,实例无效。',
- ],
- [
- 'errorCode' => 'InstanceConfig.NotChanged',
- 'errorMessage' => 'The upgrade or downgrade configuration is not changed, please check.',
- 'description' => '升级或降配的配置未改变,请重新选择',
- ],
+ ['errorCode' => 'Lindorm.Errorcode.InstanceStorageInvalid', 'errorMessage' => 'The instance storage parameter is invalid: %s', 'description' => ''],
+ ['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
+ ['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
+ ['errorCode' => 'InstanceConfig.NotChanged', 'errorMessage' => 'The upgrade or downgrade configuration is not changed, please check.', 'description' => '升级或降配的配置未改变,请重新选择'],
],
403 => [
- [
- 'errorCode' => 'API.Forbidden',
- 'errorMessage' => 'The API operation is forbidden in this environment.',
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.OperationDenied',
- 'errorMessage' => 'You are not authorized to operate on the specified resource.',
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'errorMessage' => 'No permission to create service linked role.',
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
- [
- 'errorCode' => 'Instance.NotActive',
- 'errorMessage' => 'Instance is not active.',
- 'description' => '实例状态不是运行中',
- ],
- [
- 'errorCode' => 'OperationDenied.OrderProcessing',
- 'errorMessage' => 'Order in process, please try again later.',
- 'description' => '存在处理中的订单,请稍后重试',
- ],
+ ['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
+ ['errorCode' => 'Instance.NotActive', 'errorMessage' => 'Instance is not active.', 'description' => '实例状态不是运行中'],
+ ['errorCode' => 'OperationDenied.OrderProcessing', 'errorMessage' => 'Order in process, please try again later.', 'description' => '存在处理中的订单,请稍后重试'],
],
],
'title' => '变配Lindorm实例',
- 'summary' => '为Lindorm实例开通冷存储,变更节点规格或节点数量,变更存储空间。',
'description' => 'Lindorm实例的数据引擎和存储规格,请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。',
'requestParamsDescription' => 'UpgradeType参数说明'."\n"
.'------------------------------------'."\n"
@@ -6495,717 +3763,141 @@
.'| upgrade-lindorm-engine | String | LindormSpec和LogSpec | 升级Core节点规格或Log节点规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-lindorm-core-num | String | LindormNum和LogNum | 变配Core节点数量或Log节点数量。 |',
'changeSet' => [],
- 'ramActions' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'lindorm:UpgradeLindormInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": 111111111111111,\\n \\"RequestId\\": \\"2A7D4F9D-AA26-4E15-A2B1-3E4792C6****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpgradeLindormInstanceResponse>\\n <OrderId>111111111111111</OrderId>\\n <RequestId>2A7D4F9D-AA26-4E15-A2B1-3E4792C6****</RequestId>\\n</UpgradeLindormInstanceResponse>","errorExample":""}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-wulanchabu',
- 'regionName' => '华北6(乌兰察布)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-wulanchabu.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-wulanchabu.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'regionName' => '华北2(北京)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-beijing.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-beijing.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'regionName' => '华北1(青岛)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-qingdao.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-qingdao.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'regionName' => '华东2(上海)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-shanghai.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-shanghai.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'regionName' => '中国香港',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-hongkong.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-hongkong.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'regionName' => '华北3(张家口)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-zhangjiakou.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-zhangjiakou.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'regionName' => '华南1(深圳)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-shenzhen.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-shenzhen.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'regionName' => '日本(东京)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.ap-northeast-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.ap-northeast-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'regionName' => '西南1(成都)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-chengdu.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-chengdu.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'regionName' => '新加坡',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.ap-southeast-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.ap-southeast-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'regionName' => '马来西亚(吉隆坡)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.ap-southeast-3.aliyuncs.com',
- 'endpoint' => 'hitsdb.ap-southeast-3.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'regionName' => '华北5(呼和浩特)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-huhehaote.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-huhehaote.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'regionName' => '印度尼西亚(雅加达)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.ap-southeast-5.aliyuncs.com',
- 'endpoint' => 'hitsdb.ap-southeast-5.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'regionName' => '华东1(杭州)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'hitsdb.cn-hangzhou.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-hangzhou.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'regionName' => '美国(弗吉尼亚)',
- 'areaId' => 'europeAmerica',
- 'areaName' => '欧洲与美洲',
- 'public' => 'hitsdb.us-east-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.us-east-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'regionName' => '英国(伦敦)',
- 'areaId' => 'europeAmerica',
- 'areaName' => '欧洲与美洲',
- 'public' => 'hitsdb.eu-west-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.eu-west-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'regionName' => '美国(硅谷)',
- 'areaId' => 'europeAmerica',
- 'areaName' => '欧洲与美洲',
- 'public' => 'hitsdb.us-west-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.us-west-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'regionName' => '德国(法兰克福)',
- 'areaId' => 'europeAmerica',
- 'areaName' => '欧洲与美洲',
- 'public' => 'hitsdb.eu-central-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.eu-central-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'regionName' => '华东1 金融云',
- 'areaId' => 'industryCloud',
- 'areaName' => '行业云',
- 'public' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'regionName' => '华南1 金融云',
- 'areaId' => 'industryCloud',
- 'areaName' => '行业云',
- 'public' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'regionName' => '华东2 金融云',
- 'areaId' => 'industryCloud',
- 'areaName' => '行业云',
- 'public' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'regionName' => '北京政务云',
- 'areaId' => 'industryCloud',
- 'areaName' => '行业云',
- 'public' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com',
- 'endpoint' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com',
- 'vpc' => 'hitsdb-vpc.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'hitsdb.cn-wulanchabu.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-beijing.aliyuncs.com', 'endpoint' => 'hitsdb.cn-beijing.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-qingdao.aliyuncs.com', 'endpoint' => 'hitsdb.cn-qingdao.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-shanghai.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shanghai.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-hongkong.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hongkong.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'hitsdb.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-shenzhen.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shenzhen.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-northeast-1.aliyuncs.com', 'endpoint' => 'hitsdb.ap-northeast-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-chengdu.aliyuncs.com', 'endpoint' => 'hitsdb.cn-chengdu.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-1.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-3.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-3.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-huhehaote.aliyuncs.com', 'endpoint' => 'hitsdb.cn-huhehaote.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-5.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-5.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-hangzhou.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hangzhou.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.us-east-1.aliyuncs.com', 'endpoint' => 'hitsdb.us-east-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.eu-west-1.aliyuncs.com', 'endpoint' => 'hitsdb.eu-west-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.us-west-1.aliyuncs.com', 'endpoint' => 'hitsdb.us-west-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.eu-central-1.aliyuncs.com', 'endpoint' => 'hitsdb.eu-central-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
'errorCodes' => [
- [
- 'code' => 'API.Forbidden',
- 'message' => 'The API operation is forbidden in this environment.',
- 'http_code' => 403,
- 'description' => '操作失败,当前环境中该API无法使用。',
- ],
- [
- 'code' => 'ChargeType.IsNotValid',
- 'message' => 'The charge type is invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。',
- ],
- [
- 'code' => 'CloudDiskNodes.less',
- 'message' => 'Nodes too less, please ensure that the number of engine nodes is more than %s',
- 'http_code' => 400,
- 'description' => '请确保所选数据库引擎节点总数大于等于%s个',
- ],
- [
- 'code' => 'Commodity.NotFound',
- 'message' => 'The commodity is not found.',
- 'http_code' => 400,
- 'description' => '操作失败,商品信息未找到,请输入正确的商品信息。',
- ],
- [
- 'code' => 'Commodity.NotFound',
- 'message' => 'Failed to obtain the commodity code, it may be that the current interface does not support the creation of this type of instance.',
- 'http_code' => 404,
- 'description' => '获取商品信息失败,可能当前类型实例并不支持通过API创建。',
- ],
- [
- 'code' => 'CurrentEngineType.ClassChangingNotSupported',
- 'message' => 'The current engine type does not support class changing.',
- 'http_code' => 400,
- 'description' => '操作失败,当前实例的引擎类型不支持变配操作。',
- ],
- [
- 'code' => 'Forbidden',
- 'message' => 'User not authorized to operate on the specified resource.',
- 'http_code' => 403,
- 'description' => '用户没有权限对该资源进行操作。',
- ],
- [
- 'code' => 'Instance.DoesNotSupportShrinkStorage',
- 'message' => 'Storage scale in is not supported.',
- 'http_code' => 400,
- 'description' => '操作失败,不支持减少实例的存储容量。',
- ],
- [
- 'code' => 'Instance.IsDeleted',
- 'message' => 'The instance is deleted.',
- 'http_code' => 400,
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'code' => 'Instance.IsModifyingClass',
- 'message' => 'The instance class is being modified and cannot be operated.',
- 'http_code' => 400,
- 'description' => '操作失败,实例正在执行变配操作,请变配操作结束后再重试。',
- ],
- [
- 'code' => 'Instance.IsNotAvailable',
- 'message' => 'The instance is unavailable.',
- 'http_code' => 400,
- 'description' => '操作失败,实例不可用。',
- ],
- [
- 'code' => 'Instance.IsNotPostPay',
- 'message' => 'The instance billing type is not subscription.',
- 'http_code' => 400,
- 'description' => '操作失败,付费类型为包年包月不支持该操作。',
- ],
- [
- 'code' => 'Instance.IsNotPostPay',
- 'message' => 'The instance billing type is not pay as you go.',
- 'http_code' => 400,
- 'description' => '该实例的付费类型不是按量付费。',
- ],
- [
- 'code' => 'Instance.IsNotValid',
- 'message' => 'The instance is invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,实例无效。',
- ],
- [
- 'code' => 'Instance.NotActive',
- 'message' => 'Instance is not active.',
- 'http_code' => 403,
- 'description' => '实例状态不是运行中',
- ],
- [
- 'code' => 'Instance.RestartError',
- 'message' => 'An error occurred while restarting the instance.',
- 'http_code' => 400,
- 'description' => '操作失败,重启实例出错,请重试。',
- ],
- [
- 'code' => 'Instance.SpecIsNotValid',
- 'message' => 'The instance specification is invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,当前实例的引擎规格参数无效,请检查输入的参数。',
- ],
- [
- 'code' => 'Instance.Upgrade.ParamsIsNotValid',
- 'message' => 'The instance upgrade parameters are invalid.',
- 'http_code' => 400,
- 'description' => '实例升级参数不合法。',
- ],
- [
- 'code' => 'Instance.Upgrade.ParamsIsNotValid',
- 'message' => 'The instance upgrade parameters are invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,实例的升级规格参数无效,请输入正确的升级规格。',
- ],
- [
- 'code' => 'InstanceConfig.NotChanged',
- 'message' => 'The upgrade or downgrade configuration is not changed, please check.',
- 'http_code' => 400,
- 'description' => '升级或降配的配置未改变,请重新选择',
- ],
- [
- 'code' => 'Lindorm.Errorcode.Commodity.NotFound',
- 'message' => 'The specified commodity is not found.',
- 'http_code' => 404,
- 'description' => '商品类型不存在',
- ],
- [
- 'code' => 'Lindorm.Errorcode.Duplicate.TagKey',
- 'message' => 'The Tag.N.Key contains duplicate keys.',
- 'http_code' => 400,
- 'description' => '存在重复标签Key。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InstanceNotFound',
- 'message' => 'The instance is not found.',
- 'http_code' => 404,
- 'description' => '操作失败,该实例不存在。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InstanceStorageInvalid',
- 'message' => 'The instance storage parameter is invalid: %s',
- 'http_code' => 400,
- 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InvalidParameter.TagKey',
- 'message' => 'The Tag.N.Key parameter is invalid.',
- 'http_code' => 400,
- 'description' => '输入的标签Key无效。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InvalidParameter.TagValue',
- 'message' => 'The Tag.N.Value parameter is invalid.',
- 'http_code' => 400,
- 'description' => '输入的标签Value无效',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InvalidResourceId',
- 'message' => 'The specified ResourceIds are not found in our records.',
- 'http_code' => 404,
- 'description' => '指定的实例不存在',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InvalidResourceId.NotFound',
- 'message' => 'The specified ResourceIds are not found in our records.',
- 'http_code' => 400,
- 'description' => '实例资源不存在',
- ],
- [
- 'code' => 'Lindorm.Errorcode.InvalidTagKey.Malformed',
- 'message' => 'The Tag.N.Key parameter is invalid.',
- 'http_code' => 400,
- 'description' => '无效的标签Key',
- ],
- [
- 'code' => 'Lindorm.Errorcode.MissingParameter',
- 'message' => 'You must specify ResourceId.N or Tags',
- 'http_code' => 400,
- 'description' => '请指定实例ID或标签。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.MissingParameter.TagKey',
- 'message' => 'You must specify Tag.N.Key.',
- 'http_code' => 404,
- 'description' => '请指定标签Key',
- ],
- [
- 'code' => 'Lindorm.Errorcode.NotSupportChange',
- 'message' => 'Does not support change class',
- 'http_code' => 400,
- 'description' => '规格或节点数暂不支持变更',
- ],
- [
- 'code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds',
- 'message' => 'The ResourceIds parameter is number is exceed',
- 'http_code' => 400,
- 'description' => '实例数量超限,最多不超过50个。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds',
- 'message' => 'The maximum number of ResourceIds is exceeded.',
- 'http_code' => 400,
- 'description' => '实例ID数量超过限制,最多不超过50个',
- ],
- [
- 'code' => 'Lindorm.Errorcode.NumberExceed.Tags',
- 'message' => 'The maximum number of Tags is exceeded.',
- 'http_code' => 400,
- 'description' => '标签数量超过限制,最多不超过20个。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.OperationDenied',
- 'message' => 'You are not authorized to operate on the specified resource.',
- 'http_code' => 403,
- 'description' => '操作失败,请先申请指定资源的操作权限。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.ParameterInvaild',
- 'message' => 'The parameter is invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,当前参数无效,请重新设置。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll',
- 'message' => 'The TagKeys or DeleteAll parameter is invalid.',
- 'http_code' => 400,
- 'description' => '请指定唯一标签或设置全部删除。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.ParameterInvalid',
- 'message' => 'The parameter is invalid.',
- 'http_code' => 401,
- 'description' => '操作失败,当前参数无效,请重新设置。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource',
- 'message' => 'The maximum number of tags for each resource is exceeded',
- 'http_code' => 400,
- 'description' => '单个实例标签数量超限。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.ResourceNotReady',
- 'message' => 'Insufficient computing resources in this region. Please submit a ticket.',
- 'http_code' => 404,
- 'description' => '实例所在地域计算引擎资源尚未就绪,请提交工单跟进。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission',
- 'message' => 'No permission to create service linked role.',
- 'http_code' => 403,
- 'description' => '操作失败,请先申请创建服务关联角色的权限。',
- ],
- [
- 'code' => 'Lindorm.Errorcode.SystemError',
- 'message' => 'Internal Error',
- 'http_code' => 500,
- 'description' => '服务异常',
- ],
- [
- 'code' => 'Lindorm.Errorcode.Tags.ExceedLimitation',
- 'message' => 'The maximum number of Tags is exceeded.',
- 'http_code' => 400,
- 'description' => '标签数量超限',
- ],
- [
- 'code' => 'Lindorm.ErrorCode.WeakPassword',
- 'message' => 'Your current password is weak. For better security, please use a strong password that includes a mix of uppercase letters, lowercase letters, numbers, and special characters, and is at least 8 characters long.',
- 'http_code' => 400,
- 'description' => '当前密码安全性较弱,处于安全考虑,请重新设置密码',
- ],
- [
- 'code' => 'LindormErrorCode.%s',
- 'message' => '%s.',
- 'http_code' => 400,
- 'description' => '%s.',
- ],
- [
- 'code' => 'MinorVersion.TooLow',
- 'message' => 'The minor version is too low. Please upgrade.',
- 'http_code' => 403,
- 'description' => '操作失败,引擎版本过低,请升级引擎版本。',
- ],
- [
- 'code' => 'ModifySecurityIpList.AddAclGetNull',
- 'message' => 'Failed to add access control list.',
- 'http_code' => 400,
- 'description' => '添加访问控制策略失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.CreateAclGetNull',
- 'message' => 'Failed to create access control list.',
- 'http_code' => 400,
- 'description' => '创建访问控制策略失败。',
- ],
- [
- 'code' => 'ModifySecurityIpList.CreateAclGetNull',
- 'message' => 'Failed to create access control list.',
- 'http_code' => 400,
- 'description' => '创建访问控制策略失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.DescribeAclFailed',
- 'message' => 'Failed to describe access control list.',
- 'http_code' => 400,
- 'description' => '查询访问控制策略失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.LoadBalancerSizeAbnormal',
- 'message' => 'The number of load balancers is abnormal.',
- 'http_code' => 400,
- 'description' => '操作失败,负载均衡器数量输入异常,请检查输入的数量。',
- ],
- [
- 'code' => 'ModifySecurityIpList.QueryIngressFailed',
- 'message' => 'Failed to query SLB ingress.',
- 'http_code' => 400,
- 'description' => '查询负载均衡器的Ingress策略失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.QueryLoadBalancersFailed',
- 'message' => 'Failed to query load balancers.',
- 'http_code' => 400,
- 'description' => '查询负载均衡器信息失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.RemoveAclFailed',
- 'message' => 'Failed to remove access control list.',
- 'http_code' => 400,
- 'description' => '删除访问控制策略失败,请检查输入的参数。',
- ],
- [
- 'code' => 'ModifySecurityIpList.SetLBTcpListenerFailed',
- 'message' => 'Failed to set load balancer TCP listener attribute.',
- 'http_code' => 400,
- 'description' => '设置负载均衡器TCP监听器配置失败,请检查输入的参数。',
- ],
- [
- 'code' => 'OperationDenied.OrderProcessing',
- 'message' => 'Order in process, please try again later.',
- 'http_code' => 403,
- 'description' => '存在处理中的订单,请稍后重试',
- ],
- [
- 'code' => 'Order.CreateFailed',
- 'message' => 'Failed to create the order.',
- 'http_code' => 400,
- 'description' => '创建订单失败,请重新选择订单信息。',
- ],
- [
- 'code' => 'SecurityGroup.DescribeFailed',
- 'message' => 'Failed to query instance security groups.',
- 'http_code' => 400,
- 'description' => '查询实例的安全组失败,请重新输入安全组。',
- ],
- [
- 'code' => 'SecurityGroup.UpdateFailed',
- 'message' => 'Failed to update instance security groups.',
- 'http_code' => 400,
- 'description' => '添加实例的安全组失败,请重新选择安全组。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceClassAndEngineTypeMismatch',
- 'message' => 'The engine type and instance class parameters do not match. Instance class will take precedence.',
- 'http_code' => 411,
- 'description' => '实例的引擎类型和引擎规格不匹配,执行该操作以实例的引擎规格为准。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceClassInvalid',
- 'message' => 'The parameter of InstanceClass is invalid.',
- 'http_code' => 410,
- 'description' => '操作失败,实例的引擎规格族参数无效,请输入正确的规格。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceCreateFailed',
- 'message' => 'Failed to create the instance.',
- 'http_code' => 414,
- 'description' => '创建实例操作失败。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceCreateRetrying',
- 'message' => 'The system is trying to create the instance again.',
- 'http_code' => 415,
- 'description' => '创建实例操作失败,重试中。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceDeleted',
- 'message' => 'The instance is already deleted.',
- 'http_code' => 416,
- 'description' => '操作失败,该实例已删除。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceNotFound',
- 'message' => 'The instance is not found',
- 'http_code' => 404,
- 'description' => '操作失败,该实例不存在。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceNotFound',
- 'message' => 'The instance is not found. Please try again later.',
- 'http_code' => 413,
- 'description' => '操作失败,该实例不存在。',
- ],
- [
- 'code' => 'TSDB.Errorcode.InstanceStorageInvalid',
- 'message' => 'The parameter of instance storage is invalid.',
- 'http_code' => 412,
- 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。',
- ],
- [
- 'code' => 'TSDB.Errorcode.ParameterInvaild',
- 'message' => 'The parameter is invalid.',
- 'http_code' => 400,
- 'description' => '操作失败,当前参数无效,请重新设置。',
- ],
- [
- 'code' => 'UnsupportedServiceType',
- 'message' => 'The instance service type is not supported.',
- 'http_code' => 403,
- 'description' => '操作失败,该实例已开通的引擎模式不支持此功能。',
- ],
- [
- 'code' => 'VisitInstance.ApiNotSupported',
- 'message' => 'Action failed. Your instance version is too old.',
- 'http_code' => 400,
- 'description' => '操作失败,该实例引擎版本过低不支持此功能,请升级引擎版本。',
- ],
- [
- 'code' => 'VisitInstance.Failed',
- 'message' => 'Failed to connect the instance. Please contact our customer service.',
- 'http_code' => 503,
- 'description' => '连接实例失败,请提交工单处理。',
- ],
- [
- 'code' => 'VisitInstance.Timeout',
- 'message' => 'Timed out connecting the instance. Please check if any time-consuming task was submitted, or contact our customer service.',
- 'http_code' => 500,
- 'description' => '操作失败,连接实例超时,请检查该实例是否正在执行耗时的任务,或者请提交工单处理。',
- ],
- [
- 'code' => 'InvalidDBInstance.NotFound',
- 'message' => 'Specified instance does not exist or not support.',
- 'http_code' => 404,
- 'description' => '该实例不存在或者不支持该操作。',
- ],
- [
- 'code' => 'IncorrectDBState',
- 'message' => 'Can not do this operation, because instance status is not ACTIVATION.',
- 'http_code' => 403,
- 'description' => '不允许做当前操作,因为实例状态不是运行中。',
- ],
- [
- 'code' => 'Instance.DeleteProtection',
- 'message' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.',
- 'http_code' => 400,
- 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。',
- ],
- [
- 'code' => 'Resource.ecsResource.closeSale',
- 'message' => 'This region is currently closed for sale.',
- 'http_code' => 400,
- 'description' => '当前区域已关闭实例售卖功能,建议选择其他区域创建实例。如需协助,请咨询技术支持。',
- ],
- [
- 'code' => 'WhiteIpInUpdating',
- 'message' => 'Instance is updating whiteIp now, please wait.',
- 'http_code' => 400,
- 'description' => '实例白名单更新中,请稍候。',
- ],
- [
- 'code' => 'ScalingRule.ExecutionTimeConflict',
- 'message' => 'The execution times of the scaling rules conflict.',
- 'http_code' => 400,
- 'description' => '弹性伸缩定时任务的执行时间存在冲突',
- ],
- [
- 'code' => 'Ranger.NotEnabled',
- 'message' => 'For your data security, please enable Ranger service before switching public network.',
- 'http_code' => 403,
- 'description' => '为了您的数据安全,请在开通公网地址前先开通Ranger服务。',
- ],
+ ['code' => 'API.Forbidden', 'message' => 'The API operation is forbidden in this environment.', 'http_code' => 403, 'description' => '操作失败,当前环境中该API无法使用。'],
+ ['code' => 'ChargeType.IsNotValid', 'message' => 'The charge type is invalid.', 'http_code' => 400, 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
+ ['code' => 'CloudDiskNodes.less', 'message' => 'Nodes too less, please ensure that the number of engine nodes is more than %s', 'http_code' => 400, 'description' => '请确保所选数据库引擎节点总数大于等于%s个'],
+ ['code' => 'Commodity.NotFound', 'message' => 'The commodity is not found.', 'http_code' => 400, 'description' => '操作失败,商品信息未找到,请输入正确的商品信息。'],
+ ['code' => 'Commodity.NotFound', 'message' => 'Failed to obtain the commodity code, it may be that the current interface does not support the creation of this type of instance.', 'http_code' => 404, 'description' => '获取商品信息失败,可能当前类型实例并不支持通过API创建。'],
+ ['code' => 'CurrentEngineType.ClassChangingNotSupported', 'message' => 'The current engine type does not support class changing.', 'http_code' => 400, 'description' => '操作失败,当前实例的引擎类型不支持变配操作。'],
+ ['code' => 'Forbidden', 'message' => 'User not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '用户没有权限对该资源进行操作。'],
+ ['code' => 'Instance.DoesNotSupportShrinkStorage', 'message' => 'Storage scale in is not supported.', 'http_code' => 400, 'description' => '操作失败,不支持减少实例的存储容量。'],
+ ['code' => 'Instance.IsDeleted', 'message' => 'The instance is deleted.', 'http_code' => 400, 'description' => '操作失败,该实例已删除。'],
+ ['code' => 'Instance.IsModifyingClass', 'message' => 'The instance class is being modified and cannot be operated.', 'http_code' => 400, 'description' => '操作失败,实例正在执行变配操作,请变配操作结束后再重试。'],
+ ['code' => 'Instance.IsNotAvailable', 'message' => 'The instance is unavailable.', 'http_code' => 400, 'description' => '操作失败,实例不可用。'],
+ ['code' => 'Instance.IsNotPostPay', 'message' => 'The instance billing type is not subscription.', 'http_code' => 400, 'description' => '操作失败,付费类型为包年包月不支持该操作。'],
+ ['code' => 'Instance.IsNotPostPay', 'message' => 'The instance billing type is not pay as you go.', 'http_code' => 400, 'description' => '该实例的付费类型不是按量付费。'],
+ ['code' => 'Instance.IsNotValid', 'message' => 'The instance is invalid.', 'http_code' => 400, 'description' => '操作失败,实例无效。'],
+ ['code' => 'Instance.NotActive', 'message' => 'Instance is not active.', 'http_code' => 403, 'description' => '实例状态不是运行中'],
+ ['code' => 'Instance.RestartError', 'message' => 'An error occurred while restarting the instance.', 'http_code' => 400, 'description' => '操作失败,重启实例出错,请重试。'],
+ ['code' => 'Instance.SpecIsNotValid', 'message' => 'The instance specification is invalid.', 'http_code' => 400, 'description' => '操作失败,当前实例的引擎规格参数无效,请检查输入的参数。'],
+ ['code' => 'Instance.Upgrade.ParamsIsNotValid', 'message' => 'The instance upgrade parameters are invalid.', 'http_code' => 400, 'description' => '实例升级参数不合法。'],
+ ['code' => 'Instance.Upgrade.ParamsIsNotValid', 'message' => 'The instance upgrade parameters are invalid.', 'http_code' => 400, 'description' => '操作失败,实例的升级规格参数无效,请输入正确的升级规格。'],
+ ['code' => 'InstanceConfig.NotChanged', 'message' => 'The upgrade or downgrade configuration is not changed, please check.', 'http_code' => 400, 'description' => '升级或降配的配置未改变,请重新选择'],
+ ['code' => 'Lindorm.Errorcode.Commodity.NotFound', 'message' => 'The specified commodity is not found.', 'http_code' => 404, 'description' => '商品类型不存在'],
+ ['code' => 'Lindorm.Errorcode.Duplicate.TagKey', 'message' => 'The Tag.N.Key contains duplicate keys.', 'http_code' => 400, 'description' => '存在重复标签Key。'],
+ ['code' => 'Lindorm.Errorcode.InstanceNotFound', 'message' => 'The instance is not found.', 'http_code' => 404, 'description' => '操作失败,该实例不存在。'],
+ ['code' => 'Lindorm.Errorcode.InstanceStorageInvalid', 'message' => 'The instance storage parameter is invalid: %s', 'http_code' => 400, 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。'],
+ ['code' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'message' => 'The Tag.N.Key parameter is invalid.', 'http_code' => 400, 'description' => '输入的标签Key无效。'],
+ ['code' => 'Lindorm.Errorcode.InvalidParameter.TagValue', 'message' => 'The Tag.N.Value parameter is invalid.', 'http_code' => 400, 'description' => '输入的标签Value无效'],
+ ['code' => 'Lindorm.Errorcode.InvalidResourceId', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 404, 'description' => '指定的实例不存在'],
+ ['code' => 'Lindorm.Errorcode.InvalidResourceId.NotFound', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 400, 'description' => '实例资源不存在'],
+ ['code' => 'Lindorm.Errorcode.InvalidTagKey.Malformed', 'message' => 'The Tag.N.Key parameter is invalid.', 'http_code' => 400, 'description' => '无效的标签Key'],
+ ['code' => 'Lindorm.Errorcode.MissingParameter', 'message' => 'You must specify ResourceId.N or Tags', 'http_code' => 400, 'description' => '请指定实例ID或标签。'],
+ ['code' => 'Lindorm.Errorcode.MissingParameter.TagKey', 'message' => 'You must specify Tag.N.Key.', 'http_code' => 404, 'description' => '请指定标签Key'],
+ ['code' => 'Lindorm.Errorcode.NotSupportChange', 'message' => 'Does not support change class', 'http_code' => 400, 'description' => '规格或节点数暂不支持变更'],
+ ['code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'message' => 'The ResourceIds parameter is number is exceed', 'http_code' => 400, 'description' => '实例数量超限,最多不超过50个。'],
+ ['code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'message' => 'The maximum number of ResourceIds is exceeded.', 'http_code' => 400, 'description' => '实例ID数量超过限制,最多不超过50个'],
+ ['code' => 'Lindorm.Errorcode.NumberExceed.Tags', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => '标签数量超过限制,最多不超过20个。'],
+ ['code' => 'Lindorm.Errorcode.OperationDenied', 'message' => 'You are not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '操作失败,请先申请指定资源的操作权限。'],
+ ['code' => 'Lindorm.Errorcode.ParameterInvaild', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '操作失败,当前参数无效,请重新设置。'],
+ ['code' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll', 'message' => 'The TagKeys or DeleteAll parameter is invalid.', 'http_code' => 400, 'description' => '请指定唯一标签或设置全部删除。'],
+ ['code' => 'Lindorm.Errorcode.ParameterInvalid', 'message' => 'The parameter is invalid.', 'http_code' => 401, 'description' => '操作失败,当前参数无效,请重新设置。'],
+ ['code' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource', 'message' => 'The maximum number of tags for each resource is exceeded', 'http_code' => 400, 'description' => '单个实例标签数量超限。'],
+ ['code' => 'Lindorm.Errorcode.ResourceNotReady', 'message' => 'Insufficient computing resources in this region. Please submit a ticket.', 'http_code' => 404, 'description' => '实例所在地域计算引擎资源尚未就绪,请提交工单跟进。'],
+ ['code' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'message' => 'No permission to create service linked role.', 'http_code' => 403, 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
+ ['code' => 'Lindorm.Errorcode.SystemError', 'message' => 'Internal Error', 'http_code' => 500, 'description' => '服务异常'],
+ ['code' => 'Lindorm.Errorcode.Tags.ExceedLimitation', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => '标签数量超限'],
+ ['code' => 'Lindorm.ErrorCode.WeakPassword', 'message' => 'Your current password is weak. For better security, please use a strong password that includes a mix of uppercase letters, lowercase letters, numbers, and special characters, and is at least 8 characters long.', 'http_code' => 400, 'description' => '当前密码安全性较弱,处于安全考虑,请重新设置密码'],
+ ['code' => 'LindormErrorCode.%s', 'message' => '%s.', 'http_code' => 400, 'description' => '%s.'],
+ ['code' => 'MinorVersion.TooLow', 'message' => 'The minor version is too low. Please upgrade.', 'http_code' => 403, 'description' => '操作失败,引擎版本过低,请升级引擎版本。'],
+ ['code' => 'ModifySecurityIpList.AddAclGetNull', 'message' => 'Failed to add access control list.', 'http_code' => 400, 'description' => '添加访问控制策略失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.CreateAclGetNull', 'message' => 'Failed to create access control list.', 'http_code' => 400, 'description' => '创建访问控制策略失败。'],
+ ['code' => 'ModifySecurityIpList.CreateAclGetNull', 'message' => 'Failed to create access control list.', 'http_code' => 400, 'description' => '创建访问控制策略失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.DescribeAclFailed', 'message' => 'Failed to describe access control list.', 'http_code' => 400, 'description' => '查询访问控制策略失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.LoadBalancerSizeAbnormal', 'message' => 'The number of load balancers is abnormal.', 'http_code' => 400, 'description' => '操作失败,负载均衡器数量输入异常,请检查输入的数量。'],
+ ['code' => 'ModifySecurityIpList.QueryIngressFailed', 'message' => 'Failed to query SLB ingress.', 'http_code' => 400, 'description' => '查询负载均衡器的Ingress策略失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.QueryLoadBalancersFailed', 'message' => 'Failed to query load balancers.', 'http_code' => 400, 'description' => '查询负载均衡器信息失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.RemoveAclFailed', 'message' => 'Failed to remove access control list.', 'http_code' => 400, 'description' => '删除访问控制策略失败,请检查输入的参数。'],
+ ['code' => 'ModifySecurityIpList.SetLBTcpListenerFailed', 'message' => 'Failed to set load balancer TCP listener attribute.', 'http_code' => 400, 'description' => '设置负载均衡器TCP监听器配置失败,请检查输入的参数。'],
+ ['code' => 'OperationDenied.OrderProcessing', 'message' => 'Order in process, please try again later.', 'http_code' => 403, 'description' => '存在处理中的订单,请稍后重试'],
+ ['code' => 'Order.CreateFailed', 'message' => 'Failed to create the order.', 'http_code' => 400, 'description' => '创建订单失败,请重新选择订单信息。'],
+ ['code' => 'SecurityGroup.DescribeFailed', 'message' => 'Failed to query instance security groups.', 'http_code' => 400, 'description' => '查询实例的安全组失败,请重新输入安全组。'],
+ ['code' => 'SecurityGroup.UpdateFailed', 'message' => 'Failed to update instance security groups.', 'http_code' => 400, 'description' => '添加实例的安全组失败,请重新选择安全组。'],
+ ['code' => 'TSDB.Errorcode.InstanceClassAndEngineTypeMismatch', 'message' => 'The engine type and instance class parameters do not match. Instance class will take precedence.', 'http_code' => 411, 'description' => '实例的引擎类型和引擎规格不匹配,执行该操作以实例的引擎规格为准。'],
+ ['code' => 'TSDB.Errorcode.InstanceClassInvalid', 'message' => 'The parameter of InstanceClass is invalid.', 'http_code' => 410, 'description' => '操作失败,实例的引擎规格族参数无效,请输入正确的规格。'],
+ ['code' => 'TSDB.Errorcode.InstanceCreateFailed', 'message' => 'Failed to create the instance.', 'http_code' => 414, 'description' => '创建实例操作失败。'],
+ ['code' => 'TSDB.Errorcode.InstanceCreateRetrying', 'message' => 'The system is trying to create the instance again.', 'http_code' => 415, 'description' => '创建实例操作失败,重试中。'],
+ ['code' => 'TSDB.Errorcode.InstanceDeleted', 'message' => 'The instance is already deleted.', 'http_code' => 416, 'description' => '操作失败,该实例已删除。'],
+ ['code' => 'TSDB.Errorcode.InstanceNotFound', 'message' => 'The instance is not found', 'http_code' => 404, 'description' => '操作失败,该实例不存在。'],
+ ['code' => 'TSDB.Errorcode.InstanceNotFound', 'message' => 'The instance is not found. Please try again later.', 'http_code' => 413, 'description' => '操作失败,该实例不存在。'],
+ ['code' => 'TSDB.Errorcode.InstanceStorageInvalid', 'message' => 'The parameter of instance storage is invalid.', 'http_code' => 412, 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。'],
+ ['code' => 'TSDB.Errorcode.ParameterInvaild', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '操作失败,当前参数无效,请重新设置。'],
+ ['code' => 'UnsupportedServiceType', 'message' => 'The instance service type is not supported.', 'http_code' => 403, 'description' => '操作失败,该实例已开通的引擎模式不支持此功能。'],
+ ['code' => 'VisitInstance.ApiNotSupported', 'message' => 'Action failed. Your instance version is too old.', 'http_code' => 400, 'description' => '操作失败,该实例引擎版本过低不支持此功能,请升级引擎版本。'],
+ ['code' => 'VisitInstance.Failed', 'message' => 'Failed to connect the instance. Please contact our customer service.', 'http_code' => 503, 'description' => '连接实例失败,请提交工单处理。'],
+ ['code' => 'VisitInstance.Timeout', 'message' => 'Timed out connecting the instance. Please check if any time-consuming task was submitted, or contact our customer service.', 'http_code' => 500, 'description' => '操作失败,连接实例超时,请检查该实例是否正在执行耗时的任务,或者请提交工单处理。'],
+ ['code' => 'InvalidDBInstance.NotFound', 'message' => 'Specified instance does not exist or not support.', 'http_code' => 404, 'description' => '该实例不存在或者不支持该操作。'],
+ ['code' => 'IncorrectDBState', 'message' => 'Can not do this operation, because instance status is not ACTIVATION.', 'http_code' => 403, 'description' => '不允许做当前操作,因为实例状态不是运行中。'],
+ ['code' => 'Instance.DeleteProtection', 'message' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'http_code' => 400, 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
+ ['code' => 'Resource.ecsResource.closeSale', 'message' => 'This region is currently closed for sale.', 'http_code' => 400, 'description' => '当前区域已关闭实例售卖功能,建议选择其他区域创建实例。如需协助,请咨询技术支持。'],
+ ['code' => 'WhiteIpInUpdating', 'message' => 'Instance is updating whiteIp now, please wait.', 'http_code' => 400, 'description' => '实例白名单更新中,请稍候。'],
+ ['code' => 'ScalingRule.ExecutionTimeConflict', 'message' => 'The execution times of the scaling rules conflict.', 'http_code' => 400, 'description' => '弹性伸缩定时任务的执行时间存在冲突'],
+ ['code' => 'Ranger.NotEnabled', 'message' => 'For your data security, please enable Ranger service before switching public network.', 'http_code' => 403, 'description' => '为了您的数据安全,请在开通公网地址前先开通Ranger服务。'],
],
'changeSet' => [
[
'apis' => [
- [
- 'description' => '错误码发生变更',
- 'api' => 'GetLindormInstance',
- ],
- [
- 'description' => '错误码发生变更',
- 'api' => 'CreateLindormInstance',
- ],
+ ['description' => '错误码发生变更', 'api' => 'GetLindormInstance'],
+ ['description' => '错误码发生变更', 'api' => 'CreateLindormInstance'],
],
'createdAt' => '2025-06-04T12:13:27.000Z',
'description' => '',
],
[
'apis' => [
- [
- 'description' => '错误码发生变更',
- 'api' => 'GetLindormInstance',
- ],
- [
- 'description' => '错误码发生变更',
- 'api' => 'CreateLindormInstance',
- ],
+ ['description' => '错误码发生变更', 'api' => 'GetLindormInstance'],
+ ['description' => '错误码发生变更', 'api' => 'CreateLindormInstance'],
],
'createdAt' => '2025-06-04T12:13:27.000Z',
'description' => '',
@@ -7214,63 +3906,46 @@
'ram' => [
'productCode' => 'Lindorm',
'productName' => '云原生多模数据库 Lindorm',
- 'ramCodes' => [
- 'lindorm',
- ],
+ 'ramCodes' => ['lindorm'],
'ramLevel' => '资源级',
'ramConditions' => [],
'ramActions' => [
[
- 'apiName' => 'UpdateInstanceIpWhiteList',
- 'description' => '设置Lindorm实例的访问白名单',
- 'operationType' => 'update',
+ 'apiName' => 'GetLindormFsUsedDetail',
+ 'description' => '获取Lindorm实例存储详情',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:UpdateInstanceIpWhiteList',
- 'authLevel' => 'resource',
+ 'action' => 'lindorm:GetLindormFsUsedDetail',
+ 'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'GetLindormInstanceEngineList',
- 'description' => '获取Lindorm实例支持的引擎类型',
- 'operationType' => 'get',
+ 'apiName' => 'CreateLindormV2Instance',
+ 'description' => '创建Lindorm V2实例',
+ 'operationType' => 'create',
'ramAction' => [
- 'action' => 'lindorm:GetLindormInstanceEngineList',
+ 'action' => 'lindorm:CreateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'ModifyInstancePayType',
- 'description' => '变更Lindorm实例的计费方式',
- 'operationType' => 'update',
+ 'apiName' => 'GetLindormV2InstanceDetails',
+ 'description' => '查询Lindorm V2实例详情',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:ModifyInstancePayType',
+ 'action' => 'lindorm:GetLindormV2InstanceDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7283,192 +3958,137 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'ReleaseLindormV2Instance',
- 'description' => '释放Lindorm V2实例',
- 'operationType' => 'delete',
+ 'apiName' => 'CreateLindormInstance',
+ 'description' => '创建Lindorm实例',
+ 'operationType' => 'create',
'ramAction' => [
- 'action' => 'lindorm:ReleaseLindormV2Instance',
+ 'action' => 'lindorm:CreateLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'GetLindormInstanceList',
- 'description' => '获取Lindorm实例列表',
- 'operationType' => 'get',
+ 'apiName' => 'UpdateLindormV2Instance',
+ 'description' => '变配Lindorm V2实例',
+ 'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:GetLindormInstanceList',
+ 'action' => 'lindorm:UpdateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'ChangeResourceGroup',
- 'description' => '资源转组',
+ 'apiName' => 'UntagResources',
+ 'description' => '为Lindorm实例解绑标签',
'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:ChangeResourceGroup',
+ 'action' => 'lindorm:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'GetLindormInstance',
- 'description' => '获取Lindorm实例的详细信息',
+ 'apiName' => 'GetInstanceSummary',
+ 'description' => '获取账户实例概览',
'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:GetLindormInstance',
- 'authLevel' => 'resource',
+ 'action' => 'lindorm:GetInstanceSummary',
+ 'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'GetLindormV2StorageUsage',
- 'description' => '获取Lindorm_V2实例存储详情',
+ 'apiName' => 'GetInstanceIpWhiteList',
+ 'description' => '获取Lindorm实例的访问白名单',
'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:GetLindormV2StorageUsage',
- 'authLevel' => 'operate',
+ 'action' => 'lindorm:GetInstanceIpWhiteList',
+ 'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
- 'apiName' => 'CreateLindormV2Instance',
- 'description' => '创建Lindorm V2实例',
- 'operationType' => 'create',
+ 'apiName' => 'ModifyInstancePayType',
+ 'description' => '变更Lindorm实例的计费方式',
+ 'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:CreateLindormV2Instance',
- 'authLevel' => 'resource',
+ 'action' => 'lindorm:ModifyInstancePayType',
+ 'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'ReleaseLindormInstance',
- 'description' => '释放Lindorm实例',
- 'operationType' => 'delete',
+ 'apiName' => 'GetLindormInstanceList',
+ 'description' => '获取Lindorm实例列表',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:ReleaseLindormInstance',
+ 'action' => 'lindorm:GetLindormInstanceList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'GetInstanceSummary',
- 'description' => '获取账户实例概览',
- 'operationType' => 'get',
+ 'apiName' => 'SwitchLSQLV3MySQLService',
+ 'description' => '开通LindormMySQL协议',
+ 'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:GetInstanceSummary',
- 'authLevel' => 'operate',
+ 'action' => 'lindorm:SwitchLSQLV3MySQLService',
+ 'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'RenewLindormInstance',
- 'description' => '为Lindorm实例续费',
+ 'apiName' => 'UpdateLindormInstanceAttribute',
+ 'description' => '更新实例名称或删除保护',
'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:RenewLindormInstance',
- 'authLevel' => 'operate',
+ 'action' => 'lindorm:UpdateLindormInstanceAttribute',
+ 'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'GetLindormV2InstanceDetails',
- 'description' => '查询Lindorm V2实例详情',
- 'operationType' => 'get',
+ 'apiName' => 'UpdateLindormV2WhiteIpList',
+ 'description' => '设置LindormV2实例的访问白名单',
+ 'operationType' => 'none',
'ramAction' => [
- 'action' => 'lindorm:GetLindormV2InstanceDetails',
+ 'action' => 'lindorm:UpdateLindormV2WhiteIpList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7481,156 +4101,111 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'UpdateLindormV2WhiteIpList',
- 'description' => '设置LindormV2实例的访问白名单',
- 'operationType' => 'none',
+ 'apiName' => 'UpdateInstanceIpWhiteList',
+ 'description' => '设置Lindorm实例的访问白名单',
+ 'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:UpdateLindormV2WhiteIpList',
- 'authLevel' => 'operate',
+ 'action' => 'lindorm:UpdateInstanceIpWhiteList',
+ 'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
- 'apiName' => 'CreateLindormInstance',
- 'description' => '创建Lindorm实例',
- 'operationType' => 'create',
+ 'apiName' => 'GetLindormInstance',
+ 'description' => '获取Lindorm实例的详细信息',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:CreateLindormInstance',
+ 'action' => 'lindorm:GetLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'UntagResources',
- 'description' => '为Lindorm实例解绑标签',
+ 'apiName' => 'ChangeResourceGroup',
+ 'description' => '资源转组',
'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:UntagResources',
+ 'action' => 'lindorm:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'SwitchLSQLV3MySQLService',
- 'description' => '开通LindormMySQL协议',
- 'operationType' => 'update',
+ 'apiName' => 'ReleaseLindormV2Instance',
+ 'description' => '释放Lindorm V2实例',
+ 'operationType' => 'delete',
'ramAction' => [
- 'action' => 'lindorm:SwitchLSQLV3MySQLService',
+ 'action' => 'lindorm:ReleaseLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
- 'apiName' => 'UpdateLindormInstanceAttribute',
- 'description' => '更新实例名称或删除保护',
- 'operationType' => 'update',
+ 'apiName' => 'GetLindormInstanceEngineList',
+ 'description' => '获取Lindorm实例支持的引擎类型',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:UpdateLindormInstanceAttribute',
+ 'action' => 'lindorm:GetLindormInstanceEngineList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
- 'apiName' => 'GetInstanceIpWhiteList',
- 'description' => '获取Lindorm实例的访问白名单',
- 'operationType' => 'get',
+ 'apiName' => 'RenewLindormInstance',
+ 'description' => '为Lindorm实例续费',
+ 'operationType' => 'update',
'ramAction' => [
- 'action' => 'lindorm:GetInstanceIpWhiteList',
- 'authLevel' => 'resource',
+ 'action' => 'lindorm:RenewLindormInstance',
+ 'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'UpdateLindormV2Instance',
- 'description' => '变配Lindorm V2实例',
- 'operationType' => 'update',
+ 'apiName' => 'GetLindormV2StorageUsage',
+ 'description' => '获取Lindorm_V2实例存储详情',
+ 'operationType' => 'get',
'ramAction' => [
- 'action' => 'lindorm:UpdateLindormV2Instance',
- 'authLevel' => 'resource',
+ 'action' => 'lindorm:GetLindormV2StorageUsage',
+ 'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
- 'apiName' => 'GetLindormFsUsedDetail',
- 'description' => '获取Lindorm实例存储详情',
- 'operationType' => 'get',
+ 'apiName' => 'ReleaseLindormInstance',
+ 'description' => '释放Lindorm实例',
+ 'operationType' => 'delete',
'ramAction' => [
- 'action' => 'lindorm:GetLindormFsUsedDetail',
- 'authLevel' => 'operate',
+ 'action' => 'lindorm:ReleaseLindormInstance',
+ 'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
@@ -7643,42 +4218,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Lindorm',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'resourceTypes' => [
- [
- 'validationType' => 'always',
- 'resourceType' => 'instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'VSwitch',
- 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Instance',
- 'arn' => 'acs:lindorm:{#Region}:{#AccountId}:instance/{#InstanceId}',
- ],
+ ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/*'],
+ ['validationType' => 'always', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/*'],
+ ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#Region}:{#AccountId}:instance/{#InstanceId}'],
],
],
];