diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/r-kvstore | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/r-kvstore')
| -rw-r--r-- | data/en_us/r-kvstore/2015-01-01/api-docs.php | 37792 |
1 files changed, 17566 insertions, 20226 deletions
diff --git a/data/en_us/r-kvstore/2015-01-01/api-docs.php b/data/en_us/r-kvstore/2015-01-01/api-docs.php index 548fa9a..af2d3cc 100644 --- a/data/en_us/r-kvstore/2015-01-01/api-docs.php +++ b/data/en_us/r-kvstore/2015-01-01/api-docs.php @@ -1,305 +1,88 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'R-kvstore', - 'version' => '2015-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'R-kvstore', 'version' => '2015-01-01'], 'directories' => [ [ - 'id' => 67090, - 'title' => 'Lifecycle management', + 'children' => ['CreateInstance', 'CreateGlobalDistributeCache', 'DeleteShardingNode', 'DestroyInstance', 'TransformToPrePaid'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'AddShardingNode', - 'CreateGlobalDistributeCache', - 'DeleteShardingNode', - 'DeleteInstance', - 'DestroyInstance', - 'ModifyInstanceSpec', - 'DescribeRegions', - 'DescribeZones', - 'DescribeAvailableResource', - 'TransformToPrePaid', - 'MigrateToOtherZone', - ], + 'title' => 'Lifecycle management', ], [ - 'id' => 67103, - 'title' => 'Instance management', + 'children' => ['CreateTairInstance', 'CreateInstances', 'EnableAdditionalBandwidth', 'DescribeInstances', 'DescribeInstanceAttribute', 'DescribeEngineVersion', 'DescribeDBInstanceNetInfo', 'SwitchInstanceHA', 'RebootProxy', 'UpgradeProxy'], 'type' => 'directory', - 'children' => [ - 'CreateTairInstance', - 'CreateInstances', - 'EnableAdditionalBandwidth', - 'ModifyInstanceAttribute', - 'ModifyResourceGroup', - 'ModifyInstanceMaintainTime', - 'ModifyInstanceMajorVersion', - 'ModifyInstanceMinorVersion', - 'ModifyDBInstanceAutoUpgrade', - 'DescribeInstancesOverview', - 'DescribeInstances', - 'DescribeDedicatedClusterInstanceList', - 'DescribeInstanceAttribute', - 'DescribeGlobalDistributeCache', - 'DescribeEngineVersion', - 'DescribeRoleZoneInfo', - 'DescribeClusterMemberInfo', - 'DescribeDBInstanceNetInfo', - 'DescribeDBNodeDirectVipInfo', - 'DescribeLogicInstanceTopology', - 'RestartInstance', - 'FlushExpireKeys', - 'FlushInstanceForDB', - 'FlushInstance', - 'SwitchInstanceHA', - 'SyncDtsStatus', - 'RemoveSubInstance', - 'LockDBInstanceWrite', - 'UnlockDBInstanceWrite', - 'RebootProxy', - 'UpgradeProxy', - ], + 'title' => 'Instance management', ], [ - 'id' => 67126, - 'title' => 'Connection management', + 'children' => ['DescribeIntranetAttribute'], 'type' => 'directory', - 'children' => [ - 'ModifyInstanceNetExpireTime', - 'ModifyDBInstanceConnectionString', - 'ModifyIntranetAttribute', - 'DescribeIntranetAttribute', - 'SwitchNetwork', - 'AllocateInstancePublicConnection', - 'ReleaseInstancePublicConnection', - 'AllocateDirectConnection', - 'ReleaseDirectConnection', - 'SwitchInstanceProxy', - ], + 'title' => 'Connection management', ], [ - 'id' => 67137, - 'title' => 'Renewal management', + 'children' => ['DescribePrice', 'TransformInstanceChargeType'], 'type' => 'directory', - 'children' => [ - 'ModifyInstanceAutoRenewalAttribute', - 'DescribePrice', - 'DescribeInstanceAutoRenewalAttribute', - 'RenewAdditionalBandwidth', - 'TransformInstanceChargeType', - 'RenewInstance', - ], + 'title' => 'Renewal management', ], [ - 'id' => 67144, - 'title' => 'Account management', + 'children' => ['RestoreInstance', 'DescribeClusterBackupList'], 'type' => 'directory', - 'children' => [ - 'CreateAccount', - 'DeleteAccount', - 'ModifyAccountDescription', - 'ModifyAccountPassword', - 'DescribeAccounts', - 'ResetAccountPassword', - 'GrantAccountPrivilege', - ], - ], - [ - 'id' => 67152, 'title' => 'Backup and restoration', - 'type' => 'directory', - 'children' => [ - 'CreateBackup', - 'ModifyBackupPolicy', - 'DescribeBackupTasks', - 'DescribeBackupPolicy', - 'DescribeBackups', - 'RestoreInstance', - 'DescribeClusterBackupList', - ], ], [ - 'id' => 67159, - 'title' => 'Monitoring management', + 'children' => ['DescribeDBInstanceMonitor', 'DescribeHistoryMonitorValues'], 'type' => 'directory', - 'children' => [ - 'DescribeDBInstanceMonitor', - 'DescribeMonitorItems', - 'DescribeHistoryMonitorValues', - ], - ], - [ - 'id' => 67162, - 'title' => 'Log management', - 'type' => 'directory', - 'children' => [ - 'ModifyAuditLogConfig', - 'DescribeAuditLogConfig', - 'DescribeAuditRecords', - 'DescribeRunningLogRecords', - 'DescribeSlowLogRecords', - 'InitializeKvstorePermission', - 'DescribeServiceLinkedRoleExists', - ], - ], - [ - 'id' => 67168, - 'title' => 'Network security', - 'type' => 'directory', - 'children' => [ - 'ModifySecurityIps', - 'ModifySecurityGroupConfiguration', - 'ModifyInstanceSSL', - 'ModifyInstanceVpcAuthMode', - 'DescribeSecurityIps', - 'DescribeSecurityGroupConfiguration', - 'DescribeInstanceSSL', - ], - ], - [ - 'id' => 67176, - 'title' => 'Parameter management', - 'type' => 'directory', - 'children' => [ - 'ModifyInstanceConfig', - 'DescribeParameterTemplates', - 'DescribeInstanceConfig', - 'DescribeParameters', - 'DescribeParameterModificationHistory', - ], - ], - [ - 'id' => 67181, - 'title' => 'Tag management', - 'type' => 'directory', - 'children' => [ - 'ListTagResources', - 'TagResources', - 'UntagResources', - ], + 'title' => 'Monitoring management', ], [ - 'id' => 67185, - 'title' => 'Performance improvements', + 'children' => ['DescribeServiceLinkedRoleExists'], 'type' => 'directory', - 'children' => [ - 'CreateCacheAnalysisTask', - 'DescribeCacheAnalysisReport', - 'DescribeCacheAnalysisReportList', - ], + 'title' => 'Log management', ], [ - 'id' => 177761, - 'title' => 'TDE', + 'children' => ['ModifyInstanceSSL'], 'type' => 'directory', - 'children' => [ - 'ModifyInstanceTDE', - 'DescribeInstanceTDEStatus', - 'DescribeEncryptionKeyList', - 'DescribeEncryptionKey', - 'CheckCloudResourceAuthorized', - ], + 'title' => 'Network security', ], [ - 'id' => 67189, - 'title' => 'O\\\\\\&M task management', + 'children' => ['DescribeInstanceConfig', 'DescribeParameters'], 'type' => 'directory', - 'children' => [ - 'DescribeActiveOperationTaskCount', - 'DescribeHistoryTasks', - 'DescribeHistoryTasksStat', - 'ModifyActiveOperationTask', - 'DescribeActiveOperationTask', - 'DescribeActiveOperationMaintenanceConfig', - 'ModifyActiveOperationMaintainConfig', - ], + 'title' => 'Parameter management', ], [ - 'id' => 187216, - 'title' => 'Whitelist template management', + 'children' => ['DescribeActiveOperationTaskCount', 'DescribeActiveOperationMaintenanceConfig', 'ModifyActiveOperationMaintainConfig'], 'type' => 'directory', - 'children' => [ - 'CreateGlobalSecurityIPGroup', - 'ModifyGlobalSecurityIPGroupName', - 'DescribeGlobalSecurityIPGroupRelation', - 'DeleteGlobalSecurityIPGroup', - 'ModifyGlobalSecurityIPGroup', - 'ModifyGlobalSecurityIPGroupRelation', - 'DescribeGlobalSecurityIPGroup', - ], + 'title' => 'Operations and maintenance task management', ], [ - 'id' => 192365, - 'title' => 'Parameter Template Management', + 'children' => ['ModifyEventInfo', 'DescribeHistoryEventsStat'], 'type' => 'directory', - 'children' => [ - 'ModifyInstanceParameter', - 'DeleteParameterGroup', - 'DescribeParameterGroupSupportParam', - 'DescribeParameterGroup', - 'ModifyParameterGroup', - 'DescribeParameterGroups', - 'CreateParameterGroup', - 'DescribeParameterGroupTemplateList', - ], - ], - [ - 'id' => 198610, 'title' => 'Event management', - 'type' => 'directory', - 'children' => [ - 'DescribeActiveOperationTasks', - 'ModifyActiveOperationTasks', - 'CancelActiveOperationTasks', - 'ModifyEventInfo', - 'DescribeHistoryEvents', - 'DescribeHistoryEventsStat', - ], ], [ - 'id' => 198611, - 'title' => 'Fault simulation', + 'children' => ['ModifyBackupExpireTime', 'CreateTairKVCacheVNode', 'DescribeTairKVCacheInferInstances', 'TransformToEcs', 'ModifyDBInstanceMonitor', 'DescribeTags', 'DescribeDbInstanceConnectivity', 'CreateAccount', 'CreateBackup', 'DeleteBackup', 'DescribeBackups', 'DescribeGlobalSecurityIPGroup', 'DescribeHistoryEvents', 'DescribeHistoryTasksStat'], 'type' => 'directory', - 'children' => [ - 'SwitchInstanceZoneFailOver', - 'MasterNodeShutDownFailOver', - ], + 'title' => 'Other', ], [ - 'id' => 198142, - 'title' => 'Other', - 'type' => 'directory', 'children' => [ - 'ModifyInstanceBandwidth', - 'ModifyTaskInfo', - 'ModifyBackupExpireTime', - 'DeleteBackup', - 'CreateTairKVCacheVNode', - 'DescribeTairKVCacheInferInstances', - 'TransformToEcs', - 'ModifyDBInstanceMonitor', - 'DescribeTags', - 'DescribeDbInstanceConnectivity', - ], + 'AddShardingNode', 'AllocateDirectConnection', 'AllocateInstancePublicConnection', 'CancelActiveOperationTasks', 'CheckCloudResourceAuthorized', 'CreateCacheAnalysisTask', 'CreateGlobalSecurityIPGroup', 'CreateInstanceMultiVIP', 'CreateParameterGroup', 'CreateTairSkvDdbTable', 'CreateTairSkvDdbWorkspace', 'DeleteAccount', 'DeleteGlobalSecurityIPGroup', 'DeleteInstance', 'DeleteParameterGroup', 'DescribeAccounts', 'DescribeActiveOperationTask', 'DescribeActiveOperationTasks', 'DescribeAuditLogConfig', 'DescribeAuditRecords', + 'DescribeAvailableResource', 'DescribeBackupPolicy', 'DescribeBackupTasks', 'DescribeCacheAnalysisReport', 'DescribeCacheAnalysisReportList', 'DescribeClusterMemberInfo', 'DescribeDBNodeDirectVipInfo', 'DescribeDedicatedClusterInstanceList', 'DescribeEncryptionKey', 'DescribeEncryptionKeyList', 'DescribeGlobalDistributeCache', 'DescribeGlobalSecurityIPGroupRelation', 'DescribeHistoryTasks', 'DescribeInstanceAutoRenewalAttribute', 'DescribeInstanceMultiVIP', 'DescribeInstanceSSL', 'DescribeInstanceTDEStatus', 'DescribeInstancesOverview', 'DescribeLogicInstanceTopology', 'DescribeMonitorItems', + 'DescribeParameterGroup', 'DescribeParameterGroupSupportParam', 'DescribeParameterGroupTemplateList', 'DescribeParameterGroups', 'DescribeParameterModificationHistory', 'DescribeParameterTemplates', 'DescribeRegions', 'DescribeRoleZoneInfo', 'DescribeRunningLogRecords', 'DescribeSecurityGroupConfiguration', 'DescribeSecurityIps', 'DescribeSlowLogRecords', 'DescribeTairSkvDdbTable', 'DescribeTairSkvDdbTableSchema', 'DescribeTaskDetail', 'DescribeZones', 'FlushExpireKeys', 'FlushInstance', 'FlushInstanceForDB', 'GrantAccountPrivilege', + 'InitializeKvstorePermission', 'ListTagResources', 'LockDBInstanceWrite', 'MasterNodeShutDownFailOver', 'MigrateToOtherZone', 'ModifyAccountDescription', 'ModifyAccountPassword', 'ModifyActiveOperationTask', 'ModifyActiveOperationTasks', 'ModifyAuditLogConfig', 'ModifyBackupPolicy', 'ModifyDBInstanceAutoUpgrade', 'ModifyDBInstanceConnectionString', 'ModifyGlobalSecurityIPGroup', 'ModifyGlobalSecurityIPGroupName', 'ModifyGlobalSecurityIPGroupRelation', 'ModifyInstanceAttribute', 'ModifyInstanceAutoRenewalAttribute', 'ModifyInstanceBandwidth', 'ModifyInstanceConfig', + 'ModifyInstanceMaintainTime', 'ModifyInstanceMajorVersion', 'ModifyInstanceMinorVersion', 'ModifyInstanceNetExpireTime', 'ModifyInstanceParameter', 'ModifyInstanceSpec', 'ModifyInstanceTDE', 'ModifyInstanceVpcAuthMode', 'ModifyIntranetAttribute', 'ModifyParameterGroup', 'ModifyResourceGroup', 'ModifySecurityGroupConfiguration', 'ModifySecurityIps', 'ModifyTaskInfo', 'ReleaseDirectConnection', 'ReleaseInstancePublicConnection', 'RemoveSubInstance', 'RenewAdditionalBandwidth', 'RenewInstance', 'ResetAccountPassword', + 'RestartInstance', 'SwitchInstanceProxy', 'SwitchInstanceZoneFailOver', 'SwitchNetwork', 'SyncDtsStatus', 'TagResources', 'UnlockDBInstanceWrite', 'UntagResources', + ], + 'title' => 'Others', + 'type' => 'directory', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'summary' => 'Creates a Tair (Redis OSS-compatible) instance. If you want to create a Tair (Enterprise Edition) cloud-native instance, you can call the CreateTairInstance operation.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddShardingNode' => [ + 'summary' => 'Adds one or more data shards to a Tair cluster instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -311,1074 +94,677 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeCode' => '56354', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'abilityTreeCode' => '56342', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8', 'FEATUREkvstore6PLKNO'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where you want to create the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Token', + 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], + 'schema' => ['description' => 'The number of data shards that you want to add. Default value: **1**.'."\n" + ."\n" + .'> The instance can contain 2 to 256 data shards. You can add up to 64 data shards at a time. Make sure that the number of shards does not exceed this limit.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '4096', 'minimum' => '1', 'example' => '2', 'default' => '1', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'AutoPay', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance. The name must be 2 to 80 characters in length and must start with a letter. It cannot contain spaces or specific special characters. These special characters include `@ / : = " < > { [ ] }`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apitest', - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" + ."\n" + .'* **true**: enables auto-renewal. Make sure that your account has sufficient balance.'."\n" + .'* **false**: disables auto-renewal. You must manually renew the instance in the console before the instance expires. For more information, see [Instance renewal](~~26352~~).'."\n" + ."\n" + .'> Default value: **true**.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'true', 'title' => ''], ], [ - 'name' => 'Password', + 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Pass!123456', - ], + 'schema' => ['description' => 'The ID of the coupon.'."\n", 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'default' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'Capacity', + 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage capacity of the instance. Unit: MB.'."\n" - ."\n" - .'> You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call this operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '16384', - ], + 'schema' => ['description' => 'The business information. This is an additional parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '000000000', 'title' => ''], ], [ - 'name' => 'InstanceClass', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type. For example, redis.master.small.default indicates a Community Edition standard master-replica instance that has 1 GB of memory. For more information, see [Overview](~~26350~~).'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**Description** You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call the CreateInstance operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis.master.small.default', - ], + 'schema' => ['description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], [ - 'name' => 'ZoneId', + 'name' => 'ForceTrans', 'in' => 'query', - 'schema' => [ - 'description' => 'The primary zone ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent zone list.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou-e', - ], + 'schema' => ['description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" + ."\n" + .'* **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" + .'* **true**: The system skips the version check and directly performs the configuration change.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', 'title' => ''], ], [ - 'name' => 'SecondaryZoneId', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The secondary zone ID of the instance. You can call the [DescribeZones](~~473764~~) operation to query the most recent zone list.'."\n" - ."\n" - .'> If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-h', - ], + 'schema' => ['description' => 'The vSwitch ID. You can specify a different vSwitch within the same virtual private cloud (VPC). In this case, the new data shards are created in the specified vSwitch. If you do not specify this parameter, the new data shards are created in the original vSwitch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], ], - [ - 'name' => 'ChargeType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid** (default): pay-as-you-go'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - 'default' => 'PostPaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B79C1A90-495B-4E99-A2AA-A4DB13B8****', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20741011111111', 'title' => ''], + 'NodeIds' => [ + 'description' => 'The IDs of the data shards.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the data shard.'."\n", 'type' => 'string', 'example' => 'r-8vb0i6z4npbxrf****-db-4', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'NodeType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **MASTER_SLAVE**: high availability (master-replica)'."\n" - .'* **STAND_ALONE**: standalone'."\n" - .'* **double**: master-replica'."\n" - .'* **single**: standalone'."\n" - ."\n" - .'> To create a cloud-native instance, set this parameter to **MASTER_SLAVE** or **STAND_ALONE**. To create a classic instance, set this parameter to **double** or **single**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'STAND_ALONE', - 'default' => 'double', - 'enum' => [ - 'STAND_ALONE', - 'MASTER_SLAVE', - 'double', - 'single', - ], - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B79C1A90-495B-4E99-A2AA-A4DB13B8****\\",\\n \\"OrderId\\": 20741011111111,\\n \\"NodeIds\\": [\\n \\"r-8vb0i6z4npbxrf****-db-4\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<AddShardingNodeResponse>\\n <RequestId>B79C1A90-495B-4E99-A2AA-A4DB13B8****</RequestId>\\n <NodeIds>r-8vb0i6z4npbxrf****-db-4</NodeIds>\\n <NodeIds>r-8vb0i6z4npbxrf****-db-5</NodeIds>\\n <OrderId>207794311111111</OrderId>\\n</AddShardingNodeResponse>","errorExample":""}]', + 'title' => 'AddShardingNode', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-08-30T07:49:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-04T12:58:01.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-16T08:10:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-16T08:10:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-06T06:09:05.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AddShardingNode'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'NetworkType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The network type. Valid value:'."\n" - ."\n" - .'* **VPC** (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - 'default' => 'VPC', - 'enum' => [ - 'VPC', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AddShardingNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], + ], + 'description' => 'This operation is available only for cluster instances that use cloud disks.'."\n", + ], + 'AllocateDirectConnection' => [ + 'summary' => 'Applies for a private endpoint for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1nme44gek34slfc****', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '56343', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreSVC8RN'], + ], + 'parameters' => [ [ - 'name' => 'VSwitchId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch to which you want the instance to connect.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Period', + 'name' => 'ConnectionString', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**,**36**, and **60**. Unit: months.'."\n" - ."\n" - .'> This parameter is available and required only if the **ChargeType** parameter is set to **PrePaid**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '12', - 'pattern' => '^\\d+$', - ], + 'schema' => ['description' => 'The prefix of the private endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix must be 8 to 40 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'redisdirect123', 'title' => ''], ], [ - 'name' => 'BusinessInfo', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the promotional event or business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000', - ], + 'schema' => ['description' => 'The port number of the instance. Valid values: **1024** to **65535**. Default value: **6379**.'."\n", 'type' => 'string', 'required' => false, 'example' => '6379', 'title' => ''], ], - [ - 'name' => 'CouponNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The coupon code. Default value: `default`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'default', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'SrcDBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance.'."\n" - ."\n" - .'> After you specify the SrcDBInstanceId parameter, use the **BackupId**, **ClusterBackupId** (recommended for cloud-native cluster instances), or **RestoreTime** parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NetTypeExists', 'errorMessage' => 'Specified net type already existed', 'description' => ''], + ['errorCode' => 'InvalidConnType', 'errorMessage' => 'Specified DB instance conn type is not valid.', 'description' => ''], + ['errorCode' => 'TaskHasExist', 'errorMessage' => 'The task already exists.', 'description' => ''], + ['errorCode' => 'ConnectionStringAlreadyExists', 'errorMessage' => 'Specified connection string already exists in the Aliyun RDS.', 'description' => ''], + ['errorCode' => 'InvalidConnectionString.Format', 'errorMessage' => 'Specified connection string is not valid.', 'description' => 'The connection string is invalid. Use a different one.'], + ['errorCode' => 'DirectConnectionAlreadyExists', 'errorMessage' => 'Specified instance direct connection already exists.', 'description' => ''], + ['errorCode' => 'InvalidVPCParamGroup', 'errorMessage' => 'Specified vpc param group is not valid.', 'description' => ''], + ['errorCode' => 'InvalidConnectionString', 'errorMessage' => 'ConnectionString is invalid, valid regex: ^\\w+$', 'description' => 'The prefix of the endpoint is invalid. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix can be 8 to 40 characters in length.'], + ], + 403 => [ + ['errorCode' => 'UnsupportedEngineVersion', 'errorMessage' => 'Current engine version does not support operations.', 'description' => ''], + ['errorCode' => 'IncorrectMinorVersion', 'errorMessage' => 'Current engine minor version does not support operations.', 'description' => ''], + ['errorCode' => 'InstanceStatus.NotSupport', 'errorMessage' => 'Instance status does not support this operation.', 'description' => ''], ], [ - 'name' => 'BackupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'If your instance is a cloud-native cluster instance, we recommend that you use [DescribeClusterBackupList](~~2679168~~) to query the backup set ID of the cluster instance, such as cb-xx. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.'."\n" - ."\n" - .'You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the [DescribeBackups](~~473823~~) operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,). Example: "10\\*\\*,11\\*\\*,15\\*\\*".', - 'type' => 'string', - 'required' => false, - 'example' => '111111111', - ], + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', + 'title' => 'AllocateDirectConnection', + 'description' => 'Clients can bypass proxy nodes and use private endpoints to connect to cluster instances. This is similar to the connection to native Redis clusters. The direct connection mode can reduce communication overheads and the response time of Tair (Redis OSS-compatible).'."\n" + ."\n" + .'To call this operation, make sure that the instance meets the following requirements:'."\n" + ."\n" + .'* The instance is a cluster instance.'."\n" + .'* The instance is deployed in classic mode.'."\n" + .'* The instance is deployed in a virtual private cloud (VPC). If the instance is deployed in the classic network, you can call the [SwitchNetwork](~~473797~~) operation to change the network type to VPC.'."\n" + .'* SSL encryption is disabled for the instance. If SSL encryption is enabled, you can call the [ModifyInstanceSSL](~~473838~~) operation to disable SSL encryption.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateDirectConnection'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine of the instance. Valid values:'."\n" - ."\n" - .'* **Redis** (default)'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'default' => 'Redis', - 'enum' => [ - 'Redis', - 'Memcache', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AllocateDirectConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], + ], + ], + 'AllocateInstancePublicConnection' => [ + 'summary' => 'Applies for a public endpoint for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EngineVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The engine version. Valid values for **classic instances**:'."\n" - ."\n" - .'* **2.8** (not recommended due to [scheduled EOFS](~~2674657~~))'."\n" - .'* **4.0** (not recommended)'."\n" - .'* **5.0**'."\n" - ."\n" - .'Valid values for **cloud-native instances**:'."\n" - ."\n" - .'* **5.0**'."\n" - .'* **6.0** (recommended)'."\n" - .'* **7.0**'."\n" - ."\n" - .'> The default value is **5.0**.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '4.0' => '4.0', - '5.0' => '5.0', - '6.0' => '6.0', - '7.0' => '7.0', - '2.8' => '2.8', - ], - 'example' => '4.0', - 'default' => '5.0', - 'enum' => [ - '2.8', - '4.0', - '5.0', - '6.0', - '7.0', - ], - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '56344', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ [ - 'name' => 'PrivateIpAddress', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the instance.'."\n" - ."\n" - .'> The private IP address must be available within the CIDR block of the vSwitch to which to connect the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.***', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'AutoUseCoupon', + 'name' => 'ConnectionStringPrefix', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to use a coupon. Valid values:'."\n" - ."\n" - .'* **true**: uses a coupon.'."\n" - .'* **false** (default): does not use a coupon.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['description' => 'The prefix of the public endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix can be 8 to 40 characters in length.'."\n" + ."\n" + .'> The endpoint is in the `<prefix>.redis.rds.aliyuncs.com` format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'AutoRenew', + 'name' => 'Port', 'in' => 'query', + 'schema' => ['description' => 'The service port number of the instance. Valid values: **1024** to **65535**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '6379', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false** (default): disables auto-renewal.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - 'enum' => [ - 'true', - 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '20C8341E-B5AD-4B24-BD82-D73241522ABF', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'AutoRenewPeriod', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" - ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '3', - 'default' => '1', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingInstanceId', 'errorMessage' => 'InstanceId is mandatory for this action.', 'description' => ''], + ['errorCode' => 'MissingConnectionString', 'errorMessage' => 'ConnectionStringPrefix is mandatory for this action.', 'description' => ''], + ['errorCode' => 'MissingPort', 'errorMessage' => 'Port is mandatory for this action.', 'description' => ''], + ['errorCode' => 'NetTypeExists', 'errorMessage' => 'Specified net type already existed.', 'description' => 'The specified network type already exists'], + ['errorCode' => 'InvalidConnectionString.Format', 'errorMessage' => 'Specified connection string is not valid.', 'description' => 'The connection string is invalid. Use a different one.'], + ['errorCode' => 'NewSSLAlreadyEnabled', 'errorMessage' => 'new SSL have already been enabled.', 'description' => 'The instance has the new SSL certificate enabled.'], ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-resourcegroupid1', - ], + 403 => [ + ['errorCode' => 'SSLNotSupportNetType', 'errorMessage' => 'SSL instance does not support create public network.', 'description' => 'SSL-enabled instances do not allow you to create public networks.'], ], - [ - 'name' => 'RestoreTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'If data flashback is enabled for the source instance, you can use this parameter to specify a point in time within the backup retention period of the source instance. The system uses the backup data of the source instance at the point in time to create an instance. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-06-19T16:00:00Z', - ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C8341E-B5AD-4B24-BD82-D73241522ABF\\"\\n}","errorExample":""},{"type":"xml","example":"<AllocateInstancePublicConnectionResponse>\\r\\n <RequestId>20C8341E-B5AD-4B24-BD82-D73241522ABF</RequestId>\\r\\n</AllocateInstancePublicConnectionResponse>","errorExample":""}]', + 'title' => 'AllocateInstancePublicConnection', + 'description' => 'You can also apply for public endpoints in the ApsaraDB for Redis console. For more information, see [Use a public endpoint to connect to an ApsaraDB for Redis instance](~~43850~~).'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-26T09:46:19.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateInstancePublicConnection'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'DedicatedHostGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the dedicated cluster. This parameter is required if you create an instance in a dedicated cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dhg-uv4fnk6r7zff****', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AllocateInstancePublicConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], + ], + ], + 'CancelActiveOperationTasks' => [ + 'summary' => 'Cancels O\\\\\\&M events at a time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ShardCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of shards. This parameter applies only to cloud-native cluster instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '128', - 'minimum' => '1', - 'example' => '4', - 'default' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '56346', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ [ - 'name' => 'ReplicaCount', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of slave replicas in the primary availability zone. This parameter is applicable only for creating cloud-native cluster edition multi-replica instances, allowing you to customize the number of slave replicas. The value range is 1 to 4.'."\n" - .'> > - The sum of this parameter and SlaveReplicaCount cannot exceed 4. '."\n" - .'>> - Only one of this parameter and ReadOnlyCount can be passed; there are no instances that simultaneously include both replicas and read-only nodes. '."\n" - .'>> - Primary-secondary instances do not support multiple replicas.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', - ], + 'schema' => ['description' => 'The IDs of O\\&M events that you want to cancel at a time. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1508850,1508310,1507849,1506274,1505811', 'title' => ''], ], - [ - 'name' => 'SlaveReplicaCount', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Used for specifying the number of slave replicas in the secondary availability zone when creating a multi-AZ cloud-native cluster edition with multiple replicas. The sum of this parameter and ReplicaCount cannot exceed 4. <notice>When creating a multi-AZ cloud-native cluster edition with multiple replicas, both SlaveReplicaCount and SecondaryZoneId parameters must be specified.</notice>', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', + 'type' => 'object', + 'properties' => [ + 'Ids' => ['description' => 'The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'example' => '1508850,1508310,1507849,1506274', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F16A51B0-436E-5B84-8326-A18AA150D1C4', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ids\\": \\"1508850,1508310,1507849,1506274\\",\\n \\"RequestId\\": \\"F16A51B0-436E-5B84-8326-A18AA150D1C4\\"\\n}","type":"json"}]', + 'title' => 'CancelActiveOperationTasks', + 'description' => 'O\\&M events cannot be canceled in the following scenarios:'."\n" + ."\n" + .'* The allowCancel parameter is set to 0.'."\n" + .'* The current time is later than the start time of the O\\&M event.'."\n" + .'* The state value of the O\\&M event is not 3.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CancelActiveOperationTasks'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'ReadOnlyCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the primary zone. This parameter applies only to read/write splitting instances that use cloud disks. You can use this parameter to customize the number of read replicas. Valid values: 1 to 9.'."\n" - ."\n" - .'> The sum of the values of this parameter and SlaveReadOnlyCount cannot be greater than 9.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '5', - 'minimum' => '0', - 'example' => '5', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:CancelActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CheckCloudResourceAuthorized' => [ + 'summary' => 'Queries whether a Tair (Redis OSS-compatible) instance has the permissions to use Key Management Service (KMS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SlaveReadOnlyCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the secondary zone. This parameter is used to create a read/write splitting instance that is deployed across multiple zones. The sum of the values of this parameter and ReadOnlyCount cannot be greater than 9.'."\n" - ."\n" - .'> When you create a multi-zone read/write splitting instance, you must specify both SlaveReadOnlyCount and SecondaryZoneId.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'GlobalInstanceId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the distributed instance. This parameter is available only on the China site (aliyun.com).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gr-bp14rkqrhac****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'GlobalInstance', + 'name' => 'RoleArn', 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your Tair (Redis OSS-compatible) instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your Tair (Redis OSS-compatible) instance can use KMS.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.'."\n" + ."\n" + .'* `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to use the new instance as the first child instance of a distributed instance. Valid values:'."\n" - ."\n" - .'* **true**: uses the new instance as the first child instance.'."\n" - .'* **false** (default): does not use the new instance as the first child instance.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If you want to create a Tair DRAM-based instance that runs Redis 5.0, you must set this parameter to **true**.'."\n" - ."\n" - .'* This parameter is available only on the China site (aliyun.com).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'type' => 'object', + 'properties' => [ + 'AuthorizationState' => ['description' => 'Indicates whether the instance is authorized to use KMS. Valid values:'."\n" + ."\n" + .'* **0**: The instance is authorized to use KMS.'."\n" + .'* **1**: The instance is not authorized to use KMS.'."\n" + .'* **2**: KMS is not activated. For more information, see [Activate KMS](~~153781~~).'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A501A191-BD70-5E50-98A9-C2A486A82****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AuthorizationState\\": 1,\\n \\"RequestId\\": \\"A501A191-BD70-5E50-98A9-C2A486A82****\\"\\n}","errorExample":""},{"type":"xml","example":"<CheckCloudResourceAuthorizedResponse>\\n <AuthorizationState>1</AuthorizationState>\\n <RequestId>A501A191-BD70-5E50-98A9-C2A486A82****</RequestId>\\n</CheckCloudResourceAuthorizedResponse>","errorExample":""}]', + 'title' => 'CheckCloudResourceAuthorized', + 'description' => '* For information about Transparent Data Encryption (TDE) and the usage notes of TDE, see [Enable TDE](~~265913~~).'."\n" + .'* If the Tair (Redis OSS-compatible) instance is authorized to use KMS, you can call the [ModifyInstanceTDE](~~473859~~) operation to enable TDE.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:33:01.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCloudResourceAuthorized'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port number that is used to connect to the instance. Valid values: **1024** to **65535**. Default value: **6379**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6379', - 'maxLength' => 5, - 'minLength' => 1, - 'pattern' => '^\\d+$', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:CheckCloudResourceAuthorized', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateAccount' => [ + 'summary' => 'Create an account for an ApsaraDB for Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n" - ."\n" - .'* **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails to pass the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n" - .'* **false**: performs a dry run and sends the request. If the request passes the dry run, the instance is created.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56348', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ [ - 'name' => 'GlobalSecurityGroupIds', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The global IP whitelist template for the instance. Multiple IP whitelist templates should be separated by English commas (,) and cannot be duplicated.', - 'type' => 'string', - 'required' => false, - 'example' => 'g-zsldxfiwjmti0kcm****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Appendonly', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable append-only file (AOF) persistence for the instance. Valid values:'."\n" - ."\n" - .'* **yes** (default): enables AOF persistence.'."\n" - .'* **no**: disables AOF persistence.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**Description** This parameter is applicable to classic instances, and is unavailable for cloud-native instances.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'no' => 'no', - 'yes' => 'yes', - ], - 'example' => 'yes', - ], + 'schema' => ['description' => 'The name of the account. The name must meet the following requirements:'."\n" + ."\n" + .'* The name must start with a lowercase letter and can contain lowercase letters, digits, and underscores (\\_).'."\n" + .'* The name can be up to 100 characters in length.'."\n" + .'* The name cannot be one of the reserved words listed in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/redis/user-guide/create-and-manage-database-accounts#section-u3q-817-om3) section.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoaccount', 'title' => ''], ], [ - 'name' => 'ConnectionStringPrefix', + 'name' => 'AccountPrivilege', 'in' => 'query', - 'schema' => [ - 'description' => 'The operation that you want to perform. Set the value to **AllocateInstancePublicConnection**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The permissions of the account. Valid values:'."\n" + ."\n" + .'* **RoleReadOnly**: The account has read-only permissions.'."\n" + .'* **RoleReadWrite**: The account has read and write permissions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RoleReadOnly', 'title' => ''], ], [ - 'name' => 'ParamGroupId', + 'name' => 'AccountPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The parameter template ID, which must be globally unique.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rpg-test**', - ], + 'schema' => ['description' => 'The password of the account. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'uWonno21****', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'AccountDescription', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The object.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The keys of the tags that are added to the instance.'."\n" - ."\n" - .'> * **N** specifies the serial number of the tag. Up to 20 tags can be added to a single instance. For example, Tag.1.Key specifies the key of the first tag and Tag.2.Key specifies the key of the second tag.'."\n" - .'> * If the key of the tag does not exist, the tag is automatically created.', - 'type' => 'string', - 'required' => false, - 'example' => 'testkey', - ], - 'Value' => [ - 'description' => 'The values of the tags that are added to the instance.'."\n" - ."\n" - .'> **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag and **Tag.2.Value** specifies the value of the second tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The description of the account.'."\n" + ."\n" + .'* The description must start with a letter, and cannot start with `http://` or `https://`.'."\n" + .'* The description can contain letters, digits, underscores (\\_), and hyphens (-).'."\n" + .'* The description must be 2 to 256 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testaccount', 'title' => ''], ], [ - 'name' => 'ClusterBackupId', + 'name' => 'AccountType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is supported for specific new cluster instances. You can query the backup set ID by using the [DescribeClusterBackupList](~~2679168~~) operation.'."\n" - ."\n" - .'* If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the **BackupId** parameter.'."\n" - .'* If this parameter is not supported, set the BackupId parameter to the IDs of backup sets for all shards of the source instance, separated by commas (,). Example: "2158\\*\\*\\*\\*20,2158\\*\\*\\*\\*22".', - 'type' => 'string', - 'required' => false, - 'example' => 'cb-hyxdof5x9kqbtust'."\n", - ], + 'schema' => ['description' => 'The type of the account. Set the value to **Normal**, which indicates that the account is a standard account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], ], [ - 'name' => 'RecoverConfigMode', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'When creating an instance using a specified backup set, whether to restore account, kernel parameter (whitelist), and whitelist (config) information from the original backup set. For example, if you need to restore account information, the value should be `{"account":true}`.'."\n" - .'By default, it is empty, indicating that no account, kernel parameter, or whitelist information will be restored from the original backup set. '."\n" - .'> This parameter applies only to cloud-native instances and requires that the original backup set has saved the account, kernel parameter, and whitelist information. You can use the [DescribeBackups](~~473823~~) API to check if the RecoverConfigMode parameter in the specified backup set contains the above information.', - 'type' => 'string', - 'required' => false, - 'example' => '{"whitelist":true,"config":true,"account":true}', - ], + 'schema' => ['description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The object.'."\n", 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1nme44gek34slfc****', - ], - 'QPS' => [ - 'description' => 'The expected maximum queries per second (QPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'Capacity' => [ - 'description' => 'The storage capacity of the instance. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16384', - ], - 'ConnectionDomain' => [ - 'description' => 'The internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'NetworkType' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**: classic network'."\n" - .'* **VPC**: VPC'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'InstanceId' => [ - 'description' => 'The GUID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6379', - ], - 'Config' => [ - 'description' => 'The configurations of the instance.'."\n", - 'type' => 'string', - 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hongkong', - ], - 'EndTime' => [ - 'description' => 'The time when the subscription expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2019-01-18T16:00:00Z', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch to which the instance is connected.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1e7clcw529l773d****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5DEA3CC9-F81D-4387-8E97-CEA40F09****', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **STAND_ALONE**: standalone'."\n" - .'* **MASTER_SLAVE**: master-replica'."\n", - 'type' => 'string', - 'example' => 'MASTER_SLAVE', - ], - 'Connections' => [ - 'description' => 'The maximum number of connections supported by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'Bandwidth' => [ - 'description' => 'The maximum bandwidth of the instance. Unit: MB/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'apitest', - ], - 'ZoneId' => [ - 'description' => 'The zone ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'InstanceStatus' => [ - 'description' => 'The state of the instance. The return value is Creating.'."\n", - 'type' => 'string', - 'example' => 'Creating', - ], - 'PrivateIpAddr' => [ - 'description' => 'The private IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '172.16.0.10', - ], - 'UserName' => [ - 'description' => 'The username that is used to connect to the instance. By default, Tair (Redis OSS-compatible) provides a username that is named after the instance ID.', - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2084452111111', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'AcountName' => ['description' => 'The name of the account.'."\n", 'type' => 'string', 'example' => 'demoaccount', 'title' => ''], + 'AccountName' => ['description' => 'The account name.', 'type' => 'string', 'title' => '', 'example' => 'demoaccount'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ZoneIdNotFound', - 'errorMessage' => 'Specify iz not support switch network.', - ], - [ - 'errorCode' => 'InvalidShardInfo.Format', - 'errorMessage' => 'Shard total number is out of range.', - ], - [ - 'errorCode' => 'InvalidInstancelevel', - 'errorMessage' => 'Specified Instance level dose not match gdc other member instance level.', - ], - [ - 'errorCode' => 'InvalidBackupLogStatus', - 'errorMessage' => 'Backup logs are not enabled for the specified source instance.', - ], - [ - 'errorCode' => 'InvalidStatus', - 'errorMessage' => 'Specified instance status is Modifying.', - ], - [ - 'errorCode' => 'SecurityRisk.AuthVerification', - 'errorMessage' => 'we have detected a risk with your default payment method. An email and notification has been sent to you. Please re-submit your order before after verificaiton.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidToken.Malformed', - 'errorMessage' => 'The Specified parameter Token is not valid.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter InstanceName is not valid.', - ], - [ - 'errorCode' => 'InvalidPassword.Malformed', - 'errorMessage' => 'The Specified parameter Password is not valid.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'QuotaExceed.AfterpayInstance', - 'errorMessage' => 'Living afterpay instances quota exceeded.', - ], - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', - ], - [ - 'errorCode' => 'PaymentMethodNotFound', - 'errorMessage' => 'No payment method has been registered on the account.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', - ], - [ - 'errorCode' => 'QuotaNotEnough', - 'errorMessage' => 'Quota not enough in this zone.', - ], - [ - 'errorCode' => 'QuotaExceed', - 'errorMessage' => 'Living afterpay instances quota exceed.', - ], - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke vpc service failed.', - ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify iz not support vpc.', - ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The vpc does not cover the vswitch.', - ], - [ - 'errorCode' => 'InvalidIzNo.NotSupported', - 'errorMessage' => 'The Specified vpc zone not supported.', - ], - [ - 'errorCode' => 'InvalidAccountPassword.Format', - 'errorMessage' => 'Specified account password is not valid.', - ], - [ - 'errorCode' => 'InstanceClass.NotMatch', - 'errorMessage' => 'Current instance class and instance type is not match.', - ], - [ - 'errorCode' => 'InvalidVPCId.NotFound', - 'errorMessage' => 'Specified virtual vpc is not found.', - ], - [ - 'errorCode' => 'AccountMoneyValidateError', - 'errorMessage' => 'Account money validate error.', - ], - [ - 'errorCode' => 'RequestTokenConflict', - 'errorMessage' => 'Specified request token conflict.', - ], - [ - 'errorCode' => 'InvalidIPNotInSubnet', - 'errorMessage' => 'Error ip not in subnet.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Malformed', - 'errorMessage' => 'Specified engine version is not valid.', - ], - [ - 'errorCode' => 'Zone.Closed', - 'errorMessage' => 'The specified zone is closed.', - ], - [ - 'errorCode' => 'VSwithNotBelongToNotVpcFault', - 'errorMessage' => 'The vSwitch does not belong to current vpc.', - ], - [ - 'errorCode' => 'PayIllegalAgreement', - 'errorMessage' => 'Pay mayi with holding agreement illegal.', - ], - [ - 'errorCode' => 'IllegalParamError', - 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', - ], - [ - 'errorCode' => 'CASH_BOOK_INSUFFICIENT', - 'errorMessage' => 'No payment method is specified for your account. We recommend that you add a payment method or maitain a minimum prepayment balance of INR 1000.', - ], - [ - 'errorCode' => 'InvalidRegion.Format', - 'errorMessage' => 'Specified Region is not valid.', - ], - [ - 'errorCode' => 'DryRunOperation', - 'errorMessage' => 'Request validation has been passed with DryRun flag set.', - ], - [ - 'errorCode' => 'ResourceGroupNotExist', - 'errorMessage' => 'The Specified ResourceGroupId does not exist.', - ], + ['errorCode' => 'InvalidAccountName.Duplicate', 'errorMessage' => 'Specified AccountName already exists in this instance.', 'description' => 'The error message returned because the account already exists.'], + ['errorCode' => 'InvalidAccountName.Format', 'errorMessage' => 'Specified AccountName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Format', 'errorMessage' => 'Current EngineVersion does not support operations.', 'description' => 'The operation is not supported while the instance runs this engine version.'], + ['errorCode' => 'InvalidAccountDescription.Format', 'errorMessage' => 'Specified AccountDescription is not valid.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified AccountPassword is not valid.', 'description' => ''], + ['errorCode' => 'InvalidDBInstanceAccountMode.Format', 'errorMessage' => 'Current DB instance AccountMode does not support this operation.', 'description' => ''], + ['errorCode' => 'InvalidAccountName.Forbid', 'errorMessage' => 'Specified AccountName is a keyword.', 'description' => ''], + ['errorCode' => 'InvalidAccountPrivilege.Malformed', 'errorMessage' => 'Specified account privilege is not valid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', - ], - [ - 'errorCode' => 'AuthorizationFailure', - 'errorMessage' => 'The request processing has failed due to authorization failure.', - ], - [ - 'errorCode' => 'TokenServiceError', - 'errorMessage' => 'The specified token is duplicated, please change it.', - ], - ], - [ - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The Specified vSwitchId zone not supported.', - ], - [ - 'errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', - 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', - ], + ['errorCode' => 'AccountLimitExceeded', 'errorMessage' => 'Exceeding the allowed amount of account.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"QPS\\": 100000,\\n \\"Capacity\\": 16384,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Port\\": 6379,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hongkong\\",\\n \\"EndTime\\": \\"2019-01-18T16:00:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"RequestId\\": \\"5DEA3CC9-F81D-4387-8E97-CEA40F09****\\",\\n \\"NodeType\\": \\"MASTER_SLAVE\\",\\n \\"Connections\\": 10000,\\n \\"Bandwidth\\": 32,\\n \\"InstanceName\\": \\"apitest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"PrivateIpAddr\\": \\"172.16.0.10\\",\\n \\"UserName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"OrderId\\": 2084452111111\\n}","type":"json"}]', - 'title' => 'CreateInstance', - 'description' => 'Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of Tair (Redis OSS-compatible).'."\n" - ."\n" - .'You can call this operation to create a Tair (Redis OSS-compatible) instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~473770~~) operation.'."\n" - ."\n" - .'> For more information about how to create an instance that meets your requirements in the Tair (Redis OSS-compatible) console, see [Step 1: Create an instance](~~26351~~).', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"AcountName\\": \\"demoaccount\\",\\n \\"AccountName\\": \\"demoaccount\\"\\n}","type":"json"}]', + 'title' => 'Create Account', + 'description' => '* This API supports only instances compatible with Redis 4.0 or later versions. '."\n" + .'* The instance must be in the running status to use this API. '."\n" + .'* You can create up to 18 accounts for an instance. '."\n" + .'> For the corresponding console operation, see [Account Management](~~92665~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - 'translator' => 'machine', - ], - 'AddShardingNode' => [ - 'summary' => 'Adds one or more data shards to a Tair cluster instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-10-27T13:01:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAccount'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateAccount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'CreateBackup' => [ + 'summary' => 'Create a data backup for an ApsaraDB Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '56342', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore6PLKNO', - ], + 'abilityTreeCode' => '56349', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ShardCount', + 'name' => 'BackupRetentionPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of data shards that you want to add. Default value: **1**.'."\n" - ."\n" - .'> The instance can contain 2 to 256 data shards. You can add up to 64 data shards at a time. Make sure that the number of shards does not exceed this limit.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '4096', - 'minimum' => '1', - 'example' => '2', - 'default' => '1', - ], + 'schema' => ['description' => 'The expiration period of this manual backup, in days. Valid values range from 7 to 730. If you specify -1, the backup data will not expire during the instance lifetime. If you do not specify a value (default), the expiration period follows the current automatic backup policy.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], - [ - 'name' => 'AutoPay', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal. Make sure that your account has sufficient balance.'."\n" - .'* **false**: disables auto-renewal. You must manually renew the instance in the console before the instance expires. For more information, see [Instance renewal](~~26352~~).'."\n" - ."\n" - .'> Default value: **true**.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'true', + 'type' => 'object', + 'properties' => [ + 'BackupJobID' => ['description' => 'The ID of the backup task.'."\n", 'type' => 'string', 'example' => '"1022,2480"', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2FF6158E-3394-4A90-B634-79C49184****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the coupon.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"BackupJobID\\": \\"\\\\\\"1022,2480\\\\\\"\\",\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\"\\n}","type":"json"}]', + 'title' => 'Manual backup of data', + 'description' => 'For the corresponding console operation of this API, see [backup and recovery](~~43886~~).', + 'changeSet' => [ + ['createdAt' => '2025-04-22T09:36:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-25T11:17:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBackup'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'BusinessInfo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The business information. This is an additional parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateBackup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], + ], + ], + 'CreateCacheAnalysisTask' => [ + 'summary' => 'Creates a cache analysis task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SourceBiz', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '56350', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ [ - 'name' => 'ForceTrans', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" - ."\n" - .'* **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" - .'* **true**: The system skips the version check and directly performs the configuration change.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The vSwitch ID. You can specify a different vSwitch within the same virtual private cloud (VPC). In this case, the new data shards are created in the specified vSwitch. If you do not specify this parameter, the new data shards are created in the original vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -1386,47 +772,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B79C1A90-495B-4E99-A2AA-A4DB13B8****', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20741011111111', - ], - 'NodeIds' => [ - 'description' => 'The IDs of the data shards.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the data shard.'."\n", - 'type' => 'string', - 'example' => 'r-8vb0i6z4npbxrf****-db-4', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support this operation.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCacheAnalysisTaskResponse>\\r\\n <RequestId>BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****</RequestId>\\r\\n</CreateCacheAnalysisTaskResponse>","errorExample":""}]', + 'title' => 'CreateCacheAnalysisTask', + 'description' => 'This operation is no longer available. Use the new operation. For more information, see [Real-time key statistics and offline key analysis](~~184226~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCacheAnalysisTask'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateCacheAnalysisTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B79C1A90-495B-4E99-A2AA-A4DB13B8****\\",\\n \\"OrderId\\": 20741011111111,\\n \\"NodeIds\\": [\\n \\"r-8vb0i6z4npbxrf****-db-4\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<AddShardingNodeResponse>\\n <RequestId>B79C1A90-495B-4E99-A2AA-A4DB13B8****</RequestId>\\n <NodeIds>r-8vb0i6z4npbxrf****-db-4</NodeIds>\\n <NodeIds>r-8vb0i6z4npbxrf****-db-5</NodeIds>\\n <OrderId>207794311111111</OrderId>\\n</AddShardingNodeResponse>","errorExample":""}]', - 'title' => 'AddShardingNode', - 'description' => 'This operation is available only for cluster instances that use cloud disks.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'CreateGlobalDistributeCache' => [ - 'summary' => 'Converts an existing Tair DRAM-based classic instance to the first child instance of a distributed instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Converts an existing classic Tair memory-enhanced instance into the first sub-instance of a distributed instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1437,52 +824,38 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '56353', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'SeedSubInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the existing instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the source instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n" - ."\n" - .'> You do not need to specify system parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n" + ."\n" + .'> This is a system parameter. You do not need to specify it.', 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''], ], [ 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The time when you want to perform the conversion. Valid values:'."\n" + 'description' => 'Specifies when to perform the operation. Valid values:'."\n" ."\n" - .'* **Immediately**: immediately performs the conversion.'."\n" - .'* **MaintainTime** (default): performs the conversion during the maintenance window.'."\n" + .'- **Immediately**: Performs the operation immediately.'."\n" ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', + .'- **MaintainTime**: Performs the operation during the maintenance window. This is the default value.'."\n" + ."\n" + .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to change the maintenance window of the instance.', 'type' => 'string', 'required' => false, - 'example' => 'Immediately', 'default' => 'MaintainTime', - 'enum' => [ - 'Immediately', - 'MaintainTime', - ], + 'enum' => ['Immediately', 'MaintainTime'], + 'example' => 'Immediately', + 'title' => '', ], ], ], @@ -1491,178 +864,172 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E681E498-5A0D-44F2-B1A7-912DC3******', - ], - 'GlobalInstanceId' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E681E498-5A0D-44F2-B1A7-912DC3******', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The ID of the distributed instance.', 'type' => 'string', 'example' => 'gr-8vbzg1y6m****t38p', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'r-8vb6ffc5****4ec4', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E681E498-5A0D-44F2-B1A7-912DC3******\\",\\n \\"GlobalInstanceId\\": \\"gr-8vbzg1y6m****t38p\\",\\n \\"InstanceId\\": \\"r-8vb6ffc5****4ec4\\"\\n}","type":"json"}]', - 'title' => 'CreateGlobalDistributeCache', - 'description' => 'You can call this operation to convert an existing instance to the first child instance of a distributed instance. After the instance is converted, the distributed instance is created. Before you call this operation, make sure that the following requirements are met:'."\n" + 'title' => 'Convert an existing instance into the first child instance of a distributed instance', + 'description' => 'This operation converts an existing instance into the first sub-instance of a distributed instance. The conversion also creates the distributed instance. The source instance must meet the following requirements:'."\n" + ."\n" + .'- The source instance must be a classic Tair [memory-enhanced](~~126164~~) instance.'."\n" ."\n" - .'* The instance that you want to convert must be a Tair [DRAM-based](~~126164~~) instance that uses the classic deployment mode.'."\n" - .'* If the existing instance is a cluster instance, the direct connection mode must be disabled for the instance. For more information, see [Release a private endpoint](~~150047~~).'."\n" + .'- If the source instance uses the cluster architecture, you must disable the direct connection mode. For more information, see [ReleasePublicConnection](~~150047~~).'."\n" ."\n" - .'> You can also call the [CreateInstance](~~473757~~) operation to create an instance that is specified as the first child instance of a distributed instance. After the child instance is created, the distributed instance to which the child instance belongs is created.', + .'> Alternatively, you can call the [CreateInstance](~~473757~~) operation to create a new instance to use as the first sub-instance. This action also creates the distributed instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteShardingNode' => [ - 'summary' => 'Removes one or more data shards from a Tair (Redis OSS-compatible) cluster instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-05-30T06:19:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-22T13:23:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-25T07:29:26.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-16T08:29:21.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGlobalDistributeCache'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:CreateGlobalDistributeCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'CreateGlobalSecurityIPGroup' => [ + 'summary' => 'Creates a global IP whitelist template.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '56369', - 'abilityTreeNodes' => [ - 'FEATUREkvstore6VEW31', - ], + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreRNHQKZ'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'NodeId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data shard that you want to remove. You can specify multiple IDs at a time. Separate multiple IDs with commas (,).'."\n" - ."\n" - .'> If you specify both the NodeId and ShardCount parameters, the system prioritizes the NodeId parameter.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****-db-0,r-bp1zxszhcgatnx****-db-1', - ], + 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ - 'name' => 'ShardCount', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of data shards that you want to remove. Shard removal starts from the end of the shard list.'."\n" - ."\n" - .'> For example, the instance has the following data shards: db-0, db-1, db-2, db-3, and db-4. In this case, if you set this parameter to 2, db-3 and db-4 are removed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'maximum' => '4096', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ForceTrans', + 'name' => 'GlobalIgName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" - ."\n" - .'* **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" - .'* **true**: The system skips the version check and directly performs the configuration change.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['description' => 'The name of the IP whitelist template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" + .'* The name must start with a letter and end with a letter or digit.'."\n" + .'* The name must be 2 to 120 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_123', 'maxLength' => 120, 'minLength' => 2, 'title' => ''], ], [ - 'name' => 'EffectiveTime', + 'name' => 'GIpList', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when you want to delete the proxy nodes for instance in the proxy mode. Valid values:'."\n" - ."\n" - .'* **0 or Immediately** (default): immediately delete the proxy nodes.'."\n" - .'* **1 or MaintainTime**: delete the proxy nodes during the maintenance window.'."\n" - ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - '0', - '1', - 'Immediately', - 'MaintainTime', - ], - ], + 'schema' => ['description' => 'The IP addresses in the IP whitelist template.'."\n" + ."\n" + .'> Separate multiple IP addresses with commas (,). The maximum number of IP addresses is 1,000.'."\n", 'type' => 'string', 'required' => true, 'example' => '192.168.0.1,10.10.10.10,172.16.0.1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - 'OrderId' => [ - 'description' => 'The ID of the order. On the Orders page in the Billing Management console, you can obtain the details of the order based on the order ID.'."\n", - 'type' => 'string', - 'example' => '22179******0904', + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], + 'GlobalSecurityIPGroup' => [ + 'description' => 'The information about the global IP whitelist template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '1'."\n", + 'type' => 'object', + 'properties' => [ + 'GlobalSecurityGroupId' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'example' => 'g-sdgwqyp4f5j1x3qk****', 'title' => ''], + 'GlobalIgName' => ['description' => 'The name of the IP whitelist template.'."\n", 'type' => 'string', 'example' => 'test_123', 'title' => ''], + 'GIpList' => ['description' => 'The IP addresses in the IP whitelist template.'."\n", 'type' => 'string', 'example' => '192.168.0.1,10.10.10.10,172.16.0.1', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"OrderId\\": \\"22179******0904\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteShardingNodeResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</DeleteShardingNodeResponse>","errorExample":""}]', - 'title' => 'DeleteShardingNode', - 'description' => 'You can also remove data shards from an instance in the Tair (Redis OSS-compatible) console. For more information, see [Adjust the number of shards for an instance with cloud disks](~~198082~~).\\'."\n" - .'Before you call this operation, make sure that the instance meets the following requirements:'."\n" - ."\n" - .'* The instance is a persistent memory-optimized instance in the cluster architecture. For more information about persistent memory-optimized instances, see [Persistent memory-optimized instances](~~183956~~).'."\n" - .'* The instance has more than one data shard.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteInstance' => [ - 'summary' => 'Releases a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ['errorCode' => 'InvalidSecurityIPList.QuotaExceeded', 'errorMessage' => 'Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.', 'description' => 'The number of IP addresses in the list exceeds the limit'], + ['errorCode' => 'InvalidSecurityIPList.Format', 'errorMessage' => 'Specified security IP list format is not valid.', 'description' => ''], + ['errorCode' => 'InvalidSecurityIPList.Duplicate', 'errorMessage' => 'Specified security IP list is not valid: Duplicate IP address in the list', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidUser.NotFound', 'errorMessage' => 'Specified user does not exist.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"GlobalSecurityIPGroup\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-sdgwqyp4f5j1x3qk****\\",\\n \\"GlobalIgName\\": \\"test_123\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10,172.16.0.1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'CreateGlobalSecurityIPGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateGlobalSecurityIPGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1671,739 +1038,606 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56368', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreSIWMD9', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '56354', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance that you want to release.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The region ID. You can call [DescribeRegions](~~473763~~) to query available regions. Use this parameter to specify the region in which to create the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'GlobalInstanceId', + 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the distributed instance to which the instance belongs. This parameter is applicable to only China site (aliyun.com).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gr-bp14rkqrhac****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D190D2', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'InstanceReleaseProtection', - 'errorMessage' => 'The operation is not permitted due to instance release protection.', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. The token value is generated by the client and must be unique among different requests. The token is case-sensitive and cannot exceed 64 ASCII characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D190D2\\"\\n}","type":"json"}]', - 'title' => 'DeleteInstance', - 'description' => 'For more information about how to perform the corresponding operation in the console, see [Release an instance](~~43882~~).'."\n" - ."\n" - .'Before you call this operation, make sure that the following requirements are met:'."\n" - ."\n" - .'* The instance is in the running state.'."\n" - .'* The instance is charged on a pay-as-you-go basis.'."\n" - ."\n" - .'> You cannot call this operation to release a subscription instance, which is automatically released when it expires. To release a subscription instance before it expires, submit a ticket.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - ], - 'DestroyInstance' => [ - 'summary' => 'Permanently destroys instances and their data backups in the recycle bin.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the instance. The name must be 2 to 80 characters in length and must start with a letter or a Chinese character. The name cannot contain `@/:="<>{[]}` or spaces.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '56452', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => ['description' => 'The password of the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. The following special characters are supported: `!@#$%^&*()_+-=`.', 'type' => 'string', 'required' => false, 'example' => 'Pass!123456', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Capacity', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance in the recycle bin.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-8vb2rhccnvd82f****', - ], + 'schema' => ['description' => 'The storage capacity of the instance. Unit: MB.'."\n" + ."\n" + .'> You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call this operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '16384', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '870422DE-B64C-5A15-9C48-4A9485D1****', - ], - ], - 'description' => '', - ], + [ + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type. For example, redis.master.small.default specifies a Community Edition (classic) standard architecture dual-replica 1 GB instance. For more information, see [Instance type overview](~~26350~~). '."\n" + ."\n" + .'> You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call this operation.', 'type' => 'string', 'required' => false, 'example' => 'redis.master.small.default', 'title' => ''], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"870422DE-B64C-5A15-9C48-4A9485D1****\\"\\n}","type":"json"}]', - 'title' => 'DestroyInstance', - 'description' => 'Before you call this operation, instances must be available in the recycle bin. For more information, see [Instance recycle bin](~~86114~~).'."\n" - ."\n" - .'> Calling this operation permanently deletes the instances and their data backups in the recycle bin.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**Warning** After you destroy the instance, data in the instance is permanently deleted and can no longer be restored. Proceed with caution.'."\n", - ], - 'ModifyInstanceSpec' => [ - 'summary' => 'Changes the configurations of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The primary zone ID. You can invoke [DescribeRegions](~~473763~~) to query active zones. Use this parameter to specify the zone in which to create the instance.'."\n" + .'> You can also specify the SecondaryZoneId parameter to set the secondary zone. The primary and secondary nodes are deployed in the specified primary and secondary zones respectively, which implements a dual-center primary/secondary architecture in the same city. For example, set ZoneId to "cn-hangzhou-h" and SecondaryZoneId to "cn-hangzhou-g".', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou-h', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56485', - 'abilityTreeNodes' => [ - 'FEATUREkvstore6PLKNO', - 'FEATUREkvstore6VEW31', - 'FEATUREkvstore1Q5K7Z', + [ + 'name' => 'SecondaryZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The secondary zone ID. You can call [DescribeZones](~~473764~~) to query available zones.'."\n" + .'> The value of this parameter must be different from the value of ZoneId. You cannot set this parameter to the ID of a multi-zone.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", + 'description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid** (default): pay-as-you-go.', 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou', + 'default' => 'PostPaid', + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PostPaid', + 'title' => '', ], ], [ - 'name' => 'InstanceId', + 'name' => 'NodeType', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.'."\n", + 'description' => 'The node type. Valid values:'."\n" + .'* **MASTER_SLAVE**: high availability (dual-replica)'."\n" + .'* **STAND_ALONE**: single replica'."\n" + .'* **double**: dual-replica'."\n" + .'* **single**: single replica'."\n" + .'> For cloud-native instances, set this parameter to **MASTER_SLAVE** or **STAND_ALONE**. For classic instances, set this parameter to **double** or **single**.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'default' => 'double', + 'enum' => ['STAND_ALONE', 'MASTER_SLAVE', 'double', 'single'], + 'example' => 'STAND_ALONE', + 'title' => '', ], ], [ - 'name' => 'InstanceClass', + 'name' => 'NetworkType', 'in' => 'query', 'schema' => [ - 'description' => 'The new instance type. You can call the [DescribeAvailableResource](~~473765~~) operation to query the instance types available for configuration change within the zone to which the instance belongs.'."\n" - ."\n" - .'> For more information about the instance types, see [Overview](~~26350~~).'."\n", + 'description' => 'The network type. Valid values:'."\n" + .'* **VPC**: Virtual Private Cloud (VPC). This is the default value.', 'type' => 'string', 'required' => false, - 'example' => 'redis.master.small.default', + 'default' => 'VPC', + 'enum' => ['VPC'], + 'example' => 'VPC', + 'title' => '', ], ], [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + ], + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => 'The subscription period. Unit: months. Valid values: **1** to **9**, **12**, **24**, **36**, and **60**.'."\n" + ."\n" + .'> This parameter is available and required only when **ChargeType** is set to **PrePaid**.', 'type' => 'string', 'required' => false, 'pattern' => '^\\d+$', 'example' => '12', 'title' => ''], + ], + [ 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the promotional event or the business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000001', - ], + 'schema' => ['description' => 'The activity ID and business information.', 'type' => 'string', 'required' => false, 'example' => '000000000', 'title' => ''], ], [ 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + 'schema' => ['description' => 'The coupon code. Default value: `default`.', 'type' => 'string', 'required' => false, 'default' => 'default', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'ForceUpgrade', + 'name' => 'SrcDBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to forcibly change the configurations. Valid values:'."\n" - ."\n" - .'* **false**: The system does not forcefully change the configurations.'."\n" - .'* **true** (default): The system forcefully changes the configurations.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'To create an instance from a backup set of an existing instance, specify the instance ID of the source instance in this parameter.'."\n" + .'> Then use the **BackupId**, **ClusterBackupId** (recommended for cloud-native cluster instances), or **RestoreTime** parameter to specify the backup set or point in time. This parameter must be used together with one of the preceding three parameters. The value is a string, not an array.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EffectiveTime', + 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when you want the configurations to be changed. Valid values:'."\n" - ."\n" - .'* **Immediately** (default): immediately changes the configurations.'."\n" - .'* **MaintainTime**: changes the configurations within the maintenance window. You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to change the maintenance window.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => 'Immediately', - ], + 'schema' => ['description' => 'The ID of the backup set of the source instance. The system uses the data stored in the backup set to create the instance. You can invoke [DescribeBackups](~~473823~~) to query the BackupId. If the source instance is a cluster instance, specify the backup set IDs of all shards of the source instance, separated by commas (,). Example: "10\\*\\*,11\\*\\*,15\\*\\*".'."\n" + .'> If your instance is a cloud-native architecture cluster instance, use [DescribeClusterBackupList](~~2679168~~) to query the cluster backup set ID, such as "cb-xx", and specify it in the ClusterBackupId request parameter to clone the cluster instance. This eliminates the need to specify individual shard backup set IDs.', 'type' => 'string', 'required' => false, 'example' => '111111111', 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Valid values:'."\n" - ."\n" - .'* **true** (default): enables automatic payment.'."\n" - .'* **false**: disables automatic payment. If you set this parameter to **false**, the instance must be manually renewed before it expires. For more information, see [Renew an instance](~~26352~~).'."\n", - 'type' => 'boolean', + 'description' => 'The instance type. Valid values:'."\n" + .'* **Redis** (default)'."\n" + .'* **Memcache**', + 'type' => 'string', 'required' => false, - 'docRequired' => false, - 'example' => 'true', - 'default' => 'true', + 'default' => 'Redis', + 'enum' => ['Redis', 'Memcache'], + 'example' => 'Redis', + 'title' => '', ], ], [ - 'name' => 'OrderType', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The change type. This parameter is required when you change the configurations of a subscription instance. Valid values:'."\n" - ."\n" - .'* **UPGRADE** (default): upgrades the configurations of the subscription instance.'."\n" - .'* **DOWNGRADE**: downgrades the configurations of the subscription instance.'."\n" - ."\n" - .'> '."\n" + 'description' => 'Redis **classic** engine version. Valid values:'."\n" + .'* **2.8** (not recommended, [planned for end of support](~~2674657~~))'."\n" + .'* **4.0** (not recommended)'."\n" + .'* **5.0**'."\n" ."\n" - .'* To downgrade a subscription instance, you must set this parameter to **DOWNGRADE**.'."\n" + .'Redis **cloud-native** engine version. Valid values:'."\n" + .'* **5.0**'."\n" + .'* **6.0** (recommended)'."\n" + .'* **7.0**'."\n" ."\n" - .'* If the price of an instance increases after its configurations are changed, the instance is upgraded. If the price decreases, the instance is downgraded. For example, the price of an 8 GB read/write splitting instance with five read replicas is higher than that of a 16 GB cluster instance. If you want to change a 16 GB cluster instance to an 8 GB read/write splitting instance with five read replicas, you must upgrade the instance.'."\n", + .'> Default value: **5.0**.', + 'enumValueTitles' => ['4.0' => '4.0', '5.0' => '5.0', '6.0' => '6.0', '7.0' => '7.0', '2.8' => '2.8'], 'type' => 'string', 'required' => false, - 'docRequired' => false, - 'enumValueTitles' => [ - 'DOWNGRADE' => 'DOWNGRADE', - 'UPGRADE' => 'UPGRADE', - ], - 'example' => 'DOWNGRADE', - 'default' => 'UPGRADE', - 'enum' => [ - 'UPGRADE', - 'DOWNGRADE', - 'AUTO', - ], + 'default' => '5.0', + 'enum' => ['1.4', '2.8', '4.0', '5.0', '6.0', '7.0'], + 'example' => '5.0', + 'title' => '', ], ], [ - 'name' => 'MajorVersion', + 'name' => 'PrivateIpAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'The major version of the classic instance that you want to upgrade. Valid values: **2.8**, **4.0**, and **5.0**.'."\n" - ."\n" - .'> The **InstanceClass** parameter is required when you upgrade the instance version. This parameter indicates that you can upgrade the instance version only when you update the instance specifications. If you only need to upgrade the instance version, call the [ModifyInstanceMajorVersion](~~473776~~) operation.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => '5.0', - 'enum' => [ - '2.8', - '4.0', - '5.0', - '6.0', - ], - ], + 'schema' => ['description' => 'The internal network IP address of the new instance.'."\n" + ."\n" + .'> The internal network IP address must be within the vSwitch CIDR block to which the instance belongs.', 'type' => 'string', 'required' => false, 'example' => '172.16.0.***', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'AutoUseCoupon', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], + 'schema' => ['description' => 'Specifies whether to use a coupon. Valid values:'."\n" + .'* **true**: uses a coupon.'."\n" + .'* **false** (default): does not use a coupon.', 'type' => 'string', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], [ - 'name' => 'SourceBiz', + 'name' => 'AutoRenew', 'in' => 'query', 'schema' => [ - 'description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", + 'description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" + .'* **true**: enables auto-renewal.'."\n" + .'* **false** (default): does not enable auto-renewal.', 'type' => 'string', 'required' => false, - 'example' => 'SDK', + 'default' => 'false', + 'enum' => ['true', 'false'], + 'example' => 'true', + 'title' => '', ], ], [ + 'name' => 'AutoRenewPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The auto-renewal epoch. Unit: months. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required when **AutoRenew** is set to **true**.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-resourcegroupid1', 'title' => ''], + ], + [ + 'name' => 'RestoreTime', + 'in' => 'query', + 'schema' => ['description' => 'If flashback is enabled for the source instance, you can specify a point in time within the backup retention period. The system uses the backup data of the source instance at the specified point in time to create the instance. Specify the time in the ISO 8601 standard in the <i>yyyy-MM-dd</i>T<i>HH:mm:ss</i>Z format. The time must be in UTC.', 'type' => 'string', 'required' => false, 'example' => '2019-06-19T16:00:00Z', 'title' => ''], + ], + [ + 'name' => 'DedicatedHostGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the dedicated cluster. This parameter is required when you create an instance in a dedicated cluster.', 'type' => 'string', 'required' => false, 'example' => 'dhg-uv4fnk6r7zff****', 'title' => ''], + ], + [ 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of shards. This parameter is applicable only to cloud-native cluster instances.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If you want to change a cloud-native cluster instance to a standard instance, you must explicitly set the ShardCount parameter to 1 and specify the specifications of the master-replica instance.'."\n" - ."\n" - .'* To change a cloud-native standard instance to a cluster instance, you must explicitly set the ShardCount parameter to a value greater than 1 and specify the specifications of the cluster instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '4092', - 'minimum' => '1', - 'example' => '8', - ], + 'schema' => ['description' => 'The number of shards. This parameter is applicable only to cloud-native instances. You can use this parameter to customize the number of shards.'."\n" + ."\n" + .'- 1: creates a non-cluster instance.'."\n" + .'- A value greater than 1: creates a cluster instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '128', 'minimum' => '1', 'default' => '1', 'example' => '4', 'title' => ''], ], [ 'name' => 'ReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the primary zone. This parameter is applicable only to cloud-native multi-replica cluster instances. Valid values: 1 to 4.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The sum of the values of this parameter and the SlaveReplicaCount parameter cannot be greater than 4.'."\n" - ."\n" - .'* You can specify either ReplicaCount or ReadOnlyCount.'."\n" - ."\n" - .'* A master-replica instance cannot contain multiple replica nodes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The number of replica nodes in the primary zone. This parameter is applicable only to cloud-native cluster multi-replica instances. You can use this parameter to customize the number of replica nodes. Valid values: 1 to 4.'."\n" + ."\n" + .'> If you create a multi-zone instance, you can use this parameter together with the SlaveReplicaCount parameter to customize the number of replica nodes in the primary and secondary zones. The sum of this parameter and the SlaveReplicaCount parameter cannot exceed 4.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'SlaveReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the secondary zone when you create a cloud-native multi-replica cluster instance that is deployed across multiple zones. The sum of the values of this parameter and the ReplicaCount parameter cannot be greater than 4.'."\n" - ."\n" - .'> When you create a cloud-native multi-replica cluster instance that is deployed across multiple zones, you must specify both SlaveReplicaCount and SecondaryZoneId.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The number of replica nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'ReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the primary zone. Valid values: 0 to 5. This parameter applies only to the following scenarios:'."\n" - ."\n" - .'* If the instance is a cloud-native standard instance, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture.'."\n" - .'* If the instance is a cloud-native read/write splitting instance, you can use this parameter to customize the number of read replicas. You can also set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '9', - 'minimum' => '0', - 'example' => '5', - ], + 'schema' => ['description' => 'The number of read-only nodes in the primary zone. This parameter is applicable only to cloud-native read/write splitting instances.'."\n" + .'* For standard architecture instances, valid values are 1 to 9.'."\n" + .'* For cluster architecture instances, valid values are 1 to 4, which specifies the number of read-only nodes per data shard.'."\n" + .'> If you create a multi-zone instance, you can use this parameter together with the SlaveReadOnlyCount parameter to customize the number of read-only nodes in the primary and secondary zones.'."\n" + .'> - For standard architecture instances, the sum of this parameter and SlaveReadOnlyCount cannot exceed 9.'."\n" + .'> - For cluster architecture instances, the sum of this parameter and SlaveReadOnlyCount cannot exceed 4.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '5', 'minimum' => '0', 'example' => '2', 'title' => ''], ], [ 'name' => 'SlaveReadOnlyCount', 'in' => 'query', + 'schema' => ['description' => 'The number of read-only nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'GlobalInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the distributed instance. This parameter is applicable only to Chinese site (aliyun.com).'."\n" + ."\n" + .'<props="china"> To append the new Redis instance as a child instance of a distributed instance, this parameter is active and required. For more information and console operations, see [Add a child instance to a distributed instance](~~106885~~).</props>', 'type' => 'string', 'required' => false, 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + ], + [ + 'name' => 'GlobalInstance', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to use the new instance as the first child instance of a distributed instance. This allows you to create a distributed instance. Valid values:'."\n" + ."\n" + .'* **true**: uses the instance as the first child instance.'."\n" + .'* **false** (default): does not use the instance as the first child instance.'."\n" + ."\n" + .'> * To set this parameter to **true**, the new instance must be a Tair memory-optimized instance with a database DPI engine version of 5.0.'."\n" + .'> * This parameter is applicable only to Chinese site (aliyun.com).', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The service port of the instance. Valid values: **1** to **65535**. Default value: **6379**.', 'type' => 'string', 'required' => false, 'maxLength' => 5, 'minLength' => 1, 'pattern' => '^\\d+$', 'example' => '6379', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run for this instance creation request. Valid values:'."\n" + .'* **true**: performs a dry run without creating the instance. The system checks items such as the request parameters, request format, service limits, and available resources. If the check fails, the corresponding error is returned. If the check succeeds, the error code `DryRunOperation` is returned.'."\n" + .'* **false** (default): sends the request. After the request passes the check, the instance is created.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'GlobalSecurityGroupIds', + 'in' => 'query', + 'schema' => ['description' => 'The global IP whitelist templates for the instance. Separate multiple templates with commas (,). Duplicates are not allowed.'."\n" + .'><notice>This parameter is applicable only to cloud-native instances. Classic instances do not support the whitelist template feature.</notice>', 'type' => 'string', 'required' => false, 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], + ], + [ + 'name' => 'Appendonly', + 'in' => 'query', 'schema' => [ - 'description' => 'The number of read replicas in the secondary zone when you create a read/write splitting instance that is deployed across multiple zones. Valid values: 1 to 9. The sum of the values of this parameter and the ReadOnlyCount parameter cannot be greater than 9.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The Append Only File (AOF) persistence parameter settings for the new instance. Valid values:'."\n" + .'- **yes** (default): enables AOF persistence.'."\n" + .'- **no**: disables AOF persistence.'."\n" + .'> This parameter is applicable to classic instances. Cloud-native instances do not support specifying the AOF parameter.', + 'enumValueTitles' => ['no' => 'Disables AOF.', 'yes' => 'Enables AOF.'], + 'type' => 'string', 'required' => false, - 'maximum' => '9', - 'minimum' => '0', - 'example' => '2', + 'example' => 'yes', + 'title' => '', ], ], [ - 'name' => 'ForceTrans', + 'name' => 'ConnectionStringPrefix', 'in' => 'query', + 'schema' => ['description' => 'The prefix of the endpoint. The prefix must consist of lowercase letters and digits, start with a lowercase letter, and be 8 to 40 characters in length.'."\n" + ."\n" + .'> '."\n" + .'> The endpoint is in the format of: <prefix>.redis.rds.aliyuncs.com.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'ParamGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the parameter template. The ID is globally unique.><notice>This parameter is applicable only to cloud-native instances.</notice>', 'type' => 'string', 'required' => false, 'example' => 'rpg-test**', 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" - ."\n" - .'* **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" - .'* **true**: The system skips the version check and directly performs the configuration change.'."\n", - 'type' => 'boolean', + 'description' => 'The tags of the instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The object.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.'."\n" + ."\n" + .'> * **N** specifies the sequence number of the tag. A maximum of 20 tags can be attached to a single instance. For example, Tag.1.Key specifies the key of the first tag, and Tag.2.Key specifies the key of the second tag.'."\n" + .'> * If the tag key does not exist, the tag is automatically created.', 'type' => 'string', 'required' => false, 'example' => 'testkey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.'."\n" + .'> **N** specifies the sequence number of the tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.', 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NodeType', + 'name' => 'ClusterBackupId', + 'in' => 'query', + 'schema' => ['description' => 'The cluster backup set ID, which is supported by some new cluster architecture instances. You can call [DescribeClusterBackupList](~~2679168~~) to obtain the ID.'."\n" + .'* If supported, specify the cluster backup set ID. You do not need to specify the **BackupId** parameter.'."\n" + .'* If not supported, specify the backup set IDs of all shards of the source instance in the BackupId parameter, separated by commas (,). Example: "2158\\*\\*\\*\\*20,2158\\*\\*\\*\\*22".', 'type' => 'string', 'required' => false, 'example' => 'cb-hyxdof5x9kqb****', 'title' => ''], + ], + [ + 'name' => 'RecoverConfigMode', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to restore the account, kernel parameter (config), or whitelist information from the original backup set when you create an instance from a specified backup set. For example, to restore account information, set this parameter to `account`.'."\n" + ."\n" + .'The default value is empty, which indicates that the account, kernel parameter, and whitelist information is not restored from the original backup set.'."\n" + .'> This parameter is applicable only to cloud-native instances, and the original backup set must contain the account, kernel parameter, or whitelist information. You can call [DescribeBackups](~~473823~~) to check whether the RecoverConfigMode parameter of the specified backup set contains the preceding information.', 'type' => 'string', 'required' => false, 'example' => 'whitelist,config,account', 'title' => ''], + ], + [ + 'name' => 'InstanceEndpointType', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the node. Valid values:'."\n" + 'description' => 'The endpoint type used when you create a cloud-native dual-zone deployment read/write splitting instance. If this parameter is not explicitly committed, the default value is AzIndependentEndpoint.'."\n" ."\n" - .'* **MASTER_SLAVE**: high availability (master-replica)'."\n" - .'* **STAND_ALONE**: standalone'."\n" - .'* **double**: master-replica'."\n" - .'* **single**: standalone'."\n" + .'- **AzIndependentEndpoint**: **default value**. Zone-independent endpoints. The primary and secondary zones provide independent endpoints, which allow nearest access through different endpoints.'."\n" + .'- **UnifiedEndpoint**: unified endpoint. A unified endpoint is provided to access nodes in both the primary and secondary zones, but cross-zone access may occur.'."\n" ."\n" - .'> To create a cloud-native instance, set this parameter to **MASTER_SLAVE** or **STAND_ALONE**. To create a classic instance, set this parameter to **double** or **single**.'."\n", + .'><notice>This parameter is applicable only to cloud-native dual-zone deployment read/write splitting instances. For other instance types, only zone-independent endpoints are supported. Even if UnifiedEndpoint is specified, it does not take effect.</notice>'."\n" + ."\n" + .'><notice>The UnifiedEndpoint option is available only to users on the whitelist. If you are not on the whitelist and specify this parameter, the invocation returns an error. To request access, submit a ticket.</notice>', 'type' => 'string', + 'default' => 'AzIndependentEndpoint', + 'enum' => ['AzIndependentEndpoint', 'UnifiedEndpoint'], 'required' => false, - 'example' => 'MASTER_SLAVE', - 'enum' => [ - 'MASTER_SLAVE', - 'STAND_ALONE', - 'double', - 'single', - ], + 'example' => 'AzIndependentEndpoint', + 'title' => '', ], ], [ - 'name' => 'StorageType', + 'name' => 'MaintainStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage type. Valid values: **essd_pl1**, **essd_pl2**, and **essd_pl3**.'."\n" - ."\n" - .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'essd_pl1', - 'enum' => [ - 'essd_pl1', - 'essd_pl2', - 'essd_pl3', - ], - ], + 'schema' => ['description' => 'The start time of the maintenance window. Specify the time in the <i>HH:mm</i>Z format in UTC. For example, to set the start time to 01:00 (UTC+8), specify `17:00Z`.'."\n" + ."\n" + .'> If this parameter is not specified, the default value is 02:00 (UTC+8), which is 18:00Z in UTC.', 'type' => 'string', 'required' => false, 'example' => '03:00Z', 'title' => ''], ], [ - 'name' => 'Storage', + 'name' => 'MaintainEndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage capacity of the ESSD/SSD-based instance. The valid values vary based on the instance type. For more information, see [ESSD/SSD-based instances](~~2527111~~).'."\n" - ."\n" - .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance. If you create a Tair **SSD**-based instance, the Storage parameter is automatically specified based on predefined specifications. You do not need to specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => 'The end time of the maintenance window. Specify the time in the <i>HH:mm</i>Z format in UTC. For example, to set the end time to 02:00 (UTC+8), specify `18:00Z`.'."\n" + ."\n" + .'> The interval between the start time and end time must be at least 1 hour.'."\n" + ."\n" + .'> If this parameter is not specified, the default value is 06:00 (UTC+8), which is 22:00Z in UTC.', 'type' => 'string', 'required' => false, 'example' => '07:00Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The order ID.'."\n", - 'type' => 'string', - 'example' => '20722623431****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0DA1D7EF-C80D-432C-8758-7D225182626B', - ], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + 'QPS' => ['description' => 'The queries per second (QPS). This value is the theoretical maximum for the current instance type.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'Capacity' => ['description' => 'The storage capacity of the instance. Unit: MB.', 'type' => 'integer', 'format' => 'int64', 'example' => '16384', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal network endpoint of the Redis instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid**: pay-as-you-go.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + .'* **CLASSIC**: classic network.'."\n" + .'* **VPC**: VPC.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID, which is globally unique.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'Port' => ['description' => 'The Redis service port.', 'type' => 'integer', 'format' => 'int32', 'example' => '6379', 'title' => ''], + 'Config' => ['description' => 'The detailed configuration of the instance.', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-hongkong', 'title' => ''], + 'EndTime' => ['description' => 'The time when the subscription instance expires. The time is in the <i>yyyy-MM-dd</i>T<i>HH:mm:ss</i>Z format in UTC.', 'type' => 'string', 'example' => '2019-01-18T16:00:00Z', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5DEA3CC9-F81D-4387-8E97-CEA40F09****', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + .'* **STAND_ALONE**: single replica.'."\n" + .'* **MASTER_SLAVE**: dual-replica.', 'type' => 'string', 'example' => 'MASTER_SLAVE', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections supported by the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth limit of the instance. Unit: MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'InstanceStatus' => ['description' => 'The current status of the instance. The return value is fixed as Creating.', 'type' => 'string', 'example' => 'Creating', 'title' => ''], + 'PrivateIpAddr' => ['description' => 'The internal IP address of the instance.', 'type' => 'string', 'example' => '172.16.0.10', 'title' => ''], + 'UserName' => ['description' => 'The account used to connect to the Redis instance. By default, an account named after the instance ID is included.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2084452111111', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'PaymentMethodNotFound', - 'errorMessage' => 'No payment method has been registered on the account.', - ], - [ - 'errorCode' => 'HasRenewChangeOrder', - 'errorMessage' => 'This instance has a renewChange order.', - ], - [ - 'errorCode' => '%s', - 'errorMessage' => 'Warn: {%s} are not supported after upgraded. you can set forceUpgrade=true to force upgrade.', - ], - [ - 'errorCode' => 'GdcInstanceNotSupport', - 'errorMessage' => 'The gdc custins trans not support.', - ], - [ - 'errorCode' => 'AbnormalResourceStatusForRenew', - 'errorMessage' => 'Abnormal resource status for renew.', - ], - [ - 'errorCode' => 'MissingRedisShardingUnsupportPerfItem', - 'errorMessage' => 'The metadb is missing redis sharding unsupoort command perf item.', - ], - [ - 'errorCode' => 'IllegalParamError', - 'errorMessage' => 'Action or resource must not be null.', - ], - [ - 'errorCode' => 'IncorrectTargetMajorVersion', - 'errorMessage' => 'Current target majorversion does not support this operation.', - ], - [ - 'errorCode' => 'IncorrectMinorVersion', - 'errorMessage' => 'Current engine minor version does not support operations.', - ], - [ - 'errorCode' => 'DirectTargetLevelNotSupport', - 'errorMessage' => 'The direct custins tranfer target instance level does not support.', - ], - [ - 'errorCode' => 'DirectTransPreCheckError', - 'errorMessage' => 'The direct custins trans pre check IsAddReduceNodes error.', - ], - [ - 'errorCode' => 'DtsOpendNotSupportTrans', - 'errorMessage' => 'The custins DtsSyncStatus opend does not support trans.', - ], - [ - 'errorCode' => 'DirectTransNodeDoubleLevelError', - 'errorMessage' => 'The direct custins tranfer node double target level error.', - ], - [ - 'errorCode' => 'DirectTransUpgradeMajorVersionNotSupport', - 'errorMessage' => 'The direct custins tranfer does not support upgrade major version.', - ], + ['errorCode' => 'ZoneIdNotFound', 'errorMessage' => 'Specify iz not support switch network.', 'description' => 'Unable to find Availability Zone'], + ['errorCode' => 'InvalidShardInfo.Format', 'errorMessage' => 'Shard total number is out of range.', 'description' => ''], + ['errorCode' => 'InvalidInstancelevel', 'errorMessage' => 'Specified Instance level dose not match gdc other member instance level.', 'description' => ''], + ['errorCode' => 'InvalidBackupLogStatus', 'errorMessage' => 'Backup logs are not enabled for the specified source instance.', 'description' => ''], + ['errorCode' => 'InvalidStatus', 'errorMessage' => 'Specified instance status is Modifying.', 'description' => 'Specified instance status is Modifying.'], + ['errorCode' => 'SecurityRisk.AuthVerification', 'errorMessage' => 'we have detected a risk with your default payment method. An email and notification has been sent to you. Please re-submit your order before after verificaiton.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter Password is not valid.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'QuotaExceed.AfterpayInstance', 'errorMessage' => 'Living afterpay instances quota exceeded.', 'description' => ''], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'PaymentMethodNotFound', 'errorMessage' => 'No payment method has been registered on the account.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The vpc does not cover the vswitch.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified vpc zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified account password is not valid.', 'description' => ''], + ['errorCode' => 'InstanceClass.NotMatch', 'errorMessage' => 'Current instance class and instance type is not match.', 'description' => ''], + ['errorCode' => 'InvalidVPCId.NotFound', 'errorMessage' => 'Specified virtual vpc is not found.', 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['errorCode' => 'AccountMoneyValidateError', 'errorMessage' => 'Account money validate error.', 'description' => ''], + ['errorCode' => 'RequestTokenConflict', 'errorMessage' => 'Specified request token conflict.', 'description' => ''], + ['errorCode' => 'InvalidIPNotInSubnet', 'errorMessage' => 'Error ip not in subnet.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'Specified engine version is not valid.', 'description' => 'The error message returned because the instance engine version is invalid.'], + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'The specified zone is closed.', 'description' => ''], + ['errorCode' => 'VSwithNotBelongToNotVpcFault', 'errorMessage' => 'The vSwitch does not belong to current vpc.', 'description' => ''], + ['errorCode' => 'PayIllegalAgreement', 'errorMessage' => 'Pay mayi with holding agreement illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamError', 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', 'description' => ''], + ['errorCode' => 'CASH_BOOK_INSUFFICIENT', 'errorMessage' => 'No payment method is specified for your account. We recommend that you add a payment method or maitain a minimum prepayment balance of INR 1000.', 'description' => ''], + ['errorCode' => 'InvalidRegion.Format', 'errorMessage' => 'Specified Region is not valid.', 'description' => 'The specified region is invalid.'], + ['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'The request performs the pre-check operation and has passed the pre-check, and does not create an instance.'], + ['errorCode' => 'ResourceGroupNotExist', 'errorMessage' => 'The Specified ResourceGroupId does not exist.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'TargetMemoryLessThanCurrentUsed', - 'errorMessage' => 'The target instance memory size below the current instance used memory.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"20722623431****\\",\\n \\"RequestId\\": \\"0DA1D7EF-C80D-432C-8758-7D225182626B\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceSpecResponse>\\n\\t<RequestId>A4828C10-AF0A-4CD7-8FBE-737C6CC1193E</RequestId>\\n\\t<OrderId>20722623431****</OrderId>\\n</ModifyInstanceSpecResponse>","errorExample":"<ModifyInstanceSpecResponse>\\n <OrderId>202636204910941</OrderId>\\n <RequestId>426F1356-B6EF-4DAD-A1C3-DE53B9DAF586</RequestId>\\n</ModifyInstanceSpecResponse>"}]', - 'title' => 'ModifyInstanceSpec', - 'description' => '> For more information about the procedure, impacts, limits, and fees of this operation, see [Change the configurations of an instance](~~26353~~).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeRegions' => [ - 'summary' => 'Queries all regions and zones supported for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56428', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], + ['errorCode' => 'AuthorizationFailure', 'errorMessage' => 'The request processing has failed due to authorization failure.', 'description' => ''], + ['errorCode' => 'TokenServiceError', 'errorMessage' => 'The specified token is duplicated, please change it.', 'description' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'AcceptLanguage', - 'in' => 'query', - 'schema' => [ - 'description' => 'The display language of the **LocalName** parameter value. Valid values:'."\n" - ."\n" - .'* **zh-CN**: Chinese'."\n" - .'* **en-US**: English'."\n" - ."\n" - .'> The default value is **zh-CN**.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', - ], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The Specified vSwitchId zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****', - ], - 'RegionIds' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'KVStoreRegion' => [ - 'description' => 'The **region IDs**.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionEndpoint' => [ - 'description' => 'The endpoint of the region.'."\n", - 'type' => 'string', - 'example' => 'r-kvstore.aliyuncs.com', - ], - 'LocalName' => [ - 'description' => 'The name of the region.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ZoneIds' => [ - 'description' => 'The IDs of the zones in the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'ZoneIdList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ZoneId' => [ - 'description' => 'The zone IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the zone.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'title' => 'Create an instance', + 'summary' => 'Creates a Redis Community Edition classic instance, a Redis Community Edition cloud-native architecture instance, or a Tair memory-optimized classic instance. To create a cloud-native architecture Tair instance, call the CreateTairInstance operation.', + 'description' => 'Before you invoke this operation, make sure that you fully understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Tair (Redis® OSS-Compatible).'."\n" + ."\n" + .'This operation creates Redis Community Edition instances and Tair memory-optimized classic instances. To create a Tair cloud-native instance, invoke the [CreateTairInstance](~~473770~~) operation.'."\n" + ."\n" + .'> For the corresponding console operations and instance selection recommendations, see [Create a Redis instance](~~26351~~).', + 'requestParamsDescription' => 'The following example shows a request to create a Redis 7.0 cluster instance.'."\n" + .'```'."\n" + .'{'."\n" + .' "RegionId": "ap-southeast-1",'."\n" + .' "InstanceName": "apitest",'."\n" + .' "Password": "D****23",'."\n" + .' "ZoneId": "ap-southeast-1a",'."\n" + .' "ChargeType": "PrePaid",'."\n" + .' "InstanceClass": "redis.shard.with.proxy.small.ce",'."\n" + .' "NetworkType": "VPC",'."\n" + .' "Period": "1",'."\n" + .' "InstanceType": "Redis",'."\n" + .' "EngineVersion": "7.0",'."\n" + .' "ShardCount": 4,'."\n" + .' "SourceIp": "10.10.10.10"'."\n" + .'}'."\n" + .'```', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2026-03-04T14:05:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-09-16T03:49:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-19T08:42:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-19T05:34:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-09T05:56:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-23T02:14:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-10T07:34:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-12T03:32:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-05T08:10:39.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-28T06:34:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-24T06:02:23.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-26T06:04:21.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-23T11:16:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-03T08:17:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-23T11:38:51.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-15T03:42:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-02-28T16:26:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-28T16:26:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-22T15:01:44.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-04T12:21:14.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-08T07:53:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-07T04:43:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstance', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:Appendonly', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:InstanceType', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\",\\n \\"RegionIds\\": {\\n \\"KVStoreRegion\\": [\\n {\\n \\"RegionEndpoint\\": \\"r-kvstore.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneIds\\": \\"cn-hangzhou-h\\",\\n \\"ZoneIdList\\": {\\n \\"ZoneId\\": [\\n \\"cn-hangzhou-h\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse> \\n <RegionIds> \\n <KVStoreRegion> \\n <RegionId>cn-hangzhou</RegionId> \\n <ZoneIdList> \\n <ZoneId>cn-hangzhou-h</ZoneId> \\n <ZoneId>cn-hangzhou-MAZ10(h,i)</ZoneId> \\n <ZoneId>cn-hangzhou-MAZ9(g,h)</ZoneId> \\n <ZoneId>cn-hangzhou-b</ZoneId> \\n <ZoneId>cn-hangzhou-d</ZoneId> \\n <ZoneId>cn-hangzhou-e</ZoneId> \\n <ZoneId>cn-hangzhou-MAZ6(b,f)</ZoneId> \\n <ZoneId>cn-hangzhou-f</ZoneId> \\n <ZoneId>cn-hangzhou-g</ZoneId> \\n </ZoneIdList> \\n <RegionEndpoint>r-kvstore.aliyuncs.com</RegionEndpoint> \\n <ZoneIds>cn-hangzhou-h,cn-hangzhou-MAZ10(h,i),cn-hangzhou-MAZ9(g,h),cn-hangzhou-b,cn-hangzhou-d,cn-hangzhou-e,cn-hangzhou-MAZ6(b,f),cn-hangzhou-f,cn-hangzhou-g</ZoneIds> \\n <LocalName>华东1(杭州)</LocalName> \\n </KVStoreRegion> \\n </RegionIds> \\n <RequestId>AD425AD3-CC7B-4EE2-A5CB-2F61BA73****</RequestId> \\n</DescribeRegionsResponse>\\n","errorExample":"{\\n \\"RequestId\\":\\"535A88D3-5408-4B29-AFD4-07319D97EBC4\\",\\n \\"RegionIds\\":\\n {\\n {\\n \\"ZoneIds\\":\\"cn-qingdao-b\\",\\n \\"RegionId\\":\\"cn-qingdao\\",\\n },\\n {\\n \\"ZoneIds\\":\\"cn-shenzhen-a\\",\\n \\"RegionId\\":\\"cn-shenzhen\\",\\n },\\n {\\n \\"ZoneIds\\":\\"cn-hangzhou-d,cn-hangzhou-b\\",\\n \\"RegionId\\":\\"cn-hangzhou\\"\\n },\\n {\\n \\"ZoneIds\\":\\"cn-beijing-a\\",\\n \\"RegionId\\":\\"cn-beijing\\"\\n }\\n }\\n}"}]', - 'title' => 'DescribeRegions', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"QPS\\": 100000,\\n \\"Capacity\\": 16384,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Port\\": 6379,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hongkong\\",\\n \\"EndTime\\": \\"2019-01-18T16:00:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"RequestId\\": \\"5DEA3CC9-F81D-4387-8E97-CEA40F09****\\",\\n \\"NodeType\\": \\"MASTER_SLAVE\\",\\n \\"Connections\\": 10000,\\n \\"Bandwidth\\": 32,\\n \\"InstanceName\\": \\"apitest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"PrivateIpAddr\\": \\"172.16.0.10\\",\\n \\"UserName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"OrderId\\": 2084452111111\\n}","type":"json"}]', ], - 'DescribeZones' => [ - 'summary' => 'Queries the zones that support Tair (Redis OSS-compatible) in a specific region. To query the zones where Tair (Redis OSS-compatible) instances can be purchased, call the DescribeAvailableResource operation.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstanceMultiVIP' => [ + 'summary' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56451', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '267592', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-huhehaote', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'AcceptLanguage', + 'name' => 'AddCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The display language of the zone names to return. Valid values:'."\n" - ."\n" - .'* **zh-CN** (default): Chinese'."\n" - .'* **en-US**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'en-US', - 'default' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -2411,260 +1645,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1D42F072-72FE-4DC4-BB8E-64B1D298****', - ], - 'Zones' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'KVStoreZone' => [ - 'description' => 'The queried zones.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IsRds' => [ - 'description' => 'Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is **true** in Tair (Redis OSS-compatible).', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ZoneId' => [ - 'description' => 'The ID of the zone within the specified region.'."\n", - 'type' => 'string', - 'example' => 'cn-huhehaote-b', - ], - 'Disabled' => [ - 'description' => 'Indicates whether Tair (Redis OSS-compatible) instances can be created in the current zone. Valid values:'."\n" - ."\n" - .'* **true**: Tair (Redis OSS-compatible) instances cannot be created in the current zone.'."\n" - .'* **false**: Tair (Redis OSS-compatible) instances can be created in the current zone.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SwitchNetwork' => [ - 'description' => 'Indicates whether the network type of the instance can be changed from the classic network to Virtual Private Cloud (VPC). Valid values:'."\n" - ."\n" - .'* **true**: The network type of the instance can be changed from the classic network to VPC.'."\n" - .'* **false**: The network type of the instance cannot be changed from the classic network to VPC.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ZoneName' => [ - 'description' => 'The name of the zone within the specified region.'."\n", - 'type' => 'string', - 'example' => 'Hohhot Zone B'."\n", - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-huhehaote', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => '52D901ED-E0A5-42FB-B9DB-39C295C3****'], ], + 'title' => '', 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1D42F072-72FE-4DC4-BB8E-64B1D298****\\",\\n \\"Zones\\": {\\n \\"KVStoreZone\\": [\\n {\\n \\"IsRds\\": true,\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"Disabled\\": true,\\n \\"SwitchNetwork\\": true,\\n \\"ZoneName\\": \\"呼和浩特 可用区B\\",\\n \\"RegionId\\": \\"cn-huhehaote\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"1D42F072-72FE-4DC4-BB8E-64B1D298182E\\",\\n \\"Zones\\": {\\n \\"KVStoreZone\\": [\\n {\\n \\"ZoneName\\": \\"华东 1 多可用区 6\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-MAZ6(b,f)\\"\\n },\\n {\\n \\"ZoneName\\": \\"华东 1 可用区 B\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\"\\n },\\n {\\n \\"ZoneName\\": \\"华东 1 可用区 D\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-d\\"\\n },\\n {\\n \\"ZoneName\\": \\"华东 1 可用区 E\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-e\\"\\n },\\n {\\n \\"ZoneName\\": \\"华东 1 可用区 F\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-f\\"\\n },\\n {\\n \\"ZoneName\\": \\"华东 1 可用区 G\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeZonesResponse>\\n <RequestId>1D42F072-72FE-4DC4-BB8E-64B1D298****</RequestId>\\n <Zones>\\n <KVStoreZone>\\n <ZoneName>呼和浩特 可用区B</ZoneName>\\n <IsRds>true</IsRds>\\n <Disabled>false</Disabled>\\n <RegionId>cn-huhehaote</RegionId>\\n <ZoneId>cn-huhehaote-b</ZoneId>\\n <SwitchNetwork>true</SwitchNetwork>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>呼和浩特 可用区A</ZoneName>\\n <IsRds>true</IsRds>\\n <Disabled>false</Disabled>\\n <RegionId>cn-huhehaote</RegionId>\\n <ZoneId>cn-huhehaote-a</ZoneId>\\n <SwitchNetwork>true</SwitchNetwork>\\n </KVStoreZone>\\n </Zones>\\n</DescribeZonesResponse>","errorExample":"<DescribeZonesResponse>\\n <RequestId>1D42F072-72FE-4DC4-BB8E-64B1D298182E</RequestId>\\n <Zones>\\n <KVStoreZone>\\n <ZoneName>华东 1 多可用区 6</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-MAZ6(b,f)</ZoneId>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>华东 1 可用区 B</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>华东 1 可用区 D</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-d</ZoneId>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>华东 1 可用区 E</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-e</ZoneId>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>华东 1 可用区 F</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-f</ZoneId>\\n </KVStoreZone>\\n <KVStoreZone>\\n <ZoneName>华东 1 可用区 G</ZoneName>\\n <RegionId>cn-hangzhou</RegionId>\\n <ZoneId>cn-hangzhou-g</ZoneId>\\n </KVStoreZone>\\n </Zones>\\n</DescribeZonesResponse>"}]', - 'title' => 'DescribeZones', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAvailableResource' => [ - 'summary' => 'Queries the types of Tair (Redis OSS-compatible) instances that can be created in a specified zone.', - 'methods' => [ - 'post', - 'get', + 'title' => '', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstanceMultiVIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52D901ED-E0A5-42FB-B9DB-39C295C3****\\"\\n}","type":"json"}]', + ], + 'CreateInstances' => [ + 'summary' => 'Creates classic edition instances of ApsaraDB for Tair (Redis-compatible) in a batch.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56382', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '56356', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID of the instance. You can call the [DescribeZones](~~473764~~) operation to query the most recent zone list.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cn-hangzhou-h', - ], - ], - [ - 'name' => 'InstanceChargeType', + 'name' => 'Instances', 'in' => 'query', - 'schema' => [ - 'description' => 'The billing method. Valid values:'."\n" - ."\n" - .'* **PrePaid** (default): subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrePaid', - 'default' => 'PrePaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], - ], + 'schema' => ['description' => 'The configurations of the new instances, specified in JSON format. For more information, see the details of the Instances parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{'."\n" + .' "RegionId": "cn-hangzhou",'."\n" + .' "izNo": "cn-hangzhou-b",'."\n" + .' "quantity": 1,'."\n" + .' "instanceType": "Redis",'."\n" + .' "instanceClass": "redis.logic.sharding.1g.2db.0rodb.4proxy.default",'."\n" + .' "EngineVersion": "5.0", '."\n" + .' "ChargeType":"PrePaid",'."\n" + .' "Period":"1",'."\n" + .' "networkType": "VPC" ,'."\n" + .' "vpcId": "vpc-2zex6u1nu32k3ux35oxxx", '."\n" + .' "vSwitchId": "vsw-2zesk464e647104kw3xxx"'."\n" + .'}]', 'title' => ''], ], [ - 'name' => 'OrderType', + 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'description' => 'The order type. Valid values:'."\n" - ."\n" - .'* **BUY** (default): orders that are used to create instances'."\n" - .'* **UPGRADE**: orders that are used to upgrade instances'."\n" - .'* **DOWNGRADE**: orders that are used to downgrade instances'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BUY', - 'default' => 'BUY', - 'enum' => [ - 'BUY', - 'UPGRADE', - 'DOWNGRADE', - ], - ], + 'schema' => ['description' => 'A client-generated token to ensure request idempotence. The value must be unique across requests, case-sensitive, and up to 64 ASCII characters long.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], [ - 'name' => 'Engine', + 'name' => 'AutoPay', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine of the instance. Valid values:'."\n" - ."\n" - .'* **Redis**'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'enum' => [ - 'Redis', - 'Memcache', - 'redis', - 'memcache', - 'REDIS', - 'MEMCACHE', - ], - ], + 'schema' => ['description' => 'Specifies whether to enable automatic payment. Valid values:'."\n" + .'\\* **true**: Enables automatic payment. This is the default value.'."\n" + .'\\* **false**: Disables automatic payment. You must go to the console to complete the payment. In the top navigation bar, choose **Expenses** > **Renewal Management**. In the navigation pane on the left, click **Or*er Management** > **My Or*ers**, find the or*er, and then complete the payment.'."\n" + .'\\> This parameter is valid only when **ChargeType** is set to **PrePaid** in **Instances**.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'example' => 'true', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.'."\n" - ."\n" - .'> You can also query the IDs of resource groups in the Resource Management console. For more information, see [View basic information about a resource group](~~151181~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4e******', - 'default' => '', - ], + 'schema' => ['description' => 'Additional business information.', 'type' => 'string', 'required' => false, 'example' => '000000000', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> This parameter is available and required only if the **OrderType** parameter is set to **UPGRADE** or **DOWNGRADE**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The coupon code. The default value is `youhuiquan_promotion_option_id_for_blank`.', 'type' => 'string', 'required' => false, 'default' => 'youhuiquan_promotion_option_id_for_blank', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'AcceptLanguage', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The display language of the response. Valid values:'."\n" - ."\n" - .'* **zh-CN**: Chinese. This is the default value.'."\n" - .'* **en-US**: English.'."\n", + 'description' => 'The Redis-compatible engine version for the instance. Valid values: **4.0** and **5.0**. The default value is **5.0**.', 'type' => 'string', 'required' => false, - 'example' => 'zh-CN', - 'default' => 'zh_CN', + 'default' => '2.8', + 'enum' => ['2.8', '4.0', '5.0'], + 'example' => '5.0', + 'title' => '', ], ], [ - 'name' => 'ProductType', + 'name' => 'RebuildInstance', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type. Default value: Local. Valid values:'."\n" - ."\n" - .'* **Local**: classic Redis Open-Source Edition instance or classic DRAM-based instance'."\n" - .'* **Tair_rdb**: cloud-native DRAM-based instance'."\n" - .'* **Tair_scm**: persistent memory-optimized instance'."\n" - .'* **Tair_essd**: ESSD/SSD-based instance'."\n" - .'* **OnECS**: cloud-native Redis Open-Source Edition instance'."\n" - ."\n" - .'> The default value of this parameter is Local. To query disk resources, you must specify the instance type that provides the required disk resources.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Local', - 'default' => 'Local', - ], + 'schema' => ['description' => 'Specifies whether to rebuild an instance from the recycle bin. Valid values:'."\n" + .'\\* **true**: Rebuilds the instance.'."\n" + .'\\* **false**: Does not rebuild the instance. This is the default value.'."\n" + .'\\> This parameter is valid only when **SrcDBInstanceId** is specified in **Instances**.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'AutoRenew', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data node for which you want to query available resources that can be created. You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query the ID of the data node. Remove the number sign (`#`) and the content that follows the number sign. For example, retain only r-bp10noxlhcoim2\\*\\*\\*\\*-db-0.'."\n" - ."\n" - .'> Before you specify this parameter, you must set the **InstanceId** parameter to the ID of an instance that uses the cluster or read/write splitting architecture.', - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" + .'\\* **true**: Enables auto-renewal.'."\n" + .'\\* **false**: Disables auto-renewal. This is the default value.'."\n" + .'\\> This parameter is valid only when **ChargeType** is set to **PrePaid** in **Instances**.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'InstanceScene', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **professional**: Standard Edition. This edition supports the standalone, master-replica, read /write splitting, and cluster architectures and provides high scalability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'professional', - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-resourcegroupid1', 'title' => ''], ], ], 'responses' => [ @@ -2672,435 +1771,136 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '493B7308-D9C2-55F6-B042-0313BD63****', - ], - 'AvailableZones' => [ + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '20905403119****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', 'title' => ''], + 'InstanceIds' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'AvailableZone' => [ - 'description' => 'Details about the zones.'."\n", + 'InstanceId' => [ + 'description' => 'The IDs of the instances that are created.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => 'The ID of the zone in which the instance is located.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'ZoneName' => [ - 'description' => 'The name of the zone.'."\n", - 'type' => 'string', - 'example' => 'Hangzhou Zone H'."\n", - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SupportedEngines' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedEngine' => [ - 'description' => 'The supported engines.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Engine' => [ - 'description' => 'The database engine of the instance.'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'SupportedEditionTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedEditionType' => [ - 'description' => 'The instance edition types.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EditionType' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **Community**: Community Edition'."\n" - .'* **Enterprise**: Enhanced Edition (Tair)'."\n", - 'type' => 'string', - 'example' => 'Enterprise', - ], - 'SupportedSeriesTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedSeriesType' => [ - 'description' => 'The instance series types.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SeriesType' => [ - 'description' => 'The instance series. Valid values:'."\n" - ."\n" - .'* **enhanced_performance_type**: Tair (Enterprise Edition) DRAM-based instance'."\n" - .'* **hybrid_storage**: Redis Open-Source Edition hybrid-storage instance', - 'type' => 'string', - 'example' => 'enhanced_performance_type', - ], - 'SupportedEngineVersions' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedEngineVersion' => [ - 'description' => 'The available engine versions.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Version' => [ - 'description' => 'The engine version of the instance.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'SupportedArchitectureTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedArchitectureType' => [ - 'description' => 'The available architectures.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Architecture' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" - ."\n" - .'* **standard**: standard architecture'."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n", - 'type' => 'string', - 'example' => 'cluster', - ], - 'SupportedShardNumbers' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedShardNumber' => [ - 'description' => 'The numbers of available shards.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ShardNumber' => [ - 'description' => 'The number of shards.'."\n", - 'type' => 'string', - 'example' => '8', - ], - 'SupportedNodeTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SupportedNodeType' => [ - 'description' => 'The supported node types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The supported node type.'."\n", - 'type' => 'object', - 'properties' => [ - 'SupportedNodeType' => [ - 'description' => 'The node type of the instance. Valid values:'."\n" - ."\n" - .'* **single**: standalone'."\n" - .'* **double**: master-replica'."\n", - 'type' => 'string', - 'example' => 'double', - ], - 'AvailableResources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AvailableResource' => [ - 'description' => 'The available instance types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The available instance type.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceClassRemark' => [ - 'description' => 'The description of the instance type.'."\n", - 'type' => 'string', - 'example' => '16 GB cluster instance with 8 nodes (1,920,000 queries per second and 240,000 connections)'."\n", - ], - 'Capacity' => [ - 'description' => 'The memory size of the instance. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16384', - ], - 'InstanceClass' => [ - 'description' => 'The code of the instance type. If you want to view the code of an instance type, you can search for the code of the instance type in Help Center.'."\n", - 'type' => 'string', - 'example' => 'redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], - 'IsMainSale' => [ - 'description' => 'An internal parameter.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], + 'items' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'r-bp16e70a4338****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"493B7308-D9C2-55F6-B042-0313BD63****\\",\\n \\"AvailableZones\\": {\\n \\"AvailableZone\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"ZoneName\\": \\"杭州 可用区H\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SupportedEngines\\": {\\n \\"SupportedEngine\\": [\\n {\\n \\"Engine\\": \\"Redis\\",\\n \\"SupportedEditionTypes\\": {\\n \\"SupportedEditionType\\": [\\n {\\n \\"EditionType\\": \\"Enterprise\\",\\n \\"SupportedSeriesTypes\\": {\\n \\"SupportedSeriesType\\": [\\n {\\n \\"SeriesType\\": \\"enhanced_performance_type\\",\\n \\"SupportedEngineVersions\\": {\\n \\"SupportedEngineVersion\\": [\\n {\\n \\"Version\\": \\"5.0\\",\\n \\"SupportedArchitectureTypes\\": {\\n \\"SupportedArchitectureType\\": [\\n {\\n \\"Architecture\\": \\"cluster\\",\\n \\"SupportedShardNumbers\\": {\\n \\"SupportedShardNumber\\": [\\n {\\n \\"ShardNumber\\": \\"8\\",\\n \\"SupportedNodeTypes\\": {\\n \\"SupportedNodeType\\": [\\n {\\n \\"SupportedNodeType\\": \\"double\\",\\n \\"AvailableResources\\": {\\n \\"AvailableResource\\": [\\n {\\n \\"InstanceClassRemark\\": \\"16G集群版(8节点)(QPS:1920000 Connections:240000)\\",\\n \\"Capacity\\": 16384,\\n \\"InstanceClass\\": \\"redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"IsMainSale\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAvailableResourceResponse>\\n <RequestId>493B7308-D9C2-55F6-B042-0313BD63****</RequestId>\\n <AvailableZones>\\n <AvailableZone>\\n <ZoneName>杭州 可用区H</ZoneName>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <SupportedEngines>\\n <SupportedEngine>\\n <SupportedEditionTypes>\\n <SupportedEditionType>\\n <SupportedSeriesTypes>\\n <SupportedSeriesType>\\n <SeriesType>enhanced_performance_type</SeriesType>\\n <SupportedEngineVersions>\\n <SupportedEngineVersion>\\n <SupportedArchitectureTypes>\\n <SupportedArchitectureType>\\n <Architecture>cluster</Architecture>\\n <SupportedShardNumbers>\\n <SupportedShardNumber>\\n <SupportedNodeTypes>\\n <SupportedNodeType>\\n <SupportedNodeType>double</SupportedNodeType>\\n <AvailableResources>\\n <AvailableResource>\\n <Capacity>16384</Capacity>\\n <InstanceClassRemark>16G集群版(8节点)(QPS:1920000 Connections:240000)</InstanceClassRemark>\\n <InstanceClass>redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread</InstanceClass>\\n </AvailableResource>\\n <AvailableResource>\\n <Capacity>32768</Capacity>\\n <InstanceClassRemark>32G集群版(8节点)(QPS:1920000 Connections:240000)</InstanceClassRemark>\\n <InstanceClass>redis.amber.logic.sharding.4g.8db.0rodb.24proxy.multithread</InstanceClass>\\n </AvailableResource>\\n <AvailableResource>\\n <Capacity>65536</Capacity>\\n <InstanceClassRemark>64G集群版(8节点)(QPS:1920000 Connections:240000)</InstanceClassRemark>\\n <InstanceClass>redis.amber.logic.sharding.8g.8db.0rodb.24proxy.multithread</InstanceClass>\\n </AvailableResource>\\n </AvailableResources>\\n </SupportedNodeType>\\n </SupportedNodeTypes>\\n <ShardNumber>8</ShardNumber>\\n </SupportedShardNumber>\\n </SupportedShardNumbers>\\n </SupportedArchitectureType>\\n </SupportedArchitectureTypes>\\n <Version>5.0</Version>\\n </SupportedEngineVersion>\\n </SupportedEngineVersions>\\n </SupportedSeriesType>\\n </SupportedSeriesTypes>\\n <EditionType>Enterprise</EditionType>\\n </SupportedEditionType>\\n </SupportedEditionTypes>\\n <Engine>redis</Engine>\\n </SupportedEngine>\\n </SupportedEngines>\\n </AvailableZone>\\n </AvailableZones>\\n</DescribeAvailableResourceResponse>","errorExample":""}]', - 'title' => 'DescribeAvailableResource', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'TransformToPrePaid' => [ - 'summary' => 'Changes a pay-as-you-go Tair (Redis OSS-compatible) instance to a subscription instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '56526', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - ], - ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'Specified zone is closed.', 'description' => 'The specified Availability Zone is closed'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter "Token" is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter "InstanceName" is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter "Password" is not valid.', 'description' => 'The specified Password parameters do not meet the requirements'], + ['errorCode' => 'InvalidInstances.Malformed', 'errorMessage' => 'The Specified parameter "Instances" is not valid.', 'description' => 'The Instances parameter passed in is invalid.'], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'QuotaExceed.AfterpayInstance', 'errorMessage' => 'Living afterpay instances quota exceeded.', 'description' => ''], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'PaymentMethodNotFound', 'errorMessage' => 'No payment method has been registered on the account.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdRegion.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], + ['errorCode' => 'ResourceGroupNotExist', 'errorMessage' => 'The Specified ResourceGroupId does not exist. ', 'description' => ''], ], - [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration of the instance. Unit: months. Valid values: **1** to **9**, **12**, **24**, and **36**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '12', - ], + 403 => [ + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], ], [ - 'name' => 'AutoPay', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal. Default value: false. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false**: disables auto-renewal. In this case, you can renew your instance in the console. For more information, see [Manually renew an instance](~~26352~~).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], ], - [ - 'name' => 'AutoRenew', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" - ."\n" - .'* *true*: enables auto-renewal.'."\n" - .'* *false* (default): disables auto-renewal.', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"20905403119****\\",\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\",\\n \\"InstanceIds\\": {\\n \\"InstanceId\\": [\\n \\"r-bp16e70a4338****\\"\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Batch Create Instances '."\n", + 'description' => 'Before calling this API, review the billing methods and [pricing](~~54532~~) of ApsaraDB for Tair (Redis-compatible).'."\n" + .'\\> This API supports only creating Classic Edition instances.'."\n" + .'To create a single instance, use one of the following APIs:'."\n" + .'\\> - [CreateInstance](~~473757~~): Creates open source Redis instances or DRAM-based Classic Edition instances of Tair.'."\n" + .'\\> - [CreateTairInstance](~~473770~~): Creates Cloud-native Edition instances of Tair, including DRAM-based, persistent memory-optimized, and ESSD-based instances.', + 'requestParamsDescription' => '| Parameter | Type | Required | Example value | Description |'."\n" + .'| --------------- | ------- | -------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionId | String | Yes | cn-hangzhou | The ID of the region in which to create the instance. You can call the [DescribeRegions](~~473763~~) operation to query the latest list of available regions. |'."\n" + .'| izNo | String | Yes | cn-hangzhou-b | The ID of the primary availability zone for the instance. You can find available availability zones by calling the [DescribeRegions](~~473763~~) operation. |'."\n" + .'| quantity | Integer | No | 1 | The number of instances to create. Valid values: **1** to **300**. Default value: **1**. |'."\n" + .'| instanceType | String | No | Redis | The instance type. Valid values:* **Redis** (default): An ApsaraDB for Tair (Redis-compatible) instance.<br>* **Memcache**: A Memcache instance. |'."\n" + .'| instanceClass | String | No | redis.master.small.default | The instance class. For example, `redis.master.small.default` specifies a 1 GB dual-replica Community Edition (Classic Edition) instance that uses a standard architecture. For details, see [Specification Query Guide](~~26350~~).<br>**Note** You must specify either this parameter or `Capacity`. |'."\n" + .'| Capacity | Long | No | 16384 | The storage capacity of the instance, in MB. For details, see [Specification Query Guide](~~26350~~).<br>**Note** You must specify either this parameter or `InstanceClass`. |'."\n" + .'| EngineVersion | String | No | 5.0 | The engine version of the instance. Valid values:* **5.0** (default)<br>* **4.0** |'."\n" + .'| ChargeType | String | No | PrePaid | The billing method. Valid values:* **PrePaid**: Subscription.<br>* **PostPaid** (default): Pay-as-you-go. |'."\n" + .'| Period | Long | No | 12 | The subscription duration in months. Valid values: **1** to **9**, **12**, **24**, **36**, and **60**.<br>**Note** This parameter is required only when the `ChargeType` parameter is set to `PrePaid`. |'."\n" + .'| AutoRenew | String | No | true | Specifies whether auto-renewal is enabled. Valid values:* **true**: Enables auto-renewal.<br>* **false** (default): Disables auto-renewal.**Note** This parameter is effective only when the `ChargeType` parameter is set to `PrePaid`. |'."\n" + .'| InstanceName | String | No | apitest | The name of the instance. The name must meet the following requirements:* Must be 2 to 80 characters long and start with an uppercase or lowercase letter or a Chinese character.<br>* Cannot contain spaces or the following special characters: @/:=<>{\\[]} |'."\n" + .'| Password | String | No | Pass!123456 | The password for the instance. The password must meet the following requirements:* Must be 8 to 32 characters in length.<br>* Must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.<br>* Supported special characters: !@#$%^&\\*()\\_+-= |'."\n" + .'| networkType | String | No | VPC | The network type. Valid value: **VPC**. |'."\n" + .'| vpcId | String | No | vpc-bp1nme44gek34slfc**** | The ID of the VPC for the instance. You can call the VPC operation [DescribeVpcs](~~35739~~) to query available VPCs. |'."\n" + .'| vSwitchId | String | No | vsw-bp1e7clcw529l773d**** | The ID of the vSwitch that belongs to the specified VPC. You can call the VPC operation [DescribeVSwitches](~~35739~~) to query available vSwitches. |'."\n" + .'| NodeType | String | No | MASTER_SLAVE | The node type. Valid values:* **STAND\\_ALONE**: single-replica.<br>* **MASTER\\_SLAVE** (default): high availability (dual-replica). |'."\n" + .'| SrcDBInstanceId | String | No | r-bp1zxszhcgatnx**** | The ID of the source instance. You can call the [DescribeInstances](~~473778~~) operation to find instance IDs.<br>**Note** This parameter is required only when creating an instance from a source instance\'s backup. |'."\n" + .'| BackupId | String | No | 111111111 | The ID of the backup set. You can call the [DescribeBackups](~~473823~~) operation to find backup set IDs.<br>**Note** When creating an instance from a source instance\'s backup, you must specify both this parameter and `SrcDBInstanceId`. |'."\n" + .'| RebuildInstance | String | No | false | Specifies whether to restore the source instance from the Recycle Bin. Valid values:* **true**: Rebuilds and restores the source instance.<br>* **false** (default): Does not rebuild and restore the source instance.**Note** If you specify this parameter, you must also specify the `SrcDBInstanceId` parameter. |'."\n" + ."\n" + .'```'."\n" + .'[{'."\n" + .' "RegionId": "cn-hangzhou",'."\n" + .' "izNo": "cn-hangzhou-b",'."\n" + .' "quantity": 1,'."\n" + .' "instanceType": "Redis",'."\n" + .' "instanceClass": "redis.logic.sharding.1g.2db.0rodb.4proxy.default",'."\n" + .' "EngineVersion": "5.0",'."\n" + .' "ChargeType": "PrePaid",'."\n" + .' "Period": 1,'."\n" + .' "networkType": "VPC" , '."\n" + .' "vpcId": "vpc-2zex6u1nu32k3ux35xxxx", '."\n" + .' "vSwitchId": "vsw-2zesk464e647104kwxxxx"'."\n" + .'}]'."\n" + .'```', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-02-22T15:01:44.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstances'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'AutoRenewPeriod', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" - ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3', - 'default' => '1', - 'enum' => [ - '1', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstances', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:InstanceType', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:Appendonly'], ], - ], - ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'default' => 'default', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => 'The time when the instance expires after the billing method of the instance is changed from pay-as-you-go to subscription.'."\n", - 'type' => 'string', - 'example' => '2019-01-18T16:00:00Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '426F1356-B6EF-4DAD-A1C3-DE53B9DAF586', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '111111111111111', - ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidParam', - 'errorMessage' => 'Period is invalid', - ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'Order.LatestOrderIsHanding', - 'errorMessage' => 'Latest order is handing, please retry later.', - ], - ], - 403 => [ - [ - 'errorCode' => 'AlreadyPrePaid', - 'errorMessage' => 'This instance is already prepaid', - ], - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-01-18T16:00:00Z\\",\\n \\"RequestId\\": \\"426F1356-B6EF-4DAD-A1C3-DE53B9DAF586\\",\\n \\"OrderId\\": \\"111111111111111\\"\\n}","errorExample":"{\\n \\"OrderId\\":\\"202636204910941\\",\\n \\"RequestId\\":\\"426F1356-B6EF-4DAD-A1C3-DE53B9DAF586\\",\\n \\"EndTime\\":\\"2019-01-18T16:00:00Z\\"\\n}"},{"type":"xml","example":"<TransformToPrePaidResponse>\\n <OrderId>111111111111111</OrderId>\\n <RequestId>426F1356-B6EF-4DAD-A1C3-DE53B9DAF586</RequestId>\\n <EndTime>2019-01-18T16:00:00Z</EndTime>\\n</TransformToPrePaidResponse>","errorExample":"<TransformToPrePaidResponse>\\n <OrderId>202636204910941</OrderId>\\n <RequestId>426F1356-B6EF-4DAD-A1C3-DE53B9DAF586</RequestId>\\n <EndTime>2019-01-18T16:00:00Z</EndTime>\\n</TransformToPrePaidResponse>"}]', - 'title' => 'TransformToPrePaid', - 'description' => 'For more information about how to change the billing method in the Tair (Redis OSS-compatible) console, see [Switch to subscription](~~54542~~).'."\n" - ."\n" - .'> You cannot change the billing method of a Tair (Redis OSS-compatible) instance from subscription to pay-as-you-go.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'MigrateToOtherZone' => [ - 'summary' => 'Migrates a Tair (Redis OSS-compatible) instance to another zone in the same region.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateParameterGroup' => [ + 'summary' => 'Creates a parameter template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3108,243 +1908,109 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56462', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Tair (Redis OSS-compatible) instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination primary zone. You can call the [DescribeZones](~~473764~~) operation to query zone IDs.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou-g', - ], - ], - [ - 'name' => 'VSwitchId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The zone where the vSwitch resides must be the same as the ID of the destination zone.'."\n" - ."\n" - .'* If the network type of the instance is VPC, this parameter is required.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', - 'default' => 'OpenApi', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'EffectiveTime', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the database is switched after the instance is migrated. Valid values:'."\n" - ."\n" - .'* **Immediately**: The database is immediately switched after the instance is migrated.'."\n" - .'* **MaintainTime**: The database is switched within the maintenance window.'."\n" - ."\n" - .'> Default value: Immediately.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - '0', - '1', - 'Immediately', - 'MaintainTime', - ], - ], + 'schema' => ['description' => 'The service category. Valid values:'."\n" + ."\n" + .'* **standard**: Community Edition'."\n" + .'* **enterprise**: Enhanced Edition (Tair)'."\n", 'type' => 'string', 'required' => true, 'example' => 'enterprise', 'title' => ''], ], [ - 'name' => 'SecondaryZoneId', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the secondary zone to which you want to migrate the instance. You can call the [DescribeZones](~~473764~~) operation to query zone IDs.'."\n" - ."\n" - .'> If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-h', - ], + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + ."\n" + .'* **redis**: ApsaraDB for Redis Community Edition instance or Tair DRAM-based instance'."\n" + .'* **tair_pena**: Tair persistent memory-optimized instance'."\n" + .'* **tair_pdb**: Tair ESSD/SSD-based instance'."\n", 'type' => 'string', 'required' => true, 'example' => 'redis', 'title' => ''], ], [ - 'name' => 'ReplicaCount', + 'name' => 'EngineVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the primary zone.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The **ReplicaCount** and **SlaveReplicaCount** parameters are applicable only to cloud-native instances. When you migrate an instance to multiple zones, you can use these parameters to adjust the distribution of replica nodes in the primary and secondary zones of the instance. This operation does not allow you to increase or decrease the number of nodes. Therefore, the sum of the values of `ReplicaCount and SlaveReplicaCount` must be the same as that before the migration.'."\n" - ."\n" - .'* If you do not specify these parameters when you migrate an instance from a single zone to multiple zones, one replica node is migrated to the secondary zone, and all other replica nodes remain in the primary zone.'."\n" - ."\n" - .'* If the instance is a cluster instance, the preceding parameters indicate the number of replica nodes per shard in the primary and secondary zones of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The compatible engine version. Valid values:'."\n" + ."\n" + .'* For ApsaraDB for Redis Community Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" + .'* For Tair DRAM-based instances that are compatible with Redis 5.0, 6.0, or 7.0, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" + .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" + .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", 'type' => 'string', 'required' => true, 'example' => '6.0', 'title' => ''], ], [ - 'name' => 'SlaveReplicaCount', + 'name' => 'ParameterGroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the secondary zone.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The new name of the parameter template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain letters, digits, and underscores (\\_). It must start with a letter and cannot contain Chinese characters.'."\n" + .'* The name can be 8 to 64 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'tw_test1', 'title' => ''], ], [ - 'name' => 'ReadOnlyCount', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the primary zone.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The **ReadOnlyCount** and **SlaveReadOnlyCount** parameters are applicable only to cloud-native instances for which read/write splitting is enabled. When you migrate an instance to multiple zones, you can use these parameters to adjust the distribution of read replicas in the primary and secondary zones of the instance. This operation does not allow you to increase or decrease the number of nodes. Therefore, the sum of the values of `ReadOnlyCount and SlaveReadOnlyCount` must be the same as that before the migration.'."\n" - ."\n" - .'* If you do not specify these parameters when you migrate an instance from a single zone to multiple zones, one read replica is migrated to the secondary zone, and all other read replicas remain in the primary zone.'."\n" - ."\n" - .'* If the instance is a cluster instance, the preceding parameters indicate the number of read replicas per shard in the primary and secondary zones of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '9', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'A JSON-formatted object that specifies the parameter-value pairs. Format: {"Parameter 1":"Value 1","Parameter 2":"Value 2"...}. The specified value overwrites the original content.'."\n" + ."\n" + .'> The parameters that can be added for different editions are displayed in the console.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"hz":"15","#no_loose_disabled-commands":"flushall"}', 'title' => ''], ], [ - 'name' => 'SlaveReadOnlyCount', + 'name' => 'ParameterGroupDesc', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the secondary zone.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '9', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The description of the parameter template. The description must be 0 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '29B0BF34-D069-4495-92C7-FA6D9452****', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '62DA5BE5-F9C9-527C-ACCB-4D783C297A3A'], + 'ParamGroupId' => ['description' => 'The parameter template ID.'."\n", 'type' => 'string', 'example' => 'g-51ii2ienn0dg0xi8****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NetworkType.NotSupport', - 'errorMessage' => 'Specified network type does not support this operation.', - ], - [ - 'errorCode' => 'InstanceStatus.NotSupport', - 'errorMessage' => 'Instance status does not support this operation.', - ], - [ - 'errorCode' => 'MissingSwitchId', - 'errorMessage' => 'VSwitchId is mandatory for this action.', - ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify zone not support VPC.', - ], - [ - 'errorCode' => 'InvalidReginAvzNotFound', - 'errorMessage' => 'Specified user does not find the region and zone.', - ], - [ - 'errorCode' => 'ClusterNotSupport', - 'errorMessage' => 'The Specified cluster does not support.', - ], - [ - 'errorCode' => 'InvalidVSwitchId.Mismatch', - 'errorMessage' => 'The Specified vSwitchId does not matched VPC.', - ], - [ - 'errorCode' => 'InvalidIzNo.NotSupported', - 'errorMessage' => 'The Specified Zone does not supported.', - ], + ['errorCode' => 'InvalidParameters.Format', 'errorMessage' => 'Specified parameters is not valid.', 'description' => 'The parameter is invalid.'], ], - 404 => [ - [ - 'errorCode' => 'DBInstanceNotFound', - 'errorMessage' => 'Specified instance does not exist.', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62DA5BE5-F9C9-527C-ACCB-4D783C297A3A\\",\\n \\"ParamGroupId\\": \\"g-51ii2ienn0dg0xi8****\\"\\n}","type":"json"}]', + 'title' => 'CreateParameterGroup', + 'description' => '参数模板仅适用于云原生部署模式实例(原云盘实例)。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateParameterGroup'], ], - 500 => [ - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke VPC service failed.', - ], - [ - 'errorCode' => 'ZoneMigrationError.StillingRunning', - 'errorMessage' => 'Zone migration task is still running.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29B0BF34-D069-4495-92C7-FA6D9452****\\"\\n}","errorExample":""},{"type":"xml","example":"<MigrateToOtherZoneResponse>\\r\\n <RequestId>29B0BF34-D069-4495-92C7-FA6D9452****</RequestId>\\r\\n</MigrateToOtherZoneResponse>","errorExample":"<MigrateToOtherZoneResponse>\\n <RequestId>29B0BF34-D069-4495-92C7-FA6D94528A9E</RequestId>\\n</MigrateToOtherZoneResponse>"}]', - 'title' => 'MigrateToOtherZone', - 'description' => 'Before you call this operation, you must release the public endpoint (if any) of the instance. For more information, see [Migrate an instance across zones](~~106272~~).'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the network type of an Tair (Redis OSS-compatible) instance is switched from classic network to Virtual Private Cloud (VPC), and the classic network endpoint is retained, you can migrate the instance across zones only after the classic network endpoint is released upon expiration.'."\n" - ."\n" - .'* After the instance is migrated, the endpoint of the instance remains unchanged. However, the virtual IP address (VIP) is changed. We recommend that you use the endpoint instead of the VIP to connect to the instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], 'CreateTairInstance' => [ - 'summary' => 'Creates a Tair (Enterprise Edition) cloud-native instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Create a cloud-native Tair Enterprise Edition instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3357,87 +2023,56 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '56360', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where you want to create the instance. You can call the [DescribeRegions](~~473763~~) operation to query available regions.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance. The name must meet the following requirements:'."\n" - ."\n" - .'* The name must be 2 to 80 characters in length.'."\n" - .'* The name must start with a letter and cannot contain spaces or special characters. Special characters include `@ / : = " < > { [ ] }`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apitest', - ], + 'schema' => ['description' => 'The name of the instance. The name must meet the following requirements:'."\n" + ."\n" + .'- It must be 2 to 80 characters in length.'."\n" + ."\n" + .'- It must start with an uppercase or lowercase letter or a Chinese character. It cannot contain spaces or the following special characters: `@/:=”<>{[]}`.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to connect to the instance. The password must meet the following requirements:'."\n" - ."\n" - .'* The password must be 8 to 32 characters in length.'."\n" - .'* The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Pass!123456', - ], + 'schema' => ['description' => 'The password of the instance. The password must meet the following requirements:'."\n" + ."\n" + .'- It must be 8 to 32 characters in length.'."\n" + ."\n" + .'- It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The supported special characters are `!@#$%^&*()_+-=`.', 'type' => 'string', 'required' => false, 'example' => 'Pass!123456', 'title' => ''], ], [ 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance series. For more information, see the following topics:'."\n" - ."\n" - .'* [DRAM-based instances](~~2527112~~)'."\n" - .'* [Persistent memory-optimized instances](~~2527110~~)'."\n" - .'* [ESSD/SSD-based instances](~~2527111~~)'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'tair.scm.standard.4m.32d', - ], + 'schema' => ['description' => 'The instance type. For more information, see the following topics:'."\n" + ."\n" + .'- [Memory-enhanced instance types](~~2527112~~)'."\n" + ."\n" + .'- [Persistent memory-optimized instance types](~~2527110~~)'."\n" + ."\n" + .'- [Disk-based instance types](~~2527111~~)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tair.scm.standard.4m.32d', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the primary zone. You can call the [DescribeRegions](~~473763~~) operation to query the most recent zone list.'."\n" - ."\n" - .'> You can also set the SecondaryZoneId parameter to specify the secondary zone. The primary and secondary nodes will then be deployed in the specified primary and secondary zones to implement the master-replica zone-disaster recovery architecture. For example, you can set the ZoneId parameter to cn-hangzhou-h and the SecondaryZoneId parameter to cn-hangzhou-g.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou-e', - ], + 'schema' => ['description' => 'The ID of the primary zone where you want to create the instance. You can call the [DescribeRegions](~~473763~~) operation to query available zones.'."\n" + ."\n" + .'> You can also specify a secondary zone by using the `SecondaryZoneId` parameter. This deploys the primary and replica nodes in different zones within the same region for a high-availability primary/replica architecture. For example, you can set `ZoneId` to `cn-hangzhou-h` and `SecondaryZoneId` to `cn-hangzhou-g`.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou-h', 'title' => ''], ], [ 'name' => 'SecondaryZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the secondary zone. You can call the [DescribeRegions](~~473763~~) operation to query the ID of the secondary zone.'."\n" - ."\n" - .'> You cannot specify multiple zone IDs or set this parameter to a value that is the same as that of the ZoneId parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-h', - ], + 'schema' => ['description' => 'The ID of the secondary zone. You can call the [DescribeRegions](~~473763~~) operation to query available zones.'."\n" + ."\n" + .'> The value of this parameter cannot be the same as the value of the `ZoneId` parameter. You cannot specify a multi-zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''], ], [ 'name' => 'ChargeType', @@ -3445,804 +2080,520 @@ 'schema' => [ 'description' => 'The billing method of the instance. Valid values:'."\n" ."\n" - .'* **PrePaid** (default): subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", + .'- **PrePaid** (default): The subscription billing method.'."\n" + ."\n" + .'- **PostPaid**: The pay-as-you-go billing method.', + 'enumValueTitles' => ['PostPaid' => 'PostPaid', 'PrePaid' => 'PrePaid'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'PostPaid' => 'PostPaid', - 'PrePaid' => 'PrePaid', - ], - 'example' => 'PrePaid', 'default' => 'PrePaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PrePaid', + 'title' => '', ], ], [ 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC. You can call the [DescribeVpcs](~~35739~~) operation to query VPC IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vpc-bp1nme44gek34slfc****', - ], + 'schema' => ['description' => 'The ID of the Virtual Private Cloud (VPC) where you want to create the instance. You can call the [DescribeVpcs](~~35739~~) operation to query available VPCs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch that belongs to the VPC. You can call the [DescribeVpcs](~~35739~~) operation to query vSwitch IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vsw-bp1e7clcw529l773d****', - ], + 'schema' => ['description' => 'The ID of the vSwitch in the specified VPC. You can call the VPC API operation [DescribeVSwitches](~~35739~~) to obtain the vSwitch ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**,**36**, and **60**. Unit: month.'."\n" - ."\n" - .'> This parameter is required only if the **ChargeType** parameter is set to **PrePaid**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The subscription duration, in months. Valid values: **1**, **2**, **3**, **4**, **5**, **6**, 7, 8, 9, 12, 24, 36, and 60.'."\n" + ."\n" + .'> This parameter is required only when you set the `ChargeType` parameter to `PrePaid`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the promotional event or the business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000', - ], + 'schema' => ['description' => 'The business information. This can be the ID of a promotion or a business context.', 'type' => 'string', 'required' => false, 'example' => '000000000', 'title' => ''], ], [ 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'default', - ], + 'schema' => ['description' => 'The coupon code.', 'type' => 'string', 'required' => false, 'default' => 'default', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ 'name' => 'SrcDBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance.'."\n" - ."\n" - .'> After you specify the SrcDBInstanceId parameter, use the **BackupId**, **ClusterBackupId** (recommended for cloud-native cluster instances), or **RestoreTime** parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'To create an instance from a backup set of an existing instance, specify the ID of the source instance.'."\n" + ."\n" + .'> You must also specify the backup data by using one of the following parameters: **BackupId**, **ClusterBackupId**, or **RestoreTime**. We recommend that you use `ClusterBackupId` for cloud-native instances that use a cluster architecture.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'description' => 'You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the [DescribeBackups](~~473823~~) operation to query the backup set ID. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,). Example: "10\\*\\*,11\\*\\*,15\\*\\*".'."\n" - ."\n" - .'> If your instance is a cloud-native cluster instance, we recommend that you use [DescribeClusterBackupList](~~2679168~~) to query the backup set ID of the cluster instance, such as cb-xx. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '11111111', - ], + 'schema' => ['description' => 'The ID of the backup set from the source instance. The system creates a new instance based on the data in this backup set. You can call the [DescribeBackups](~~473823~~) operation to query the backup set ID. If the source instance is a cluster instance, you must specify the backup ID for each shard, separated by commas, for example, "10\\*\\*,11\\*\\*,15\\*\\*".'."\n" + ."\n" + .'> If your instance is a cloud-native cluster instance, we recommend that you call the [DescribeClusterBackupList](~~2679168~~) operation to query the cluster backup ID, such as `cb-xx`. Then, specify the cluster backup ID for the `ClusterBackupId` parameter to clone the cluster instance. This avoids the need to specify the backup ID of each shard.', 'type' => 'string', 'required' => false, 'example' => '2158****20', 'title' => ''], ], [ 'name' => 'ClusterBackupId', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the [DescribeClusterBackupList](~~2679168~~) operation.'."\n" - ."\n" - .'* If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the **BackupId** parameter.'."\n" - .'* If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,). Example: "2158\\*\\*\\*\\*20,2158\\*\\*\\*\\*22".'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb-hyxdof5x9kqb****', - ], + 'schema' => ['description' => 'The ID of the cluster backup set. Some instances that use the cluster architecture support cluster backup sets. You can call the [DescribeClusterBackupList](~~2679168~~) operation to query for cluster backup set IDs.'."\n" + ."\n" + .'- If this feature is supported, you can specify this parameter and leave the **BackupId** parameter empty.'."\n" + ."\n" + .'- If this feature is not supported, you must specify the backup ID of each shard of the source instance for the `BackupId` parameter. Separate the backup IDs with commas, for example, "2158\\*\\*\\*\\*20,2158\\*\\*\\*\\*22".', 'type' => 'string', 'required' => false, 'example' => 'cb-hyxdof5x9kqb****', 'title' => ''], ], [ 'name' => 'RecoverConfigMode', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to restore the account, kernel parameter, and whitelist information from the original backup set when you create an instance from the specified backup set. For example, if you want to restore the account information, set the parameter to `{"account":true}`.'."\n" - ."\n" - .'This parameter is empty by default, which indicates that the account, kernel parameter, and whitelist information is not restored from the original backup set.'."\n" - ."\n" - .'> This parameter applies only to cloud-native cluster instances. The account, kernel parameter, and whitelist information must be stored in the original backup set. You can call the [DescribeBackups](~~473823~~) operation to check whether the RecoverConfigMode configurations in the specified backup set contain the preceding information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"whitelist":true,"config":true,"account":true}', - ], + 'schema' => ['description' => 'When creating an instance from a backup set, specifies whether to restore configurations such as account information (`account`), kernel parameters (`config`), and whitelists (`whitelist`) from the source backup set. To restore a specific configuration, specify its keyword. To restore multiple configurations, separate the keywords with commas.'."\n" + ."\n" + .'If this parameter is not specified, no configurations are restored from the source backup set.'."\n" + ."\n" + .'> This parameter applies only to cloud-native instances, and the source backup set must contain the specified configuration information. You can call the [DescribeBackups](~~473823~~) operation and check the `RecoverConfigMode` parameter in the response to check if the backup set contains the information.', 'type' => 'string', 'required' => false, 'example' => 'whitelist,config,account', 'title' => ''], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'The internal IP address of the instance.'."\n" - ."\n" - .'> The IP address must be within the CIDR block of the vSwitch to which you want the instance to connect. You can call the [DescribeVSwitches](~~35748~~) operation of VPC to query the CIDR block information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.88.***', - ], + 'schema' => ['description' => 'The private IP address of the instance.'."\n" + ."\n" + .'> The IP address must be within the CIDR block of the vSwitch to which the instance belongs. You can call the [DescribeVSwitches](~~35748~~) operation to query the CIDR block information.', 'type' => 'string', 'required' => false, 'example' => '172.16.88.***', 'title' => ''], ], [ 'name' => 'AutoUseCoupon', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to use a coupon. Valid values:'."\n" - ."\n" - .'* **true**: uses a coupon.'."\n" - .'* **false** (default): does not use a coupon.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to use a coupon. Valid values:'."\n" + ."\n" + .'- **true**: Use a coupon.'."\n" + ."\n" + .'- **false** (default): Do not use a coupon.', 'type' => 'string', 'required' => false, 'default' => 'false', 'example' => 'true', 'title' => ''], ], [ 'name' => 'AutoRenew', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false** (default): disables auto-renewal.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" + ."\n" + .'- **true**: Enable auto-renewal.'."\n" + ."\n" + .'- **false** (default): Disable auto-renewal.', 'type' => 'string', 'required' => false, 'default' => 'false', 'example' => 'true', 'title' => ''], ], [ 'name' => 'AutoRenewPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" - ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '3', - 'default' => '1', - ], + 'schema' => ['description' => 'The auto-renewal duration. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required only when the **AutoRenew** parameter is set to **true**.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '3', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group that you want to manage.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You can query resource group IDs in the console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View the basic information about a resource group](~~151181~~).'."\n" - ."\n" - .'* Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'maximum' => '4096', - 'minimum' => '1', - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n" + ."\n" + .'> - You can call the [ListResourceGroups](~~158855~~) operation or use the Resource Management console to query the IDs of resource groups. For more information, see [View basic information of a resource group](~~151181~~).'."\n" + .'>'."\n" + .'> - Before you change the resource group of an instance, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.', 'type' => 'string', 'required' => false, 'maximum' => '4096', 'minimum' => '1', 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ 'name' => 'AutoPay', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Set the value to **true**.'."\n", + 'description' => 'Specifies whether to enable automatic payment. Set the value to **true**.', 'type' => 'boolean', 'required' => false, - 'example' => 'true', 'default' => 'true', - 'enum' => [ - 'true', - ], + 'enum' => ['true'], + 'example' => 'true', + 'title' => '', ], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests and is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request. The token must be unique among different requests. It is case-sensitive and cannot exceed 64 ASCII characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], [ 'name' => 'StorageType', 'in' => 'query', 'schema' => [ - 'description' => 'The storage type. Valid values: **essd_pl1**, **essd_pl2**, and **essd_pl3**.'."\n" + 'description' => 'The storage type. Valid values: **essd\\_pl1**, **essd\\_pl2**, and **essd\\_pl3**.'."\n" ."\n" - .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance.'."\n" - ."\n" - .'Enumerated values:'."\n" - ."\n" - .'* essd_pl0'."\n" - .'* essd_pl1'."\n" - .'* essd_pl2'."\n" - .'* essd_pl3'."\n", + .'> This parameter is required only when you set the **InstanceType** parameter to `tair_essd` to create a Tair instance that uses an Enhanced SSD (ESSD).', 'type' => 'string', 'required' => false, + 'enum' => ['essd_pl0', 'essd_pl1', 'essd_pl2', 'essd_pl3'], 'example' => 'essd_pl1', - 'enum' => [ - 'essd_pl0', - 'essd_pl1', - 'essd_pl2', - 'essd_pl3', - ], + 'title' => '', ], ], [ 'name' => 'Storage', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage capacity of the ESSD/SSD-based instance. The valid values vary based on the instance type. For more information, see [ESSD/SSD-based instances](~~2527111~~).'."\n" - ."\n" - .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance. If you create a Tair **SSD**-based instance, the Storage parameter is automatically specified based on predefined specifications. You do not need to specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => 'The storage space of the disk-based instance. The valid values of this parameter vary based on the instance type. For more information, see [Disk-based instance types](~~2527111~~).'."\n" + ."\n" + .'> This parameter is required only when you set the **InstanceType** parameter to `tair_essd` to create a Tair instance that uses an ESSD. For Tair instances that use standard `SSD`s, the storage capacity is determined by the instance type and you do not need to specify this parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''], ], [ 'name' => 'ShardType', 'in' => 'query', 'schema' => [ - 'description' => 'The shard type of the instance. Valid values:'."\n" + 'description' => 'The architecture type of the instance. Valid values:'."\n" + ."\n" + .'- **MASTER\\_SLAVE** (default): The primary/replica architecture, which provides high availability.'."\n" ."\n" - .'* **MASTER_SLAVE** (default): runs in a master-replica architecture that provides high availability.'."\n" - .'* **STAND_ALONE**: runs in a standalone architecture. If the only node fails, the system creates a new instance and switches the workloads to the new instance. This may cause data loss. You can set the ShardType parameter to this value only if the instance uses the **single-zone** deployment mode. If you set the ShardType parameter to this value, you cannot create cluster or read/write splitting instances.'."\n", + .'- **STAND\\_ALONE**: single-replica. This architecture uses a single node. If the node fails, data is lost, and the system automatically creates a new, empty instance. This architecture is supported only for **single-zone** deployments and does not support cluster or read/write splitting architectures.', 'type' => 'string', 'required' => false, - 'example' => 'MASTER_SLAVE', 'default' => 'MASTER_SLAVE', - 'enum' => [ - 'STAND_ALONE', - 'MASTER_SLAVE', - ], + 'enum' => ['STAND_ALONE', 'MASTER_SLAVE'], + 'example' => 'MASTER_SLAVE', + 'title' => '', ], ], [ 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of data nodes in the instance. Valid values:'."\n" - ."\n" - .'* **1** (default): You can create a [standard instance](~~52228~~) that contains only one data node.'."\n" - .'* **2** to **32**: You can create a [cluster instance](~~52228~~) that contains the specified number of data nodes.'."\n" - ."\n" - .'> When the **InstanceType** parameter is set to **tair_rdb** or **tair_scm**, this parameter can be set to a value in the range of **2** to **32**. Only DRAM-based and persistent memory-optimized instances support the cluster architecture.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '128', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The number of shards in the instance. Valid values:'."\n" + ."\n" + .'- **1** (default): Creates a standard architecture instance with a single shard.'."\n" + ."\n" + .'- From **2** to **32**: Creates a cluster architecture instance with the specified number of shards.'."\n" + ."\n" + .'> You can specify a value from **2** to **32** for this parameter only when you set the **InstanceType** parameter to `tair_rdb` or `tair_scm`. Only memory-enhanced and persistent memory-optimized instances support the cluster architecture.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '128', 'minimum' => '1', 'default' => '1', 'example' => '2', 'title' => ''], ], [ 'name' => 'ReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the primary zone. This parameter applies only to cloud-native multi-replica cluster instances. Valid values: 1 to 4.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The sum of the values of this parameter and the SlaveReplicaCount parameter cannot exceed 4.'."\n" - ."\n" - .'* You can specify only one of the ReplicaCount and ReadOnlyCount parameters.'."\n" - ."\n" - .'* Master-replica instances do not support multiple replicas.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', - ], + 'schema' => ['description' => 'The number of replica nodes in the primary zone. This parameter is applicable only to cloud-native, multi-replica cluster instances. You can use this parameter to customize the number of replica nodes. Valid values: 1 to 4.'."\n" + ."\n" + .'> If you create a multi-zone instance, you can use this parameter and the `SlaveReplicaCount` parameter to customize the number of replica nodes in the primary and secondary zones. The sum of `ReplicaCount` and `SlaveReplicaCount` cannot exceed 4.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'SlaveReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of replica nodes in the secondary zone when you create a cloud-native multi-replica cluster instance deployed across multiple zones. The sum of the values of this parameter and the ReplicaCount parameter cannot exceed 4.'."\n" - ."\n" - .'> When you create a cloud-native multi-replica cluster instance deployed across multiple zones, you must specify both SlaveReplicaCount and SecondaryZoneId.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', - ], + 'schema' => ['description' => 'The number of replica nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'ReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the primary zone. This parameter applies only to cloud-native read/write splitting instances. Valid values: 1 to 9.'."\n" - ."\n" - .'> The sum of the values of this parameter and the SlaveReadOnlyCount parameter cannot exceed 9.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '5', - 'minimum' => '1', - 'example' => '5', - ], + 'schema' => ['description' => 'The number of read-only nodes in the primary zone. This parameter is applicable only to cloud-native instances that use the read/write splitting architecture.'."\n" + ."\n" + .'- If the instance uses the standard architecture, the valid values are 1 to 9.'."\n" + ."\n" + .'- If the instance uses the cluster architecture, specify the number of read-only nodes per shard. The valid values are 1 to 4.'."\n" + ."\n" + .'> If you create a multi-zone instance, you can use this parameter and the `SlaveReadOnlyCount` parameter to customize the number of read-only nodes in the primary and secondary zones.'."\n" + .'>'."\n" + .'> - If the instance uses the standard architecture, the sum of `ReadOnlyCount` and `SlaveReadOnlyCount` cannot exceed 9.'."\n" + .'>'."\n" + .'> - If the instance uses the cluster architecture, the sum of `ReadOnlyCount` and `SlaveReadOnlyCount` cannot exceed 4.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '5', 'minimum' => '1', 'example' => '5', 'title' => ''], ], [ 'name' => 'SlaveReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of read replicas in the secondary zone when you create a multi-zone read/write splitting instance. The sum of the values of this parameter and the ReadOnlyCount parameter cannot exceed 9.'."\n" - ."\n" - .'> When you create a multi-zone read/write splitting instance, you must specify both SlaveReadOnlyCount and SecondaryZoneId.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '0', - ], + 'schema' => ['description' => 'The number of read-only nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'default' => '0', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The database engine version. Default value: **1.0**. The parameter value varies based on the Tair instance series.'."\n" + 'description' => 'The database version. Default value: **1.0**. The valid values depend on the Tair instance series:'."\n" + ."\n" + .'- **tair\\_rdb**: Tair memory-enhanced instances are compatible with Redis 5.0, Redis 6.0, and Redis 7.0. Set the value to **5.0**, **6.0**, or **7.0**.'."\n" ."\n" - .'* To create a Tair DRAM-based instance (Tair_rdb) that is compatible with Redis 5.0, 6.0, or 7.0, set this parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* To create a Tair persistent memory-optimized instance (tair_scm) that is compatible with Redis 6.0, set this parameter to **1.0**.'."\n" - .'* To create a Tair ESSD-based instance (tair_essd) that is compatible with Redis 6.0, set this parameter to **1.0**. To create a Tair SSD-based instance that is compatible with Redis 6.0, set this parameter to **2.0**.'."\n", + .'- **tair\\_scm**: Tair persistent memory-optimized instances are compatible with Redis 6.0. Set the value to **1.0**.'."\n" + ."\n" + .'- **tair\\_essd**: Tair disk-based instances (ESSD/SSD) are compatible with Redis 6.0. Set the value to **1.0** to create an ESSD-based instance or **2.0** to create an SSD-based instance.', 'type' => 'string', 'required' => false, - 'example' => '1.0', 'default' => '1.0', - 'enum' => [ - '1.0', - '5.0', - '6.0', - '2.0', - '7.0', - ], + 'enum' => ['1.0', '5.0', '6.0', '2.0', '7.0'], + 'example' => '1.0', + 'title' => '', ], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The instance series. Valid values:'."\n" + 'description' => 'The Tair instance series, which determines the storage medium. Valid values:'."\n" ."\n" - .'* **tair_rdb**: Tair DRAM-based instance'."\n" - .'* **tair_scm**: Tair persistent memory-optimized instance'."\n" - .'* **tair_essd**: Tair ESSD/SSD-based instance'."\n", + .'- **tair\\_rdb**: memory-enhanced'."\n" + ."\n" + .'- **tair\\_scm**: persistent memory-optimized'."\n" + ."\n" + .'- **tair\\_essd**: disk-based', 'type' => 'string', 'required' => true, 'docRequired' => true, + 'enum' => ['tair_scm', 'tair_essd', 'tair_rdb', 'Redis', 'tair_skv'], 'example' => 'tair_scm', - 'enum' => [ - 'tair_scm', - 'tair_essd', - 'tair_rdb', - 'Redis', - 'tair_skv', - ], + 'title' => '', ], ], [ 'name' => 'GlobalInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to use the created instance as a child instance of a distributed instance.'."\n" - ."\n" - .'* If you want the created instance to be used as the first child instance, enter **true**.'."\n" - .'* If you want the created instance to be used as the second or third child instance, enter the ID of the distributed instance, such as gr-bp14rkqrhac\\*\\*\\*\\*.'."\n" - .'* If you do not want the created instance to be used as a distributed instance, leave the parameter empty.'."\n" - ."\n" - .'> If you want the created instance to be used as a distributed instance, the created instance must be a Tair DRAM-based instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gr-bp14rkqrhac****', - ], + 'schema' => ['description' => 'Specifies whether to create the instance as a child instance in a distributed instance. By using this parameter, you can create a distributed instance.'."\n" + ."\n" + .'- To create the first child instance, set this parameter to **true**.'."\n" + ."\n" + .'- To create the second or third child instance, specify the ID of the distributed instance, such as `gr-bp14rkqrhac****`.'."\n" + ."\n" + .'- If you do not want to create a distributed instance, do not specify this parameter.'."\n" + ."\n" + .'> To be created as a child instance of a distributed instance, the new instance must be a Tair memory-enhanced instance.', 'type' => 'string', 'required' => false, 'example' => 'gr-bp14rkqrhac****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'Details of the tags.'."\n", + 'description' => 'The tags of the instance.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the tag.'."\n", + 'description' => 'The information about the tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key. A tag is a key-value pair.'."\n" - ."\n" - .'> A maximum of five key-value pairs can be specified at a time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1_test', - ], - 'Value' => [ - 'description' => 'The value of the tag.'."\n" - ."\n" - .'> **N** specifies the value of the nth tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1_test', - ], + 'Key' => ['description' => 'The key of the tag.'."\n" + ."\n" + .'> A single request can contain up to five key-value pairs.', 'type' => 'string', 'required' => false, 'example' => 'key1_test', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.'."\n" + ."\n" + .'> **N** specifies the Nth tag in the request. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.', 'type' => 'string', 'required' => false, 'example' => 'value1_test', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n" - ."\n" - .'* **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails the dry run, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (false): performs a dry run and performs the actual request. If the request passes the dry run, the instance is directly created.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a precheck for this request. Valid values:'."\n" + ."\n" + .'- **true**: Performs a precheck and does not create the instance. The system checks the request parameters, request format, service limits, and available inventory. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request and creates the instance after the request passes the precheck.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The service port number of the instance. Valid values: 1024 to 65535. Default value: 6379.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '65535', - 'minimum' => '1024', - 'exclusiveMinimum' => false, - 'example' => '6379', - 'default' => '6379', - ], + 'schema' => ['description' => 'The service port of the instance. Valid values: 1 to 65535. Default value: 6379.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '65535', 'minimum' => '1024', 'exclusiveMinimum' => false, 'default' => '6379', 'required' => false, 'example' => '6379', 'title' => ''], ], [ 'name' => 'GlobalSecurityGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The global IP whitelist templates of the instance. Separate multiple IP whitelist templates with commas (,). Each IP whitelist template must be unique.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'g-zsldxfiwjmti0kcm****', - ], + 'schema' => ['description' => 'The IDs of the global IP whitelist templates for the instance. To specify multiple template IDs, separate them with commas. The IDs cannot be repeated.', 'type' => 'string', 'required' => false, 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], ], [ 'name' => 'ParamGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parameter template. The instance is created based on the parameters in the parameter template. The ID must be unique.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'g-50npzjcqb1ua6q6j****', - ], + 'schema' => ['description' => 'The ID of the parameter template. The instance is created by using the parameters defined in this template.', 'type' => 'string', 'required' => false, 'example' => 'g-50npzjcqb1ua6q6j****', 'title' => ''], ], [ 'name' => 'RestoreTime', 'in' => 'query', - 'schema' => [ - 'description' => 'If data flashback is enabled for the source instance, you can use this parameter to specify a point in time within the backup retention period of the source instance. The system uses the backup data of the source instance at the point in time to create an instance. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2021-07-06T07:25:57Z', - ], + 'schema' => ['description' => 'If point-in-time recovery (PITR) is enabled for the source instance, you can specify a point in time within the backup retention period. The system creates a new instance by using the backup data of the source instance at that point in time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format (UTC).', 'type' => 'string', 'required' => false, 'example' => '2021-07-06T07:25:57Z', 'title' => ''], ], [ 'name' => 'ConnectionStringPrefix', 'in' => 'query', + 'schema' => ['description' => 'The prefix of the connection string. It must start with a lowercase letter, consist of lowercase letters and digits, and be 8 to 40 characters in length.'."\n" + ."\n" + .'> The full connection string is in the format of `<prefix>-<instance ID>.redis.rds.aliyuncs.com`.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'InstanceEndpointType', + 'in' => 'query', 'schema' => [ - 'description' => 'The prefix of the endpoint. The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.'."\n" + 'description' => 'The type of connection string to use when creating a cloud-native, dual-zone instance with the read/write splitting architecture. If you do not specify this parameter, the default value `AzIndependentEndpoint` is used.'."\n" + ."\n" + .'- **AzIndependentEndpoint** (**default**): Zone-specific connection string. The primary and secondary zones each provide an independent connection string, allowing clients to connect to the nearest zone.'."\n" + ."\n" + .'- **UnifiedEndpoint**: Unified connection string. A single connection string is provided to access nodes in both the primary and secondary zones, but this may cause cross-zone access.'."\n" ."\n" - .'> The endpoint must be in the \\<prefix>.redis.rds.aliyuncs.com format.'."\n", + .'><notice>'."\n" + ."\n" + .'This parameter applies only to cloud-native, dual-zone instances with the read/write splitting architecture. Other instance types support only zone-specific connection strings.'."\n" + ."\n" + .'></notice>'."\n" + ."\n" + .'><notice>'."\n" + ."\n" + .'The `UnifiedEndpoint` option is available only to users on a whitelist. If a non-whitelisted user specifies this value, the request fails. To request access, submit a ticket.'."\n" + ."\n" + .'></notice>', 'type' => 'string', + 'default' => 'AzIndependentEndpoint', + 'enum' => ['AzIndependentEndpoint', 'UnifiedEndpoint'], 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', + 'example' => 'AzIndependentEndpoint', + 'title' => '', ], ], + [ + 'name' => 'MaintainStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the maintenance window. Specify the time in the *HH:mm*Z format (UTC). For example, to start the maintenance at 01:00 (UTC+8), set this parameter to `17:00Z`.'."\n" + ."\n" + .'> If this parameter is not specified, the maintenance window starts at 18:00 UTC (02:00 UTC+8) by default.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'MaintainEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the maintenance window. Specify the time in the *HH:mm*Z format (UTC). For example, to end the maintenance at 02:00 (UTC+8), set this parameter to `18:00Z`.'."\n" + ."\n" + .'> The maintenance window must be at least one hour long.'."\n" + ."\n" + .'> If this parameter is not specified, the maintenance window ends at 22:00 UTC (06:00 UTC+8) by default.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'An object.', 'type' => 'object', 'properties' => [ - 'QPS' => [ - 'description' => 'The maximum number of read and write operations that can be processed by the instance per second. The value is a theoretical value.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'ConnectionDomain' => [ - 'description' => 'The internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp13ac3d047b****.tairpena.rds.aliyuncs.com', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PrePaid', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp13ac3d047b****', - ], - 'Port' => [ - 'description' => 'The service port number of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6379', - ], - 'Config' => [ - 'description' => 'The detailed configurations of the instance. The value is a JSON string. For more information about the parameters, see [Configure parameters](~~43885~~).'."\n", - 'type' => 'string', - 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '12123216-4B00-4378-BE4B-08005BFC****', - ], - 'Bandwidth' => [ - 'description' => 'The maximum bandwidth of the instance. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '96', - ], - 'Connections' => [ - 'description' => 'The maximum number of connections to the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n" - ."\n" - .'> This parameter is returned only if the **InstanceName** parameter is specified in the request.'."\n", - 'type' => 'string', - 'example' => 'redistest', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'InstanceStatus' => [ - 'description' => 'The current status of the instance. The value is **Creating**.'."\n", - 'type' => 'string', - 'example' => 'Creating', - ], - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => '10****', - ], - 'OrderId' => [ - 'description' => 'The order ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2084452111111', - ], + 'QPS' => ['description' => 'The theoretical maximum number of read and write operations per second (QPS) for the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal connection address.', 'type' => 'string', 'example' => 'r-bp13ac3d047b****.tairpena.rds.aliyuncs.com', 'title' => ''], + 'ChargeType' => ['description' => 'The charge type. Valid values:'."\n" + ."\n" + .'- **PrePaid**: prepaid.'."\n" + ."\n" + .'- **PostPaid**: pay-as-you-go.', 'type' => 'string', 'example' => 'PrePaid', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'r-bp13ac3d047b****', 'title' => ''], + 'Port' => ['description' => 'The instance port.', 'type' => 'integer', 'format' => 'int32', 'example' => '6379', 'title' => ''], + 'Config' => ['description' => 'The detailed configuration of the instance, returned as a JSON string. For parameter details, see [Configuration parameters](~~43885~~).', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '12123216-4B00-4378-BE4B-08005BFC****', 'title' => ''], + 'Bandwidth' => ['description' => 'The maximum bandwidth in MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.'."\n" + ."\n" + .'> This parameter is returned only when the **InstanceName** parameter is specified in the request.', 'type' => 'string', 'example' => 'redistest', 'title' => ''], + 'ZoneId' => ['description' => 'The availability zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'InstanceStatus' => ['description' => 'The instance status. The value is always **Creating**.', 'type' => 'string', 'example' => 'Creating', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '10****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2084452111111', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidToken.Malformed', - 'errorMessage' => 'The Specified parameter Token is not valid.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter InstanceName is not valid.', - ], - [ - 'errorCode' => 'InvalidPassword.Malformed', - 'errorMessage' => 'The Specified parameter Password is not valid.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'QuotaExceed.AfterpayInstance', - 'errorMessage' => 'Living afterpay instances quota exceeded.', - ], - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', - ], - [ - 'errorCode' => 'PaymentMethodNotFound', - 'errorMessage' => 'No payment method has been registered on the account.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', - ], - [ - 'errorCode' => 'QuotaNotEnough', - 'errorMessage' => 'Quota not enough in this zone.', - ], - [ - 'errorCode' => 'QuotaExceed', - 'errorMessage' => 'Living afterpay instances quota exceed.', - ], - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke vpc service failed.', - ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify iz not support vpc.', - ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The vpc does not cover the vswitch.', - ], - [ - 'errorCode' => 'InvalidIzNo.NotSupported', - 'errorMessage' => 'The Specified vpc zone not supported.', - ], - [ - 'errorCode' => 'InvalidAccountPassword.Format', - 'errorMessage' => 'Specified account password is not valid.', - ], - [ - 'errorCode' => 'InstanceClass.NotMatch', - 'errorMessage' => 'Current instance class and instance type is not match.', - ], - [ - 'errorCode' => 'InvalidVPCId.NotFound', - 'errorMessage' => 'Specified virtual vpc is not found.', - ], - [ - 'errorCode' => 'AccountMoneyValidateError', - 'errorMessage' => 'Account money validate error.', - ], - [ - 'errorCode' => 'RequestTokenConflict', - 'errorMessage' => 'Specified request token conflict.', - ], - [ - 'errorCode' => 'InvalidIPNotInSubnet', - 'errorMessage' => 'Error ip not in subnet.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Malformed', - 'errorMessage' => 'Specified engine version is not valid.', - ], - [ - 'errorCode' => 'Zone.Closed', - 'errorMessage' => 'The specified zone is closed.', - ], - [ - 'errorCode' => 'VSwithNotBelongToNotVpcFault', - 'errorMessage' => 'The vSwitch does not belong to current vpc.', - ], - [ - 'errorCode' => 'PayIllegalAgreement', - 'errorMessage' => 'Pay mayi with holding agreement illegal.', - ], - [ - 'errorCode' => 'IllegalParamError', - 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', - ], - [ - 'errorCode' => 'CASH_BOOK_INSUFFICIENT', - 'errorMessage' => 'No payment method is specified for your account. We recommend that you add a payment method or maitain a minimum prepayment balance of INR 1000.', - ], - [ - 'errorCode' => 'InvalidRegion.Format', - 'errorMessage' => 'Specified Region is not valid.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter Password is not valid.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'QuotaExceed.AfterpayInstance', 'errorMessage' => 'Living afterpay instances quota exceeded.', 'description' => ''], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'PaymentMethodNotFound', 'errorMessage' => 'No payment method has been registered on the account.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The vpc does not cover the vswitch.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified vpc zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified account password is not valid.', 'description' => ''], + ['errorCode' => 'InstanceClass.NotMatch', 'errorMessage' => 'Current instance class and instance type is not match.', 'description' => ''], + ['errorCode' => 'InvalidVPCId.NotFound', 'errorMessage' => 'Specified virtual vpc is not found.', 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['errorCode' => 'AccountMoneyValidateError', 'errorMessage' => 'Account money validate error.', 'description' => ''], + ['errorCode' => 'RequestTokenConflict', 'errorMessage' => 'Specified request token conflict.', 'description' => ''], + ['errorCode' => 'InvalidIPNotInSubnet', 'errorMessage' => 'Error ip not in subnet.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'Specified engine version is not valid.', 'description' => 'The error message returned because the instance engine version is invalid.'], + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'The specified zone is closed.', 'description' => ''], + ['errorCode' => 'VSwithNotBelongToNotVpcFault', 'errorMessage' => 'The vSwitch does not belong to current vpc.', 'description' => ''], + ['errorCode' => 'PayIllegalAgreement', 'errorMessage' => 'Pay mayi with holding agreement illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamError', 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', 'description' => ''], + ['errorCode' => 'CASH_BOOK_INSUFFICIENT', 'errorMessage' => 'No payment method is specified for your account. We recommend that you add a payment method or maitain a minimum prepayment balance of INR 1000.', 'description' => ''], + ['errorCode' => 'InvalidRegion.Format', 'errorMessage' => 'Specified Region is not valid.', 'description' => 'The specified region is invalid.'], ], 403 => [ - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', - ], - [ - 'errorCode' => 'AuthorizationFailure', - 'errorMessage' => 'The request processing has failed due to authorization failure.', - ], - [ - 'errorCode' => 'TokenServiceError', - 'errorMessage' => 'The specified token is duplicated, please change it.', - ], - [ - 'errorCode' => 'UserCannotBuyNotInnerCommodity', - 'errorMessage' => 'The user can not buy this commodity without alibaba group tag.', - ], + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], + ['errorCode' => 'AuthorizationFailure', 'errorMessage' => 'The request processing has failed due to authorization failure.', 'description' => ''], + ['errorCode' => 'TokenServiceError', 'errorMessage' => 'The specified token is duplicated, please change it.', 'description' => ''], + ['errorCode' => 'UserCannotBuyNotInnerCommodity', 'errorMessage' => 'The user can not buy this commodity without alibaba group tag.', 'description' => ''], ], [ - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The Specified vSwitchId zone not supported.', - ], - [ - 'errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', - 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', - ], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The Specified vSwitchId zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"QPS\\": 100000,\\n \\"ConnectionDomain\\": \\"r-bp13ac3d047b****.tairpena.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"InstanceId\\": \\"r-bp13ac3d047b****\\",\\n \\"Port\\": 6379,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"list-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"list-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"12123216-4B00-4378-BE4B-08005BFC****\\",\\n \\"Bandwidth\\": 96,\\n \\"Connections\\": 10000,\\n \\"InstanceName\\": \\"redistest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"TaskId\\": \\"10****\\",\\n \\"OrderId\\": 2084452111111\\n}","errorExample":""},{"type":"xml","example":"<CreateTairInstanceResponse>\\r\\n <Connections>10000</Connections>\\r\\n <TaskId>10****</TaskId>\\r\\n <RequestId>F371C892-2143-4640-810E-74553F37****</RequestId>\\r\\n <ZoneId>cn-hangzhou-h</ZoneId>\\r\\n <InstanceId>r-bp13ac3d047b****</InstanceId>\\r\\n <Config>{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}</Config>\\r\\n <Port>6379</Port>\\r\\n <InstanceName>redistest</InstanceName>\\r\\n <ConnectionDomain>r-bp13ac3d047b****.tairpena.rds.aliyuncs.com</ConnectionDomain>\\r\\n <QPS>100000</QPS>\\r\\n <InstanceStatus>Creating</InstanceStatus>\\r\\n <ChargeType>PrePaid</ChargeType>\\r\\n <Bandwidth>96</Bandwidth>\\r\\n <RegionId>cn-hangzhou</RegionId>\\r\\n</CreateTairInstanceResponse>","errorExample":""}]', - 'title' => 'CreateTairInstance', - 'description' => 'For information about instance selection, see [Instructions for selecting an appropriate Tair (Redis OSS-compatible) instance](~~223808~~).'."\n" - ."\n" - .'Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of Tair (Redis OSS-compatible).'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QPS\\": 100000,\\n \\"ConnectionDomain\\": \\"r-bp13ac3d047b****.tairpena.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"InstanceId\\": \\"r-bp13ac3d047b****\\",\\n \\"Port\\": 6379,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"list-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"list-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"12123216-4B00-4378-BE4B-08005BFC****\\",\\n \\"Bandwidth\\": 96,\\n \\"Connections\\": 10000,\\n \\"InstanceName\\": \\"redistest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"TaskId\\": \\"10****\\",\\n \\"OrderId\\": 2084452111111\\n}","type":"json"}]', + 'title' => 'Create a Tair (Enterprise Edition) instance ', + 'description' => 'For information about instance selection, see [ApsaraDB for Tair (Redis-compatible) instance selection guide](~~223808~~).'."\n" ."\n" - .'> '."\n" - ."\n" - .'* For information about how to create an instance in the console, see [Step 1: Create an instance](~~26351~~).'."\n" + .'Before you call this API, ensure you understand the billing methods and [pricing](~~54532~~) for ApsaraDB for Tair (Redis-compatible).'."\n" ."\n" - .'* To create other types of instances, such as Redis Open-Source Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~473757~~) operation.'."\n", + .'> - To create an instance in the console, see [Create a Tair instance](~~26351~~).'."\n" + .'>'."\n" + .'> - To create other instance types, such as open-source or [Tair memory-enhanced](~~126164~~) classic edition, call the [CreateInstance](~~473757~~) API.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - 'translator' => 'machine', - ], - 'CreateInstances' => [ - 'summary' => 'Creates multiple Tair (Redis OSS-compatible) instances at a time.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2026-03-04T14:05:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-09-08T13:19:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-14T08:04:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-27T06:33:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-20T01:48:52.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-09T03:20:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-30T05:39:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-23T02:14:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-26T07:23:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-29T03:36:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-12T06:13:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-03T02:23:17.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-22T03:11:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-25T07:29:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-29T01:51:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-21T09:05:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-21T07:46:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-03T08:17:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-01-10T03:25:40.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-14T08:14:21.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-27T12:03:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-15T04:13:52.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-15T03:42:17.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTairInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairInstance', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:InstanceType'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], + ], + 'CreateTairKVCacheVNode' => [ + 'summary' => 'Create a Tair VNode instance', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4252,321 +2603,293 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', - 'abilityTreeCode' => '56356', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '265464', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'Instances', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where you want to create the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the zone where you want to create the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing-f', 'title' => ''], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the new instance. The name must be 2 to 80 characters long and must start with a letter (case-insensitive) or a Chinese character. Spaces and the following special characters are not supported: `@/:=”<>{[]}`.', 'type' => 'string', 'required' => false, 'example' => 'vnodetest', 'title' => ''], + ], + [ + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance specification.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'kvcache.cu.g4b.2'."\n", 'title' => ''], + ], + [ + 'name' => 'ComputeUnitNum', 'in' => 'query', 'schema' => [ - 'description' => 'The JSON-formatted configurations of the instance. For more information, see the "Additional description of the Instances parameter" section.'."\n", - 'type' => 'string', + 'description' => 'The number of compute units. Currently, only one compute unit is supported.', + 'enumValueTitles' => [1 => '1'], + 'type' => 'integer', + 'format' => 'int32', 'required' => true, - 'docRequired' => true, - 'example' => '[{ "RegionId": "cn-hangzhou", "izNo": "cn-hangzhou-b", "quantity": 2, "instanceType": "Redis", "instanceClass": "redis.master.small.default", "EngineVersion": "5.0", "ChargeType": "PostPaid"}]', + 'maximum' => '1', + 'minimum' => '1', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'Token', + 'name' => 'VkName', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], + 'schema' => ['description' => 'The ID of the virtual cluster that hosts the VNode.', 'type' => 'string', 'required' => true, 'example' => 'tk-2ze4bba3c8fe****'."\n", 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch for the instance. The vSwitch must belong to the VPC that is associated with the specified virtual cluster. You can call the [DescribeVpcs](~~35739~~) operation to obtain the vSwitch ID.'."\n" + ."\n" + .'> The vSwitch must be in the same zone as the instance.', 'type' => 'string', 'required' => true, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + ], + [ + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Valid values:'."\n" + 'description' => 'The billing method for the instance. Valid value:'."\n" ."\n" - .'* **true** (default).'."\n" - .'* **false**. If automatic payment is disabled, you must perform the following steps to complete the payment in the Tair (Redis OSS-compatible) console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.'."\n" - ."\n" - .'> This parameter is valid only if the value of the **ChargeType** field in the **Instances** parameter is set to **PrePaid**.', - 'type' => 'boolean', + .'- **PrePaid**: Subscription. If you specify this value, you must also specify the **Period** parameter.', + 'enumValueTitles' => ['PrePaid' => 'PrePaid'], + 'type' => 'string', 'required' => false, - 'example' => 'true', - 'default' => 'true', + 'default' => 'PrePaid', + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PrePaid', + 'title' => '', ], ], [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => 'The subscription period in months. Valid values: **1** to **9**, **12**, **24**, and **36**.'."\n" + ."\n" + .'> This parameter is required when the **ChargeType** parameter is set to **PrePaid**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The additional business information about the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000', - ], + 'schema' => ['description' => 'Additional business information, such as a promotion ID.', 'type' => 'string', 'required' => false, 'example' => '000000000'."\n", 'title' => ''], ], [ 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + 'schema' => ['description' => 'The coupon code.', 'type' => 'string', 'required' => false, 'default' => 'default', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'AutoUseCoupon', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine version of the instance. Valid values: **4.0** and **5.0**.'."\n" - ."\n" - .'> The default value is **5.0**.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* 2.8'."\n" - .'* 4.0'."\n" - .'* 5.0'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5.0', - 'default' => '2.8', - 'enum' => [ - '2.8', - '4.0', - '5.0', - ], - ], + 'schema' => ['description' => 'Specifies whether to use a coupon. Valid values:'."\n" + ."\n" + .'- **true**: Use a coupon.'."\n" + ."\n" + .'- **false** (default): Do not use a coupon.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'RebuildInstance', + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" + ."\n" + .'- **true**: Enables auto-renewal.'."\n" + ."\n" + .'- **false** (default): Disables auto-renewal.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'AutoRenewPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The auto-renewal period, in months. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required when the **AutoRenew** parameter is set to **true**.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance will belong.'."\n" + ."\n" + .'> - You can call the [ListResourceGroups](~~158855~~) operation or view resource group IDs in the console. For more information, see [View the basic information about a resource group](~~151181~~).'."\n" + .'>'."\n" + .'> - Before changing the resource group of an instance, call the [ListResources](158866) API to view the current resource group of the instance.', 'type' => 'string', 'required' => false, 'maximum' => '4096', 'minimum' => '1', 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + [ + 'name' => 'AutoPay', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to restore the source instance from the recycle bin. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false** (default)'."\n" - ."\n" - .'> This parameter is valid only if the **SrcDBInstanceId** field in the **Instances** parameter is specified.'."\n", + 'description' => 'Specifies whether to automatically complete the payment. The value must be **true**.', 'type' => 'boolean', 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'default' => 'true', + 'enum' => ['true'], + 'example' => 'true', + 'title' => '', ], ], [ - 'name' => 'AutoRenew', + 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['description' => 'A client-generated token that ensures request idempotence. This token must be unique across requests, is case-sensitive, and cannot exceed 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n" - ."\n" - .'> This parameter is available only if **ChargeType** in the **Instances** parameter is set to **PrePaid**.'."\n", - 'type' => 'string', + 'description' => 'The tags to add to the instance. You can specify a maximum of five tags.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.'."\n" + ."\n" + .'> You can specify up to 5 tag key-value pairs at a time.', 'type' => 'string', 'required' => false, 'example' => 'value1_test', 'title' => ''], + 'Value' => ['description' => 'The tag value.'."\n" + ."\n" + .'> **N** represents the index of a tag, starting from 1. For example, **Tag.1.Value** is the value of the first tag.', 'type' => 'string', 'required' => false, 'example' => 'key1_test', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'false', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a dry run and does not create the instance. The system checks the request parameters, request format, business limits, and available inventory. If the check fails, the system returns the corresponding error. If the check passes, the system returns the `DryRunOperation` error code.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. If the check passes, the system creates the instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'VNodeType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the resource group to which to assign the instance.'."\n", + 'description' => 'This parameter is no longer used.', 'type' => 'string', + 'default' => 'fixed', + 'enum' => ['fixed', 'elastic'], 'required' => false, - 'example' => 'rg-resourcegroupid1', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ElasticTimeRange', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is no longer used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '20905403119****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', - ], - 'InstanceIds' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The IDs of instances that were created.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'r-bp16e70a4338****', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the virtual node.', 'type' => 'string', 'example' => 'tv-2zeb1ce76fee****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '20905403119****', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-beijing-f', 'title' => ''], + 'VkName' => ['description' => 'The instance ID of the virtual cluster.', 'type' => 'string', 'example' => 'tk-2ze4bba3c8fe****'."\n", 'title' => ''], + 'VClusterId' => ['description' => 'The ID of the virtual cluster.', 'type' => 'string', 'example' => 'vc-16965a9267*****-*****', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the virtual node.', 'type' => 'string', 'example' => 'vn-03a49876edb****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Zone.Closed', - 'errorMessage' => 'Specified zone is closed.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidToken.Malformed', - 'errorMessage' => 'The Specified parameter "Token" is not valid.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter "InstanceName" is not valid.', - ], - [ - 'errorCode' => 'InvalidPassword.Malformed', - 'errorMessage' => 'The Specified parameter "Password" is not valid.', - ], - [ - 'errorCode' => 'InvalidInstances.Malformed', - 'errorMessage' => 'The Specified parameter "Instances" is not valid.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'QuotaExceed.AfterpayInstance', - 'errorMessage' => 'Living afterpay instances quota exceeded.', - ], - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', - ], - [ - 'errorCode' => 'PaymentMethodNotFound', - 'errorMessage' => 'No payment method has been registered on the account.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', - ], - [ - 'errorCode' => 'QuotaNotEnough', - 'errorMessage' => 'Quota not enough in this zone.', - ], - [ - 'errorCode' => 'QuotaExceed', - 'errorMessage' => 'Living afterpay instances quota exceed.', - ], - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke vpc service failed.', - ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify iz not support vpc.', - ], - [ - 'errorCode' => 'InvalidVpcIdRegion.NotSupported', - 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', - ], - [ - 'errorCode' => 'ResourceGroupNotExist', - 'errorMessage' => 'The Specified ResourceGroupId does not exist. ', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter Password is not valid.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'QuotaExceed.AfterpayInstance', 'errorMessage' => 'Living afterpay instances quota exceeded.', 'description' => ''], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'PaymentMethodNotFound', 'errorMessage' => 'No payment method has been registered on the account.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The vpc does not cover the vswitch.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified vpc zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified account password is not valid.', 'description' => ''], + ['errorCode' => 'InstanceClass.NotMatch', 'errorMessage' => 'Current instance class and instance type is not match.', 'description' => ''], + ['errorCode' => 'InvalidVPCId.NotFound', 'errorMessage' => 'Specified virtual vpc is not found.', 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['errorCode' => 'AccountMoneyValidateError', 'errorMessage' => 'Account money validate error.', 'description' => ''], + ['errorCode' => 'RequestTokenConflict', 'errorMessage' => 'Specified request token conflict.', 'description' => ''], + ['errorCode' => 'InvalidIPNotInSubnet', 'errorMessage' => 'Error ip not in subnet.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'Specified engine version is not valid.', 'description' => 'The error message returned because the instance engine version is invalid.'], + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'The specified zone is closed.', 'description' => ''], + ['errorCode' => 'VSwithNotBelongToNotVpcFault', 'errorMessage' => 'The vSwitch does not belong to current vpc.', 'description' => ''], + ['errorCode' => 'PayIllegalAgreement', 'errorMessage' => 'Pay mayi with holding agreement illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamError', 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', 'description' => ''], + ['errorCode' => 'InvalidRegion.Format', 'errorMessage' => 'Specified Region is not valid.', 'description' => 'The specified region is invalid.'], ], 403 => [ - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', - ], + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], + ['errorCode' => 'AuthorizationFailure', 'errorMessage' => 'The request processing has failed due to authorization failure.', 'description' => ''], + ['errorCode' => 'TokenServiceError', 'errorMessage' => 'The specified token is duplicated, please change it.', 'description' => ''], + ['errorCode' => 'UserCannotBuyNotInnerCommodity', 'errorMessage' => 'The user can not buy this commodity without alibaba group tag.', 'description' => ''], ], [ - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', - ], + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The Specified vSwitchId zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"20905403119****\\",\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\",\\n \\"InstanceIds\\": {\\n \\"InstanceId\\": [\\n \\"r-bp16e70a4338****\\"\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'CreateInstances', - 'description' => 'Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of Tair (Redis OSS-compatible).'."\n" - ."\n" - .'> You can call this operation to create classic Redis Open-Source Edition instances or classic Tair DRAM-based instances. We recommend that you use an API operation for creating a single instance:'."\n" - ."\n" - .'* [CreateInstance](~~473757~~): creates a Redis Open-Source instance or a classic Tair DRAM-based instance.'."\n" - ."\n" - .'* [CreateTairInstance](~~473770~~): creates a Tair (Enterprise Edition) instance. The instance can be a DRAM-based, persistent memory-optimized, or ESSD/SSD-based instance.', - 'requestParamsDescription' => '### Additional description of the Instances parameter'."\n" - ."\n" - .'|Parameter|Type|Required|Example|Description|'."\n" - .'|---|---|---|---|---|'."\n" - .'|RegionId|String|Yes|cn-hangzhou|The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.|'."\n" - .'|IzNo|String|Yes|cn-hangzhou-b|The ID of the primary zone. You can call the [DescribeRegions](~~473763~~) operation to query the most recent zone list.|'."\n" - .'|Quantity|Integer|No|1|The number of instances that you want to create. Valid values: **1** to **300**. Default value: **1**.|'."\n" - .'|InstanceType|String|No|Redis|The database engine of the instance. Valid values:<ul data-sourcepos="39:33-39:114"><li data-sourcepos="39:37-39:72"><b data-sourcepos="39:41-39:53">Redis</b> (default)</li><li data-sourcepos="39:72-39:109"><b data-sourcepos="39:76-39:91">Memcache</b></li></ul>|'."\n" - .'|InstanceClass|String|No|redis.master.small.default|The instance type. For example, redis.master.small.default indicates a Community Edition standard master-replica instance that has 1 GB of memory. For more information, see [Overview](~~26350~~).**Note** You must specify this parameter or **Capacity**.|'."\n" - .'|Capacity|Long|No|16384|The storage capacity of the instance. Unit: MB. For more information, see [Overview](~~26350~~).**Note** You must specify this parameter or **InstanceClass**.|'."\n" - .'|EngineVersion|String|No|5.0|The major version of the instance. Valid values:<ul data-sourcepos="60:41-60:92"><li data-sourcepos="60:45-60:68"><b data-sourcepos="60:49-60:59">5.0</b> (default)</li><li data-sourcepos="60:68-60:87"><b data-sourcepos="60:72-60:82">4.0</b></li></ul>|'."\n" - .'|ChargeType|String|No|PrePaid|The billing method of the instance. Valid values:<ul data-sourcepos="67:33-67:115"><li data-sourcepos="67:37-67:71"><b data-sourcepos="67:41-67:55">PrePaid</b>: subscription</li><li data-sourcepos="67:71-67:110"><b data-sourcepos="67:75-67:90">PostPaid</b> (default): pay-as-you-go</li></ul>|'."\n" - .'|Period|Long|No|12|The subscription duration. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**,**36**, and **60**. Unit: month.**Note** This parameter is valid and required only if you set **ChargeType** to **PrePaid**.|'."\n" - .'|AutoRenew|String|No|true|Specifies whether to enable auto-renewal for the instance. Valid values:<ul data-sourcepos="81:37-81:100"><li data-sourcepos="81:41-81:65"><b data-sourcepos="81:45-81:56">true</b>: enables auto-renewal.</li><li data-sourcepos="81:65-81:95"><b data-sourcepos="81:69-81:85">false</b> (default): disable auto-renewal.</li></ul>**Note** This parameter is valid only if you set **ChargeType** to **PrePaid**.|'."\n" - .'|InstanceName|String|No|apitest|The name of the instance. The name must meet the following requirements:<ul data-sourcepos="88:39-88:119"><li data-sourcepos="88:43-88:77">The name must start with a letter and must be 2 to 80 characters in length.</li><li data-sourcepos="88:77-88:114">The name cannot contain spaces or the following special characters: @ / : = " < > { [ ] }</li></ul>|'."\n" - .'|Password|String|No|Pass!123456|The password that is used to connect to the instance.<ul data-sourcepos="95:39-95:140"><li data-sourcepos="95:43-95:63">The password must be 8 to 32 characters in length.</li><li data-sourcepos="95:63-95:99">The password must contain at least three of the following character types: uppercase letters, lowercase letters, specific special characters, and digits.</li><li data-sourcepos="95:99-95:135">These special characters include ! @ # $ % ^ & * ( ) _ + - =</li></ul>|'."\n" - .'|NetworkType|String|No|VPC|The network type of the instance. Set the value to **VPC**, which is the default value.|'."\n" - .'|VpcId|String|No|vpc-bp1nme44gek34slfc\\*\\*\\*\\*|The VPC ID. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.|'."\n" - .'|VSwitchId|String|No|vsw-bp1e7clcw529l773d\\*\\*\\*\\*|The ID of the vSwitch that belongs to the VPC. You can call the [DescribeVpcs](~~35739~~) operation to query the vSwitch ID.|'."\n" - .'|NodeType|String|No|MASTER\\_SLAVE|The node type of the instance. Valid values:<ul data-sourcepos="123:33-123:116"><li data-sourcepos="123:37-123:69"><b data-sourcepos="123:41-123:59">STAND_ALONE</b>: standalone</li><li data-sourcepos="123:69-123:111"><b data-sourcepos="123:73-123:96">MASTER_SLAVE</b> (default): high availability (master-replica)</li></ul>|'."\n" - .'|SrcDBInstanceId|String|No|r-bp1zxszhcgatnx\\*\\*\\*\\*|The ID of the source instance. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.**Note** This parameter is required only if you want to create an instance from the backup set of the specified instance.|'."\n" - .'|BackupId|String|No|111111111|The ID of the backup set. You can call the [DescribeBackups](~~473823~~) operation to query the backup set ID.**Note** If you want to create an instance from the backup set of a specified instance, you must specify the source instance in **SrcDBInstanceId**. You must also specify the ID of the backup set that was created based on the source instance. Then, the system creates an instance based on the specified backup set.|'."\n" - .'|RebuildInstance|String|No|false|Specifies whether to recover the source instance from the recycle bin. Valid values:<ul data-sourcepos="144:45-144:108"><li data-sourcepos="144:49-144:73"><b data-sourcepos="144:53-144:64">true</b></li><li data-sourcepos="144:73-144:103"><b data-sourcepos="144:77-144:93">false</b> (default)</li></ul>**Note** If you specify this parameter, you must also specify **SrcDBInstanceId**.|'."\n" - ."\n" - .'### Sample requests with Instances configured'."\n" - ."\n" - .'```'."\n" - .'[{'."\n" - .' "RegionId": "cn-hangzhou",'."\n" - .' "izNo": "cn-hangzhou-b",'."\n" - .' "quantity": 1,'."\n" - .' "instanceType": "Redis",'."\n" - .' "instanceClass": "redis.logic.sharding.1g.2db.0rodb.4proxy.default",'."\n" - .' "EngineVersion": "5.0",'."\n" - .' "ChargeType": "PrePaid",'."\n" - .' "Period":"1",'."\n" - .'"networkType": "VPC" , '."\n" - .'"vpcId": "vpc-2zex6u1nu32k3ux35xxxx", '."\n" - .'"vSwitchId": "vsw-2zesk464e647104kwxxxx",'."\n" - .'}]'."\n" - .'```', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableAdditionalBandwidth' => [ - 'summary' => 'Adjusts the bandwidth of a Tair (Redis OSS-compatible) instance. Only the pay-as-you-go billing method is supported for bandwidth adjustment. You need to specify the InstanceId, NodeId (optional), Bandwidth, and ChargeType parameters.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"InstanceId\\": \\"tv-2zeb1ce76fee****\\",\\n \\"OrderId\\": 0,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-beijing-f\\",\\n \\"VkName\\": \\"tk-2ze4bba3c8fe****\\\\n\\",\\n \\"VClusterId\\": \\"vc-16965a9267*****-*****\\",\\n \\"NodeId\\": \\"vn-03a49876edb****\\"\\n}","type":"json"}]', + 'title' => 'CreateTairKVCacheVNode', + 'changeSet' => [ + ['createdAt' => '2025-12-04T14:07:01.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTairKVCacheVNode'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairKVCacheVNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateTairSkvDdbTable' => [ + 'summary' => 'Creates a Tair Serverless KV table instance.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4575,198 +2898,178 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', + 'operationType' => 'create', + 'riskType' => 'high', 'chargeType' => 'paid', - 'abilityTreeCode' => '56453', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the IDs of instances.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token is case-sensitive and can contain up to 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz**', 'title' => ''], ], [ - 'name' => 'CouponNo', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + 'schema' => ['description' => 'The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/61012.htm) to query available regions. Use this parameter to specify the region in which to create the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" - ."\n" - .'* **true**: enables automatic payment. Make sure that you have sufficient balance within your account.'."\n" - .'* **false**: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the Tair (Redis OSS-compatible) console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'The ID of the workspace instance. You can call [DescribeInstances](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-describeinstances-redis) to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'tt-bp1zxszhcgatnx**', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data shard for which you want to purchase a specific amount of bandwidth. You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query the IDs of the data shards in an instance. If you specify multiple data shard IDs, separate the data shard IDs with commas (,). You can also set this parameter to **All**, which specifies all the data shards of the instance.'."\n" - ."\n" - .'> This parameter is valid and required only if the instance is a [cluster](~~52228~~) instance or [read/write splitting](~~62870~~) instance.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - 'default' => '', - ], + 'schema' => ['description' => 'The table name. The name must be 2 to 128 characters in length and must start with an uppercase letter, a lowercase letter, or a Chinese character. The name cannot contain the following characters: @/:="<>{}[] or spaces.', 'type' => 'string', 'required' => true, 'example' => 'apitest', 'title' => ''], ], [ - 'name' => 'Bandwidth', + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The amount of extra bandwidth that you want to purchase. Unit: Mbit/s. The value must be an integer greater than or equal to **0**. The maximum value can be up to six times the default bandwidth of the instance or a single shard, but cannot exceed 192 Mbit/s. For example, if the default bandwidth of an instance is 10 Mbit/s, the value range of this parameter is **0** to **60**.'."\n" - ."\n" - .'> * You can call the [DescribeRoleZoneInfo](~~473782~~) operation to obtain the default maximum bandwidth returned by the **DefaultBandWidth** response parameter. For more information about instance types, see [Overview](~~26350~~).'."\n" - .'> - If you specify multiple data shard IDs in the **NodeId** parameter, you must specify the amount of bandwidth that you want to purchase for each specified data shard in the Bandwidth parameter. The bandwidth values that you specify in the Bandwidth parameter must be in the same sequence as the data shard IDs that you specify in the NodeId parameter. In addition, you must separate the bandwidth values with commas (,).', + 'description' => 'The instance type. Set the value to tair_skv_ddb_table.', 'type' => 'string', - 'required' => false, + 'required' => true, 'docRequired' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'OrderTimeLength', - 'in' => 'query', - 'schema' => [ - 'description' => 'The validity period of the bandwidth that you purchase. Unit: day. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.'."\n" - ."\n" - .'> If you want to continue using the purchased bandwidth after the specified period of time elapses, you must call the [RenewAdditionalBandwidth](~~473804~~) operation to submit a renewal order.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '30', - 'default' => '1', - ], - ], - [ - 'name' => 'SourceBiz', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', + 'enum' => ['tair_skv_ddb_table'], + 'example' => 'tair_skv_ddb_table', + 'title' => '', ], ], [ - 'name' => 'AutoRenew', + 'name' => 'SrcDBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false**: disables auto-renewal. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'To create an instance from a backup set of an existing instance, specify the ID of the source instance in this parameter.'."\n" + ."\n" + .'> This parameter must be used together with BackupId.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx**', 'title' => ''], ], [ - 'name' => 'AutoRenewPeriod', + 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The auto-renewal cycle based on which Tair (Redis OSS-compatible) automatically renews the purchased bandwidth. Unit: months. Valid values: **1**, **2**, **3**, **4**, **5**, **6**, **7**, **8**, **9**, **12**, **24**, **36**, and **60**.'."\n" - ."\n" - .'> * This parameter takes effect and must be specified only when you set the **AutoRenew** parameter to **true**.'."\n" - .'> * You cannot query the auto-renewal cycle by calling an API operation. To obtain the auto-renewal cycle, you can perform the following procedure: In the top navigation bar of the Tair (Redis OSS-compatible) console, choose **Expenses** > **Renewal Management**. On the page that appears, enter the ID of the instance and the `-bw` suffix in the **Instance ID** field. Example: r-bp1zxszhcgatnx****-bw.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The cluster backup set ID. Some new cluster architectures support cluster backup set IDs. You can call [DescribeClusterBackupList](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-describeclusterbackuplist-redis) to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => 'cb-hyxdof5x9kqb**', 'title' => ''], ], [ - 'name' => 'ChargeType', + 'name' => 'Schema', 'in' => 'query', - 'schema' => [ - 'description' => 'The billing method of the bandwidth instance. Default value: PostPaid. Valid values:'."\n" - ."\n" - .'- PrePaid: subscription'."\n" - .'- PostPaid: pay-as-you-go', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'PostPaid', - 'enum' => [ - 'PostPaid', - 'PrePaid', - ], - ], + 'schema' => ['description' => 'The table schema configuration in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{"AttributeDefinitions":[{"AttributeType":"S","AttributeName":"pk"},{"AttributeType":"S","AttributeName":"sk"}],"KeySchema":[{"KeyType":"HASH","AttributeName":"pk"},{"KeyType":"RANGE","AttributeName":"sk"}]}', 'title' => ''], ], [ - 'name' => 'BandWidthBurst', + 'name' => 'TtlSpec', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['description' => 'The parameter settings switch in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{"attributeName":"Expiretime","enabled":true}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '2084452111111', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'D622714-AEDD-4609-9167-F5DDD3D1****', - ], - ], + 'QPS' => ['description' => 'The queries per second (QPS). This value is the theoretical value for the current instance specification.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal endpoint of the Redis instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx**.redis.rds.aliyuncs.com', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" + .'- PrePaid: subscription.'."\n" + .'- PostPaid: pay-as-you-go.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'InstanceId' => ['description' => 'The globally unique instance ID.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx*', 'title' => ''], + 'Port' => ['description' => 'The Redis service port.', 'type' => 'integer', 'format' => 'int32', 'example' => '6379', 'title' => ''], + 'Config' => ['description' => 'The detailed configuration of the instance in JSON format. For more information about the parameters, see [Parameter settings](~~43885~~).', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth limit of the instance. Unit: MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections supported by the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'TableName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'InstanceStatus' => ['description' => 'The current status of the instance. The value is fixed to Creating.', 'type' => 'string', 'example' => 'Creating', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task flow that is executed for the creation.', 'type' => 'string', 'example' => '11111****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '20741011111111', 'title' => ''], + ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"2084452111111\\",\\n \\"RequestId\\": \\"D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<EnableAdditionalBandwidthResponse>\\n <RequestId>D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n <OrderId>2084452111111</OrderId>\\n</EnableAdditionalBandwidthResponse>\\n","errorExample":""}]', - 'title' => 'EnableAdditionalBandwidth', - 'description' => 'If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).'."\n" - ."\n" - .'> Before you call this operation, you can call the [DescribeRoleZoneInfo](~~473782~~) operation to query the current bandwidth of each data node in an instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyInstanceAttribute' => [ - 'summary' => 'Modifies the specific information of a Tair (Redis OSS-compatible) instance, such as the password and the name.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter Password is not valid.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The vpc does not cover the vswitch.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified vpc zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified account password is not valid.', 'description' => ''], + ['errorCode' => 'InstanceClass.NotMatch', 'errorMessage' => 'Current instance class and instance type is not match.', 'description' => ''], + ['errorCode' => 'InvalidVPCId.NotFound', 'errorMessage' => 'Specified virtual vpc is not found.', 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'Specified engine version is not valid.', 'description' => 'The error message returned because the instance engine version is invalid.'], + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'The specified zone is closed.', 'description' => ''], + ['errorCode' => 'InvalidRegion.Format', 'errorMessage' => 'Specified Region is not valid.', 'description' => 'The specified region is invalid.'], + ], + 403 => [ + ['errorCode' => 'AuthorizationFailure', 'errorMessage' => 'The request processing has failed due to authorization failure.', 'description' => ''], + ['errorCode' => 'TokenServiceError', 'errorMessage' => 'The specified token is duplicated, please change it.', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The Specified vSwitchId zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a tair serverless KV table instance', + 'description' => '## Operation description'."\n" + .'- Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/54532.htm) of ApsaraDB for Redis.', + 'requestParamsDescription' => 'https://r-kvstore.aliyuncs.com/?Action=CreateInstance'."\n" + .'&RegionId=ap-southeast-1'."\n" + .'&WorkspaceId=tt-2ze4mktt0xxxxxxxx'."\n" + .'&InstanceType=tair_skv_ddb_table'."\n" + .'&TableName=table1'."\n" + .'&Schema={"AttributeDefinitions":[{"AttributeType":"S","AttributeName":"pk"},{"AttributeType":"S","AttributeName":"sk"}],"KeySchema":[{"KeyType":"HASH","AttributeName":"pk"},{"KeyType":"RANGE","AttributeName":"sk"}]}'."\n" + .'&<Common request parameters>', + 'responseParamsDescription' => '{'."\n" + .' "Connections": 0,'."\n" + .' "RequestId": "37B7A1E8-7590-1345-A0F2-EBD657D1AA8A",'."\n" + .' "InstanceId": "tt-2zelkttksbyc12x6c",'."\n" + .' "Port": 443,'."\n" + .' "OrderId": 274427815940904,'."\n" + .' "ConnectionDomain": "tt-2ze4mktt0jnguvf7m.tairskvddb.pre.rds.aliyuncs.com",'."\n" + .' "TableName": "table1",'."\n" + .' "QPS": 0,'."\n" + .' "ChargeType": "PostPaid",'."\n" + .' "InstanceStatus": "Creating",'."\n" + .' "Bandwidth": 0,'."\n" + .' "RegionId": "cn-beijing"'."\n" + .'}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairSkvDdbTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QPS\\": 100000,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx**.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx*\\",\\n \\"Port\\": 6379,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\",\\n \\"Bandwidth\\": 96,\\n \\"Connections\\": 10000,\\n \\"TableName\\": \\"apitest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"TaskId\\": \\"11111****\\",\\n \\"OrderId\\": 20741011111111\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'CreateTairSkvDdbWorkspace' => [ + 'summary' => 'Activates a Tair Serverless KV workspace instance.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4775,179 +3078,208 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56477', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token is case-sensitive and can contain up to 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz**', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID. You can call [DescribeRegions](~~473763~~) to query available regions. Use this parameter to specify the region in which to create the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID. You can call [DescribeZones](~~473764~~) to query available zones.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou-e', 'title' => ''], + ], + [ + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", + 'description' => 'The instance type. Set the value to tair_skv_ddb_ws.', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'enum' => ['tair_skv_ddb_ws'], + 'example' => 'tair_skv_ddb_ws', + 'title' => '', ], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The new name of the instance. The name must be 2 to 80 characters in length. The name must start with a letter and cannot contain spaces and the following special characters: `@ / : = " < > { [ ] }`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newinstancename', - ], + 'schema' => ['description' => 'The instance name. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. The name cannot contain the following characters: @ / : = " < > { } or spaces.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], ], [ - 'name' => 'NewPassword', + 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'description' => 'The new password for the default account. The default account is named after the instance ID. Example: r-bp10noxlhcoim2\\*\\*\\*\\*.'."\n" - ."\n" - .'> The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'uW8+nsrp', - ], + 'schema' => ['description' => 'The password of the instance. The password must meet the following requirements:'."\n" + .'* The password is 8 to 32 characters in length.'."\n" + .'* The password contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Supported special characters are `!@#$%^&*()_+-=`.', 'type' => 'string', 'required' => false, 'example' => 'Pass!123456', 'title' => ''], ], [ - 'name' => 'InstanceReleaseProtection', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '[Specifies whether to enable release protection for the instance.](~~165005~~) Valid values:'."\n" - ."\n" - .'* **true**: enables release protection.'."\n" - .'* **false**: disables release protection.'."\n" - ."\n" - .'> This parameter is available only for pay-as-you-go instances.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-bp1nme44gek34slfc**', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d**', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The service port of the instance. Valid values: 1 to 65535. Default value: 443.', 'type' => 'integer', 'format' => 'int32', 'default' => '443', 'required' => false, 'example' => '443', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'maximum' => '4096', 'minimum' => '1', 'example' => 'rg-resourcegroupid1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76', - ], + 'QPS' => ['description' => 'The queries per second (QPS). This value is the theoretical value for the current instance specifications.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal endpoint of the Redis instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx**.redis.rds.aliyuncs.com', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" + ."\n" + .'* `PrePaid`: subscription.'."\n" + .'* `PostPaid`: pay-as-you-go.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'InstanceId' => ['description' => 'The globally unique instance ID.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx**', 'title' => ''], + 'Port' => ['description' => 'The Redis service port.', 'type' => 'integer', 'format' => 'int32', 'example' => '443', 'title' => ''], + 'Config' => ['description' => 'The detailed configuration of the instance.', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'RegionId' => ['description' => 'The region in which the instance resides.', 'type' => 'string', 'example' => 'cn-hongkong', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5DEA3CC9-F81D-4387-8E97-CEA40F09****', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth limit of the instance. Unit: MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections supported by the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'InstanceStatus' => ['description' => 'The current status of the instance. The return value is fixed as Creating.', 'type' => 'string', 'example' => 'Creating', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task flow that is executed for the creation.', 'type' => 'string', 'example' => '1111', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '20741011111111', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'InstanceName or NewPassword at least one is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter InstanceName is not valid.', - ], - [ - 'errorCode' => 'InvalidPassword.Malformed', - 'errorMessage' => 'The Specified parameter NewPassword is not valid.', - ], - [ - 'errorCode' => 'TaskExists', - 'errorMessage' => 'Specified task have existed.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter Password is not valid.', 'description' => ''], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', 'description' => 'Idempotent check.'], + ['errorCode' => 'QuotaNotEnough', 'errorMessage' => 'Quota not enough in this zone.', 'description' => ''], + ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Living afterpay instances quota exceed.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The vpc does not cover the vswitch.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified vpc zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified account password is not valid.', 'description' => ''], + ['errorCode' => 'InstanceClass.NotMatch', 'errorMessage' => 'Current instance class and instance type is not match.', 'description' => ''], + ['errorCode' => 'InvalidVPCId.NotFound', 'errorMessage' => 'Specified virtual vpc is not found.', 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'Specified engine version is not valid.', 'description' => 'The error message returned because the instance engine version is invalid.'], + ['errorCode' => 'Zone.Closed', 'errorMessage' => 'The specified zone is closed.', 'description' => ''], + ['errorCode' => 'InvalidRegion.Format', 'errorMessage' => 'Specified Region is not valid.', 'description' => 'The specified region is invalid.'], + ], + 403 => [ + ['errorCode' => 'AuthorizationFailure', 'errorMessage' => 'The request processing has failed due to authorization failure.', 'description' => ''], + ['errorCode' => 'TokenServiceError', 'errorMessage' => 'The specified token is duplicated, please change it.', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidCapacity.NotFound', 'errorMessage' => 'The Capacity provided does not exist in our records.', 'description' => 'The specified storage specification does not exist.'], + ['errorCode' => 'InvalidvSwitchId', 'errorMessage' => 'The Specified vSwitchId zone not supported.', 'description' => ''], + ['errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a tair serverless KV workspace', + 'description' => '## Operation description'."\n" + .'- Before you call this operation, make sure that you understand the billing rules and [pricing](https://help.aliyun.com/document_detail/54532.htm) of ApsaraDB for Redis.'."\n" + .'- To create a Tair Serverless KV table instance, call the `CreateTairSkvDdbTable` operation.', + 'requestParamsDescription' => 'https://r-kvstore.aliyuncs.com/?Action=CreateInstance'."\n" + .'&RegionId=ap-southeast-1'."\n" + .'&ZoneId=ap-southeast-1e'."\n" + .'&InstanceType=tair_skv_ddb_ws'."\n" + .'&InstanceName=apitest'."\n" + .'&<Common request parameters>', + 'responseParamsDescription' => '{'."\n" + .' "Connections": 0,'."\n" + .' "RequestId": "3631EF6F-2979-1C04-BDAA-51XXXXXXXXX",'."\n" + .' "InstanceId": "tt-2zesmjzrj0wzncb9y",'."\n" + .' "Port": 443,'."\n" + .' "OrderId": 0,'."\n" + .' "ConnectionDomain": "tt-2zesmjzrj0wzncb9y.tairskvddb.pre.rds.aliyuncs.com",'."\n" + .' "InstanceName": "apitest",'."\n" + .' "QPS": 0,'."\n" + .' "ChargeType": "PostPaid",'."\n" + .' "InstanceStatus": "Normal",'."\n" + .' "Bandwidth": 0,'."\n" + .' "RegionId": "cn-beijing"'."\n" + .'}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairSkvDdbWorkspace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"EFC9161F-15E3-4A6E-8A99-C09916D1F464\\"\\n}"},{"type":"xml","example":"<ModifyInstanceAttributeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceAttributeResponse>","errorExample":"<ModifyInstanceAttributeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceAttributeResponse>"}]', - 'title' => 'ModifyInstanceAttribute', - 'description' => 'You can also modify the information of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Change or reset the password](~~43874~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QPS\\": 100000,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx**.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx**\\",\\n \\"Port\\": 443,\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RegionId\\": \\"cn-hongkong\\",\\n \\"RequestId\\": \\"5DEA3CC9-F81D-4387-8E97-CEA40F09****\\",\\n \\"Bandwidth\\": 96,\\n \\"Connections\\": 10000,\\n \\"InstanceName\\": \\"apitest\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Creating\\",\\n \\"TaskId\\": \\"1111\\",\\n \\"OrderId\\": 20741011111111\\n}","type":"json"}]', ], - 'ModifyResourceGroup' => [ - 'summary' => 'Modifies the resource group to which a Tair (Redis OSS-compatible) instance belongs.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteAccount' => [ + 'summary' => 'Deletes an account from a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56498', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '56365', + 'abilityTreeNodes' => ['FEATUREkvstoreXSBQ72'], ], 'parameters' => [ [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the generated token is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], - ], - [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which you want to move the instance.'."\n" - ."\n" - .'> * You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).'."\n" - .'> * Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the resource group of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The username of the account. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoaccount', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ @@ -4955,146 +3287,216 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8129F11A-D70B-43A6-9455-CE9EAA71****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceGroupId.InValid', - 'errorMessage' => 'The Specified resource group id is not found.', - ], + ['errorCode' => 'InvalidAccountName.Format', 'errorMessage' => 'Specified AccountName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Format', 'errorMessage' => 'Current EngineVersion does not support operations.', 'description' => 'The operation is not supported while the instance runs this engine version.'], ], 403 => [ - [ - 'errorCode' => 'ServiceAccount.NoPermission', - 'errorMessage' => 'Service account has no auth to do this action.', - ], + ['errorCode' => 'OperationDenied.AccountStatus', 'errorMessage' => 'The operation is not permitted due to status of account.', 'description' => 'This operation is not allowed due to the state of the account.'], ], [ - [ - 'errorCode' => 'EntityNotExists.Resource', - 'errorMessage' => 'The resource does not EXIST.', - ], + ['errorCode' => 'InvalidAccountName.NotFound', 'errorMessage' => 'Specified AccountName does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyResourceGroupResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyResourceGroupResponse>","errorExample":""}]', - 'title' => 'ModifyResourceGroup', - 'description' => 'You can also perform this operation in the [Resource Management](https://resourcemanager.console.aliyun.com/resource-center) console. For more information, see [Transfer resources across resource groups](~~94487~~).'."\n" - ."\n" - .'> Resource Group allows you to sort resources owned by your Alibaba Cloud account into groups. This simplifies the resource and permission management within your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8129F11A-D70B-43A6-9455-CE9EAA71****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8129F11A-D70B-43A6-9455-CE9EAA71F095\\"\\n}"},{"type":"xml","example":"<DeleteAccountResponse>\\n <RequestId>8129F11A-D70B-43A6-9455-CE9EAA71****</RequestId>\\n</DeleteAccountResponse>","errorExample":"<DeleteAccountResponse>\\n <RequestId>8129F11A-D70B-43A6-9455-CE9EAA71F095</RequestId>\\n</DeleteAccountResponse>"}]', + 'title' => 'DeleteAccount', + 'description' => '* This operation is supported only for instances that are compatible with Redis 4.0 or later.'."\n" + .'* The instance must be in the Running state.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstanceMaintainTime' => [ - 'summary' => 'Modifies the maintenance window of a Tair (Redis OSS-compatible) instance. Alibaba Cloud maintains Tair (Redis OSS-compatible) instances during the specified maintenance window.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-02-26T09:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccount'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteAccount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'DeleteBackup' => [ + 'summary' => 'Delete the specified backup set. Only manual backup sets can be deleted.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56481', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '269551', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'BackupId', + 'in' => 'query', + 'schema' => ['description' => 'The backup file ID of the instance. You can invoke [DescribeBackups](~~473823~~) to query it.', 'type' => 'string', 'required' => true, 'example' => '521****66', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F14475F4-644E-51EA-B1E8-E4D442093D0C'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F14475F4-644E-51EA-B1E8-E4D442093D0C\\"\\n}","type":"json"}]', + 'title' => 'Delete Backup Set', + 'description' => '* This operation supports only cloud-native instances.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBackup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'MaintainStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to start at 1:00 (UTC+8), set this parameter to `17:00Z`. After you call the API operation, you can view the actual time in the Tair (Redis OSS-compatible) console. For more information, see [Set a maintenance window](~~55252~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '03:00Z', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteGlobalSecurityIPGroup' => [ + 'summary' => 'Deletes a global IP whitelist template.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MaintainEndTime', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance window to end at 2:00 (UTC+8), set this parameter to `18:00Z`.'."\n" - ."\n" - .'> The interval between the start time and the end time cannot be less than 1 hour.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '04:00Z', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'GlobalIgName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the global IP whitelist template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" + .'* The name must start with a letter and end with a letter or a digit.'."\n" + .'* The name must be 2 to 120 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_123', 'title' => ''], + ], + [ + 'name' => 'GlobalSecurityGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-kd2iop4aur9qwxnvh***', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4e******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidEndTime.Format', - 'errorMessage' => 'Specified end time is not valid.', - ], + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}"},{"type":"xml","example":"<ModifyInstanceMaintainTimeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceMaintainTimeResponse>","errorExample":"<ModifyInstanceMaintainTimeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceMaintainTimeResponse>"}]', - 'title' => 'ModifyInstanceMaintainTime', - 'description' => 'You can also modify the maintenance window of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Set a maintenance window](~~55252~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyInstanceMajorVersion' => [ - 'summary' => 'Upgrades the major version of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\"\\n}","type":"json"}]', + 'title' => 'DeleteGlobalSecurityIPGroup', + 'description' => 'Before you delete an IP whitelist template, you must unbind (disassociate) the instances that are currently associated with the template.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteGlobalSecurityIPGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteInstance' => [ + 'summary' => 'Releases a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5103,100 +3505,140 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56482', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56368', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance that you want to release.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'MajorVersion', + 'name' => 'GlobalInstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the distributed instance to which the instance belongs. This parameter is applicable to only China site (aliyun.com).'."\n", 'type' => 'string', 'required' => false, 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The major version to which you want to upgrade the instance. Valid values: **4.0** and **5.0**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5.0', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D190D2', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'InstanceReleaseProtection', 'errorMessage' => 'The operation is not permitted due to instance release protection.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D190D2\\"\\n}","type":"json"}]', + 'title' => 'DeleteInstance', + 'description' => 'For more information about how to perform the corresponding operation in the console, see [Release an instance](~~43882~~).'."\n" + ."\n" + .'Before you call this operation, make sure that the following requirements are met:'."\n" + ."\n" + .'* The instance is in the running state.'."\n" + .'* The instance is charged on a pay-as-you-go basis.'."\n" + ."\n" + .'> You cannot call this operation to release a subscription instance, which is automatically released when it expires. To release a subscription instance before it expires, submit a ticket.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'EffectiveTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when you want to upgrade the major version. Valid values:'."\n" - ."\n" - .'* **Immediately** (default): immediately upgrades the major version.'."\n" - .'* **MaintainTime**: upgrades the major version within the maintenance window.'."\n" - ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - '0', - '1', - 'Immediately', - 'MaintainTime', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], + ], + 'DeleteParameterGroup' => [ + 'summary' => 'Deletes a parameter template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '179016', + 'abilityTreeNodes' => ['FEATUREkvstoreDVVZYL'], + ], + 'parameters' => [ + [ + 'name' => 'ParameterGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the parameter template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-sysa00*****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AA587FB2-2593-4DFE-BE13-2494C2DF****', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****'], + 'ParamGroupId' => ['description' => 'The parameter template ID, which is globally unique.'."\n", 'type' => 'string', 'example' => 'rpg-sys-00*****', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'NoQuota', - 'errorMessage' => 'Request zone has no quota to sell.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"ParamGroupId\\": \\"rpg-sys-00*****\\"\\n}","type":"json"}]', + 'title' => 'DeleteParameterGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteParameterGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA587FB2-2593-4DFE-BE13-2494C2DF****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"AA587FB2-2593-4DFE-BE13-2494C2DF0CBF\\"\\n}"},{"type":"xml","example":"<ModifyInstanceMajorVersionResponse> \\n <RequestId>AA587FB2-2593-4DFE-BE13-2494C2DF****</RequestId>\\n</ModifyInstanceMajorVersionResponse>","errorExample":"<ModifyInstanceMajorVersionResponse> \\n <RequestId>AA587FB2-2593-4DFE-BE13-2494C2DF0CBF</RequestId>\\n</ModifyInstanceMajorVersionResponse>"}]', - 'title' => 'ModifyInstanceMajorVersion', - 'description' => 'For more information about the precautions and impacts of the upgrade, see [Upgrade the major version](~~101764~~).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyInstanceMinorVersion' => [ - 'summary' => 'Updates the minor version of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteShardingNode' => [ + 'summary' => 'Removes one or more data shards from a Tair (Redis OSS-compatible) cluster instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5205,58 +3647,58 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56483', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '56369', + 'abilityTreeNodes' => ['FEATUREkvstore6VEW31'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Minorversion', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The minor version to which you want to update. Default value: **latest_version**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'latest_version', - 'default' => 'latest_version', - ], + 'schema' => ['description' => 'The ID of the data shard that you want to remove. You can specify multiple IDs at a time. Separate multiple IDs with commas (,).'."\n" + ."\n" + .'> If you specify both the NodeId and ShardCount parameters, the system prioritizes the NodeId parameter.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0,r-bp1zxszhcgatnx****-db-1', 'title' => ''], + ], + [ + 'name' => 'ShardCount', + 'in' => 'query', + 'schema' => ['description' => 'The number of data shards that you want to remove. Shard removal starts from the end of the shard list.'."\n" + ."\n" + .'> For example, the instance has the following data shards: db-0, db-1, db-2, db-3, and db-4. In this case, if you set this parameter to 2, db-3 and db-4 are removed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '4096', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ForceTrans', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" + ."\n" + .'- **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" + ."\n" + .'- **true**: The system skips the version check and directly performs the configuration change.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The time when you want to update the minor version. Valid values:'."\n" + 'description' => 'The time when you want to delete the proxy nodes for instance in the proxy mode. Valid values:'."\n" ."\n" - .'* **Immediately** (default): immediately updates the minor version.'."\n" - .'* **MaintainTime**: updates the minor version during the maintenance window.'."\n" + .'- **0 or Immediately** (default): immediately delete the proxy nodes.'."\n" ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', + .'- **1 or MaintainTime**: delete the proxy nodes during the maintenance window.'."\n" + ."\n" + .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', 'type' => 'string', + 'default' => '0', + 'enum' => ['0', '1', 'Immediately', 'MaintainTime'], 'required' => false, 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - '0', - '1', - 'Immediately', - 'MaintainTime', - ], + 'title' => '', ], ], ], @@ -5265,45 +3707,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '28761557-0B33-41DF-AEEB-322DFF96****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order. On the Orders page in the Billing Management console, you can obtain the details of the order based on the order ID.', 'type' => 'string', 'example' => '22179******0904', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'NoQuota', - 'errorMessage' => 'Request zone has no quota to sell.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"28761557-0B33-41DF-AEEB-322DFF96****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceMinorVersionResponse>\\r\\n <RequestId>28761557-0B33-41DF-AEEB-322DFF96****</RequestId>\\r\\n</ModifyInstanceMinorVersionResponse>","errorExample":""}]', - 'title' => 'ModifyInstanceMinorVersion', - 'description' => 'The procedure to update the minor version of an instance varies based on types of Tair (Redis OSS-compatible) instances. For more information, see [Upgrade the minor version](~~56450~~).'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* Before you call this operation, you can call the [DescribeEngineVersion](~~473781~~) operation to query the minor version of the current instance.'."\n" - .'* When you switch your workloads over from the original instance to a new instance or from the master node to the replica node in the original instance, you may experience disconnections that last a few seconds. The original instance stays in the read-only state within 60 seconds until all data is synchronized. We recommend that you upgrade the original instance during off-peak hours and make sure that your application is configured to automatically reconnect to the original instance.', + 'title' => 'DeleteShardingNode', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyDBInstanceAutoUpgrade' => [ - 'summary' => 'Modifies the settings related to the automatic minor version update for an instance.', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-02-17T03:44:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-04T12:58:01.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-07-14T12:04:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-22T13:14:49.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2022-02-22T13:14:49.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteShardingNode'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteShardingNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"OrderId\\": \\"22179******0904\\"\\n}","type":"json"}]', + ], + 'DescribeAccounts' => [ + 'summary' => 'Queries information about a specific account in a specified ApsaraDB for Redis (Tair-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5312,542 +3760,622 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeCode' => '56373', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID. You can call the DescribeDBInstances operation to obtain the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Value', + 'name' => 'AccountName', 'in' => 'query', + 'schema' => ['description' => 'The name of the account that you want to query.', 'type' => 'string', 'required' => false, 'example' => 'demoaccount', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable automatic minor version update. Valid values:'."\n" - ."\n" - .'* **1**: enables automatic minor version update.'."\n" - .'* **0**: disables automatic minor version update.'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - '0', - '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6C9E114C-217C-4118-83C0-B4070222****', 'title' => ''], + 'Accounts' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Account' => [ + 'description' => 'The list of account information for the instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the account information.', + 'type' => 'object', + 'properties' => [ + 'AccountDescription' => ['description' => 'The description of the account.', 'type' => 'string', 'example' => 'testdec', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'r-bp10noxlhcoim2****', 'title' => ''], + 'AccountType' => ['description' => 'The type of the account. Valid values:'."\n" + .'* **Normal**: standard account.'."\n" + .'* **Super**: super account.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'AccountStatus' => ['description' => 'The status of the account. Valid values:'."\n" + .'* **Unavailable**: The account is unavailable.'."\n" + .'* **Available**: The account is available.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'AccountName' => ['description' => 'The name of the account.', 'type' => 'string', 'example' => 'demoaccount', 'title' => ''], + 'DatabasePrivileges' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DatabasePrivilege' => [ + 'description' => 'The list of account permissions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the permissions that the account has.', + 'type' => 'object', + 'properties' => [ + 'AccountPrivilege' => ['description' => 'The permissions of the account. Valid values:'."\n" + .'* **RoleReadOnly**: read-only permissions.'."\n" + .'* **RoleReadWrite**: read and write permissions. This is the default value.', 'type' => 'string', 'example' => 'RoleReadWrite', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], ], - 'example' => '0', - 'enum' => [ - '0', - '1', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'Query Account Information', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:56.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '400', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccounts'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C9E114C-217C-4118-83C0-B4070222****\\",\\n \\"Accounts\\": {\\n \\"Account\\": [\\n {\\n \\"AccountDescription\\": \\"testdec\\",\\n \\"InstanceId\\": \\"r-bp10noxlhcoim2****\\",\\n \\"AccountType\\": \\"Normal\\",\\n \\"AccountStatus\\": \\"Available\\",\\n \\"AccountName\\": \\"demoaccount\\",\\n \\"DatabasePrivileges\\": {\\n \\"DatabasePrivilege\\": [\\n {\\n \\"AccountPrivilege\\": \\"RoleReadWrite\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeActiveOperationMaintenanceConfig' => [ + 'summary' => 'Queries the O\\\\\\&M task configurations of an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'ID of the request.', - 'type' => 'string', - 'example' => '2FF6158E-3394-4A90-B634-79C49184****', + 'HasConfig' => ['description' => 'Indicates whether the O\\&M task is configured. Valid values:'."\n" + ."\n" + .'* 1: The O\\&M task is configured.'."\n" + .'* 0: The O\\&M task is not configured.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '794120D1-E0CF-4713-BAE4-EBAEA04506AF', 'title' => ''], + 'Config' => [ + 'description' => 'The configuration details of the O\\&M task.'."\n", + 'type' => 'object', + 'properties' => [ + 'CycleType' => ['description' => 'The unit of the O\\&M task cycle. Valid values:'."\n" + ."\n" + .'* Month'."\n" + .'* Week'."\n", 'type' => 'string', 'example' => 'Week', 'title' => ''], + 'Status' => ['description' => 'Indicates whether the configurations take effect. Valid values:'."\n" + ."\n" + .'* 1: The configurations are in effect.'."\n" + .'* 2: The configurations are invalid.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ModifiedTime' => ['description' => 'The time when the last O\\&M task configurations are modified. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in Coordinated Universal Time (UTC).'."\n", 'type' => 'string', 'example' => '2024-05-30T14:30:00Z'."\n", 'title' => ''], + 'MaintainStartTime' => ['description' => 'The start time of the O\\&M window. The time follows the ISO 8601 standard in the *hh:mm:ss* Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '18:00:00Z', 'title' => ''], + 'MaintainEndTime' => ['description' => 'The end time of the O\\&M window. The time follows the ISO 8601 standard in the *hh:mm:ss* Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '20:00:00Z'."\n", 'title' => ''], + 'CycleTime' => ['description' => 'The interval between two O\\&M tasks.'."\n" + ."\n" + .'* If the CycleType parameter is set to Month, the CycleTime parameter returns a string of numbers ranging from 1 to 28, which indicates the specific days of the month. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n" + .'* If the CycleType parameter is set to Week, the CycleTime parameter returns a string of numbers ranging from 1 to 7, which indicates the specific days of the week. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n", 'type' => 'string', 'example' => '1,2,3', 'title' => ''], + 'CreatedTime' => ['description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2018-05-30T14:30:00Z'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\"\\n}","type":"json"}]', - 'title' => 'ModifyDBInstanceAutoUpgrade', - ], - 'DescribeInstancesOverview' => [ - 'summary' => 'Queries the overview information of one or more Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HasConfig\\": 0,\\n \\"RequestId\\": \\"794120D1-E0CF-4713-BAE4-EBAEA04506AF\\",\\n \\"Config\\": {\\n \\"CycleType\\": \\"Week\\",\\n \\"Status\\": 1,\\n \\"ModifiedTime\\": \\"2024-05-30T14:30:00Z\\\\n\\",\\n \\"MaintainStartTime\\": \\"18:00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00:00Z\\\\n\\",\\n \\"CycleTime\\": \\"1,2,3\\",\\n \\"CreatedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\"\\n }\\n}","type":"json"}]', + 'title' => 'DescribeActiveOperationMaintenanceConfig', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationMaintenanceConfig'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationMaintenanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeActiveOperationTask' => [ + 'summary' => 'Queries the details of the O\\\\\\&M tasks of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '103727', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56375', + 'abilityTreeNodes' => ['FEATUREkvstoreAO067M'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the instances you want to query reside. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the O&M task. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n" + ."\n" + .'> A value of **all** indicates all region IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of instances.'."\n" - ."\n" - .'> By default, all instances that belong to this account are queried. If you specify multiple instance IDs, separate the instance IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The type of the O\\&M task. Valid values:'."\n" + ."\n" + .'* **rds_apsaradb_ha**: master-replica switchover'."\n" + .'* **rds_apsaradb_transfer**: instance migration'."\n" + .'* **rds_apsaradb_upgrade**: minor version update'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds_apsaradb_ha', 'title' => ''], ], [ - 'name' => 'InstanceStatus', + 'name' => 'IsHistory', 'in' => 'query', - 'schema' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is unavailable.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n" - ."\n" - .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => 'Specifies whether to return the historical tasks. Default value: 0. Valid values:'."\n" + ."\n" + .'* **0**: returns the current task.'."\n" + .'* **1**: returns the historical tasks.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ChargeType', + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Specify a value greater than **10**. Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '30', 'default' => '30', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - 'dhgpay', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2E1FF0CC-F42A-4B6F-A1F4-A17B1451****', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ + 'description' => 'The list of O\\&M tasks.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The state of the O&M task. Valid values:'."\n" + ."\n" + .'* **2**: The task is waiting for users to specify a switchover time.'."\n" + .'* **3**: The task is waiting to be performed.'."\n" + .'* **4**: The task is being performed. If the task is in this state, the **ModifyActiveOperationTask** operation cannot be called to modify the scheduled switchover time.'."\n" + .'* **5**: The task is performed.'."\n" + .'* **6**: The task fails.'."\n" + .'* **7**: The task is canceled.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Deadline' => ['description' => 'The deadline before which the time to preform the O&M task can be modified. The time in UTC is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format.', 'type' => 'string', 'example' => '2023-03-29T13:59:59Z', 'title' => ''], + 'PrepareInterval' => ['description' => 'The required preparation period between the task start time and the switchover time. The time is displayed in the *HH:mm:ss* format.'."\n", 'type' => 'string', 'example' => '14:00:00', 'title' => ''], + 'TaskType' => ['description' => 'The type of the task. Valid values:'."\n" + ."\n" + .'* **rds_apsaradb_ha**: master-replica switchover'."\n" + .'* **rds_apsaradb_transfer**: instance migration'."\n" + .'* **rds_apsaradb_upgrade**: minor version update'."\n" + .'* **all**: all types'."\n", 'type' => 'string', 'example' => 'rds_apsaradb_upgrade', 'title' => ''], + 'StartTime' => ['description' => 'The time when the O\\&M task was preformed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-03-20T02:40:00Z', 'title' => ''], + 'ModifiedTime' => ['description' => 'The time when the O\\&M task was modified. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-02-24T08:18:53Z', 'title' => ''], + 'InsName' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1lgal1sdvxrz****', 'title' => ''], + 'DbType' => ['description' => 'The database type of the instance. The return value is **Redis**.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'Region' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hanghzou', 'title' => ''], + 'CreatedTime' => ['description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-02-24T06:00:11Z', 'title' => ''], + 'Id' => ['description' => 'The ID of the O&M task.', 'type' => 'integer', 'format' => 'int32', 'example' => '1****1', 'title' => ''], + 'SwitchTime' => ['description' => 'The time when the system performs the switchover operation. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-03-20T03:10:00Z', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2E1FF0CC-F42A-4B6F-A1F4-A17B1451****\\",\\n \\"PageSize\\": 30,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Status\\": 5,\\n \\"Deadline\\": \\"2023-03-29T13:59:59Z\\",\\n \\"PrepareInterval\\": \\"14:00:00\\",\\n \\"TaskType\\": \\"rds_apsaradb_upgrade\\",\\n \\"StartTime\\": \\"2023-03-20T02:40:00Z\\",\\n \\"ModifiedTime\\": \\"2023-02-24T08:18:53Z\\",\\n \\"InsName\\": \\"r-bp1lgal1sdvxrz****\\",\\n \\"DbType\\": \\"redis\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"CreatedTime\\": \\"2023-02-24T06:00:11Z\\",\\n \\"Id\\": 0,\\n \\"SwitchTime\\": \\"2023-03-20T03:10:00Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeActiveOperationTaskResponse>\\r\\n <TotalRecordCount>1</TotalRecordCount>\\r\\n <RequestId>2E1FF0CC-F42A-4B6F-A1F4-A17B1451****</RequestId>\\r\\n <PageSize>30</PageSize>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Items>\\r\\n <Status>5</Status>\\r\\n <CreatedTime>2019-10-17T20:28:31Z</CreatedTime>\\r\\n <Deadline>2019-10-21T15:59:59Z</Deadline>\\r\\n <StartTime>2019-10-17T17:50:00Z</StartTime>\\r\\n <InsName>r-bp1lgal1sdvxrz****</InsName>\\r\\n <DbType>redis</DbType>\\r\\n <ModifiedTime>2019-10-17T20:28:31Z</ModifiedTime>\\r\\n <TaskType>rds_apsaradb_upgrade</TaskType>\\r\\n <PrepareInterval>01:00:00</PrepareInterval>\\r\\n <Region>cn-hangzhou</Region>\\r\\n <Id>114111</Id>\\r\\n <SwitchTime>2019-10-17T18:50:00Z</SwitchTime>\\r\\n </Items>\\r\\n</DescribeActiveOperationTaskResponse>","errorExample":""}]', + 'title' => 'DescribeActiveOperationTask', + 'description' => 'After you have called this API operation and queried the information about a specific O&M task, you can also call the [ModifyActiveOperationTask](~~473864~~) operation to modify the scheduled switchover time of the O&M task.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTask'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'NetworkType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**: classic network'."\n" - .'* **VPC**: Virtual Private Cloud (VPC)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CLASSIC', - 'enum' => [ - 'CLASSIC', - 'VPC', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + ], + 'DescribeActiveOperationTaskCount' => [ + 'summary' => 'Queries the number of O\\\\\\&M tasks on a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EngineVersion', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'default' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* 1.0'."\n" - .'* 2.8'."\n" - .'* 4.0'."\n" - .'* 5.0'."\n" - .'* 6.0'."\n" - .'* 7.0'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '4.0' => '4.0', - '5.0' => '5.0', - '6.0' => '6.0', - '7.0' => '7.0', - '2.8' => '2.8', + 'type' => 'object', + 'properties' => [ + 'TaskCount' => ['description' => 'The number of pending O\\&M tasks.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'NeedPop' => ['description' => 'Indicates whether any O\\&M tasks need pop-up windows to notify users actions. Valid values:'."\n" + ."\n" + .'* **0**: No O\\&M tasks need pop-up windows to notify users actions.'."\n" + .'* **1**: Some O\\&M tasks need pop-up windows to notify users actions.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', 'title' => ''], ], - 'example' => '4.0', - 'enum' => [ - '1.0', - '2.8', - '4.0', - '5.0', - '6.0', - '7.0', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskCount\\": 1,\\n \\"NeedPop\\": 0,\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\"\\n}","type":"json"}]', + 'title' => 'DescribeActiveOperationTaskCount', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTaskCount'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTaskCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + ], + 'DescribeActiveOperationTasks' => [ + 'summary' => 'Queries the O\\\\\\\\\\\\\\\\\\\\&M event details of an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceClass', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56378', + 'abilityTreeNodes' => ['FEATUREkvstoreAO067M'], + ], + 'parameters' => [ + [ + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type of the instance. For more information, see [Instance types](~~107984~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis.master.small.default', - ], + 'schema' => ['description' => 'The region ID of the O&M task. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n" + ."\n" + .'> A value of **all** indicates all region IDs.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'TaskType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", + 'description' => 'The type of the O\\&M event. If this parameter is not specified, all types of O\\&M events are queried.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* rds_apsradb_upgrade: minor version update'."\n" + .'* rds_apsaradb_ha: primary/secondary switchover'."\n" + .'* rds_apsaradb_ssl_update: SSL certificate update'."\n" + .'* rds_apsaradb_major_upgrade: major version upgrade'."\n" + .'* rds_apsradb_transfer: instance migration'."\n" + .'* rds_apsaradb_modify_config: network upgrade'."\n" + .'* rds_apsaradb_modify_config: instance parameter adjustment'."\n" + .'* rds_apsaradb_maxscale: proxy minor version update'."\n", 'type' => 'string', 'required' => false, - 'example' => 'vpc-bp1nme44gek34slfc****', + 'docRequired' => false, + 'enumValueTitles' => ['rds_apsradb_upgrade' => '', 'rds_apsaradb_ha' => '', 'rds_apsaradb_ssl_update' => '', 'rds_apsaradb_major_upgrade' => '', 'rds_apsradb_transfer' => '', 'rds_apsaradb_network_upgrade' => '', 'rds_apsaradb_modify_config' => '', 'rds_apsaradb_maxscale' => ''], + 'example' => 'rds_apsradb_transfer', + 'title' => '', ], ], [ - 'name' => 'VSwitchId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', - ], + 'schema' => ['description' => 'The number of entries per page. Default value: 25. Maximum value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '25', 'default' => '30', 'title' => ''], ], [ - 'name' => 'InstanceType', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The category of the instance. Valid values:'."\n" - ."\n" - .'* **Tair**'."\n" - .'* **Redis**'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'default' => 'Redis', - 'enum' => [ - 'Redis', - 'Memcache', - 'tair_essd', - 'tair_scm', - 'tair_rdb', - 'Tair', - ], - ], + 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword used for fuzzy search. The keyword can be based on an instance ID or an instance description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apitest', - ], + 'schema' => ['description' => 'The name of the service. Valid values: RDS, POLARDB, MongoDB, and Redis. For Redis instances, set the value to Redis.', 'type' => 'string', 'required' => false, 'example' => 'Redis', 'title' => ''], ], [ - 'name' => 'ArchitectureType', + 'name' => 'DbType', 'in' => 'query', - 'schema' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" - ."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **standard**: standard architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'standard', - ], + 'schema' => ['description' => 'The database type. Valid values: **redis**', 'type' => 'string', 'required' => false, 'example' => 'redis', 'title' => ''], ], [ - 'name' => 'ZoneId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-b', - ], + 'schema' => ['description' => 'The status of an O\\&M event. This parameter is used to filter returned tasks. Valid values:'."\n" + ."\n" + .'* **-1**: filters all events.'."\n" + .'* **3**: filters pending events.'."\n" + .'* **4**: filters in-progress events.'."\n" + .'* **5**: filters successful events.'."\n" + .'* **6**: filters failed events.'."\n" + .'* **7**: filters canceled events.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'InsName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instances you want to query belong.'."\n" - ."\n" - .'> You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The name of the instance. You can leave this parameter empty. If you configure this parameter, you can specify the name only of one instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-wz96fzmpvpr2qnqnlb', 'title' => ''], ], [ - 'name' => 'EditionType', + 'name' => 'AllowChange', 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **Community**: Redis Open-Source Edition'."\n" - .'* **Enterprise**: Tair (Enterprise Edition)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Enterprise', - 'enum' => [ - 'Enterprise', - 'Community', - ], - ], + 'schema' => ['description' => 'The filter condition that is used to return events based on the settings of the switching time. Default value: -1. Valid values:'."\n" + ."\n" + .'* **-1**: returns all events.'."\n" + .'* **0**: returns only O\\&M events for which the switching time cannot be changed.'."\n" + .'* **-1**: returns only O\\&M events for which the switching time can be changed.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '-1', 'title' => ''], ], [ - 'name' => 'PrivateIp', + 'name' => 'AllowCancel', 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.49.***', - ], + 'schema' => ['description' => 'The filter condition that is used to return events based on the settings of event cancellation. Default value: -1. Valid values:'."\n" + ."\n" + .'* **-1**: returns all events.'."\n" + .'* **0**: returns only O\\&M events that cannot be canceled.'."\n" + .'* **1**: returns only O\\&M events that can be canceled.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ChangeLevel', + 'in' => 'query', + 'schema' => ['description' => 'The type of task configuration change. Valid values:'."\n" + ."\n" + .'* **all** (default): The configurations of all O\\&M tasks are changed.'."\n" + .'* **S0**: The configurations of tasks initiated to fix exceptions are changed.'."\n" + .'* **S1**: The configurations of system O\\&M tasks are changed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****', - ], - 'TotalCount' => [ - 'description' => 'The total number of instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Instances' => [ - 'description' => 'The queried instances.'."\n", + 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page. Default 25.', 'type' => 'integer', 'format' => 'int32', 'example' => '25', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The number of O\\&M events returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ + 'description' => 'The list of O\\&M events.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The overview information of the instance.'."\n", + 'description' => 'Details about the O\\&M event.'."\n", 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1nme44gek34slfc****', - ], - 'PrivateIp' => [ - 'description' => 'The private IP address of the instance.'."\n" - ."\n" - .'> This parameter is not returned when the instance is deployed in the classic network.'."\n", - 'type' => 'string', - 'example' => '172.16.49.***', - ], - 'Capacity' => [ - 'description' => 'The storage capacity of the instance. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4096', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created.'."\n", - 'type' => 'string', - 'example' => '2018-11-07T08:49:00Z', - ], - 'ConnectionDomain' => [ - 'description' => 'The internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'ArchitectureType' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" - ."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **standard**: standard architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n", - 'type' => 'string', - 'example' => 'cluster', - ], - 'NetworkType' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**: classic network'."\n" - .'* **VPC**: VPC'."\n", - 'type' => 'string', - 'example' => 'CLASSIC', - ], - 'EngineVersion' => [ - 'description' => 'The engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.'."\n", - 'type' => 'string', - 'example' => '4.0', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'apitest', - ], - 'GlobalInstanceId' => [ - 'description' => 'The ID of the distributed instance.'."\n" - ."\n" - .'> This parameter is returned only when the instance is a child instance of a distributed instance.'."\n", - 'type' => 'string', - 'example' => 'gr-bp14rkqrhac****', - ], - 'InstanceClass' => [ - 'description' => 'The instance type of the instance.'."\n", - 'type' => 'string', - 'example' => 'redis.logic.sharding.2g.2db.0rodb.4proxy.default', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'InstanceType' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **Tair**: Tair (Enterprise Edition)'."\n" - .'* **Redis**: Redis Open-Source Edition'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EndTime' => [ - 'description' => 'The time when the subscription instance expires.'."\n", - 'type' => 'string', - 'example' => '2022-06-13T16:00:00Z', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch to which the instance is connected.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1e7clcw529l773d****', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmyiu4ekp****', - ], - 'ZoneId' => [ - 'description' => 'The zone ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'InstanceStatus' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is unavailable.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'SecondaryZoneId' => [ - 'description' => 'Instance\'s secondary zone id.'."\n" - .'> This parameter is only returned when the instance has a secondary zone ID.', - 'type' => 'string', - 'example' => 'cn-hangzhou-g', + 'Status' => ['description' => 'The status of the O\\&M event. Valid values:'."\n" + ."\n" + .'* **3**: filters pending events.'."\n" + .'* **4**: filters in-progress events.'."\n" + .'* **5**: filters successful events.'."\n" + .'* **6**: filters failed events.'."\n" + .'* **7**: filters canceled events.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ChangeLevelEn' => ['description' => 'The level of the task in English.'."\n", 'type' => 'string', 'example' => 'System maintenance'."\n", 'title' => ''], + 'TaskType' => ['description' => 'The type of the O\\&M event.'."\n", 'type' => 'string', 'example' => 'rds_apsaradb_transfer', 'title' => ''], + 'InsName' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1lgal1sdvxrz****', 'title' => ''], + 'Region' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hanghzou', 'title' => ''], + 'ImpactZh' => ['description' => 'The impact of the task in Chinese.'."\n", 'type' => 'string', 'example' => '实例闪断'."\n", 'title' => ''], + 'CreatedTime' => ['description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2018-05-30T14:30:00Z'."\n", 'title' => ''], + 'SwitchTime' => ['description' => 'The time when the system performs the switchover operation. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2018-05-30T14:30:00Z'."\n", 'title' => ''], + 'ChangeLevelZh' => ['description' => 'The level of the task in Chinese.'."\n", 'type' => 'string', 'example' => '系统运维'."\n", 'title' => ''], + 'Deadline' => ['description' => 'The deadline before which the time to preform the O&M task can be modified. The time in UTC is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format.', 'type' => 'string', 'example' => '2018-05-30T23:59:59Z', 'title' => ''], + 'PrepareInterval' => ['description' => 'The required preparation period between the task start time and the switchover time. The time is displayed in the *HH:mm:ss* format.'."\n", 'type' => 'string', 'example' => '04:00:00'."\n", 'title' => ''], + 'TaskTypeZh' => ['description' => 'The reason for the task in Chinese.'."\n", 'type' => 'string', 'example' => '小版本升级'."\n", 'title' => ''], + 'CurrentAVZ' => ['description' => 'The current zone.'."\n", 'type' => 'string', 'example' => 'cn-beijing-h'."\n", 'title' => ''], + 'AllowChange' => ['description' => 'Indicates whether the switching time can be changed. The value 1 indicates that the switching time can be changed. The value 0 indicates that the switching time cannot be changed.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'DbVersion' => ['description' => 'The version of the database engine.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'ImpactEn' => ['description' => 'The impact of the task in English.'."\n", 'type' => 'string', 'example' => 'Transient instance disconnection', 'title' => ''], + 'InsComment' => ['description' => 'The alias and description of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'StartTime' => ['description' => 'The time when the event is executed in the backend. The time must be in UTC. Format: YYYY-MM-DDTHH:mm:ssZ.'."\n", 'type' => 'string', 'example' => '2018-05-30T00:00:00Z'."\n", 'title' => ''], + 'ModifiedTime' => ['description' => 'The time when the O\\&M task was modified. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2018-05-30T14:30:00Z'."\n", 'title' => ''], + 'AllowCancel' => ['description' => 'Indicates whether the event can be canceled. The value 1 indicates that the event can be canceled. The value 0 indicates that the event cannot be canceled.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'DbType' => ['description' => 'The database type of the instance. The return value is **Redis**.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'ChangeLevel' => ['description' => 'The code of the task level. The value S1 indicates the system O\\&M level. The value S0 indicates the exception fixing level.'."\n", 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'TaskTypeEn' => ['description' => 'The cause of the O\\&M event.'."\n", 'type' => 'string', 'example' => 'Minor version update', 'title' => ''], + 'ResultInfo' => ['description' => 'The information about the execution result.'."\n", 'type' => 'string', 'example' => 'userCancel', 'title' => ''], + 'Id' => ['description' => 'The ID of the O\\&M event.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '11111', 'title' => ''], + 'SubInsNames' => [ + 'description' => 'The list of sub-events.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the sub-event.'."\n", 'type' => 'string', 'example' => 'sub1369716295573-tes2cy6****.2013052818****'."\n", 'title' => ''], + 'title' => '', + 'example' => '', ], + 'TaskParams' => ['description' => 'The O\\&M event parameters.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "Action": "UpgradeDBInstance"'."\n" + .'}', 'title' => ''], + 'Impact' => ['description' => 'The impact of the task.'."\n", 'type' => 'string', 'example' => 'TransientDisconnection', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidInstanceIds.Malformed', - 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\",\\n \\"PageSize\\": 25,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Status\\": 5,\\n \\"ChangeLevelEn\\": \\"System maintenance\\\\n\\",\\n \\"TaskType\\": \\"rds_apsaradb_transfer\\",\\n \\"InsName\\": \\"r-bp1lgal1sdvxrz****\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"ImpactZh\\": \\"实例闪断\\\\n\\",\\n \\"CreatedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"SwitchTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"ChangeLevelZh\\": \\"系统运维\\\\n\\",\\n \\"Deadline\\": \\"2018-05-30T23:59:59Z\\",\\n \\"PrepareInterval\\": \\"04:00:00\\\\n\\",\\n \\"TaskTypeZh\\": \\"小版本升级\\\\n\\",\\n \\"CurrentAVZ\\": \\"cn-beijing-h\\\\n\\",\\n \\"AllowChange\\": \\"1\\",\\n \\"DbVersion\\": \\"5.0\\",\\n \\"ImpactEn\\": \\"Transient instance disconnection\\",\\n \\"InsComment\\": \\"test\\",\\n \\"StartTime\\": \\"2018-05-30T00:00:00Z\\\\n\\",\\n \\"ModifiedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"AllowCancel\\": \\"1\\",\\n \\"DbType\\": \\"redis\\",\\n \\"ChangeLevel\\": \\"S1\\",\\n \\"TaskTypeEn\\": \\"Minor version update\\",\\n \\"ResultInfo\\": \\"userCancel\\",\\n \\"Id\\": 11111,\\n \\"SubInsNames\\": [\\n \\"sub1369716295573-tes2cy6****.2013052818****\\\\n\\"\\n ],\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"Action\\\\\\": \\\\\\"UpgradeDBInstance\\\\\\"\\\\n}\\",\\n \\"Impact\\": \\"TransientDisconnection\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeActiveOperationTasks', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTasks'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\",\\n \\"TotalCount\\": 1,\\n \\"Instances\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 4096,\\n \\"CreateTime\\": \\"2018-11-07T08:49:00Z\\",\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"ArchitectureType\\": \\"cluster\\",\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"EngineVersion\\": \\"6.0\\",\\n \\"InstanceName\\": \\"apitest\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"InstanceClass\\": \\"redis.logic.sharding.2g.2db.0rodb.4proxy.default\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceType\\": \\"Redis\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"EndTime\\": \\"2022-06-13T16:00:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"SecondaryZoneId\\": \\"cn-hangzhou-g\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstancesOverviewResponse>\\n <Instances>\\n <ArchitectureType>cluster</ArchitectureType>\\n <Capacity>32768</Capacity>\\n <ChargeType>PrePaid</ChargeType>\\n <ConnectionDomain>r-bp1d****letsgv****.tairpena.rds.aliyuncs.com</ConnectionDomain>\\n <CreateTime>2021-11-11T06:52:52Z</CreateTime>\\n <EndTime>2021-12-11T16:00:00Z</EndTime>\\n <EngineVersion>1.0</EngineVersion>\\n <InstanceClass>tair.scm.cluster.sharding.common.ce</InstanceClass>\\n <InstanceId>r-bp1d****letsgv****</InstanceId>\\n <InstanceName>aep***-pull-cluster</InstanceName>\\n <InstanceStatus>Normal</InstanceStatus>\\n <InstanceType>tair_scm</InstanceType>\\n <NetworkType>VPC</NetworkType>\\n <PrivateIp>172.16.*.*</PrivateIp>\\n <RegionId>cn-hangzhou</RegionId>\\n <ResourceGroupId>rg-acfm22c********</ResourceGroupId>\\n <VSwitchId>vsw-bp1p9le7ibusm********</VSwitchId>\\n <VpcId>vpc-bp1jk5vwkcri2********</VpcId>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n </Instances>\\n <RequestId>E9848396-E363-5ECE-94D2-E0CF993*****</RequestId>\\n <TotalCount>1</TotalCount>\\n</DescribeInstancesOverviewResponse>","errorExample":""}]', - 'title' => 'DescribeInstancesOverview', - 'description' => 'If you do not specify the InstanceIds parameter when you call this operation, the overview information of all instances is returned.'."\n" - ."\n" - .'> This operation returns non-paged results.'."\n", ], - 'DescribeInstances' => [ - 'summary' => 'Queries the information about one or more Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAuditLogConfig' => [ + 'summary' => 'Queries the audit log configurations of a Tair (Redis OSS-compatible) instance. The configurations include whether the audit log feature is enabled and the retention period of audit logs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5856,748 +4384,658 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56409', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56380', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n" - ."\n" - .'> When you call this operation and specify the **Tag** parameter, you must also specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeInstanceAttribute](~~473779~~) operation to query the region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hanghzou', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the instances that you want to query.'."\n" - ."\n" - .'> If you want to specify multiple instance IDs, separate the instance IDs with commas (,). You can specify a maximum of 30 instance IDs in a single request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], - [ - 'name' => 'InstanceStatus', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is suspended.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n" - ."\n" - .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', + 'type' => 'object', + 'properties' => [ + 'Retention' => ['description' => 'The retention period of audit logs. Unit: days.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', 'title' => ''], + 'DbAudit' => ['description' => 'Indicates whether the audit log feature is enabled. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n" + ."\n" + .'> You can call the [ModifyAuditLogConfig](~~473829~~) operation to enable or disable the audit log feature for a Tair (Redis OSS-compatible) instance.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The InstanceId provided does not exist in our records.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Retention\\": \\"5\\",\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"DbAudit\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'DescribeAuditLogConfig', + 'description' => 'Before you call this operation, you must enable the audit log feature for the instance. For more information, see [ModifyAuditLogConfig](~~473829~~) or [Enable the audit log feature](~~102015~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-08-16T03:15:21.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditLogConfig'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'ChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAuditLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], + ], + ], + 'DescribeAuditRecords' => [ + 'summary' => 'Queries the audit logs of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56381', + 'abilityTreeNodes' => ['FEATUREkvstoreE2TR4H'], + ], + 'parameters' => [ [ - 'name' => 'NetworkType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* **CLASSIC**'."\n" - .'* **VPC**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CLASSIC', - 'enum' => [ - 'CLASSIC', - 'VPC', - ], - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.'."\n" - ."\n" - .'Enumerated values:'."\n" - ."\n" - .'* 1.0'."\n" - .'* 2.8'."\n" - .'* 4.0'."\n" - .'* 5.0'."\n" - .'* 6.0'."\n" - .'* 7.0'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4.0', - 'enum' => [ - '1.0', - '2.8', - '4.0', - '5.0', - '6.0', - '7.0', - ], - ], + 'schema' => ['description' => 'The ID of the node in the instance. You can set this parameter to query the monitoring data of a specified node.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is available only for read/write splitting and cluster instances.'."\n" + ."\n" + .'* You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query node IDs.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], [ - 'name' => 'InstanceClass', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type of the instance. For more information, see [Instance types](~~107984~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis.master.small.default', - ], + 'schema' => ['description' => 'The username of the account. If you do not specify this parameter, all accounts of the instance are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1nme44gek34slfc****', - ], + 'schema' => ['description' => 'The name of the database in the instance. If you do not specify this parameter, all databases are queried. Valid values: 0 to 255. 0 specifies database 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'VSwitchId', + 'name' => 'QueryKeywords', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', - ], + 'schema' => ['description' => 'The keyword based on which the audit logs are queried. You can specify a command as a keyword to query logs. By default, all commands are queried.'."\n" + ."\n" + .'> You can specify only a single keyword in each call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'maxclients', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'HostAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page **1**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The IP address of the client. If you do not specify this parameter, this call applies to all clients.'."\n", 'type' => 'string', 'required' => false, 'example' => '127.0.0.1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'The number of entries per page. Maximum value: **50**. Default value: **30**.'."\n", + 'description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'maximum' => '1000', - 'minimum' => '0', - 'example' => '10', + 'example' => '30', 'default' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], [ - 'name' => 'InstanceType', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-24T12:10:00Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" + ."\n" + .'> We recommend that you specify a time range of 10 minutes or less because audit logs contain a great number of entries. Do not specify a time range that is longer than one day.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-25T12:10:00Z', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database engine. Valid values:'."\n" - ."\n" - .'* **Tair**: Tair (Enterprise Edition)'."\n" - .'* **Redis**: Redis Open-Source Edition'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'default' => 'Redis', - 'enum' => [ - 'Redis', - 'Memcache', - 'tair_essd', - 'tair_scm', - 'Tair', - 'tair_rdb', - 'tair_skv', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The end time of the query.'."\n", 'type' => 'string', 'example' => '2019-03-25T12:10:00Z', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2019-03-24T12:10:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9F5EB478-824E-4AC4-8D2B-58F31A02****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '22222', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SQL' => [ + 'description' => 'The collection of returned audit log entries.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'HostAddress' => ['description' => 'The IP address of the client.'."\n", 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'SQLText' => ['description' => 'The command that was run.'."\n", 'type' => 'string', 'example' => 'CONFIG GET maxmemory', 'title' => ''], + 'DatabaseName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'SQLType' => ['description' => 'The type of the command.'."\n", 'type' => 'string', 'example' => 'non_read_write', 'title' => ''], + 'ExecuteTime' => ['description' => 'The time when the command was run.'."\n", 'type' => 'string', 'example' => '2019-03-25T03:22:08Z', 'title' => ''], + 'TotalExecutionTimes' => ['description' => 'The amount of time consumed to run the command.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n" + ."\n" + .'> A specific node ID is returned only if the instance uses the cluster or read/write splitting architecture.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], + 'AccountName' => ['description' => 'The username of the account.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'IPAddress' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '192.16.100.***', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IncorrectDBInstance.NotSupported', 'errorMessage' => 'This instance do not support log audit.', 'description' => 'This instance does not support audit log related services'], + ['errorCode' => 'InvalidEndTime.Invalid', 'errorMessage' => 'pecified end time is before this service active time.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter StartTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter EndTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPageSize.Malformed', 'errorMessage' => 'The specified parameter PageSize is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPageNumbers.Malformed', 'errorMessage' => 'Specified page number is not valid.', 'description' => ''], + ['errorCode' => 'InvalidQueryTime.Format', 'errorMessage' => 'Specified query time is not valid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-03-25T12:10:00Z\\",\\n \\"StartTime\\": \\"2019-03-24T12:10:00Z\\",\\n \\"RequestId\\": \\"9F5EB478-824E-4AC4-8D2B-58F31A02****\\",\\n \\"InstanceName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TotalRecordCount\\": 22222,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"SQL\\": [\\n {\\n \\"HostAddress\\": \\"127.0.0.1\\",\\n \\"SQLText\\": \\"CONFIG GET maxmemory\\",\\n \\"DatabaseName\\": \\"demo\\",\\n \\"SQLType\\": \\"non_read_write\\",\\n \\"ExecuteTime\\": \\"2019-03-25T03:22:08Z\\",\\n \\"TotalExecutionTimes\\": \\"0\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\",\\n \\"AccountName\\": \\"demo\\",\\n \\"IPAddress\\": \\"192.16.100.***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAuditRecordsResponse>\\r\\n\\t<Items>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET band-width</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxmemory</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxclients</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET qps</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET qps</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxclients</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxmemory</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t</Items>\\r\\n\\t<TotalRecordCount>36559</TotalRecordCount>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<RequestId>9F5EB478-824E-4AC4-8D2B-58F31A02****</RequestId>\\r\\n\\t<EndTime>2019-03-25T12:10:00Z</EndTime>\\r\\n\\t<StartTime>2019-03-24T12:10:00Z</StartTime>\\r\\n\\t<InstanceName>r-bp1zxszhcgatnx****</InstanceName>\\r\\n</DescribeAuditRecordsResponse>","errorExample":""}]', + 'title' => 'DescribeAuditRecords', + 'description' => 'Before you call this operation, you must enable the audit log feature for the instance. For more information, see [ModifyAuditLogConfig](~~473829~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAuditRecords'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAuditRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], + ], + ], + 'DescribeAvailableResource' => [ + 'summary' => 'Queries the types of Tair (Redis OSS-compatible) instances that can be created in a specified zone.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SearchKey', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56382', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apitest', - ], + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ArchitectureType', + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID of the instance. You can call the [DescribeZones](~~473764~~) operation to query the most recent zone list.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], + ], + [ + 'name' => 'InstanceChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" + 'description' => 'The billing method. Valid values:'."\n" ."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **standard**: standard architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n", + .'* **PrePaid** (default): subscription'."\n" + .'* **PostPaid**: pay-as-you-go'."\n", 'type' => 'string', 'required' => false, - 'example' => 'standard', + 'example' => 'PrePaid', + 'default' => 'PrePaid', + 'enum' => ['PrePaid', 'PostPaid'], + 'title' => '', ], ], [ - 'name' => 'Expired', + 'name' => 'OrderType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether the instance has expired. Valid values:'."\n" + 'description' => 'The order type. Valid values:'."\n" ."\n" - .'* **true**: The instance has expired.'."\n" - .'* **false**: The instance has not expired.'."\n", + .'* **BUY** (default): orders that are used to create instances'."\n" + .'* **UPGRADE**: orders that are used to upgrade instances'."\n" + .'* **DOWNGRADE**: orders that are used to downgrade instances'."\n", 'type' => 'string', 'required' => false, - 'example' => 'false', + 'example' => 'BUY', + 'default' => 'BUY', + 'enum' => ['BUY', 'UPGRADE', 'DOWNGRADE'], + 'title' => '', ], ], [ - 'name' => 'ZoneId', + 'name' => 'Engine', 'in' => 'query', 'schema' => [ - 'description' => 'The zone ID of the instance.'."\n", + 'description' => 'The database engine of the instance. Valid values:'."\n" + ."\n" + .'* **Redis**'."\n" + .'* **Memcache**'."\n", 'type' => 'string', 'required' => false, - 'example' => 'cn-hongkong-b', + 'example' => 'Redis', + 'enum' => ['Redis', 'Memcache', 'redis', 'memcache', 'REDIS', 'MEMCACHE'], + 'title' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs.'."\n" - ."\n" - .'> You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.'."\n" + ."\n" + .'> You can also query the IDs of resource groups in the Resource Management console. For more information, see [View basic information about a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4e******', 'default' => '', 'title' => ''], ], [ - 'name' => 'GlobalInstance', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return the child instances of distributed instances. Valid values:'."\n" - ."\n" - .'* **true**: Only child instances are returned.'."\n" - .'* **false**: Child instances are not returned.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> This parameter is available and required only if the **OrderType** parameter is set to **UPGRADE** or **DOWNGRADE**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EditionType', + 'name' => 'AcceptLanguage', 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **Community**: Redis Open-Source Edition'."\n" - .'* **Enterprise**: Tair (Enterprise Edition)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Enterprise', - 'enum' => [ - 'Enterprise', - 'Community', - ], - ], + 'schema' => ['description' => 'The display language of the response. Valid values:'."\n" + ."\n" + .'* **zh-CN**: Chinese. This is the default value.'."\n" + .'* **en-US**: English.'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'default' => 'zh_CN', 'title' => ''], ], [ - 'name' => 'PrivateIp', + 'name' => 'ProductType', 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.49.***', - ], + 'schema' => ['description' => 'The instance type. Default value: Local. Valid values:'."\n" + ."\n" + .'* **Local**: classic Redis Open-Source Edition instance or classic DRAM-based instance'."\n" + .'* **Tair_rdb**: cloud-native DRAM-based instance'."\n" + .'* **Tair_scm**: persistent memory-optimized instance'."\n" + .'* **Tair_essd**: ESSD/SSD-based instance'."\n" + .'* **OnECS**: cloud-native Redis Open-Source Edition instance'."\n" + ."\n" + .'> The default value of this parameter is Local. To query disk resources, you must specify the instance type that provides the required disk resources.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Local', 'default' => 'Local', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'NodeId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The object.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Local disk'."\n", - ], - 'Key' => [ - 'description' => 'The tag key. A tag is a key-value pair.'."\n" - ."\n" - .'> A maximum of five key-value pairs can be specified at a time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Storage type'."\n", - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The ID of the data node for which you want to query available resources that can be created. You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query the ID of the data node. Remove the number sign (`#`) and the content that follows the number sign. For example, retain only r-bp10noxlhcoim2\\*\\*\\*\\*-db-0.'."\n" + ."\n" + .'> Before you specify this parameter, you must set the **InstanceId** parameter to the ID of an instance that uses the cluster or read/write splitting architecture.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], [ - 'name' => 'NodeType', + 'name' => 'InstanceScene', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'STAND_ALONE', - 'MASTER_SLAVE', - 'double', - 'single', - ], - ], + 'schema' => ['description' => 'The edition of the instance. Valid values:'."\n" + ."\n" + .'* **professional**: Standard Edition. This edition supports the standalone, master-replica, read /write splitting, and cluster architectures and provides high scalability.'."\n", 'type' => 'string', 'required' => false, 'example' => 'professional', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => 'The total number of instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Instances' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '493B7308-D9C2-55F6-B042-0313BD63****', 'title' => ''], + 'AvailableZones' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'KVStoreInstance' => [ - 'description' => 'Details about the instances.'."\n", + 'AvailableZone' => [ + 'description' => 'Details about the zones.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The information about the instance.'."\n", 'type' => 'object', 'properties' => [ - 'Connections' => [ - 'description' => 'The maximum number of connections supported by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20000', - ], - 'EndTime' => [ - 'description' => 'The time when the subscription instance expires.'."\n", - 'type' => 'string', - 'example' => '2019-06-13T16:00:00Z', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmyiu4ekp****', - ], - 'EditionType' => [ - 'description' => 'The edition of the instance. Valid values:'."\n" - ."\n" - .'* **Community**: Redis Open-Source Edition'."\n" - .'* **Enterprise**: Tair (Enterprise Edition)', - 'type' => 'string', - 'example' => 'Enterprise', - ], - 'Config' => [ - 'description' => 'The parameter configurations of the instance. For more information, see [Modify parameters of an instance](~~43885~~).'."\n", - 'type' => 'string', - 'example' => '{\\"maxmemory-policy\\":\\"volatile-lfu\\",\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64,\\"#no_loose_disabled-commands\\":\\"flushall,flushdb\\",\\"lazyfree-lazy-eviction\\":\\"yes\\"}', - ], - 'Port' => [ - 'description' => 'The service port of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6379', - ], - 'DestroyTime' => [ - 'description' => 'The time when the instance was deleted.'."\n", - 'type' => 'string', - 'example' => '2019-04-28T10:03:01Z', - ], - 'GlobalInstanceId' => [ - 'description' => 'The ID of the distributed instance.'."\n" - ."\n" - .'> This parameter is returned only if the instance is a child instance of a distributed instance.'."\n", - 'type' => 'string', - 'example' => 'gr-bp14rkqrhac****', - ], - 'HasRenewChangeOrder' => [ - 'description' => 'Indicates whether your Alibaba Cloud account has pending orders for renewal and configuration change. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ShardCount' => [ - 'description' => 'The number of data shards in the cluster instance.'."\n" - ."\n" - .'> This parameter is returned only for cloud-native cluster instances or read/write splitting instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ConnectionDomain' => [ - 'description' => 'The internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'SlaveReplicaCount' => [ - 'description' => 'The number of replica nodes in the secondary zone.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PrivateIp' => [ - 'description' => 'The private IP address.'."\n" - ."\n" - .'> This parameter is not returned when the instance is deployed in the classic network.'."\n", - 'type' => 'string', - 'example' => '172.16.49.***', - ], - 'Capacity' => [ - 'description' => 'The storage capacity of the instance. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4096', - ], - 'QPS' => [ - 'description' => 'The number of queries per second (QPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'NetworkType' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**'."\n" - .'* **VPC**'."\n", - 'type' => 'string', - 'example' => 'CLASSIC', - ], - 'InstanceStatus' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is unavailable.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL configurations of the instance are being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'PackageType' => [ - 'description' => 'The plan type. Valid values:'."\n" - ."\n" - .'* **standard**: standard plan'."\n" - .'* **customized**: custom plan'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the instance. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '96', - ], - 'InstanceType' => [ - 'description' => 'The database engine of the instance. Valid values:'."\n" - ."\n" - .'* **Tair**'."\n" - .'* **Redis**'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'Tags' => [ + 'ZoneId' => ['description' => 'The ID of the zone in which the instance is located.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'ZoneName' => ['description' => 'The name of the zone.'."\n", 'type' => 'string', 'example' => '杭州 可用区H', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'SupportedEngines' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Tag' => [ - 'description' => 'Details about the tags.'."\n", + 'SupportedEngine' => [ + 'description' => 'The supported engines.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The object.'."\n", 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The value of the tag.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - 'Key' => [ - 'description' => 'The key of the tag.'."\n", - 'type' => 'string', - 'example' => 'key1', + 'Engine' => ['description' => 'The database engine of the instance.'."\n", 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'SupportedEditionTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedEditionType' => [ + 'description' => 'The instance edition types.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EditionType' => ['description' => 'The edition of the instance. Valid values:'."\n" + ."\n" + .'* **Community**: Community Edition'."\n" + .'* **Enterprise**: Enhanced Edition (Tair)'."\n", 'type' => 'string', 'example' => 'Enterprise', 'title' => ''], + 'SupportedSeriesTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedSeriesType' => [ + 'description' => 'The instance series types.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SeriesType' => ['description' => 'The instance series. Valid values:'."\n" + ."\n" + .'* **enhanced_performance_type**: Tair (Enterprise Edition) DRAM-based instance'."\n" + .'* **hybrid_storage**: Redis Open-Source Edition hybrid-storage instance', 'type' => 'string', 'example' => 'enhanced_performance_type', 'title' => ''], + 'SupportedEngineVersions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedEngineVersion' => [ + 'description' => 'The available engine versions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Version' => ['description' => 'The engine version of the instance.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'SupportedArchitectureTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedArchitectureType' => [ + 'description' => 'The available architectures.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Architecture' => ['description' => 'The architecture of the instance. Valid values:'."\n" + ."\n" + .'* **standard**: standard architecture'."\n" + .'* **cluster**: cluster architecture'."\n" + .'* **rwsplit**: read/write splitting architecture'."\n", 'type' => 'string', 'example' => 'cluster', 'title' => ''], + 'SupportedShardNumbers' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedShardNumber' => [ + 'description' => 'The numbers of available shards.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ShardNumber' => ['description' => 'The number of shards.'."\n", 'type' => 'string', 'example' => '8', 'title' => ''], + 'SupportedNodeTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SupportedNodeType' => [ + 'description' => 'The supported node types.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The supported node type.'."\n", + 'type' => 'object', + 'properties' => [ + 'SupportedNodeType' => ['description' => 'The node type of the instance. Valid values:'."\n" + ."\n" + .'* **single**: standalone'."\n" + .'* **double**: master-replica'."\n", 'type' => 'string', 'example' => 'double', 'title' => ''], + 'AvailableResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AvailableResource' => [ + 'description' => 'The available instance types.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The available instance type.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceClassRemark' => ['description' => 'The description of the instance type.'."\n", 'type' => 'string', 'example' => '16G集群版(8节点)(QPS:1920000 Connections:240000)', 'title' => ''], + 'Capacity' => ['description' => 'The memory size of the instance. Unit: MB.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '16384', 'title' => ''], + 'InstanceClass' => ['description' => 'The code of the instance type. If you want to view the code of an instance type, you can search for the code of the instance type in Help Center.'."\n", 'type' => 'string', 'example' => 'redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ReplacateId' => [ - 'description' => 'The logical ID of the distributed instance.'."\n", - 'type' => 'string', - 'example' => 'grr-bp11381ebc16****', - ], - 'ArchitectureType' => [ - 'description' => 'The architecture of the instance. Default value: NULL. Valid values:'."\n" - ."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **standard**: standard architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n" - .'* **NULL**: all of the preceding architectures'."\n", - 'type' => 'string', - 'example' => 'cluster', - ], - 'EngineVersion' => [ - 'description' => 'The database engine version of the instance.'."\n", - 'type' => 'string', - 'example' => '4.0', - ], - 'UserName' => [ - 'description' => 'The username used to connect to the instance. By default, a username named after the instance ID is included.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'CloudType' => [ - 'description' => 'This parameter is returned only when the instance is in a cloud box.'."\n", - 'type' => 'string', - 'example' => 'cloudbox', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'ShardClass' => [ - 'description' => 'The shard class. For more information about shard classes, see [Overview](~~26350~~).'."\n" - ."\n" - .'> The overall performance of a cluster instance is calculated by multiplying the class of a single shard (ShardClass) by the number of shards (ShardCount).'."\n", - 'type' => 'string', - 'example' => 'redis.shard.small.ce', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created.'."\n", - 'type' => 'string', - 'example' => '2018-11-07T08:49:00Z', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1e7clcw529l773d****', - ], - 'ReplicaCount' => [ - 'description' => 'The number of replica nodes in the primary zone.'."\n" - ."\n" - .'> The **ReplicaCount** and **SlaveReplicaCount** parameters are applicable only to cloud-native instances. If the instance is a cluster instance, the preceding parameters indicate the number of replica nodes **per node** in the primary and secondary zones of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReadOnlyCount' => [ - 'description' => 'The number of read replicas in the primary zone.'."\n" - ."\n" - .'> The **ReadOnlyCount** and **SlaveReadOnlyCount** parameters are applicable only to cloud-native instances for which read/write splitting is enabled. If the instance is a cluster instance, the preceding parameters indicate the number of read replicas **per node** in the primary and secondary zones of the instance.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'InstanceClass' => [ - 'description' => 'The instance class.'."\n", - 'type' => 'string', - 'example' => 'redis.logic.sharding.2g.2db.0rodb.4proxy.default', - ], - 'IsRds' => [ - 'description' => 'Indicates whether the instance is managed by ApsaraDB RDS. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SecondaryZoneId' => [ - 'description' => 'The ID of the secondary zone.'."\n" - ."\n" - .'> If multiple zones are returned for **ZoneId**, such as cn-hangzhou-MAZ10(h,i), this parameter is ignored.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'apitest', - ], - 'SlaveReadOnlyCount' => [ - 'description' => 'The number of read replicas in the secondary zone.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1nme44gek34slfc****', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'ComputingType' => [ - 'description' => 'The type of the computing resource. Valid values:'."\n" - ."\n" - .'* **Ecs**: cloud-native computing service'."\n" - .'* **Machine**: physical machine'."\n", - 'type' => 'string', - 'example' => 'Ecs', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **double**: The instance contains a master node and a replica node.'."\n" - .'* **single**: The instance contains only a master node. This node type is phased out.'."\n", - 'type' => 'string', - 'example' => 'double', - ], - 'ConnectionMode' => [ - 'description' => 'The connection mode of the instance. Valid values:'."\n" - ."\n" - .'* **Standard**: standard mode'."\n" - .'* **Safe**: database proxy mode'."\n", - 'type' => 'string', - 'example' => 'Standard', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'IsMainSale' => ['description' => 'An internal parameter.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidInstanceIds.Malformed', - 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"Instances\\": {\\n \\"KVStoreInstance\\": [\\n {\\n \\"Connections\\": 20000,\\n \\"EndTime\\": \\"2019-06-13T16:00:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"EditionType\\": \\"Enterprise\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"maxmemory-policy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lfu\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"#no_loose_disabled-commands\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"flushall,flushdb\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"lazyfree-lazy-eviction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yes\\\\\\\\\\\\\\"}\\",\\n \\"Port\\": 6379,\\n \\"DestroyTime\\": \\"2019-04-28T10:03:01Z\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"HasRenewChangeOrder\\": false,\\n \\"ShardCount\\": 3,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"SlaveReplicaCount\\": 1,\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 4096,\\n \\"QPS\\": 100000,\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"PackageType\\": \\"standard\\",\\n \\"Bandwidth\\": 96,\\n \\"InstanceType\\": \\"Redis\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Value\\": \\"value1\\",\\n \\"Key\\": \\"key1\\"\\n }\\n ]\\n },\\n \\"ReplacateId\\": \\"grr-bp11381ebc16****\\",\\n \\"ArchitectureType\\": \\"cluster\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"UserName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"CloudType\\": \\"cloudbox\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"ShardClass\\": \\"redis.shard.small.ce\\",\\n \\"CreateTime\\": \\"2018-11-07T08:49:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ReplicaCount\\": 1,\\n \\"ReadOnlyCount\\": \\"1\\",\\n \\"InstanceClass\\": \\"redis.logic.sharding.2g.2db.0rodb.4proxy.default\\",\\n \\"IsRds\\": true,\\n \\"SecondaryZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceName\\": \\"apitest\\",\\n \\"SlaveReadOnlyCount\\": 1,\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"ComputingType\\": \\"Ecs\\",\\n \\"NodeType\\": \\"double\\",\\n \\"ConnectionMode\\": \\"Standard\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"PageNumber\\":1,\\n \\"TotalCount\\":38,\\n \\"PageSize\\":10,\\n \\"RequestId\\":\\"9099BAE9-BE8A-4B25-8E96-3C22289C70A6\\",\\n \\"Instances\\":{\\n \\"KVStoreInstance\\":[\\n {\\n \\"Config\\":\\"{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"list-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"hash-max-ziplist-entries\\":512,\\"hash-max-ziplist-value\\":64,\\"list-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"zset-max-ziplist-value\\":64}\\",\\n \\"HasRenewChangeOrder\\":false,\\n \\"InstanceId\\":\\"r-xxxxxxxxxxxxxxx\\",\\n \\"UserName\\":\\"r-xxxxxxxxxxxxxxx\\",\\n \\"ZoneId\\":\\"cn-hangzhou-g\\",\\n \\"ArchitectureType\\":\\"standard\\",\\n \\"NetworkType\\":\\"Classic\\",\\n \\"QPS\\":100000,\\n \\"PackageType\\":\\"standard\\",\\n \\"IsRds\\":true,\\n \\"ConnectionDomain\\":\\"r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com\\",\\n \\"EngineVersion\\":\\"2.8\\",\\n \\"InstanceName\\":\\"zhai_test\\",\\n \\"ReplacateId\\":\\"bls-xxxxxxxxxxxxxxx\\",\\n \\"Bandwidth\\":16,\\n \\"ChargeType\\":\\"PostPaid\\",\\n \\"InstanceType\\":\\"Redis\\",\\n \\"InstanceStatus\\":\\"Normal\\",\\n \\"Port\\":6379,\\n \\"InstanceClass\\":\\"redis.master.mid.default\\",\\n \\"RegionId\\":\\"cn-hangzhou\\",\\n \\"CreateTime\\":\\"2018-10-10T04:19:01Z\\",\\n \\"NodeType\\":\\"double\\",\\n \\"Capacity\\":2048,\\n \\"Connections\\":10000\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeInstancesResponse>\\r\\n <Instances>\\r\\n <KVStoreInstance>\\r\\n <Connections>10000</Connections>\\r\\n <ResourceGroupId>rg-acfmyiu4ekp****</ResourceGroupId>\\r\\n <Config>{"EvictionPolicy":"volatile-lru","hash-max-ziplist-entries":512,"zset-max-ziplist-entries":128,"list-max-ziplist-entries":512,"list-max-ziplist-value":64,"zset-max-ziplist-value":64,"set-max-intset-entries":512,"hash-max-ziplist-value":64}</Config>\\r\\n <Port>6379</Port>\\r\\n <HasRenewChangeOrder>false</HasRenewChangeOrder>\\r\\n <ConnectionDomain>r-bp1wcw2rlw76acc5k****.redis.rds.aliyuncs.com</ConnectionDomain>\\r\\n <Capacity>1024</Capacity>\\r\\n <QPS>80000</QPS>\\r\\n <PrivateIp>172.16.49.***</PrivateIp>\\r\\n <InstanceStatus>Normal</InstanceStatus>\\r\\n <NetworkType>VPC</NetworkType>\\r\\n <Bandwidth>10</Bandwidth>\\r\\n <PackageType>standard</PackageType>\\r\\n <InstanceType>Redis</InstanceType>\\r\\n <Tags>\\r\\n <Tag>\\r\\n <Value>社区版</Value>\\r\\n <Key>类型</Key>\\r\\n </Tag>\\r\\n </Tags>\\r\\n <ArchitectureType>standard</ArchitectureType>\\r\\n <UserName>r-bp1wcw2rlw76ac****</UserName>\\r\\n <EngineVersion>5.0</EngineVersion>\\r\\n <ZoneId>cn-hangzhou-f</ZoneId>\\r\\n <InstanceId>r-bp1wcw2rlw76ac****</InstanceId>\\r\\n <VSwitchId>vsw-bp1w9ouei2nm66qlz****</VSwitchId>\\r\\n <CreateTime>2020-03-31T06:56:22Z</CreateTime>\\r\\n <InstanceClass>redis.master.small.default</InstanceClass>\\r\\n <IsRds>true</IsRds>\\r\\n <InstanceName>社区主从50</InstanceName>\\r\\n <VpcId>vpc-bp1opxu1zkhn00gzv****</VpcId>\\r\\n <ChargeType>PostPaid</ChargeType>\\r\\n <NodeType>double</NodeType>\\r\\n <RegionId>cn-hangzhou</RegionId>\\r\\n </KVStoreInstance>\\r\\n </Instances>\\r\\n <TotalCount>1</TotalCount>\\r\\n <RequestId>78DDAA9A-B09E-4BE0-AEAE-10A22924****</RequestId>\\r\\n <PageSize>30</PageSize>\\r\\n <PageNumber>1</PageNumber>\\r\\n</DescribeInstancesResponse>","errorExample":"<DescribeInstancesResponse>\\n <PageNumber>1</PageNumber>\\n <TotalCount>38</TotalCount>\\n <PageSize>10</PageSize>\\n <RequestId>9099BAE9-BE8A-4B25-8E96-3C22289C70A6</RequestId>\\n <Instances>\\n <KVStoreInstance>\\n <Config>{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"list-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"hash-max-ziplist-entries\\":512,\\"hash-max-ziplist-value\\":64,\\"list-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"zset-max-ziplist-value\\":64}</Config>\\n <HasRenewChangeOrder>false</HasRenewChangeOrder>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <UserName>r-xxxxxxxxxxxxxxx</UserName>\\n <ZoneId>cn-hangzhou-g</ZoneId>\\n <ArchitectureType>standard</ArchitectureType>\\n <NetworkType>Classic</NetworkType>\\n <QPS>100000</QPS>\\n <PackageType>standard</PackageType>\\n <IsRds>true</IsRds>\\n <ConnectionDomain>r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com</ConnectionDomain>\\n <EngineVersion>2.8</EngineVersion>\\n <InstanceName>zhai_test</InstanceName>\\n <ReplacateId>bls-xxxxxxxxxxxxxxx</ReplacateId>\\n <Bandwidth>16</Bandwidth>\\n <ChargeType>PostPaid</ChargeType>\\n <InstanceType>Redis</InstanceType>\\n <InstanceStatus>Normal</InstanceStatus>\\n <Port>6379</Port>\\n <InstanceClass>redis.master.mid.default</InstanceClass>\\n <RegionId>cn-hangzhou</RegionId>\\n <CreateTime>2018-10-10T04:19:01Z</CreateTime>\\n <NodeType>double</NodeType>\\n <Capacity>2048</Capacity>\\n <Connections>10000</Connections>\\n </KVStoreInstance>\\n </Instances>\\n</DescribeInstancesResponse>"}]', - 'title' => 'DescribeInstances', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"493B7308-D9C2-55F6-B042-0313BD63****\\",\\n \\"AvailableZones\\": {\\n \\"AvailableZone\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"ZoneName\\": \\"杭州 可用区H\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SupportedEngines\\": {\\n \\"SupportedEngine\\": [\\n {\\n \\"Engine\\": \\"Redis\\",\\n \\"SupportedEditionTypes\\": {\\n \\"SupportedEditionType\\": [\\n {\\n \\"EditionType\\": \\"Enterprise\\",\\n \\"SupportedSeriesTypes\\": {\\n \\"SupportedSeriesType\\": [\\n {\\n \\"SeriesType\\": \\"enhanced_performance_type\\",\\n \\"SupportedEngineVersions\\": {\\n \\"SupportedEngineVersion\\": [\\n {\\n \\"Version\\": \\"5.0\\",\\n \\"SupportedArchitectureTypes\\": {\\n \\"SupportedArchitectureType\\": [\\n {\\n \\"Architecture\\": \\"cluster\\",\\n \\"SupportedShardNumbers\\": {\\n \\"SupportedShardNumber\\": [\\n {\\n \\"ShardNumber\\": \\"8\\",\\n \\"SupportedNodeTypes\\": {\\n \\"SupportedNodeType\\": [\\n {\\n \\"SupportedNodeType\\": \\"double\\",\\n \\"AvailableResources\\": {\\n \\"AvailableResource\\": [\\n {\\n \\"InstanceClassRemark\\": \\"16G集群版(8节点)(QPS:1920000 Connections:240000)\\",\\n \\"Capacity\\": 16384,\\n \\"InstanceClass\\": \\"redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"IsMainSale\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.\\n","errorExample":""}]', + 'title' => 'DescribeAvailableResource', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDedicatedClusterInstanceList' => [ - 'summary' => 'Queries the information of Tair (Redis OSS-compatible) instances deployed in a dedicated cluster.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-18T06:22:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-25T12:05:29.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAvailableResource'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAvailableResource', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeBackupPolicy' => [ + 'summary' => 'Queries the backup policy of a Tair (Redis OSS-compatible) instance, including the backup cycle and backup time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6605,160 +5043,138 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56395', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDER7E8', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], - [ - 'name' => 'ZoneId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The zone ID of the instance. You can call the [DescribeZones](~~473764~~) operation to query the most recent zone list.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-e', + 'type' => 'object', + 'properties' => [ + 'BackupRetentionPeriod' => ['description' => 'The retention period of the backup data. Unit: days.'."\n", 'type' => 'string', 'example' => '7', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '90B82DB7-FB28-4CC2-ADBF-1F8659F3****', 'title' => ''], + 'PreferredBackupPeriod' => ['description' => 'The backup cycle. Valid values:'."\n" + ."\n" + .'* **Monday**'."\n" + .'* **Tuesday**'."\n" + .'* **Wednesday**'."\n" + .'* **Thursday**'."\n" + .'* **Friday**'."\n" + .'* **Saturday**'."\n" + .'* **Sunday**'."\n", 'type' => 'string', 'example' => 'Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday', 'title' => ''], + 'PreferredNextBackupTime' => ['description' => 'The next backup time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2019-03-14T05:28Z', 'title' => ''], + 'PreferredBackupTime' => ['description' => 'The time range during which the backup was created. The time follows the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '05:00Z-06:00Z', 'title' => ''], + 'EnableBackupLog' => ['description' => 'Indicates whether incremental data backup is enabled. Valid values:'."\n" + ."\n" + .'* **1**: Incremental data backup is enabled.'."\n" + .'* **0**: Incremental data backup is disabled.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AccessDeniedDetail' => [ + 'description' => 'The following parameters are no longer used. Ignore the parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'AuthAction' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''], + 'AuthPrincipalDisplayName' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalOwnerId' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'EncodedDiagnosticMessage' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'NoPermissionType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'PolicyType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DbsInstance' => ['description' => 'Indicates whether the backup-as-a-service feature is enabled for the instance. Valid values:'."\n" + ."\n" + .'* **1**: The backup-as-a-service feature is enabled for the instance.'."\n" + .'* **0**: The backup-as-a-service feature is disabled for the instance.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> The instance must be created by using a dedicated cluster. For more information, see [What is ApsaraDB for MyBase?](~~141455~~)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"BackupRetentionPeriod\\": \\"7\\",\\n \\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F3****\\",\\n \\"PreferredBackupPeriod\\": \\"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday\\",\\n \\"PreferredNextBackupTime\\": \\"2019-03-14T05:28Z\\",\\n \\"PreferredBackupTime\\": \\"05:00Z-06:00Z\\",\\n \\"EnableBackupLog\\": 1,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n },\\n \\"DbsInstance\\": \\"0\\"\\n}","errorExample":"{\\n\\t\\"PreferredBackupPeriod\\": \\"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday\\",\\n\\t\\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F30C26\\",\\n\\t\\"PreferredNextBackupTime\\": \\"2018-10-26T19:05Z\\",\\n\\t\\"PreferredBackupTime\\": \\"19:00Z-20:00Z\\",\\n\\t\\"BackupRetentionPeriod\\": \\"7\\"\\n}"},{"type":"xml","example":"<DescribeBackupPolicyResponse>\\n <PreferredBackupPeriod>Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday</PreferredBackupPeriod>\\n <RequestId>90B82DB7-FB28-4CC2-ADBF-1F8659F3****</RequestId>\\n <PreferredNextBackupTime>2018-10-26T19:05Z</PreferredNextBackupTime>\\n <PreferredBackupTime>19:00Z-20:00Z</PreferredBackupTime>\\n <BackupRetentionPeriod>7</BackupRetentionPeriod>\\n</DescribeBackupPolicyResponse>","errorExample":"<PreferredBackupPeriod>Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday</PreferredBackupPeriod>\\n<RequestId>90B82DB7-FB28-4CC2-ADBF-1F8659F30C26</RequestId>\\n<PreferredNextBackupTime>2018-10-26T19:05Z</PreferredNextBackupTime>\\n<PreferredBackupTime>19:00Z-20:00Z</PreferredBackupTime>\\n<BackupRetentionPeriod>7</BackupRetentionPeriod>"}]', + 'title' => 'DescribeBackupPolicy', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-11-13T03:44:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-06T03:07:19.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-31T06:36:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-25T11:33:07.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupPolicy'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'InstanceStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **0**: The instance is being created.'."\n" - .'* **1**: The instance is running.'."\n" - .'* **3**: The instance is being deleted.'."\n" - .'* **5**: The configurations of the instance are being changed.'."\n" - .'* **6**: The instance is being migrated.'."\n" - .'* **7**: The instance is being restored from a backup.'."\n" - .'* **8**: A master-replica switchover is in progress.'."\n" - .'* **9**: Expired data of the instance is being deleted.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackupPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], + ], + ], + 'DescribeBackupTasks' => [ + 'summary' => 'Queries the execution status of backup tasks for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceNetType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **0**: Internet'."\n" - .'* **1**: classic network'."\n" - .'* **2**: Virtual Private Cloud (VPC)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56386', + 'abilityTreeNodes' => ['FEATUREkvstoreQ7TNCG'], + ], + 'parameters' => [ [ - 'name' => 'Engine', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine of the instance. Set the value to **Redis**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'default' => 'Redis', - 'enum' => [ - 'Redis', - ], - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'BackupJobId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine version of the instance. Set the value to **5.0**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5.0', - 'enum' => [ - '5.0', - '6.0', - ], - ], + 'schema' => ['description' => 'The ID of the backup task.'."\n" + ."\n" + .'> If you call the [CreateBackup](~~473819~~) operation to perform a manual backup task, you can set this parameter to the returned backup ID to query the backup progress of the task.'."\n", 'type' => 'string', 'required' => false, 'example' => '1162****', 'pattern' => '^\\d+$', 'title' => ''], ], [ - 'name' => 'ClusterId', + 'name' => 'JobMode', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the dedicated cluster. You can view the dedicated cluster ID on the Dedicated Clusters page in the ApsaraDB for MyBase console.'."\n" + 'description' => 'The backup mode. Valid values:'."\n" ."\n" - .'> Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dhg-5f2v98840ioq****', - ], - ], - [ - 'name' => 'DedicatedHostName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the host in the dedicated cluster. You can call the [DescribeDedicatedHosts](~~200944~~) operation to query the host ID.'."\n" + .'* **Automated**: automatic backup. You can call the [DescribeBackupPolicy](~~473822~~) operation to query the automatic backup policy.'."\n" + .'* **Manual**: manual backup.'."\n" ."\n" - .'> Separate multiple IDs with commas (,).', + .'> By default, the information about backup tasks in both modes is returned.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'ch-t4n664a9mal4c****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'enum' => [ - '30', - '50', - '100', - ], + 'example' => 'Manual', + 'enum' => ['Manual', 'Automated'], + 'title' => '', ], ], ], @@ -6767,266 +5183,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '712CCF2A-16BD-411B-93F7-E978BEF2****', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Instances' => [ - 'description' => 'Details about the instances.'."\n", + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BB73740C-23E2-4392-9DA4-2660C74C****', 'title' => ''], + 'BackupJobs' => [ + 'description' => 'The details of the backup tasks.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'Details about the instance.'."\n", 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-t4n2clc70t3hqwsrr****', - ], - 'CharacterType' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" - ."\n" - .'* **logic**: cluster'."\n" - .'* **normal**: standard'."\n", - 'type' => 'string', - 'example' => 'logic', - ], - 'VswitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-t4nvrca24dczppq44****', - ], - 'InstanceClass' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'example' => 'redis.cluster.sharding.common.ce', - ], - 'MaintainStartTime' => [ - 'description' => 'The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '16:00Z', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2021-05-06T07:09:40Z', - ], - 'ConnectionDomain' => [ - 'description' => 'The private endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com', - ], - 'MaintainEndTime' => [ - 'description' => 'The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '17:00Z', - ], - 'StorageType' => [ - 'description' => 'The storage type of the instance. The return value is LOCAL_SSD, which indicates [enhanced SSDs (ESSDs)](~~122389~~).'."\n", - 'type' => 'string', - 'example' => 'LOCAL_SSD', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1e7vl6ygf1yq****', - ], - 'BandWidth' => [ - 'description' => 'The default bandwidth of the instance. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], - 'CurrentBandWidth' => [ - 'description' => 'The current bandwidth of the instance, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'EngineVersion' => [ - 'description' => 'The database engine version of the instance. The return value is **5.0**.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'testdb', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-e', - ], - 'ClusterName' => [ - 'description' => 'The name of the dedicated cluster to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'testname', - ], - 'InstanceStatus' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is unavailable.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL configurations of the instance are being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'Engine' => [ - 'description' => 'The database engine. The return value is **redis**.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'ShardCount' => [ - 'description' => 'The number of shards.'."\n" - ."\n" - .'> This parameter is returned only when the instance is a [cluster](~~52228~~) instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'CustomId' => [ - 'description' => 'An internal parameter used for the maintenance and management of instances.'."\n", - 'type' => 'string', - 'example' => '4652****', - ], - 'ProxyCount' => [ - 'description' => 'The number of proxy nodes.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If the return value is **0**, the proxy mode is disabled for the instance. If the return value is an integer greater than **0**, such as **1**, the proxy mode is enabled for the instance.'."\n" - ."\n" - .'* This parameter is returned only when the instance is a [cluster](~~52228~~) instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ClusterId' => [ - 'description' => 'The ID of the dedicated cluster to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'dhg-rx71fc5ndh9o****', - ], - 'InstanceNodeList' => [ - 'description' => 'Details about the nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details about the node.'."\n", - 'type' => 'object', - 'properties' => [ - 'NodeIp' => [ - 'description' => 'The IP address of the node.'."\n", - 'type' => 'string', - 'example' => '10.0.33.***', - ], - 'DedicatedHostName' => [ - 'description' => 'The ID of the host in the dedicated cluster.'."\n", - 'type' => 'string', - 'example' => 'ch-bp13vf0y9gx3c****', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **db**: data node.'."\n" - .'* **proxy**: proxy node.'."\n" - .'* **normal**: regular node. This value is returned when the instance runs in the standard architecture.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'ZoneId' => [ - 'description' => 'The zone ID of the node.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1e7vl6ygf1yq****', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the node.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3001', - ], - 'Role' => [ - 'description' => 'The role of the node. Valid values:'."\n" - ."\n" - .'* **master**: master node'."\n" - .'* **slave**: replica node'."\n", - 'type' => 'string', - 'example' => 'master', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '17921111', - ], - ], - ], - ], + 'StartTime' => ['description' => 'The start time of the backup task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2021-01-05T19:24:00Z', 'title' => ''], + 'Process' => ['description' => 'The progress of the backup task in percentage.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'JobMode' => ['description' => 'The backup mode. Valid values:'."\n" + ."\n" + .'* **Automated**: automatic backup'."\n" + .'* **Manual**: manual backup'."\n", 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'BackupJobID' => ['description' => 'The ID of the backup task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '29****10', 'title' => ''], + 'BackupProgressStatus' => ['description' => 'The state of the backup task. Valid values:'."\n" + ."\n" + .'* **NoStart**: The backup task is not started.'."\n" + .'* **Preparing**: The backup task is being prepared.'."\n" + .'* **Waiting**: The backup task is pending.'."\n" + .'* **Uploading**: The system is uploading the backup file.'."\n" + .'* **Checking**: The system is checking the uploaded backup file.'."\n" + .'* **Finished**: The backup task is completed.'."\n", 'type' => 'string', 'example' => 'NoStart', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the data node.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'TaskAction' => ['description' => 'The type of the backup task. Valid values:'."\n" + ."\n" + .'* **TempBackupTask**: The backup task was manually performed.'."\n" + .'* **NormalBackupTask**: The backup task was automatically performed.'."\n", 'type' => 'string', 'example' => 'NormalBackupTask', 'title' => ''], + 'Progress' => ['description' => 'The backup progress.'."\n", 'type' => 'string', 'example' => '27', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => [ + 'description' => 'The following parameters are no longer used. Ignore the parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'AuthAction' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalDisplayName' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalOwnerId' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'EncodedDiagnosticMessage' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'NoPermissionType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], + 'PolicyType' => ['description' => 'This parameter is no longer used. Ignore this parameter.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 25,\\n \\"RequestId\\": \\"712CCF2A-16BD-411B-93F7-E978BEF2****\\",\\n \\"TotalCount\\": 0,\\n \\"Instances\\": [\\n {\\n \\"VpcId\\": \\"vpc-t4n2clc70t3hqwsrr****\\",\\n \\"CharacterType\\": \\"logic\\",\\n \\"VswitchId\\": \\"vsw-t4nvrca24dczppq44****\\",\\n \\"InstanceClass\\": \\"redis.cluster.sharding.common.ce\\",\\n \\"MaintainStartTime\\": \\"16:00Z\\",\\n \\"CreateTime\\": \\"2021-05-06T07:09:40Z\\",\\n \\"ConnectionDomain\\": \\"r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com\\",\\n \\"MaintainEndTime\\": \\"17:00Z\\",\\n \\"StorageType\\": \\"LOCAL_SSD\\",\\n \\"InstanceId\\": \\"r-bp1e7vl6ygf1yq****\\",\\n \\"BandWidth\\": 24,\\n \\"CurrentBandWidth\\": 50,\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceName\\": \\"testdb\\",\\n \\"ZoneId\\": \\"cn-hangzhou-e\\",\\n \\"ClusterName\\": \\"testname\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ShardCount\\": 3,\\n \\"CustomId\\": \\"4652****\\",\\n \\"ProxyCount\\": 1,\\n \\"ClusterId\\": \\"dhg-rx71fc5ndh9o****\\",\\n \\"InstanceNodeList\\": [\\n {\\n \\"NodeIp\\": \\"10.0.33.***\\",\\n \\"DedicatedHostName\\": \\"ch-bp13vf0y9gx3c****\\",\\n \\"NodeType\\": \\"normal\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceId\\": \\"r-bp1e7vl6ygf1yq****\\",\\n \\"Port\\": 3001,\\n \\"Role\\": \\"master\\",\\n \\"NodeId\\": 17921111\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDedicatedClusterInstanceListResponse>\\n <Instances>\\n <StorageType>LOCAL_SSD</StorageType>\\n <EngineVersion>5.0</EngineVersion>\\n <ZoneId>cn-hangzhou-e</ZoneId>\\n <InstanceId>r-bp1e7vl6ygf1yq****</InstanceId>\\n <ClusterId>dhg-rx71fc5ndh9o****</ClusterId>\\n <CreateTime>2021-05-06T07:09:40Z</CreateTime>\\n <InstanceClass>redis.cluster.sharding.common.ce</InstanceClass>\\n <CharacterType>logic</CharacterType>\\n <VswitchId>vsw-t4nvrca24dczppq44****</VswitchId>\\n <CurrentBandWidth>50</CurrentBandWidth>\\n <ShardCount>3</ShardCount>\\n <ConnectionDomain>r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com</ConnectionDomain>\\n <InstanceName>testdb</InstanceName>\\n <BandWidth>24</BandWidth>\\n <MaintainEndTime>17:00Z</MaintainEndTime>\\n <VpcId>vpc-t4n2clc70t3hqwsrr****</VpcId>\\n <InstanceStatus>Normal</InstanceStatus>\\n <CustomId>4652****</CustomId>\\n <ProxyCount>1</ProxyCount>\\n <ClusterName>testname</ClusterName>\\n <RegionId>cn-hangzhou</RegionId>\\n <Engine>redis</Engine>\\n <MaintainStartTime>16:00Z</MaintainStartTime>\\n <InstanceNodeList>\\n <Role>master</Role>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <DedicatedHostName>ch-bp13vf0y9gx3c****</DedicatedHostName>\\n <InstanceId>r-bp1e7vl6ygf1yq****</InstanceId>\\n <Port>3001</Port>\\n <NodeType>normal</NodeType>\\n <NodeId>17921111</NodeId>\\n <NodeIp>10.0.33.***</NodeIp>\\n </InstanceNodeList>\\n </Instances>\\n <TotalCount>1</TotalCount>\\n <RequestId>712CCF2A-16BD-411B-93F7-E978BEF2****</RequestId>\\n <PageSize>30</PageSize>\\n <PageNumber>1</PageNumber>\\n</DescribeDedicatedClusterInstanceListResponse>","errorExample":""}]', - 'title' => 'DescribeDedicatedClusterInstanceList', - 'description' => '> If you want to query the information about Tair (Redis OSS-compatible) instances that are not deployed in a dedicated cluster, call the [DescribeInstanceAttribute](~~473779~~) operation.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"BB73740C-23E2-4392-9DA4-2660C74C****\\",\\n \\"BackupJobs\\": [\\n {\\n \\"StartTime\\": \\"2021-01-05T19:24:00Z\\",\\n \\"Process\\": \\"0\\",\\n \\"JobMode\\": \\"Manual\\",\\n \\"BackupJobID\\": 0,\\n \\"BackupProgressStatus\\": \\"NoStart\\",\\n \\"NodeId\\": \\"****\\",\\n \\"TaskAction\\": \\"NormalBackupTask\\",\\n \\"Progress\\": \\"27\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeBackupTasksResponse>\\r\\n <RequestId>BB73740C-23E2-4392-9DA4-2660C74C****</RequestId>\\r\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\r\\n <BackupJobs>\\r\\n <JobMode>Automated</JobMode>\\r\\n <TaskAction>NormalBackupTask</TaskAction>\\r\\n <StartTime>2021-01-05T19:24:00Z</StartTime>\\r\\n <BackupProgressStatus>NoStart</BackupProgressStatus>\\r\\n <Process>0</Process>\\r\\n <BackupJobID>8491111</BackupJobID>\\r\\n </BackupJobs>\\r\\n</DescribeBackupTasksResponse>","errorExample":""}]', + 'title' => 'DescribeBackupTasks', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceAttribute' => [ - 'summary' => 'Queries the attribute of Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-01-15T06:27:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-26T02:50:30.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-13T03:44:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-06T03:20:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-25T11:33:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-16T04:05:04.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupTasks'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackupTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'DescribeBackups' => [ + 'summary' => 'Queries information about backup files for a Redis-compatible ApsaraDB for Tair instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7038,463 +5290,216 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56403', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'abilityTreeCode' => '56385', + 'abilityTreeNodes' => ['FEATUREkvstore6TUUNS'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'BackupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the backup file.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11611111', 'title' => ''], + ], + [ + 'name' => 'BackupJobId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the backup job returned by the `CreateBackup` operation. If `CreateBackup` returns multiple backup job IDs, call this operation for each ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10001', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'description' => 'The maximum number of entries to return per page. Valid values: `30`, `50`, `100`, `200`, and `300`.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'default' => '30', + 'enum' => ['30', '50', '100', '200', '300', '1000'], + 'example' => '30', + 'title' => '', ], ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return. The value must be greater than **0**. The default value is **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time for the query. Specify the time in UTC using the *yyyy-MM-dd*T*HH:mm*Z format.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-11T10:00Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time for the query. The end time must be later than the start time. Specify the time in UTC using the *yyyy-MM-dd*T*HH:mm*Z format.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-14T18:00Z', 'title' => ''], + ], + [ + 'name' => 'NeedAof', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable AOF persistence. Valid values:'."\n" + ."\n" + .'- **0**: Disabled.'."\n" + ."\n" + .'- **1**: Enabled.'."\n" + ."\n" + .'> The default value is **0**.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CA40C261-EB72-4EDA-AC57-958722162595', - ], - 'Instances' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '963C20F0-7CE1-4591-AAF3-6F3CD1CE****', 'title' => ''], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of backup sets.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'FullStorageSize' => ['description' => 'The total size of full backups for the instance, in bytes. Full backups are generated from scheduled daily backups, manual backups, or cache analysis.'."\n" + ."\n" + .'> This value represents the total size of all valid full backups for the instance, regardless of the backup sets returned in this request.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'LogStorageSize' => ['description' => 'The total size of log backups for the instance, in bytes. This parameter is returned only if flashback is enabled.'."\n" + ."\n" + .'> This value represents the total size of all valid log backups for the instance, regardless of the backup sets returned in this request.', 'type' => 'integer', 'format' => 'int64', 'example' => '5000', 'title' => ''], + 'FreeSize' => ['description' => '<props="china">The free backup quota for the instance, in bytes. The free quota is equal to the default memory size of the instance type. For more information, see [Changes to the free backup quota policy](~~2664017~~).'."\n" + .'Full backups and log backups share this free quota. When the instance type is changed, the free quota also changes.</props>'."\n" + .'<props="intl">This parameter is not in effect. Ignore this parameter.</props>', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'Backups' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DBInstanceAttribute' => [ - 'description' => 'Details about the instances.'."\n", + 'Backup' => [ + 'description' => 'An array of backup sets.', 'type' => 'array', 'items' => [ + 'description' => 'The details of a backup set.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1nme44gek34slfc****', - ], - 'PrivateIp' => [ - 'description' => 'The private IP address of the instance.'."\n" - ."\n" - .'> This parameter is not returned when the instance is deployed in the classic network.'."\n", - 'type' => 'string', - 'example' => '172.16.49.***', - ], - 'Capacity' => [ - 'description' => 'The storage capacity of the instance. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2019-03-06T10:42:03Z', - ], - 'ConnectionDomain' => [ - 'description' => 'The internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1d72gwl41z7f****.redis.rds.aliyuncs.com', - ], - 'IsRds' => [ - 'description' => 'Indicates whether the instance is managed by ApsaraDB RDS. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'StorageType' => [ - 'description' => 'The storage type.'."\n", - 'type' => 'string', - 'example' => 'essd_pl1', - ], - 'VpcAuthMode' => [ - 'description' => 'Indicates whether password authentication is enabled. Valid values:'."\n" - ."\n" - .'* **Open**: Password authentication is enabled.'."\n" - .'* **Close**: Password authentication is disabled and [password-free access](~~85168~~) is enabled.'."\n", - 'type' => 'string', - 'example' => 'Open', - ], - 'ArchitectureType' => [ - 'description' => 'The architecture of the instance. Valid values:'."\n" - ."\n" - .'* **cluster**: cluster architecture'."\n" - .'* **standard**: standard architecture'."\n" - .'* **rwsplit**: read/write splitting architecture'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'AvailabilityValue' => [ - 'description' => 'The availability metric of the current month.'."\n", - 'type' => 'string', - 'example' => '100%', - ], - 'NetworkType' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **CLASSIC**'."\n" - .'* **VPC**'."\n", - 'type' => 'string', - 'example' => 'CLASSIC', - ], - 'Port' => [ - 'description' => 'The service port of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6379', - ], - 'SecondaryZoneId' => [ - 'description' => 'The ID of the secondary zone.'."\n" - ."\n" - .'> This parameter is returned only if the instance has a secondary zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hongkong-h', - ], - 'PackageType' => [ - 'description' => 'The plan type. Valid values:'."\n" - ."\n" - .'* **standard**: standard plan.'."\n" - .'* **customized**: custom plan. This plan type is phased out.'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'EngineVersion' => [ - 'description' => 'The database engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.'."\n", - 'type' => 'string', - 'example' => '4.0', - ], - 'Config' => [ - 'description' => 'The parameter configurations of the instance in the JSON format. For more information, see [Parameter descriptions](~~43885~~). You can use the [DescribeAuditLogConfig](~~473830~~) operation to query audit log configurations.'."\n", - 'type' => 'string', - 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', - ], - 'VpcCloudInstanceId' => [ - 'description' => 'The ID of the instance in the VPC.'."\n", - 'type' => 'string', - 'example' => 'r-bp1d72gwl41z7f****', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the instance. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'apitest', - ], - 'SecurityIPList' => [ - 'description' => 'The IP addresses in the whitelist.'."\n", - 'type' => 'string', - 'example' => '127.0.0.1', - ], - 'ShardCount' => [ - 'description' => 'The number of shards. This parameter is available only for instances that are purchased on the China site (aliyun.com).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ReplicaCount' => [ - 'description' => 'The number of replica nodes in the primary zone.'."\n" - ."\n" - .'> The **ReplicaCount** and **SlaveReplicaCount** parameters are applicable only to cloud-native instances. If the instance is a cluster instance, the preceding parameters indicate the number of replica nodes **per node** in the primary and secondary zones of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SlaveReplicaCount' => [ - 'description' => 'The number of replica nodes in the secondary zone.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReadOnlyCount' => [ - 'description' => 'The number of read replicas. This parameter is available only for read/write splitting instances that use cloud disks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'SlaveReadOnlyCount' => [ - 'description' => 'The number of read replicas in the secondary zone. This parameter is returned only after read/write splitting is enabled for the instance across multiple zones.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'GlobalInstanceId' => [ - 'description' => 'The ID of the distributed instance to which the instance belongs.'."\n" - ."\n" - .'> This parameter is returned only when the Tair (Redis OSS-compatible) instance is a child instance of a distributed instance.', - 'type' => 'string', - 'example' => 'gr-bp14rkqrhac****', - ], - 'QPS' => [ - 'description' => 'The expected maximum queries per second (QPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'AuditLogRetention' => [ - 'description' => 'The retention period of audit logs. Unit: day. A value of 0 indicates that the audit log feature is disabled. For information about how to enable the feature, see [Enable the audit log feature](~~102015~~).'."\n", - 'type' => 'string', - 'example' => '15', - ], - 'ZoneType' => [ - 'description' => 'The deployment type of the instance. Valid values:'."\n" - ."\n" - .'* **singlezone**: The instance is deployed in a single zone.'."\n" - .'* **doublezone**: The instance is deployed in two zones of the same region.'."\n", - 'type' => 'string', - 'example' => 'singlezone', - ], - 'MaintainStartTime' => [ - 'description' => 'The start time of the maintenance window. The time is in the *HH:mmZ* format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '18:00Z', - ], - 'MaintainEndTime' => [ - 'description' => 'The end time of the maintenance window. The time is in the *HH:mmZ* format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '22:00Z', - ], - 'InstanceClass' => [ - 'description' => 'The instance type. For more information, see [Instance types](~~107984~~).'."\n", - 'type' => 'string', - 'example' => 'redis.master.small.default', - ], - 'RealInstanceClass' => [ - 'description' => 'If the instance is a cluster instance that uses cloud disks, this parameter indicates the actual instance type of individual shards in the instance. The InstanceClass parameter indicates the virtual instance type.'."\n" - ."\n" - .'> To query fees for instances of the instance type, you can specify the instance type that is returned by this parameter in the [DescribePrice](~~473807~~) operation.', - 'type' => 'string', - 'example' => 'tair.rdb.with.proxy.1g', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1d72gwl41z7f****', - ], - 'InstanceType' => [ - 'description' => 'The database engine of the instance. Valid values:'."\n" - ."\n" - .'* **Tair**'."\n" - .'* **Redis**'."\n" - .'* **Memcache**'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'HasRenewChangeOrder' => [ - 'description' => 'Indicates whether your Alibaba Cloud account has pending orders for renewal and configuration change. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'InstanceReleaseProtection' => [ - 'description' => 'Indicates whether the release protection feature is enabled for the instance. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ReplicationMode' => [ - 'description' => 'The architecture of the replica node. Valid values:'."\n" - ."\n" - .'* **master-slave**: the standard master-replica architecture.'."\n" - .'* **cluster**: the cluster architecture, which includes the read/write splitting instances and cluster instances.'."\n", - 'type' => 'string', - 'example' => 'master-slave', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EndTime' => [ - 'description' => 'The time when the subscription expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2019-04-06T10:42:03Z', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1e7clcw529l773d****', - ], - 'ReplicaId' => [ - 'description' => 'The ID of the replica node.'."\n", - 'type' => 'string', - 'example' => 'bls-awxxxxxxxxxxxxx', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **double**: The instance contains a master node and a replica node.'."\n" - .'* **single**: The instance is a standalone instance.'."\n", - 'type' => 'string', - 'example' => 'double', - ], - 'Connections' => [ - 'description' => 'The maximum number of connections supported by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'BackupLogStartTime' => [ - 'description' => 'The earliest point in time to which data can be restored. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is returned only when the data flashback feature is enabled for the instance. For more information, see [Restore data to a point in time by using the data flashback feature](~~148479~~).'."\n" - ."\n" - .'* When you call the [RestoreInstance](~~473824~~) operation to implement data flashback, you can obtain the earliest point in time for data flashback from the return value of this parameter and set the **RestoreTime** parameter to this point in time.', - 'type' => 'string', - 'example' => '2021-07-06T05:49:55Z', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmyiu4ekp****', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hongkong-b', - ], - 'InstanceStatus' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is being changed.'."\n" - .'* **Unavailable**: The instance is unavailable.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL configurations of the instance are being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n" - ."\n" - .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'Engine' => [ - 'description' => 'The database engine of the instance. The return value is **Redis**.'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'Storage' => [ - 'description' => 'The storage capacity of the cloud disk.'."\n", - 'type' => 'string', - 'example' => '50', - ], - 'CloudType' => [ - 'description' => 'This parameter is returned only when the instance is in a cloud box.'."\n", - 'type' => 'string', - 'example' => 'cloudbox', - ], - 'IsOrderCompleted' => [ - 'description' => 'Indicates whether the order for instance configuration change has reached the final state. Valid values:'."\n" - ."\n" - .'* **true**: The configuration change has been completed or has not been performed.'."\n" - .'* **false**: The configurations of the instance are being changed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IsSupportTDE' => [ - 'description' => 'Indicates whether the transparent data encryption (TDE) feature is supported for the instance. Valid values:'."\n" - ."\n" - .'* **true**: This feature is supported only for DRAM-based classic instances.'."\n" - .'* **false**: This feature is not supported.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tags' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Tag' => [ - 'description' => 'Details about the tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'tagkey', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'tagvalue', - ], - ], - ], - ], - ], - ], - 'AutoSecondaryZone' => [ - 'description' => 'Indicates whether a secondary zone is automatically allocated.'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ComputingType' => [ - 'type' => 'string', - ], + 'BackupStatus' => ['description' => 'The backup status. Valid values:'."\n" + ."\n" + .'- **Success**: The backup was successful.'."\n" + ."\n" + .'- **Failed**: The backup failed.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'BackupStartTime' => ['description' => 'The start time of the backup.', 'type' => 'string', 'example' => '2019-03-14T05:28:50Z', 'title' => ''], + 'BackupType' => ['description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **FullBackup**: A full backup.'."\n" + ."\n" + .'- **IncrementalBackup**: An incremental backup.', 'type' => 'string', 'example' => 'FullBackup', 'title' => ''], + 'BackupDownloadURL' => ['description' => 'The public download URL of the backup set.', 'type' => 'string', 'example' => 'https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********', 'title' => ''], + 'NodeInstanceId' => ['description' => 'The node ID.'."\n" + ."\n" + .'> For a Standard Edition instance, this parameter returns the instance ID.', 'type' => 'string', 'example' => 'r-bp10noxlhcoim2****-db-1', 'title' => ''], + 'BackupEndTime' => ['description' => 'The completion time of the backup.', 'type' => 'string', 'example' => '2019-03-14T05:31:13Z', 'title' => ''], + 'BackupId' => ['description' => 'The ID of the backup set.', 'type' => 'integer', 'format' => 'int64', 'example' => '165*****50', 'title' => ''], + 'BackupDBNames' => ['description' => 'The backed-up databases. A value of **all** indicates that all databases were backed up.', 'type' => 'string', 'example' => 'all', 'title' => ''], + 'EngineVersion' => ['description' => 'The engine version of the instance. It specifies the compatible Redis version.', 'type' => 'string', 'example' => '4.0', 'title' => ''], + 'BackupIntranetDownloadURL' => ['description' => 'The internal download URL of the backup set.'."\n" + ."\n" + .'> You can use this URL to download the backup set from an ECS instance that is in the same VPC as the database instance.', 'type' => 'string', 'example' => 'https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********', 'title' => ''], + 'BackupSize' => ['description' => 'The size of the backup set, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], + 'BackupMode' => ['description' => 'The backup mode. Valid values:'."\n" + ."\n" + .'- **Automated**: An automated backup.'."\n" + ."\n" + .'- **Manual**: A manual backup.', 'type' => 'string', 'example' => 'Automated', 'title' => ''], + 'BackupMethod' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **Logical**: A logical backup.'."\n" + ."\n" + .'- **Physical**: A physical backup.', 'type' => 'string', 'example' => 'Physical', 'title' => ''], + 'BackupJobID' => ['description' => 'The ID of the backup job.', 'type' => 'integer', 'format' => 'int64', 'example' => '24340', 'title' => ''], + 'RecoverConfigMode' => ['description' => 'Indicates whether the backup set includes configuration information such as accounts (`account`), kernel parameters (`config`), and allowlists (`whitelist`).'."\n" + ."\n" + .'> This parameter is available only for Cloud Native Edition instances. If you modify these settings, for example, create an account or add an IP address to an allowlist, the updated information is automatically included in subsequent backup sets.', 'type' => 'string', 'example' => '{"whitelist":true,"config":true,"account":true}', 'title' => ''], + 'ExpectExpireTime' => ['description' => 'The expiration time of the backup set. The time is in UTC and uses the *yyyy-MM-dd*T*HH:mm:ss*Z format.', 'type' => 'string', 'example' => '2025-06-01T21:51:22Z', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => 'Details about the backup sets.', + 'title' => '', + 'example' => '', + ], + 'AccessDeniedDetail' => [ + 'description' => 'This parameter is deprecated.', + 'type' => 'object', + 'properties' => [ + 'AuthAction' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalDisplayName' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalOwnerId' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'AuthPrincipalType' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'EncodedDiagnosticMessage' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'NoPermissionType' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + 'PolicyType' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'description' => 'The response parameters.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CA40C261-EB72-4EDA-AC57-958722162595\\",\\n \\"Instances\\": {\\n \\"DBInstanceAttribute\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 1024,\\n \\"CreateTime\\": \\"2019-03-06T10:42:03Z\\",\\n \\"ConnectionDomain\\": \\"r-bp1d72gwl41z7f****.redis.rds.aliyuncs.com\\",\\n \\"IsRds\\": true,\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"StorageType\\": \\"essd_pl1\\",\\n \\"VpcAuthMode\\": \\"Open\\",\\n \\"ArchitectureType\\": \\"standard\\",\\n \\"AvailabilityValue\\": \\"100%\\",\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"Port\\": 6379,\\n \\"SecondaryZoneId\\": \\"cn-hongkong-h\\",\\n \\"PackageType\\": \\"standard\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"VpcCloudInstanceId\\": \\"r-bp1d72gwl41z7f****\\",\\n \\"Bandwidth\\": 10,\\n \\"InstanceName\\": \\"apitest\\",\\n \\"SecurityIPList\\": \\"127.0.0.1\\",\\n \\"ShardCount\\": 2,\\n \\"ReplicaCount\\": 1,\\n \\"SlaveReplicaCount\\": 1,\\n \\"ReadOnlyCount\\": 5,\\n \\"SlaveReadOnlyCount\\": 2,\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"QPS\\": 100000,\\n \\"AuditLogRetention\\": \\"15\\",\\n \\"ZoneType\\": \\"singlezone\\",\\n \\"MaintainStartTime\\": \\"18:00Z\\",\\n \\"MaintainEndTime\\": \\"22:00Z\\",\\n \\"InstanceClass\\": \\"redis.master.small.default\\",\\n \\"RealInstanceClass\\": \\"tair.rdb.with.proxy.1g\\",\\n \\"InstanceId\\": \\"r-bp1d72gwl41z7f****\\",\\n \\"InstanceType\\": \\"Redis\\",\\n \\"HasRenewChangeOrder\\": \\"false\\",\\n \\"InstanceReleaseProtection\\": false,\\n \\"ReplicationMode\\": \\"master-slave\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"EndTime\\": \\"2019-04-06T10:42:03Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ReplicaId\\": \\"bls-awxxxxxxxxxxxxx\\",\\n \\"NodeType\\": \\"double\\",\\n \\"Connections\\": 10000,\\n \\"BackupLogStartTime\\": \\"2021-07-06T05:49:55Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"ZoneId\\": \\"cn-hongkong-b\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"Storage\\": \\"50\\",\\n \\"CloudType\\": \\"cloudbox\\",\\n \\"IsOrderCompleted\\": true,\\n \\"IsSupportTDE\\": true,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"tagkey\\",\\n \\"Value\\": \\"tagvalue\\"\\n }\\n ]\\n },\\n \\"AutoSecondaryZone\\": true,\\n \\"ComputingType\\": \\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceAttributeResponse>\\n <Instances>\\n <DBInstanceAttribute>\\n <Connections>10000</Connections>\\n <ResourceGroupId>rg-acfmyiu4ekp****</ResourceGroupId>\\n <Config>{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}</Config>\\n <Port>6379</Port>\\n <HasRenewChangeOrder>false</HasRenewChangeOrder>\\n <ZoneType>singlezone</ZoneType>\\n <ConnectionDomain>r-bp1wcw2rlw76acc5k****.redis.rds.aliyuncs.com</ConnectionDomain>\\n <MaintainEndTime>22:00Z</MaintainEndTime>\\n <Capacity>1024</Capacity>\\n <QPS>100000</QPS>\\n <PrivateIp>172.16.49.***</PrivateIp>\\n <SecurityIPList>127.0.0.1</SecurityIPList>\\n <InstanceStatus>Normal</InstanceStatus>\\n <NetworkType>VPC</NetworkType>\\n <Bandwidth>10</Bandwidth>\\n <PackageType>standard</PackageType>\\n <InstanceReleaseProtection>false</InstanceReleaseProtection>\\n <InstanceType>Redis</InstanceType>\\n <AvailabilityValue>100.0%</AvailabilityValue>\\n <Engine>Redis</Engine>\\n <MaintainStartTime>18:00Z</MaintainStartTime>\\n <Tags>\\n <Tag>\\n <Value>社区版</Value>\\n <Key>类型</Key>\\n </Tag>\\n </Tags>\\n <ArchitectureType>standard</ArchitectureType>\\n <EngineVersion>5.0</EngineVersion>\\n <ZoneId>cn-hangzhou-f</ZoneId>\\n <InstanceId>r-bp1wcw2rlw76ac****</InstanceId>\\n <VSwitchId>vsw-bp1w9ouei2nm66qlz****</VSwitchId>\\n <CreateTime>2020-03-31T14:56:22Z</CreateTime>\\n <InstanceClass>redis.master.small.default</InstanceClass>\\n <AuditLogRetention>7</AuditLogRetention>\\n <IsRds>true</IsRds>\\n <ReplicationMode>master-slave</ReplicationMode>\\n <InstanceName>社区主从50</InstanceName>\\n <VpcId>vpc-bp1opxu1zkhn00gzv****</VpcId>\\n <ChargeType>PostPaid</ChargeType>\\n <VpcAuthMode>Open</VpcAuthMode>\\n <NodeType>double</NodeType>\\n <VpcCloudInstanceId>r-bp1wcw2rlw76ac****</VpcCloudInstanceId>\\n <RegionId>cn-hangzhou</RegionId>\\n </DBInstanceAttribute>\\n </Instances>\\n <RequestId>D67A69DF-C1FC-4B01-B239-B17888CCFD2A</RequestId>\\n</DescribeInstanceAttributeResponse>","errorExample":""}]', - 'title' => 'DescribeInstanceAttribute', - ], - 'DescribeGlobalDistributeCache' => [ - 'summary' => 'Queries the details of a distributed Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter StartTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter EndTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Malformed', 'errorMessage' => 'The Specified EngieVersion is not valid.', 'description' => ''], + ['errorCode' => 'InvalidStartTimeAndEndTime.Malformed', 'errorMessage' => 'The end time must be greater than the start time.', 'description' => 'The end time must be later than the start time.'], + ['errorCode' => 'InvalidPageSize.Malformed', 'errorMessage' => 'The specified parameter PageSize is not valid.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"963C20F0-7CE1-4591-AAF3-6F3CD1CE****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 5,\\n \\"FullStorageSize\\": 1000,\\n \\"LogStorageSize\\": 5000,\\n \\"FreeSize\\": 100000,\\n \\"Backups\\": {\\n \\"Backup\\": [\\n {\\n \\"BackupStatus\\": \\"Success\\",\\n \\"BackupStartTime\\": \\"2019-03-14T05:28:50Z\\",\\n \\"BackupType\\": \\"FullBackup\\",\\n \\"BackupDownloadURL\\": \\"https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********\\",\\n \\"NodeInstanceId\\": \\"r-bp10noxlhcoim2****-db-1\\",\\n \\"BackupEndTime\\": \\"2019-03-14T05:31:13Z\\",\\n \\"BackupId\\": 0,\\n \\"BackupDBNames\\": \\"all\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"BackupIntranetDownloadURL\\": \\"https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********\\",\\n \\"BackupSize\\": 1024,\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupMethod\\": \\"Physical\\",\\n \\"BackupJobID\\": 24340,\\n \\"RecoverConfigMode\\": \\"{\\\\\\"whitelist\\\\\\":true,\\\\\\"config\\\\\\":true,\\\\\\"account\\\\\\":true}\\",\\n \\"ExpectExpireTime\\": \\"2025-06-01T21:51:22Z\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n }\\n}","type":"json"}]', + 'title' => 'View backup set list', + 'description' => 'This operation does not apply to cloud-native cluster instances. Instead, use the [DescribeClusterBackupList](~~2679168~~) operation.', + 'changeSet' => [ + ['createdAt' => '2025-04-22T09:36:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-09-06T02:35:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-23T02:14:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-06T11:17:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-26T02:50:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-22T08:55:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-03T02:35:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-13T03:44:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-06T03:20:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-25T11:33:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T09:09:14.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackups'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'DescribeCacheAnalysisReport' => [ + 'summary' => 'Queries the cache analysis report of an instance on a specified date.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7504,54 +5509,62 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '56401', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - ], + 'abilityTreeCode' => '56387', + 'abilityTreeNodes' => ['FEATUREkvstoreIG5O17', 'FEATUREkvstoreUR6WYE'], ], 'parameters' => [ [ - 'name' => 'GlobalInstanceId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the distributed instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gr-bp14rkqrhac****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Date', + 'in' => 'query', + 'schema' => ['description' => 'The date to query. You can query the report for one day each time. Specify the date in the *yyyy-MM-dd*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-08-05Z', 'title' => ''], + ], + [ + 'name' => 'AnalysisType', 'in' => 'query', 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", + 'description' => 'The type of analytics. Set the value to **BigKey**.'."\n", 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', + 'required' => true, + 'docRequired' => true, + 'example' => 'BigKey', + 'enum' => ['HotKey', 'BigKey'], + 'title' => '', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'The number of entries to return each page.'."\n", - 'type' => 'string', + 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" + ."\n" + .'> The default value is **30**.'."\n", + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => '20', - 'default' => '20', + 'example' => '30', + 'default' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], [ - 'name' => 'SubInstanceId', + 'name' => 'PageNumbers', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the child instance that is attached to the distributed instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gr-bp1zcjlobkyrq****', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n" + ."\n" + .'> If the parameter value exceeds the maximum number of the returned pages, an empty large key list is returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the child node in the cluster instance.'."\n" + ."\n" + .'> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], ], 'responses' => [ @@ -7559,452 +5572,231 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F3F44BE3-5419-4B61-9BAC-E66E295A****', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A057C066-C3F5-4CC9-9FE4-A8D8B0DC****', 'title' => ''], + 'PageRecordCount' => ['description' => 'The number of entries returned on the current page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '160', 'title' => ''], + 'BigKeys' => [ + 'description' => 'Details of the large keys.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The large key involved.'."\n", 'type' => 'object', 'example' => '[{"db": "0", "qps": 0, "keyType": "list", "isExpired": "no", "analysisType": "BIGKEY", "key": "mylist", "memory": 1005377, "size": 200000}]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'GlobalDistributeCaches' => [ - 'description' => 'Details of the distributed instance.'."\n", + 'HotKeys' => [ + 'description' => 'Details of the hotkeys.'."\n" + ."\n" + .'> This parameter is not returned because Tair (Redis OSS-compatible) does not support hotkey analytics.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The state of the distributed instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Creating**: The instance is being created.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'GlobalInstanceId' => [ - 'description' => 'The ID of the distributed instance.'."\n", - 'type' => 'string', - 'example' => 'gr-bp14rkqrhac****', - ], - 'SubInstances' => [ - 'description' => 'Details of the child instances.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceStatus' => [ - 'description' => 'The state of the child instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - .'* **Changing**: The configurations of the instance are being changed.'."\n" - .'* **Inactive**: The instance is disabled.'."\n" - .'* **Flushing**: The instance is being released.'."\n" - .'* **Released**: The instance is released.'."\n" - .'* **Transforming**: The billing method of the instance is changing.'."\n" - .'* **Unavailable**: The instance is suspended.'."\n" - .'* **Error**: The instance failed to be created.'."\n" - .'* **Migrating**: The instance is being migrated.'."\n" - .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" - .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" - .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" - .'* **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" - .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains available during the upgrade.'."\n" - ."\n" - .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'InstanceID' => [ - 'description' => 'The ID of the child instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'InstanceClass' => [ - 'description' => 'The instance type of the child instance. For more information, see the following topics:'."\n" - ."\n" - .'* [Standard DRAM-based instances](~~145228~~)'."\n" - .'* [Cluster DRAM-based instances](~~150458~~)'."\n" - .'* [Read/write splitting DRAM-based instances](~~150459~~)'."\n", - 'type' => 'string', - 'example' => 'redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread', - ], - 'GlobalInstanceId' => [ - 'description' => 'The ID of the distributed instance.'."\n", - 'type' => 'string', - 'example' => 'gr-bp14rkqrhac****', - ], - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], - ], - ], + 'items' => ['description' => 'The hot key involved.'."\n", 'type' => 'object', 'example' => '[]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"F3F44BE3-5419-4B61-9BAC-E66E295A****\\",\\n \\"PageNumber\\": 1,\\n \\"TotalRecordCount\\": 1,\\n \\"GlobalDistributeCaches\\": [\\n {\\n \\"Status\\": \\"Normal\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"SubInstances\\": [\\n {\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"InstanceID\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceClass\\": \\"redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeGlobalDistributeCacheResponse>\\r\\n <TotalRecordCount>1</TotalRecordCount>\\r\\n <GlobalDistributeCaches>\\r\\n <Status>Normal</Status>\\r\\n <SubInstances>\\r\\n <InstanceID>r-bp14of12k0f0lw****</InstanceID>\\r\\n <InstanceStatus>Normal</InstanceStatus>\\r\\n <GlobalInstanceId>gr-bp1zcjlobkyrq****</GlobalInstanceId>\\r\\n <InstanceClass>redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread</InstanceClass>\\r\\n <RegionId>cn-hangzhou</RegionId>\\r\\n </SubInstances>\\r\\n <GlobalInstanceId>gr-bp1zcjlobkyrq****</GlobalInstanceId>\\r\\n </GlobalDistributeCaches>\\r\\n <RequestId>F3F44BE3-5419-4B61-9BAC-E66E295A****</RequestId>\\r\\n <PageSize>20</PageSize>\\r\\n <PageNumber>1</PageNumber>\\r\\n</DescribeGlobalDistributeCacheResponse>","errorExample":""}]', - 'title' => 'DescribeGlobalDistributeCache', - 'description' => '## Debugging'."\n" + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support this operation.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"RequestId\\": \\"A057C066-C3F5-4CC9-9FE4-A8D8B0DC****\\",\\n \\"PageRecordCount\\": 30,\\n \\"TotalRecordCount\\": 160,\\n \\"BigKeys\\": [\\n [\\n {\\n \\"db\\": \\"0\\",\\n \\"qps\\": 0,\\n \\"keyType\\": \\"list\\",\\n \\"isExpired\\": \\"no\\",\\n \\"analysisType\\": \\"BIGKEY\\",\\n \\"key\\": \\"mylist\\",\\n \\"memory\\": 1005377,\\n \\"size\\": 200000\\n }\\n ]\\n ],\\n \\"HotKeys\\": [\\n []\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCacheAnalysisReportResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n\\t<TotalRecordCount>160</TotalRecordCount>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<RequestId>A057C066-C3F5-4CC9-9FE4-A8D8B0DC****</RequestId>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>list</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>mylist</key>\\r\\n\\t\\t<memory>1005377</memory>\\r\\n\\t\\t<size>200000</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23124</key>\\r\\n\\t\\t<memory>970</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:167541</key>\\r\\n\\t\\t<memory>967</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:152015</key>\\r\\n\\t\\t<memory>958</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:30883</key>\\r\\n\\t\\t<memory>955</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:81031</key>\\r\\n\\t\\t<memory>953</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:152007</key>\\r\\n\\t\\t<memory>952</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:161880</key>\\r\\n\\t\\t<memory>951</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:194610</key>\\r\\n\\t\\t<memory>949</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:53620</key>\\r\\n\\t\\t<memory>948</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23525</key>\\r\\n\\t\\t<memory>946</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:89333</key>\\r\\n\\t\\t<memory>946</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23687</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:32653</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:72166</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:195881</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:160121</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:93626</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:138451</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:183732</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:143393</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:109289</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:153637</key>\\r\\n\\t\\t<memory>942</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:171049</key>\\r\\n\\t\\t<memory>942</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:53013</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:103664</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:180733</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:69766</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:125910</key>\\r\\n\\t\\t<memory>940</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:10653</key>\\r\\n\\t\\t<memory>940</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<PageRecordCount>30</PageRecordCount>\\r\\n</DescribeCacheAnalysisReportResponse>","errorExample":""}]', + 'title' => 'DescribeCacheAnalysisReport', + 'description' => '> Tair (Redis OSS-compatible) has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).'."\n" ."\n" - .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeGlobalDistributeCache\\&type=RPC\\&version=2015-01-01)'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeEngineVersion' => [ - 'summary' => 'Queries the major version and minor version of a Tair (Redis OSS-compatible) instance and the release notes for minor versions.', - 'methods' => [ - 'post', - 'get', + .'Before you call this operation, make sure that the instance meets the following requirements:'."\n" + ."\n" + .'* The engine version of the instance is Redis 4.0 or later.'."\n" + .'* The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of a Tair (Redis OSS-compatible) instance is the latest?](~~129203~~)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCacheAnalysisReport'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeCacheAnalysisReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'dbinstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], ], + ], + 'DescribeCacheAnalysisReportList' => [ + 'summary' => 'Queries a list of cache analysis reports for an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56399', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56388', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'Days', + 'in' => 'query', + 'schema' => ['description' => 'The time range to query. Default value: 7. Unit: days.'."\n" + ."\n" + .'> If daily automatic analysis has not started and manual analysis is not performed, no records are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" + ."\n" + .'> The default value is **30**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + 'default' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], + [ + 'name' => 'PageNumbers', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the child node in the cluster instance.'."\n" + ."\n" + .'> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsLatestVersion' => [ - 'description' => 'Indicates whether the instance uses the latest minor version. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A52974D1-9D57-4805-86CC-92E6EDE8****', - ], - 'ProxyMinorVersion' => [ - 'description' => 'The current minor version of the proxy node.'."\n" - ."\n" - .'> This parameter is returned only for cluster and read/write splitting instances.'."\n", - 'type' => 'string', - 'example' => '6.6.0', - ], - 'DBVersionRelease' => [ - 'description' => 'The release notes for the minor version of the instance, including the release date, minor version number, release type such as new feature, and description.'."\n", - 'type' => 'string', - 'example' => '{\\"releaseInfo\\":{\\"createTime\\":\\"2021-07-27\\",\\"level\\":1,\\"releaseVersion\\":\\"0.5.4\\",\\"releaseNote\\":\\"Feature optimization: The stability is improved.\\"}],\\"versionChangesLevel\\":2}', - ], - 'ProxyVersionRelease' => [ - 'description' => 'The release notes for the minor version of proxy nodes. The release notes include the release date, minor version number, release type such as new feature, and description.'."\n" - ."\n" - .'> This parameter is returned only for cluster and read/write splitting instances.'."\n", - 'type' => 'string', - 'example' => '{\\"releaseInfo\\":[{\\"createTime\\":\\"2021-06-08\\",\\"level\\":0,\\"releaseVersion\\":\\"6.6.2\\",\\"releaseNote\\":\\"New feature: Some internal commands are supported.\\"}],\\"versionChangesLevel\\":2}', - ], - 'EnableUpgradeMajorVersion' => [ - 'description' => 'Indicates whether the instance major version can be upgraded. Valid values:'."\n" - ."\n" - .'* **true**: The major version can be upgraded.'."\n" - .'* **false**: The major version is the latest version and cannot be upgraded.'."\n" - ."\n" - .'> To upgrade the major version, call the [ModifyInstanceMajorVersion](~~473776~~) operation.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'EnableUpgradeMinorVersion' => [ - 'description' => 'Indicates whether the instance minor version can be updated. Valid values:'."\n" - ."\n" - .'* **true**: The minor version can be updated.'."\n" - .'* **false**: The minor version is the latest version and cannot be updated.'."\n" - ."\n" - .'> To update the minor version, call the [ModifyInstanceMinorVersion](~~473777~~) operation.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'MajorVersion' => [ - 'description' => 'The major version of the instance.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'Engine' => [ - 'description' => 'The database engine. Valid values: **redis** and **memcache**.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'MinorVersion' => [ - 'description' => 'The current minor version of the instance.'."\n", - 'type' => 'string', - 'example' => 'redis-5.0_0.5.0', - ], - 'IsRedisCompatibleVersion' => [ - 'description' => 'Indicates whether the instance runs a Redis version.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'IsSSLEnable' => [ - 'description' => 'Indicates whether SSL is enabled. Valid values:'."\n" - ."\n" - .'* **1**: SSL is enabled.'."\n" - .'* **0**: TLS is disabled.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'IsNewSSLMode' => [ - 'description' => 'Indicates whether Transport Layer Security (TLS) is enabled. Valid values:'."\n" - ."\n" - .'* **1**: TLS is enabled.'."\n" - .'* **0**: TLS is disabled.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'IsAutoUpgradeOpen' => [ - 'description' => 'Indicates whether automatic minor version update is enabled. Valid values:'."\n" - ."\n" - .'* **0**: Automatic minor version update is disabled.'."\n" - .'* **1**: Automatic minor version update is enabled.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'DBLatestMinorVersion' => [ - 'description' => 'The latest minor version to which the instance can be updated.'."\n", - 'type' => 'object', - 'properties' => [ - 'MinorVersion' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => '7.0.1.4', - ], - 'Level' => [ - 'description' => 'The version update level. Valid values:'."\n" - ."\n" - .'* **0**: regular'."\n" - .'* **1**: recommended'."\n" - .'* **2**: critical'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'VersionRelease' => [ - 'description' => 'The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.'."\n", - 'type' => 'object', - 'properties' => [ - 'VersionChangesLevel' => [ - 'description' => 'The version update level, which indicates how strongly the update is recommended. Valid values:'."\n" - ."\n" - .'* 0: regular'."\n" - .'* 1: recommended'."\n" - .'* 2: critical'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ReleaseInfo' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ReleaseInfoList' => [ - 'description' => 'The information about the minor versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The minor version information.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReleaseVersion' => [ - 'description' => 'The release version of EMR.'."\n", - 'type' => 'string', - 'example' => 'EMR-5.7.0', - ], - 'CreateTime' => [ - 'description' => 'The creation time of the instance.'."\n", - 'type' => 'string', - 'example' => '2022-11-21T13:28Z'."\n", - ], - 'ReleaseNote' => [ - 'description' => 'The release notes.'."\n", - 'type' => 'string', - 'example' => 'netbank1022', - ], - 'Level' => [ - 'description' => 'The importance level.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ReleaseNoteEn' => [ - 'description' => 'The description of the minor versions to which the instance can be updated.'."\n", - 'type' => 'string', - 'example' => 'ReleaseNoteEn', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'ProxyLatestMinorVersion' => [ - 'description' => 'The latest minor version to which the proxy node can be updated.'."\n", + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => '1041xxxx', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '743D0A03-52DE-4E6F-8D09-EC1414CF****', 'title' => ''], + 'DailyTasks' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'MinorVersion' => [ - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => '7.0.6'."\n", - ], - 'Level' => [ - 'description' => 'The version update level. Valid values:'."\n" - ."\n" - .'* **0**: regular'."\n" - .'* **1**: recommended'."\n" - .'* **2**: critical'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'VersionRelease' => [ - 'description' => 'The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReleaseInfo' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ReleaseInfoList' => [ - 'description' => 'The information about the minor versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The minor version information.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReleaseVersion' => [ - 'description' => 'The release version of EMR.'."\n", - 'type' => 'string', - 'example' => 'EMR-5.9.1'."\n", - ], - 'CreateTime' => [ - 'description' => 'The time when the version was released.'."\n", - 'type' => 'string', - 'example' => '2022-08-23T14:26:20Z', - ], - 'ReleaseNote' => [ - 'description' => 'The release notes.'."\n", - 'type' => 'string', - 'example' => 'x x x x', - ], - 'Level' => [ - 'description' => 'The version update level. Valid values:'."\n" + 'DailyTask' => [ + 'description' => 'The list of the offline key analysis reports.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'The date when the offline key analytics task was performed.'."\n", 'type' => 'string', 'example' => '2019-08-01Z', 'title' => ''], + 'Tasks' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Task' => [ + 'description' => 'Details about the offline key analysis reports.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Details about the offline key analysis report.'."\n", + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The state of the offline key analytics task. Valid values:'."\n" ."\n" - .'* **0**: regular'."\n" - .'* **1**: recommended'."\n" - .'* **2**: critical'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ReleaseNoteEn' => [ - 'description' => 'The description of the minor versions to which the instance can be updated.'."\n", - 'type' => 'string', - 'example' => 'ReleaseNoteEn', + .'* **success**'."\n" + .'* **running**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the offline key analytics task.'."\n", 'type' => 'string', 'example' => '2019-08-01T19:08:49Z', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '156465****', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the child node in the cluster instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - 'VersionChangesLevel' => [ - 'description' => 'The version update level, which indicates how strongly the update is recommended. Valid values:'."\n" - ."\n" - .'* 0: regular'."\n" - .'* 1: recommended'."\n" - .'* 2: critical'."\n", - 'type' => 'string', - 'example' => '0', - ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - ], - 'IsOpenNGLB' => [ - 'description' => 'Indicates whether the NGLB mode is enabled. Valid values:'."\n" - ."\n" - .'* **0**: The NGLB mode is disabled.'."\n" - .'* **1**: The NGLB mode is enabled.'."\n", - 'type' => 'string', - 'example' => '1', + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IsLatestVersion\\": false,\\n \\"RequestId\\": \\"A52974D1-9D57-4805-86CC-92E6EDE8****\\",\\n \\"ProxyMinorVersion\\": \\"6.6.0\\",\\n \\"DBVersionRelease\\": \\"{\\\\\\\\\\\\\\"releaseInfo\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"createTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-07-27\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"releaseVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5.4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"releaseNote\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"功能更新:增强稳定性。\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"versionChangesLevel\\\\\\\\\\\\\\":2}\\",\\n \\"ProxyVersionRelease\\": \\"{\\\\\\\\\\\\\\"releaseInfo\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"createTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-06-08\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"releaseVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.6.2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"releaseNote\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"新特性:增加对部分内部命令的支持。\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"versionChangesLevel\\\\\\\\\\\\\\":2}\\",\\n \\"EnableUpgradeMajorVersion\\": true,\\n \\"EnableUpgradeMinorVersion\\": true,\\n \\"MajorVersion\\": \\"5.0\\",\\n \\"Engine\\": \\"redis\\",\\n \\"MinorVersion\\": \\"redis-5.0_0.5.0\\",\\n \\"IsRedisCompatibleVersion\\": \\"1\\",\\n \\"IsSSLEnable\\": \\"1\\",\\n \\"IsNewSSLMode\\": \\"1\\",\\n \\"IsAutoUpgradeOpen\\": \\"0\\",\\n \\"DBLatestMinorVersion\\": {\\n \\"MinorVersion\\": \\"7.0.1.4\\",\\n \\"Level\\": \\"0\\",\\n \\"VersionRelease\\": {\\n \\"VersionChangesLevel\\": \\"0\\",\\n \\"ReleaseInfo\\": {\\n \\"ReleaseInfoList\\": [\\n {\\n \\"ReleaseVersion\\": \\"EMR-5.7.0\\",\\n \\"CreateTime\\": \\"2022-11-21T13:28Z\\",\\n \\"ReleaseNote\\": \\"发布说明\\",\\n \\"Level\\": \\"0\\",\\n \\"ReleaseNoteEn\\": \\"版本升级英文描述\\"\\n }\\n ]\\n }\\n }\\n },\\n \\"ProxyLatestMinorVersion\\": {\\n \\"MinorVersion\\": \\"7.0.6\\",\\n \\"Level\\": \\"0\\",\\n \\"VersionRelease\\": {\\n \\"ReleaseInfo\\": {\\n \\"ReleaseInfoList\\": [\\n {\\n \\"ReleaseVersion\\": \\"EMR-5.9.1\\",\\n \\"CreateTime\\": \\"2022-08-23T14:26:20Z\\",\\n \\"ReleaseNote\\": \\"x x x x\\",\\n \\"Level\\": \\"0\\",\\n \\"ReleaseNoteEn\\": \\"版本升级英文描述\\"\\n }\\n ]\\n },\\n \\"VersionChangesLevel\\": \\"0\\"\\n }\\n },\\n \\"IsOpenNGLB\\": \\"1\\"\\n}","errorExample":"{\\n \\"MinorVersion\\":\\"redis_0.12.4\\",\\n \\"IsLatestVersion\\":\\"false\\",\\n \\"MajorVersion\\":\\"2.8\\",\\n \\"EnableUpgradeMajorVersion\\":\\"true\\",\\n \\"RequestId\\":\\"A49A2216-F6C9-43E2-A8F0-F217E57943C4\\",\\n \\"EnableUpgradeMinorVersion\\":\\"true\\",\\n \\"Engine\\":\\"redis\\"\\n}"},{"type":"xml","example":"<DescribeEngineVersionResponse>\\n <MajorVersion>5.0</MajorVersion>\\n <IsLatestVersion>false</IsLatestVersion>\\n <RequestId>825F9CF7-4AE5-520C-93C7-7E0D2BEA0F8F</RequestId>\\n <MinorVersion>redis-5.0_0.5.0</MinorVersion>\\n <ProxyMinorVersion>6.6.0</ProxyMinorVersion>\\n <Engine>redis</Engine>\\n <EnableUpgradeMinorVersion>true</EnableUpgradeMinorVersion>\\n <ProxyVersionRelease>{\\"releaseInfo\\":[{\\"createTime\\":\\"2021-05-26\\",\\"level\\":0,\\"releaseVersion\\":\\"6.6.1\\",\\"releaseNote\\":\\"[新特性]:新增TairZset数据结构,实现任意维度的double类型的分值排序,提升数据处理效率,且客户端适配简易,无需任何编解码封装。更多信息,请参见TairZset命令。\\"},{\\"createTime\\":\\"2021-06-08\\",\\"level\\":0,\\"releaseVersion\\":\\"6.6.2\\",\\"releaseNote\\":\\"[新特性]:增加对部分内部命令的支持。\\"},{\\"createTime\\":\\"2021-06-18\\",\\"level\\":1,\\"releaseVersion\\":\\"6.6.3\\",\\"releaseNote\\":\\"[功能优化]:优化多可用区容灾场景下的内部管控。\\"},{\\"createTime\\":\\"2021-07-08\\",\\"level\\":2,\\"releaseVersion\\":\\"6.6.4\\",\\"releaseNote\\":\\"[新特性]:CLIENT LIST、CLIENT KILL命令支持展示和操作进程维度的连接。\\\\n[缺陷修复]:修复TairZset命令不支持大写的问题,更多信息,请参见TairZset命令。\\"}],\\"versionChangesLevel\\":2}</ProxyVersionRelease>\\n <EnableUpgradeMajorVersion>false</EnableUpgradeMajorVersion>\\n <DBVersionRelease>{\\"releaseInfo\\":[{\\"createTime\\":\\"2021-04-26\\",\\"level\\":2,\\"releaseVersion\\":\\"0.5.2\\",\\"releaseNote\\":\\"[安全加固]:主要解决社区Lua JIT的安全性漏洞。\\\\n[新特性]:优化槽(slot)的迁移能力,云盘版实例可基于此实现无损扩缩容。\\\\n[新特性]:支持大Key(big key)实时统计。\\\\n[新特性]:支持通过公网获取虚拟IP(VIP)地址,为使用直连地址用户提供更好的支持。\\\\n\\"},{\\"createTime\\":\\"2021-07-21\\",\\"level\\":1,\\"releaseVersion\\":\\"0.5.3\\",\\"releaseNote\\":\\"[功能更新]:优化数据迁移完成后删除源端数据的流程,增强数据可靠性。\\\\n[功能更新]:简化数据迁移的增量数据同步流程。\\"},{\\"createTime\\":\\"2021-07-27\\",\\"level\\":1,\\"releaseVersion\\":\\"0.5.4\\",\\"releaseNote\\":\\"[功能更新]:增强稳定性。\\"}],\\"versionChangesLevel\\":2}</DBVersionRelease>\\n</DescribeEngineVersionResponse>","errorExample":"<DescribeEngineVersionResponse> \\n \\t<MinorVersion>redis_0.12.4</MinorVersion>\\n\\t<IsLatestVersion>false</IsLatestVersion>\\n\\t<MajorVersion>2.8</MajorVersion>\\n\\t<EnableUpgradeMajorVersion>true</EnableUpgradeMajorVersion>\\n\\t<RequestId>A49A2216-F6C9-43E2-A8F0-F217E57943C4</RequestId>\\n\\t<EnableUpgradeMinorVersion>true</EnableUpgradeMinorVersion>\\n\\t<Engine>redis</Engine>\\n</DescribeEngineVersionResponse>"}]', - 'title' => 'DescribeEngineVersion', - 'description' => '## Debugging'."\n" + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support this operation.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"1041xxxx\\",\\n \\"RequestId\\": \\"743D0A03-52DE-4E6F-8D09-EC1414CF****\\",\\n \\"DailyTasks\\": {\\n \\"DailyTask\\": [\\n {\\n \\"Date\\": \\"2019-08-01Z\\",\\n \\"Tasks\\": {\\n \\"Task\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"StartTime\\": \\"2019-08-01T19:08:49Z\\",\\n \\"TaskId\\": \\"156465****\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCacheAnalysisReportListResponse>\\r\\n <InstanceId>1041xxxx</InstanceId>\\r\\n <RequestId>BFB9478A-119E-4589-B02C-2D2EBE5E****</RequestId>\\r\\n <DailyTasks>\\r\\n <DailyTask>\\r\\n <Date>2019-08-03Z</Date>\\r\\n <Tasks>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-0</NodeId>\\r\\n <StartTime>2019-08-03T19:08:48Z</StartTime>\\r\\n <TaskId>156483****</TaskId>\\r\\n </Task>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-1</NodeId>\\r\\n <StartTime>2019-08-03T19:08:49Z</StartTime>\\r\\n <TaskId>156483****</TaskId>\\r\\n </Task>\\r\\n </Tasks>\\r\\n </DailyTask>\\r\\n <DailyTask>\\r\\n <Date>2019-08-02Z</Date>\\r\\n <Tasks>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-0</NodeId>\\r\\n <StartTime>2019-08-02T19:08:55Z</StartTime>\\r\\n <TaskId>156474****</TaskId>\\r\\n </Task>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-1</NodeId>\\r\\n <StartTime>2019-08-02T19:08:55Z</StartTime>\\r\\n <TaskId>156474****</TaskId>\\r\\n </Task>\\r\\n </Tasks>\\r\\n </DailyTask>\\r\\n </DailyTasks>\\r\\n</DescribeCacheAnalysisReportListResponse>","errorExample":""}]', + 'title' => 'DescribeCacheAnalysisReportList', + 'description' => '> Tair (Redis OSS-compatible) has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).'."\n" ."\n" - .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeEngineVersion\\&type=RPC\\&version=2015-01-01)'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeRoleZoneInfo' => [ - 'summary' => 'Queries the role, type, minor version, and zone of each node in a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + .'Before you call this operation, make sure that the instance meets the following requirements:'."\n" + ."\n" + .'* The engine version of the instance is Redis 4.0 or later.'."\n" + .'* The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of a Tair (Redis OSS-compatible) instance is the latest?](~~129203~~)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCacheAnalysisReportList'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeCacheAnalysisReportList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'DescribeClusterBackupList' => [ + 'summary' => 'Queries the backup list of a Tair (Redis OSS-compatible) cluster instance.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8014,230 +5806,220 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '56434', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '187788', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-zhangjiakou', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-t4nlenc2p04uvb****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-t4nj72oug5r5646qog', 'title' => ''], ], [ - 'name' => 'QueryType', + 'name' => 'ClusterBackupId', + 'in' => 'query', + 'schema' => ['description' => 'The backup set ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cb-hyxdof5x9kqbtust'."\n", 'title' => ''], + ], + [ + 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the node to query. Default value: 1. Valid values:'."\n" - ."\n" - .'* **0**: proxy node'."\n" - ."\n" - .' **'."\n" + 'description' => 'The number of entries per page.'."\n" ."\n" - .' **Note** This parameter is supported only for cluster instances and read/write splitting instances.'."\n" + .'Valid values:'."\n" ."\n" - .'* **1**: data node'."\n", + .'* 30'."\n" + .'* 50'."\n" + .'* 100'."\n" + .'* 200'."\n" + .'* 300'."\n" + .'* 5'."\n" + .'* 10'."\n" + .'* 15'."\n" + .'* 20'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'example' => '0', - 'default' => '', + 'example' => '30', + 'default' => '30', + 'enum' => ['30', '50', '100', '200', '300', '5', '10', '15', '20'], + 'title' => '', ], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'StartTime', 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2024-06-28T08:26Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2024-07-01T09:26Z', 'title' => ''], + ], + [ + 'name' => 'NoShardBackup', + 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'The number of entries per page. Valid values: **10**, **20**, and **50**. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'Specifies whether to show backup set information for shards in the instance.'."\n" + ."\n" + .'* **true**: does not show backup set information for shards in the instance.'."\n" + .'* **false** (default): shows backup set information for shards in the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* True'."\n" + .'* False'."\n", + 'type' => 'string', 'required' => false, - 'example' => '10', - 'default' => '10', - 'enum' => [ - '5', - '10', - '20', - '50', - '100', - '200', - '1', - ], + 'example' => 'True', + 'enum' => ['True', 'False'], + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '224B97FB-A275-4EAC-86E9-8922FEA2****', - ], - 'PageNumber' => [ - 'description' => 'The number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Node' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'NodeInfo' => [ - 'description' => 'Details about each node in the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DefaultBandWidth' => [ - 'description' => 'The default bandwidth of the node. Unit: MB/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '96', - ], - 'CurrentMinorVersion' => [ - 'description' => 'The minor version of the node.'."\n", - 'type' => 'string', - 'example' => 'redis-5.0_0.3.10', - ], - 'CurrentBandWidth' => [ - 'description' => 'The current bandwidth of the node, which consists of the default bandwidth and the increased bandwidth. Unit: MB/s.'."\n" - ."\n" - .'> * You can call the [EnableAdditionalBandwidth](~~473771~~) operation to specify the increased bandwidth.'."\n" - .'> * You can also use this parameter to calculate the increased bandwidth. For example, if the default bandwidth of the node is 96 MB/s and the returned value of this parameter is 100, the increased bandwidth is 4 MB/s.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'InsType' => [ - 'description' => 'Indicates whether the node is a read replica. If the node is a read replica, **3** is returned.'."\n" - ."\n" - .'> If the node is not a read replica, no value is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'IsLatestVersion' => [ - 'description' => 'Indicates whether the minor version is the latest version. Valid values:'."\n" - ."\n" - .'* **0**: The minor version is not the latest version.'."\n" - .'* **1**: The minor version is the latest version.'."\n" - ."\n" - .'> To update the minor version, call the [ModifyInstanceMinorVersion](~~473777~~) operation.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InsName' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'example' => 'r-t4nlenc2p04uvb****', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C009DA42-3B19-5B81-963D-1509DE2408DD'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'PageNumber' => ['title' => '', 'description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => '', 'description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'FullStorageSize' => ['title' => '', 'description' => 'The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.'."\n" + ."\n" + .'> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid full backups of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'LogStorageSize' => ['title' => '', 'description' => 'The size of the log backup file of the instance. Unit: bytes. This parameter is valid only when flashback is enabled.'."\n" + ."\n" + .'> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid log backups of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5000'], + 'FreeSize' => ['title' => '', 'description' => 'This parameter does not take effect. Ignore this parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100000'], + 'ClusterBackups' => [ + 'title' => '', + 'description' => 'The backup sets of the instance. A backup contains the backup sets of all shards in the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The backup set of the instance. A backup contains the backup sets of all shards in the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'IsAvail' => ['title' => '', 'description' => 'Indicates whether the backup set is valid. A value of 0 indicates that shard-level backups failed or have not been completed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ClusterBackupId' => ['title' => '', 'description' => 'The ID of the backup set.'."\n", 'type' => 'string', 'example' => 'cb-zmdqj2m3xyxjtdt0'], + 'ClusterBackupStatus' => ['title' => '', 'description' => 'The status of the backup set.'."\n" + ."\n" + .'* OK'."\n" + .'* RUNNING'."\n" + .'* Failed'."\n", 'type' => 'string', 'example' => 'OK'], + 'ClusterBackupSize' => ['title' => '', 'description' => 'The size of the backup set.'."\n", 'type' => 'string', 'example' => '2048'], + 'ClusterBackupStartTime' => ['description' => 'The start time of the backup.'."\n", 'type' => 'string', 'example' => '2024-01-10T17:21:25Z', 'title' => ''], + 'ClusterBackupEndTime' => ['description' => 'The end time of the backup.'."\n", 'type' => 'string', 'example' => '2024-01-10T17:21:55Z', 'title' => ''], + 'ClusterBackupMode' => ['description' => 'The backup mode.'."\n", 'type' => 'string', 'example' => 'Automated', 'title' => ''], + 'ShardClassMemory' => ['title' => '', 'description' => 'The memory size of a single shard during a full backup. Unit: MB.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'Backups' => [ + 'title' => '', + 'description' => 'The backup sets of all shards in the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The queried backup set.'."\n", + 'type' => 'object', + 'properties' => [ + 'BackupId' => ['description' => 'The ID of the backup file.'."\n", 'type' => 'string', 'example' => '514645788', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.'."\n", 'type' => 'string', 'example' => 'r-bp1y4is8svonly****-db-0', 'title' => ''], + 'BackupDownloadURL' => ['description' => 'The public download URL of the backup file.'."\n", 'type' => 'string', 'example' => 'http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb', 'title' => ''], + 'BackupIntranetDownloadURL' => ['description' => 'The internal download URL of the backup file.'."\n" ."\n" - .'* **db**: data node.'."\n" - .'* **proxy**: proxy node.'."\n" - .'* **normal**: regular node. This value is returned when the instance runs in the standard architecture.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'ZoneId' => [ - 'description' => 'The ID of the zone.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'IsOpenBandWidthService' => [ - 'description' => 'Indicates whether the bandwidth of the node is increased. Valid values:'."\n" + .'> You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the Tair (Redis OSS-compatible) instance. The ECS instance must reside in the same virtual private cloud (VPC) as the Tair (Redis OSS-compatible) instance.'."\n", 'type' => 'string', 'example' => 'http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb', 'title' => ''], + 'RecoverConfigMode' => ['description' => 'This parameter does not take effect. Ignore this parameter.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], + 'BackupStartTime' => ['description' => 'The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2024-01-09T17:21:30Z', 'title' => ''], + 'BackupEndTime' => ['description' => 'The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2024-01-09T17:21:57', 'title' => ''], + 'BackupSize' => ['description' => 'The size of the backup file. Unit: bytes.'."\n", 'type' => 'string', 'example' => '1024', 'title' => ''], + 'IsAvail' => ['description' => 'Indicates whether the backup set is available. Valid values:'."\n" ."\n" - .'* **true**: The bandwidth of the node is not increased.'."\n" - .'* **false**: The bandwidth of the node is increased.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CustinsId' => [ - 'description' => 'The ID of the data shard.'."\n", - 'type' => 'string', - 'example' => '30381****', - ], - 'Role' => [ - 'description' => 'The role of the node. Valid values:'."\n" + .'* **0**: unavailable'."\n" + .'* **1**: available'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'BackupStatus' => ['description' => 'The status of the backup. Valid values:'."\n" ."\n" - .'* **master**: master node'."\n" - .'* **slave**: replica node'."\n", - 'type' => 'string', - 'example' => 'master', - ], - 'NodeId' => [ - 'description' => 'This parameter is used only for internal maintenance of instances.'."\n", - 'type' => 'string', - 'example' => '10065****', + .'* **OK**'."\n" + .'* **ERROR**'."\n", 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'BackupName' => ['description' => 'The name of the backup.'."\n", 'type' => 'string', 'example' => 'hins100322105_data_20240110012135.rdb', 'title' => ''], + 'Engine' => ['description' => 'The database engine. The return value is **redis**.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'ExtraInfo' => [ + 'description' => 'The additional information.'."\n", + 'type' => 'object', + 'properties' => [ + 'CustinsDbVersion' => ['description' => 'The engine version.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], - 'description' => '', + 'example' => '', ], + 'Progress' => ['title' => '', 'description' => 'The backup progress. The system displays only the progress of running backup tasks.'."\n", 'type' => 'string', 'example' => '100%'], + 'ExpectExpireTime' => ['description' => 'The time-to-live (TTL) of the backup set, in the format yyyy-MM-ddTHH:mmZ (UTC time). ', 'type' => 'string', 'example' => '2025-06-01T21:51:22Z', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], - 'description' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C009DA42-3B19-5B81-963D-1509DE2408DD\\",\\n \\"MaxResults\\": 4,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"FullStorageSize\\": 1000,\\n \\"LogStorageSize\\": 5000,\\n \\"FreeSize\\": 100000,\\n \\"ClusterBackups\\": [\\n {\\n \\"IsAvail\\": 1,\\n \\"ClusterBackupId\\": \\"cb-zmdqj2m3xyxjtdt0\\",\\n \\"ClusterBackupStatus\\": \\"OK\\",\\n \\"ClusterBackupSize\\": \\"2048\\",\\n \\"ClusterBackupStartTime\\": \\"2024-01-10T17:21:25Z\\",\\n \\"ClusterBackupEndTime\\": \\"2024-01-10T17:21:55Z\\",\\n \\"ClusterBackupMode\\": \\"Automated\\",\\n \\"ShardClassMemory\\": 1024,\\n \\"Backups\\": [\\n {\\n \\"BackupId\\": \\"514645788\\",\\n \\"InstanceName\\": \\"r-bp1y4is8svonly****-db-0\\",\\n \\"BackupDownloadURL\\": \\"http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb\\",\\n \\"BackupIntranetDownloadURL\\": \\"http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb\\",\\n \\"RecoverConfigMode\\": \\"null\\",\\n \\"BackupStartTime\\": \\"2024-01-09T17:21:30Z\\",\\n \\"BackupEndTime\\": \\"2024-01-09T17:21:57\\",\\n \\"BackupSize\\": \\"1024\\",\\n \\"IsAvail\\": \\"1\\",\\n \\"BackupStatus\\": \\"OK\\",\\n \\"BackupName\\": \\"hins100322105_data_20240110012135.rdb\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ExtraInfo\\": {\\n \\"CustinsDbVersion\\": \\"5.0\\"\\n }\\n }\\n ],\\n \\"Progress\\": \\"100%\\",\\n \\"ExpectExpireTime\\": \\"2025-06-01T21:51:22Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the backup list of a cluster instance ', + 'description' => 'This API is applicable only to cloud-native instances.', + 'changeSet' => [ + ['createdAt' => '2025-04-22T09:36:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-01-15T06:27:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-27T09:29:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-23T02:14:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-21T07:15:23.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-22T08:55:15.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClusterBackupList'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeClusterBackupList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"224B97FB-A275-4EAC-86E9-8922FEA2****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"Node\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"DefaultBandWidth\\": 96,\\n \\"CurrentMinorVersion\\": \\"redis-5.0_0.3.10\\",\\n \\"CurrentBandWidth\\": 100,\\n \\"InsType\\": 3,\\n \\"IsLatestVersion\\": 1,\\n \\"InsName\\": \\"r-t4nlenc2p04uvb****\\",\\n \\"NodeType\\": \\"normal\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"IsOpenBandWidthService\\": true,\\n \\"CustinsId\\": \\"30381****\\",\\n \\"Role\\": \\"master\\",\\n \\"NodeId\\": \\"10065****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRoleZoneInfoResponse>\\n <TotalCount>2</TotalCount>\\n <RequestId>224B97FB-A275-4EAC-86E9-8922FEA2****</RequestId>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <Node>\\n <NodeInfo>\\n <Role>slave</Role>\\n <IsLatestVersion>1</IsLatestVersion>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <NodeType>normal</NodeType>\\n <IsOpenBandWidthService>true</IsOpenBandWidthService>\\n <NodeId>10065****</NodeId>\\n <CurrentMinorVersion>redis-5.0_0.3.10</CurrentMinorVersion>\\n <CustinsId>30381****</CustinsId>\\n <DefaultBandWidth>96</DefaultBandWidth>\\n <InsName>r-t4nlenc2p04uvb****</InsName>\\n <CurrentBandWidth>100</CurrentBandWidth>\\n </NodeInfo>\\n <NodeInfo>\\n <Role>master</Role>\\n <IsLatestVersion>1</IsLatestVersion>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <NodeType>normal</NodeType>\\n <IsOpenBandWidthService>true</IsOpenBandWidthService>\\n <NodeId>10065****</NodeId>\\n <CurrentMinorVersion>redis-5.0_0.3.10</CurrentMinorVersion>\\n <CustinsId>30381****</CustinsId>\\n <DefaultBandWidth>96</DefaultBandWidth>\\n <InsName>r-t4nlenc2p04uvb****</InsName>\\n <CurrentBandWidth>100</CurrentBandWidth>\\n </NodeInfo>\\n </Node>\\n</DescribeRoleZoneInfoResponse>\\n","errorExample":""}]', - 'title' => 'DescribeRoleZoneInfo', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], 'DescribeClusterMemberInfo' => [ 'summary' => 'Queries the configuration information of nodes in a Tair (Redis OSS-compatible) cluster instance, such as the specifications and the maximum number of connections.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8247,37 +6029,18 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '56390', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - ], + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Tair (Redis OSS-compatible) instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the Tair (Redis OSS-compatible) instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'PageSize', @@ -8291,11 +6054,8 @@ 'minimum' => '1', 'example' => '30', 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - ], + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], ], @@ -8304,115 +6064,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', 'title' => ''], 'ClusterChildren' => [ 'description' => 'Details about data nodes in the cluster instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Capacity' => [ - 'description' => 'The maximum memory capacity per data node. Unit: MB.'."\n" - ."\n" - .'> This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'UserId' => [ - 'description' => 'The ID of the user.'."\n", - 'type' => 'string', - 'example' => '2****_176498472570****', - ], - 'DiskSizeMB' => [ - 'description' => 'The storage capacity of the [enhanced SSD (ESSD)](~~122389~~) that is used by the data node. Unit: MB.'."\n" - ."\n" - .'> The ESSD is used only to store system operating data, such as Persistent Memory (PMEM). It is not used as a medium to write and read data.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4096', - ], - 'BandWidth' => [ - 'description' => 'The maximum bandwidth of the node. Unit: MB/s.'."\n" - ."\n" - .'> This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '96', - ], - 'CurrentBandWidth' => [ - 'description' => 'The current bandwidth of the data node, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'ClassCode' => [ - 'description' => 'The specifications of the data node. For more information, see [Community Edition instances that use cloud disks](~~164477~~).'."\n", - 'type' => 'string', - 'example' => 'redis.shard.small.ce', - ], - 'BizType' => [ - 'description' => 'The type of workload. The return value is **ALIYUN**.'."\n", - 'type' => 'string', - 'example' => 'ALIYUN', - ], - 'Service' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **redis**: data node'."\n" - .'* **redis_cs**: config server'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'BinlogRetentionDays' => [ - 'description' => 'The retention period of binlogs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'Connections' => [ - 'description' => 'The maximum number of connections supported by the data node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20000', - ], - 'ResourceGroupName' => [ - 'description' => 'The name of the resource group to which the node belongs.'."\n", - 'type' => 'string', - 'example' => 'GLOBAL_ZHANGJIAKOU_A', - ], - 'ServiceVersion' => [ - 'description' => 'The major version of the node.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'ReplicaSize' => [ - 'description' => 'The number of replica nodes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Name' => [ - 'description' => 'The name of the data node.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], - 'Id' => [ - 'description' => 'The ID of the replica set in the node.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '501791111', - ], + 'Capacity' => ['description' => 'The maximum memory capacity per data node. Unit: MB.'."\n" + ."\n" + .'> This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user.'."\n", 'type' => 'string', 'example' => '2****_176498472570****', 'title' => ''], + 'DiskSizeMB' => ['description' => 'The storage capacity of the [enhanced SSD (ESSD)](~~122389~~) that is used by the data node. Unit: MB.'."\n" + ."\n" + .'> The ESSD is used only to store system operating data, such as Persistent Memory (PMEM). It is not used as a medium to write and read data.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4096', 'title' => ''], + 'BandWidth' => ['description' => 'The maximum bandwidth of the node. Unit: MB/s.'."\n" + ."\n" + .'> This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'CurrentBandWidth' => ['description' => 'The current bandwidth of the data node, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'ClassCode' => ['description' => 'The specifications of the data node. For more information, see [Community Edition instances that use cloud disks](~~164477~~).'."\n", 'type' => 'string', 'example' => 'redis.shard.small.ce', 'title' => ''], + 'BizType' => ['description' => 'The type of workload. The return value is **ALIYUN**.'."\n", 'type' => 'string', 'example' => 'ALIYUN', 'title' => ''], + 'Service' => ['description' => 'The node type. Valid values:'."\n" + ."\n" + .'* **redis**: data node'."\n" + .'* **redis_cs**: config server'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'BinlogRetentionDays' => ['description' => 'The retention period of binlogs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections supported by the data node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20000', 'title' => ''], + 'ResourceGroupName' => ['description' => 'The name of the resource group to which the node belongs.'."\n", 'type' => 'string', 'example' => 'GLOBAL_ZHANGJIAKOU_A', 'title' => ''], + 'ServiceVersion' => ['description' => 'The major version of the node.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'ReplicaSize' => ['description' => 'The number of replica nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Name' => ['description' => 'The name of the data node.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], + 'Id' => ['description' => 'The ID of the replica set in the node.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '501791111', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], @@ -8422,17 +6116,92 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-06T03:23:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-14T08:14:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeClusterMemberInfo'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeClusterMemberInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], ], - 'DescribeDBInstanceNetInfo' => [ - 'summary' => 'Queries the network information of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'DescribeDBInstanceMonitor' => [ + 'summary' => 'Queries the collection frequency of monitoring data for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56393', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], + ], + 'parameters' => [ + [ + 'name' => 'DBInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1xp9esa45nll****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Interval' => ['description' => 'The collection frequency of the monitoring data. Unit: second.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '276F582D-C6B2-519C-A5ED-2A92BB15EC07', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeDBInstanceMonitor', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceMonitor'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBInstanceMonitor', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": \\"5\\",\\n \\"RequestId\\": \\"276F582D-C6B2-519C-A5ED-2A92BB15EC07\\"\\n}","type":"json"}]', + ], + 'DescribeDBInstanceNetInfo' => [ + 'summary' => 'Queries the network information of an ApsaraDB for Tair instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8445,34 +6214,24 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '56394', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ 'name' => 'NetType', 'in' => 'query', 'schema' => [ + 'description' => 'The network type.', 'type' => 'string', - 'enum' => [ - 'Private', - 'Public', - ], + 'enum' => ['Private', 'Public'], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -8481,132 +6240,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InstanceNetworkType' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* **CLASSIC**: The instance runs in a classic network.'."\n" - .'* **VPC**: The instance runs in a virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'CLASSIC', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B', - ], + 'InstanceNetworkType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- **CLASSIC**: Classic Network.'."\n" + ."\n" + .'- **VPC**: VPC.', 'type' => 'string', 'example' => 'CLASSIC', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B', 'title' => ''], 'NetInfoItems' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InstanceNetInfo' => [ - 'description' => 'The network information about the instance.'."\n", + 'description' => 'An array of network connection details for the instance.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DirectConnection' => [ - 'description' => 'Indicates whether the address is a private endpoint. Valid values:'."\n" - ."\n" - .'* **0**: The address is not a private endpoint.'."\n" - .'* **1**: The address is a private endpoint.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1e7clcw529l773d****', - ], - 'DBInstanceNetType' => [ - 'description' => 'The network type of the instance. Valid values:'."\n" - ."\n" - .'* **0**: Internet'."\n" - .'* **1**: classic network'."\n" - .'* **2**: Virtual Private Cloud (VPC)'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Upgradeable' => [ - 'description' => 'The remaining validity period of the classic network endpoint. Unit: seconds.'."\n" - ."\n" - .'> **A value of 0 indicates that the endpoint never expires.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ExpiredTime' => [ - 'description' => 'The expiration time of the classic network endpoint. Unit: seconds.'."\n", - 'type' => 'string', - 'example' => '5183779', - ], - 'ConnectionString' => [ - 'description' => 'The endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'IPType' => [ - 'description' => 'The network type of the IP address. Valid values:'."\n" - ."\n" - .'* **Public**: Internet'."\n" - .'* **Inner**: classic network'."\n" - .'* **Private**: VPC'."\n", - 'type' => 'string', - 'example' => 'Inner', - ], - 'VPCInstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1ky7j6qc7umk****', - ], - 'Port' => [ - 'description' => 'The service port of the instance.'."\n", - 'type' => 'string', - 'example' => '6379', - ], - 'VPCId' => [ - 'description' => 'The ID of the VPC to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1nme44gek34slfc****', - ], - 'IPAddress' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '172.16.49.***', - ], - 'IsSlaveProxy' => [ - 'description' => 'Indicates whether the address is the endpoint for the secondary zone. Valid values: 1 and 0. A value of 1 indicates that the address is the endpoint for the secondary zone.'."\n" - ."\n" - .'> This parameter is returned only after you enable the multi-zone read/write splitting architecture for the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'DirectConnection' => ['description' => 'Indicates whether the address is for a direct connection. Valid values:'."\n" + ."\n" + .'- **0**: The address is not for a direct connection.'."\n" + ."\n" + .'- **1**: The address is for a direct connection.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + 'DBInstanceNetType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- **0**: public network.'."\n" + ."\n" + .'- **1**: Classic Network.'."\n" + ."\n" + .'- **2**: VPC network.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Upgradeable' => ['description' => 'The remaining validity period of the Classic Network connection string, in seconds.'."\n" + ."\n" + .'> A value of **0** indicates that the connection string does not expire.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'ExpiredTime' => ['description' => 'The validity period of the Classic Network connection string, in seconds.', 'type' => 'string', 'example' => '5183778', 'title' => ''], + 'ConnectionString' => ['description' => 'The connection string of the instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'IPType' => ['description' => 'The network type of the IP address. Valid values:'."\n" + ."\n" + .'- **Public**: public network.'."\n" + ."\n" + .'- **Inner**: Classic Network.'."\n" + ."\n" + .'- **Private**: VPC network.', 'type' => 'string', 'example' => 'Inner', 'title' => ''], + 'VPCInstanceId' => ['description' => 'The ID of the instance associated with the VPC.', 'type' => 'string', 'example' => 'r-bp1ky7j6qc7umk****', 'title' => ''], + 'Port' => ['description' => 'The service port of the instance.', 'type' => 'string', 'example' => '6379', 'title' => ''], + 'VPCId' => ['description' => 'The ID of the VPC to which the instance belongs.', 'type' => 'string', 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + 'IPAddress' => ['description' => 'The IP address.', 'type' => 'string', 'example' => '172.16.49.***', 'title' => ''], + 'IsSlaveProxy' => ['description' => 'A value of 1 indicates that this network address is for a replica node in the standby zone.'."\n" + ."\n" + .'> This address is returned only when multi-zone read/write splitting is enabled for the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], + 'description' => 'The details of a network connection.', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => 'Details about the instance\'s network connections.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceNetworkType\\": \\"CLASSIC\\",\\n \\"RequestId\\": \\"FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B\\",\\n \\"NetInfoItems\\": {\\n \\"InstanceNetInfo\\": [\\n {\\n \\"DirectConnection\\": 0,\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"DBInstanceNetType\\": \\"1\\",\\n \\"Upgradeable\\": \\"0\\",\\n \\"ExpiredTime\\": \\"5183778\\",\\n \\"ConnectionString\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"IPType\\": \\"Inner\\",\\n \\"VPCInstanceId\\": \\"r-bp1ky7j6qc7umk****\\",\\n \\"Port\\": \\"6379\\",\\n \\"VPCId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"IPAddress\\": \\"172.16.49.***\\",\\n \\"IsSlaveProxy\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\":\\"314C4FB3-4256-424F-9AD9-1A6B3444160A\\",\\n \\"InstanceNetworkType\\":\\"Classic\\",\\n \\"NetInfoItems\\":{\\n \\"InstanceNetInfo\\":[{\\n \\"DBInstanceNetType\\":\\"1\\",\\n \\"Port\\":\\"6379\\",\\n \\"ConnectionString\\":\\"r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com\\",\\n \\"VPCId\\":\\"\\",\\n \\"IPAddress\\":\\"xxx.xxx.xxx.xxx\\",\\n \\"IPType\\":\\"Inner\\",\\n \\"Upgradeable\\":\\"0\\"\\n \\t\\t\\t\\t }]\\n \\t\\t\\t }\\n}"},{"type":"xml","example":"<DescribeDBInstanceNetInfoResponse>\\n<NetInfoItems>\\n <InstanceNetInfo>\\n <IPType>Private</IPType>\\n <VPCInstanceId>r-bp1ky7j6qc7umk****</VPCInstanceId>\\n <VPCId>vpc-bp1opxu1zkhn00gzv****</VPCId>\\n <DBInstanceNetType>2</DBInstanceNetType>\\n <Port>6379</Port>\\n <DirectConnection>0</DirectConnection>\\n <Upgradeable>0</Upgradeable>\\n <ConnectionString>r-bp1ky7j6qc7umk****.redis.rds.aliyuncs.com</ConnectionString>\\n <IPAddress>172.16.49.***</IPAddress>\\n </InstanceNetInfo>\\n</NetInfoItems>\\n<RequestId>500F0FD3-5065-4A1D-A27C-BBC567956068</RequestId>\\n<InstanceNetworkType>VPC</InstanceNetworkType>\\n</DescribeDBInstanceNetInfoResponse>","errorExample":"<DescribeDBInstanceNetInfoResponse>\\n <RequestId>314C4FB3-4256-424F-9AD9-1A6B3444160A</RequestId>\\n <InstanceNetworkType>Classic</InstanceNetworkType>\\n <NetInfoItems>\\n <InstanceNetInfo>\\n <DBInstanceNetType>1</DBInstanceNetType>\\n <Port>6379</Port>\\n <ConnectionString>r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com</ConnectionString>\\n <VPCId></VPCId>\\n <IPAddress>xxx.xxx.xxx.xxx</IPAddress>\\n <IPType>Inner</IPType>\\n <Upgradeable>0</Upgradeable>\\n </InstanceNetInfo>\\n </NetInfoItems>\\n</DescribeDBInstanceNetInfoResponse>"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceNetworkType\\": \\"CLASSIC\\",\\n \\"RequestId\\": \\"FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B\\",\\n \\"NetInfoItems\\": {\\n \\"InstanceNetInfo\\": [\\n {\\n \\"DirectConnection\\": 0,\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"DBInstanceNetType\\": \\"1\\",\\n \\"Upgradeable\\": \\"0\\",\\n \\"ExpiredTime\\": \\"5183778\\",\\n \\"ConnectionString\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"IPType\\": \\"Inner\\",\\n \\"VPCInstanceId\\": \\"r-bp1ky7j6qc7umk****\\",\\n \\"Port\\": \\"6379\\",\\n \\"VPCId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"IPAddress\\": \\"172.16.49.***\\",\\n \\"IsSlaveProxy\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeDBInstanceNetInfo', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-09-17T02:20:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-27T03:33:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-27T12:03:37.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceNetInfo'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBInstanceNetInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], ], 'DescribeDBNodeDirectVipInfo' => [ 'summary' => 'Queries the information about virtual IP addresses (VIPs) of child instances of a cluster instance in direct connection mode.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8619,24 +6354,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '204017', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -8644,16 +6368,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], 'DirectVipInfo' => [ 'type' => 'object', 'itemNode' => true, @@ -8665,275 +6381,241 @@ 'description' => 'The VIP information of a shard in the cluster instance.'."\n", 'type' => 'object', 'properties' => [ - 'NodeId' => [ - 'description' => 'The shard ID.'."\n", - 'type' => 'string', - 'example' => 'r-8vb3679b04551444-db-2', - ], - 'Vip' => [ - 'description' => 'The VIP of the shard.'."\n", - 'type' => 'string', - 'example' => '100.115.61.8', - ], - 'Port' => [ - 'description' => 'The port number. Valid values: **1024** to **65535**. Default value: **6379**.'."\n", - 'type' => 'string', - 'example' => '6379', - ], - 'NetType' => [ - 'description' => 'The network type of the security group. Valid values:'."\n" - ."\n" - .'* **vpc**: Virtual Private Cloud (VPC)'."\n", - 'type' => 'string', - 'example' => 'vpc', - ], + 'NodeId' => ['description' => 'The shard ID.'."\n", 'type' => 'string', 'example' => 'r-8vb3679b04551444-db-2', 'title' => ''], + 'Vip' => ['description' => 'The VIP of the shard.'."\n", 'type' => 'string', 'example' => '100.115.61.8', 'title' => ''], + 'Port' => ['description' => 'The port number. Valid values: **1024** to **65535**. Default value: **6379**.'."\n", 'type' => 'string', 'example' => '6379', 'title' => ''], + 'NetType' => ['description' => 'The network type of the security group. Valid values:'."\n" + ."\n" + .'* **vpc**: Virtual Private Cloud (VPC)'."\n", 'type' => 'string', 'example' => 'vpc', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"DirectVipInfo\\": {\\n \\"VipInfo\\": [\\n {\\n \\"NodeId\\": \\"r-8vb3679b04551444-db-2\\",\\n \\"Vip\\": \\"100.115.61.8\\",\\n \\"Port\\": \\"6379\\",\\n \\"NetType\\": \\"vpc\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeDBNodeDirectVipInfo', 'description' => '> Only instances that use cloud disks support this operation.'."\n", - ], - 'DescribeLogicInstanceTopology' => [ - 'summary' => 'Queries the logical topology of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBNodeDirectVipInfo'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBNodeDirectVipInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'DescribeDbInstanceConnectivity' => [ + 'summary' => 'Checks the connectivity between the client IP address and the instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '56415', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - ], + 'abilityTreeCode' => '160612', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1r36hdqlrgt1****', 'title' => ''], + ], + [ + 'name' => 'SrcIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the client.'."\n", 'type' => 'string', 'required' => true, 'example' => '124.207.240.***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '794120D1-E0CF-4713-BAE4-EBAEA04506AF', - ], - 'RedisProxyList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'NodeInfo' => [ - 'description' => 'The detailed proxy information, including information about proxy nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Capacity' => [ - 'description' => 'The storage capacity of the node. Unit: MB.'."\n", - 'type' => 'string', - 'example' => '5120', - ], - 'Connection' => [ - 'description' => 'The maximum number of connections.'."\n", - 'type' => 'string', - 'example' => '320000', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **proxy**: proxy node'."\n" - .'* **db**: data node'."\n", - 'type' => 'string', - 'example' => 'proxy', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth throttling of the node. Unit: MB/s.'."\n", - 'type' => 'string', - 'example' => '96', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'example' => 'r-bp10noxlhcoim2****-proxy-3#542****', - ], - ], - 'description' => '', - ], - ], - ], - ], - 'RedisShardList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'NodeInfo' => [ - 'description' => 'Details of data shards, which includes node information such as NodeInfo.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Capacity' => [ - 'description' => 'The storage capacity of the node. Unit: MB.'."\n", - 'type' => 'string', - 'example' => '2048', - ], - 'Connection' => [ - 'description' => 'The maximum number of connections.'."\n", - 'type' => 'string', - 'example' => '10000', - ], - 'NodeType' => [ - 'description' => 'The node type. Valid values:'."\n" - ."\n" - .'* **proxy**: proxy node'."\n" - .'* **db**: data node'."\n", - 'type' => 'string', - 'example' => 'db', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth throttling of the node. Unit: MB/s.'."\n", - 'type' => 'string', - 'example' => '96', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'example' => 'r-bp10noxlhcoim2****-db-0#688****', - ], - 'SubInstanceType' => [ - 'description' => '子实例类型,返回值:'."\n" - .'* **master**:主节点类型。'."\n" - .'* **readonly**:只读实例类型。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'master', - ], - ], - 'description' => '', - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****'], + 'ConnCheckResult' => ['description' => 'The connection check result. Valid values:'."\n" + ."\n" + .'* **Success**'."\n" + .'* **Failed**'."\n", 'type' => 'string', 'example' => 'Failed', 'title' => ''], + 'ConnCheckErrorCode' => ['description' => 'The error code for connection diagnosis. Valid values:'."\n" + ."\n" + .'* **SRC_IP_NOT_IN_USER_WHITELIST**: The source IP address is not added to the whitelist.'."\n" + .'* **CONNECTION_ABNORMAL**: The connection to the instance is normal.'."\n", 'type' => 'string', 'example' => 'SRC_IP_NOT_IN_USER_WHITELIST', 'title' => ''], + 'ConnCheckErrorMessage' => ['description' => 'The error message for connection diagnosis.'."\n", 'type' => 'string', 'example' => 'Src ip:172.28.134.96 not in user whitelist', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"794120D1-E0CF-4713-BAE4-EBAEA04506AF\\",\\n \\"RedisProxyList\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"Capacity\\": \\"5120\\",\\n \\"Connection\\": \\"320000\\",\\n \\"NodeType\\": \\"proxy\\",\\n \\"Bandwidth\\": \\"96\\",\\n \\"NodeId\\": \\"r-bp10noxlhcoim2****-proxy-3#542****\\"\\n }\\n ]\\n },\\n \\"RedisShardList\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"Capacity\\": \\"2048\\",\\n \\"Connection\\": \\"10000\\",\\n \\"NodeType\\": \\"db\\",\\n \\"Bandwidth\\": \\"96\\",\\n \\"NodeId\\": \\"r-bp10noxlhcoim2****-db-0#688****\\",\\n \\"SubInstanceType\\": \\"master\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RedisShardList\\":\\n {\\"NodeInfo\\":[{\\n \\"NodeId\\":\\"r-xxxxxxxxxxxxxxx-proxy-3#5425423\\",\\n \\"NodeType\\":\\"proxy\\",\\n \\"Capacity\\":\\"5120\\",\\n \\"Connection\\":\\"320000\\",\\n \\"Bandwidth\\":96\\n\\t\\t\\t\\t }]},\\n \\"InstanceId\\":\\"r-xxxxxxxxxxxxxxx\\",\\n \\"RequestId\\":\\"5F749626-2B6A-4DC2-A010-B51F7C33084E\\"\\n }"},{"type":"xml","example":"<DescribeLogicInstanceTopologyResponse>\\n <RedisShardList>\\n <NodeInfo>\\n <Capacity>2048</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>db</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-db-0#14965569</NodeId>\\n <Connection>30000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>2048</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>db</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-db-1#14965575</NodeId>\\n <Connection>30000</Connection>\\n </NodeInfo>\\n </RedisShardList>\\n <RequestId>B5250FA2-CB49-4B68-9263-721099AC928A</RequestId>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <RedisProxyList>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-0#14965583</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-1#14965585</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-2#14965587</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-3#14965589</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-4#14965591</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n <NodeInfo>\\n <Capacity>5120</Capacity>\\n <Bandwidth>96</Bandwidth>\\n <NodeType>proxy</NodeType>\\n <NodeId>r-bp10noxlhcoim2****-proxy-5#14965571</NodeId>\\n <Connection>20000</Connection>\\n </NodeInfo>\\n </RedisProxyList>\\n</DescribeLogicInstanceTopologyResponse>","errorExample":"<DescribeLogicInstanceTopologyResponse>\\n <RedisShardList>\\n <NodeInfo>\\n <NodeId>r-xxxxxxxxxxxxxxx-proxy-3#5425423</NodeId>\\n <NodeType>proxy</NodeType>\\n <Capacity>5120</Capacity>\\n <Connection>320000</Connection>\\n <Bandwidth>96</Bandwidth>\\n </NodeInfo>\\n </RedisShardList>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <RequestId>5F749626-2B6A-4DC2-A010-B51F7C33084E</RequestId>\\n</DescribeLogicInstanceTopologyResponse>"}]', - 'title' => 'DescribeLogicInstanceTopology', - 'description' => 'This parameter is supported only for cluster and read/write splitting instances.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RestartInstance' => [ - 'summary' => 'Restarts a running Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"ConnCheckResult\\": \\"Failed\\",\\n \\"ConnCheckErrorCode\\": \\"SRC_IP_NOT_IN_USER_WHITELIST\\",\\n \\"ConnCheckErrorMessage\\": \\"Src ip:172.28.134.96 not in user whitelist\\"\\n}","type":"json"}]', + 'title' => 'DescribeDbInstanceConnectivity', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDbInstanceConnectivity'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDbInstanceConnectivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'DescribeDedicatedClusterInstanceList' => [ + 'summary' => 'Queries the information of Tair (Redis OSS-compatible) instances deployed in a dedicated cluster.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56515', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56395', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID of the instance. You can call the [DescribeZones](~~473764~~) operation to query the most recent zone list.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-e', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> The instance must be created by using a dedicated cluster. For more information, see [What is ApsaraDB for MyBase?](~~141455~~)'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'InstanceStatus', + 'in' => 'query', + 'schema' => ['description' => 'The state of the instance. Valid values:'."\n" + ."\n" + .'* **0**: The instance is being created.'."\n" + .'* **1**: The instance is running.'."\n" + .'* **3**: The instance is being deleted.'."\n" + .'* **5**: The configurations of the instance are being changed.'."\n" + .'* **6**: The instance is being migrated.'."\n" + .'* **7**: The instance is being restored from a backup.'."\n" + .'* **8**: A master-replica switchover is in progress.'."\n" + .'* **9**: Expired data of the instance is being deleted.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'InstanceNetType', + 'in' => 'query', + 'schema' => ['description' => 'The network type of the instance. Valid values:'."\n" + ."\n" + .'* **0**: Internet'."\n" + .'* **1**: classic network'."\n" + .'* **2**: Virtual Private Cloud (VPC)'."\n", 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'Engine', + 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", + 'description' => 'The database engine of the instance. Set the value to **Redis**.'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'example' => 'Redis', + 'default' => 'Redis', + 'enum' => ['Redis'], + 'title' => '', ], ], [ - 'name' => 'EffectiveTime', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The time when you want to restart the instance. Default value: Immediately. Valid values:'."\n" - ."\n" - .'* **Immediately**: immediately restarts the instance.'."\n" - .'* **MaintainTime**: restarts the instance during the maintenance window.'."\n", + 'description' => 'The database engine version of the instance. Set the value to **5.0**.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - '0', - '1', - 'Immediately', - 'MaintainTime', - ], + 'example' => '5.0', + 'enum' => ['5.0', '6.0'], + 'title' => '', ], ], [ - 'name' => 'UpgradeMinorVersion', + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the dedicated cluster. You can view the dedicated cluster ID on the Dedicated Clusters page in the ApsaraDB for MyBase console.'."\n" + ."\n" + .'> Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'dhg-5f2v98840ioq****', 'title' => ''], + ], + [ + 'name' => 'DedicatedHostName', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the host in the dedicated cluster. You can call the [DescribeDedicatedHosts](~~200944~~) operation to query the host ID.'."\n" + ."\n" + .'> Separate multiple IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ch-t4n664a9mal4c****', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to update to the latest minor version when the instance is restarted. Valid values:'."\n" - ."\n" - .'* **true**: updates the minor version.'."\n" - .'* **false**: does not update the minor version.'."\n" - ."\n" - .'> The default value is **true**.'."\n", - 'type' => 'boolean', + 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'true', - 'default' => 'true', + 'example' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], ], @@ -8942,91 +6624,165 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'EFC9161F-15E3-4A6E-8A99-C33331****', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '11111****', + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '25', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '712CCF2A-16BD-411B-93F7-E978BEF2****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Instances' => [ + 'description' => 'Details about the instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Details about the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.'."\n", 'type' => 'string', 'example' => 'vpc-t4n2clc70t3hqwsrr****', 'title' => ''], + 'CharacterType' => ['description' => 'The architecture of the instance. Valid values:'."\n" + ."\n" + .'* **logic**: cluster'."\n" + .'* **normal**: standard'."\n", 'type' => 'string', 'example' => 'logic', 'title' => ''], + 'VswitchId' => ['description' => 'The vSwitch ID.'."\n", 'type' => 'string', 'example' => 'vsw-t4nvrca24dczppq44****', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type.'."\n", 'type' => 'string', 'example' => 'redis.cluster.sharding.common.ce', 'title' => ''], + 'MaintainStartTime' => ['description' => 'The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '16:00Z', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.', 'type' => 'string', 'example' => '2021-05-06T07:09:40Z', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The private endpoint of the instance.'."\n", 'type' => 'string', 'example' => 'r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com', 'title' => ''], + 'MaintainEndTime' => ['description' => 'The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '17:00Z', 'title' => ''], + 'StorageType' => ['description' => 'The storage type of the instance. The return value is LOCAL_SSD, which indicates [enhanced SSDs (ESSDs)](~~122389~~).'."\n", 'type' => 'string', 'example' => 'LOCAL_SSD', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1e7vl6ygf1yq****', 'title' => ''], + 'BandWidth' => ['description' => 'The default bandwidth of the instance. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], + 'CurrentBandWidth' => ['description' => 'The current bandwidth of the instance, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], + 'EngineVersion' => ['description' => 'The database engine version of the instance. The return value is **5.0**.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.'."\n", 'type' => 'string', 'example' => 'testdb', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-e', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the dedicated cluster to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'testname', 'title' => ''], + 'InstanceStatus' => ['description' => 'The state of the instance. Valid values:'."\n" + ."\n" + .'* **Normal**: The instance is normal.'."\n" + .'* **Creating**: The instance is being created.'."\n" + .'* **Changing**: The configurations of the instance are being changed.'."\n" + .'* **Inactive**: The instance is disabled.'."\n" + .'* **Flushing**: The instance is being released.'."\n" + .'* **Released**: The instance is released.'."\n" + .'* **Transforming**: The billing method of the instance is being changed.'."\n" + .'* **Unavailable**: The instance is unavailable.'."\n" + .'* **Error**: The instance failed to be created.'."\n" + .'* **Migrating**: The instance is being migrated.'."\n" + .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" + .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" + .'* **SSLModifying**: The SSL configurations of the instance are being changed.'."\n" + .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n", 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'Engine' => ['description' => 'The database engine. The return value is **redis**.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'ShardCount' => ['description' => 'The number of shards.'."\n" + ."\n" + .'> This parameter is returned only when the instance is a [cluster](~~52228~~) instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'CustomId' => ['description' => 'An internal parameter used for the maintenance and management of instances.'."\n", 'type' => 'string', 'example' => '4652****', 'title' => ''], + 'ProxyCount' => ['description' => 'The number of proxy nodes.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the return value is **0**, the proxy mode is disabled for the instance. If the return value is an integer greater than **0**, such as **1**, the proxy mode is enabled for the instance.'."\n" + ."\n" + .'* This parameter is returned only when the instance is a [cluster](~~52228~~) instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ClusterId' => ['description' => 'The ID of the dedicated cluster to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'dhg-rx71fc5ndh9o****', 'title' => ''], + 'InstanceNodeList' => [ + 'description' => 'Details about the nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Details about the node.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeIp' => ['description' => 'The IP address of the node.'."\n", 'type' => 'string', 'example' => '10.0.33.***', 'title' => ''], + 'DedicatedHostName' => ['description' => 'The ID of the host in the dedicated cluster.'."\n", 'type' => 'string', 'example' => 'ch-bp13vf0y9gx3c****', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + ."\n" + .'* **db**: data node.'."\n" + .'* **proxy**: proxy node.'."\n" + .'* **normal**: regular node. This value is returned when the instance runs in the standard architecture.'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID of the node.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1e7vl6ygf1yq****', 'title' => ''], + 'Port' => ['description' => 'The port number that is used to connect to the node.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3001', 'title' => ''], + 'Role' => ['description' => 'The role of the node. Valid values:'."\n" + ."\n" + .'* **master**: master node'."\n" + .'* **slave**: replica node'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '17921111', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support this operation.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EFC9161F-15E3-4A6E-8A99-C33331****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"11111****\\"\\n}","errorExample":""},{"type":"xml","example":"<RestartInstanceResponse>\\r\\n <RequestId>EFC9161F-15E3-4A6E-8A99-6661****</RequestId>\\r\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\r\\n <TaskId>11111****</TaskId>\\r\\n</RestartInstanceResponse>","errorExample":""}]', - 'title' => 'RestartInstance', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 25,\\n \\"RequestId\\": \\"712CCF2A-16BD-411B-93F7-E978BEF2****\\",\\n \\"TotalCount\\": 0,\\n \\"Instances\\": [\\n {\\n \\"VpcId\\": \\"vpc-t4n2clc70t3hqwsrr****\\",\\n \\"CharacterType\\": \\"logic\\",\\n \\"VswitchId\\": \\"vsw-t4nvrca24dczppq44****\\",\\n \\"InstanceClass\\": \\"redis.cluster.sharding.common.ce\\",\\n \\"MaintainStartTime\\": \\"16:00Z\\",\\n \\"CreateTime\\": \\"2021-05-06T07:09:40Z\\",\\n \\"ConnectionDomain\\": \\"r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com\\",\\n \\"MaintainEndTime\\": \\"17:00Z\\",\\n \\"StorageType\\": \\"LOCAL_SSD\\",\\n \\"InstanceId\\": \\"r-bp1e7vl6ygf1yq****\\",\\n \\"BandWidth\\": 24,\\n \\"CurrentBandWidth\\": 50,\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceName\\": \\"testdb\\",\\n \\"ZoneId\\": \\"cn-hangzhou-e\\",\\n \\"ClusterName\\": \\"testname\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ShardCount\\": 3,\\n \\"CustomId\\": \\"4652****\\",\\n \\"ProxyCount\\": 1,\\n \\"ClusterId\\": \\"dhg-rx71fc5ndh9o****\\",\\n \\"InstanceNodeList\\": [\\n {\\n \\"NodeIp\\": \\"10.0.33.***\\",\\n \\"DedicatedHostName\\": \\"ch-bp13vf0y9gx3c****\\",\\n \\"NodeType\\": \\"normal\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceId\\": \\"r-bp1e7vl6ygf1yq****\\",\\n \\"Port\\": 3001,\\n \\"Role\\": \\"master\\",\\n \\"NodeId\\": 17921111\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDedicatedClusterInstanceListResponse>\\n <Instances>\\n <StorageType>LOCAL_SSD</StorageType>\\n <EngineVersion>5.0</EngineVersion>\\n <ZoneId>cn-hangzhou-e</ZoneId>\\n <InstanceId>r-bp1e7vl6ygf1yq****</InstanceId>\\n <ClusterId>dhg-rx71fc5ndh9o****</ClusterId>\\n <CreateTime>2021-05-06T07:09:40Z</CreateTime>\\n <InstanceClass>redis.cluster.sharding.common.ce</InstanceClass>\\n <CharacterType>logic</CharacterType>\\n <VswitchId>vsw-t4nvrca24dczppq44****</VswitchId>\\n <CurrentBandWidth>50</CurrentBandWidth>\\n <ShardCount>3</ShardCount>\\n <ConnectionDomain>r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com</ConnectionDomain>\\n <InstanceName>testdb</InstanceName>\\n <BandWidth>24</BandWidth>\\n <MaintainEndTime>17:00Z</MaintainEndTime>\\n <VpcId>vpc-t4n2clc70t3hqwsrr****</VpcId>\\n <InstanceStatus>Normal</InstanceStatus>\\n <CustomId>4652****</CustomId>\\n <ProxyCount>1</ProxyCount>\\n <ClusterName>testname</ClusterName>\\n <RegionId>cn-hangzhou</RegionId>\\n <Engine>redis</Engine>\\n <MaintainStartTime>16:00Z</MaintainStartTime>\\n <InstanceNodeList>\\n <Role>master</Role>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <DedicatedHostName>ch-bp13vf0y9gx3c****</DedicatedHostName>\\n <InstanceId>r-bp1e7vl6ygf1yq****</InstanceId>\\n <Port>3001</Port>\\n <NodeType>normal</NodeType>\\n <NodeId>17921111</NodeId>\\n <NodeIp>10.0.33.***</NodeIp>\\n </InstanceNodeList>\\n </Instances>\\n <TotalCount>1</TotalCount>\\n <RequestId>712CCF2A-16BD-411B-93F7-E978BEF2****</RequestId>\\n <PageSize>30</PageSize>\\n <PageNumber>1</PageNumber>\\n</DescribeDedicatedClusterInstanceListResponse>","errorExample":""}]', + 'title' => 'DescribeDedicatedClusterInstanceList', + 'description' => '> If you want to query the information about Tair (Redis OSS-compatible) instances that are not deployed in a dedicated cluster, call the [DescribeInstanceAttribute](~~473779~~) operation.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FlushExpireKeys' => [ - 'summary' => 'Clears all expired keys in a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-12-13T06:39:58.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDedicatedClusterInstanceList'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDedicatedClusterInstanceList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeEncryptionKey' => [ + 'summary' => 'Queries the details of a custom key for a Tair (Redis OSS-compatible) instance to use transparent data encryption (TDE).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', + 'abilityTreeCode' => '56397', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EffectiveTime', + 'name' => 'EncryptionKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when you want to delete the expired keys. Default value: Immediately. Valid values:'."\n" - ."\n" - .'* **Immediately**: deletes the keys immediately.'."\n" - .'* **MaintainTime**: deletes the keys during the maintenance window.'."\n" - ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => '0', - 'enum' => [ - 'Immediately', - 'MaintainTime', - ], - ], + 'schema' => ['description' => 'The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~473860~~) operation to query the ID of the key.', 'type' => 'string', 'required' => false, 'example' => 'ad463061-992d-4195-8a94-ed63********', 'title' => ''], ], ], 'responses' => [ @@ -9034,136 +6790,173 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '82E30AB7-E3A4-46AC-88A0-3E4DCDC5****', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '21986****', - ], + 'DeleteDate' => ['description' => 'The time when the custom key is expected to be deleted. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" + ."\n" + .'> If the return value is an empty string, the custom key cannot be automatically deleted.'."\n", 'type' => 'string', 'example' => '2021-09-24T18:22:03Z', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9A931CE5-C926-5E09-B0EC-6299C4A6****', 'title' => ''], + 'Description' => ['description' => 'The description of the custom key. By default, an empty string is returned.'."\n", 'type' => 'string', 'example' => 'testkey', 'title' => ''], + 'Origin' => ['description' => 'The source of the custom key. A value of **Aliyun_KMS** indicates [Key Management Service (KMS)](~~28935~~) of Alibaba Cloud.'."\n", 'type' => 'string', 'example' => 'Aliyun_KMS', 'title' => ''], + 'MaterialExpireTime' => ['description' => 'The time when the custom key expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" + ."\n" + .'> If the return value is an empty string, the custom key does not expire.'."\n", 'type' => 'string', 'example' => '2021-09-24T18:22:03Z', 'title' => ''], + 'EncryptionKeyStatus' => ['description' => 'The state of the custom key. Valid values:'."\n" + ."\n" + .'* **Enabled**: The custom key is available.'."\n" + .'* **Disabled**: The custom key is unavailable.'."\n", 'type' => 'string', 'example' => 'Enabled', 'title' => ''], + 'KeyUsage' => ['description' => 'The purpose of the custom key. A value of `ENCRYPT/DECRYPT` indicates encryption and decryption.'."\n", 'type' => 'string', 'example' => 'ENCRYPT/DECRYPT', 'title' => ''], + 'EncryptionKey' => ['description' => 'The ID of the custom key.'."\n", 'type' => 'string', 'example' => 'ad463061-992d-4195-8a94-ed63********', 'title' => ''], + 'Creator' => ['description' => 'The ID of the Alibaba Cloud account that is used to create the custom key.'."\n", 'type' => 'string', 'example' => '17649847********', 'title' => ''], + 'EncryptionName' => ['description' => 'The encryption algorithm.'."\n", 'type' => 'string', 'example' => 'AES-CTR-256', 'title' => ''], + 'RoleArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role to which you want to grant permissions.'."\n", 'type' => 'string', 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"82E30AB7-E3A4-46AC-88A0-3E4DCDC5****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"21986****\\"\\n}","errorExample":""},{"type":"xml","example":"<FlushExpireKeysResponse>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>82E30AB7-E3A4-46AC-88A0-3E4DCDC5****</RequestId>\\n <TaskId>21986****</TaskId>\\n</FlushExpireKeysResponse>","errorExample":""}]', - 'title' => 'FlushExpireKeys', - 'description' => 'For more information about how to clear the expired keys in the Tair (Redis OSS-compatible) console, see [Clear data](~~43881~~).'."\n" + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InstanceType.NotSupport', 'errorMessage' => 'Current instance type does not support this operation.', 'description' => 'The current instance type does not support this operation'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeleteDate\\": \\"2021-09-24T18:22:03Z\\",\\n \\"RequestId\\": \\"9A931CE5-C926-5E09-B0EC-6299C4A6****\\",\\n \\"Description\\": \\"testkey\\",\\n \\"Origin\\": \\"Aliyun_KMS\\",\\n \\"MaterialExpireTime\\": \\"2021-09-24T18:22:03Z\\",\\n \\"EncryptionKeyStatus\\": \\"Enabled\\",\\n \\"KeyUsage\\": \\"ENCRYPT/DECRYPT\\",\\n \\"EncryptionKey\\": \\"ad463061-992d-4195-8a94-ed63********\\",\\n \\"Creator\\": \\"17649847********\\",\\n \\"EncryptionName\\": \\"AES-CTR-256\\",\\n \\"RoleArn\\": \\"acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeEncryptionKeyResponse>\\n <Origin>Aliyun_KMS</Origin>\\n <Description>testkey</Description>\\n <EncryptionKeyStatus>Enabled</EncryptionKeyStatus>\\n <RequestId>9A931CE5-C926-5E09-B0EC-6299C4A6****</RequestId>\\n <MaterialExpireTime>2021-09-24T18:22:03Z</MaterialExpireTime>\\n <KeyUsage>ENCRYPT/DECRYPT</KeyUsage>\\n <EncryptionKey>ad463061-992d-4195-8a94-ed63********</EncryptionKey>\\n <Creator>17649847********</Creator>\\n <DeleteDate>2021-09-24T18:22:03Z</DeleteDate>\\n</DescribeEncryptionKeyResponse>","errorExample":""}]', + 'title' => 'DescribeEncryptionKey', + 'description' => 'Before you call this operation, TDE must be enabled for the Tair (Redis OSS-compatible) instance by using a custom key. For more information, see [ModifyInstanceTDE](~~473859~~).'."\n" ."\n" - .'> Expired keys cannot be recovered after they are deleted. Exercise caution when you call this operation.', + .'> For more information about TDE, see [Enable TDE](~~265913~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FlushInstanceForDB' => [ - 'summary' => 'Cleans the data of specified databases in a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-13T12:02:38.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-26T09:46:19.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEncryptionKey'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEncryptionKey', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'DescribeEncryptionKeyList' => [ + 'summary' => 'Queries a list of custom keys used by Tair (Redis OSS-compatible) instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', + 'abilityTreeCode' => '56398', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'DbIndex', - 'in' => 'query', - 'schema' => [ - 'description' => 'The index number of the database. Valid values: 0 to 255.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response body.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '10E2160B-959C-5C3E-BFE6-86EC5925****', 'title' => ''], + 'KeyIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'KeyId' => [ + 'description' => 'The custom keys that are available in the region.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The custom key.'."\n", 'type' => 'string', 'example' => 'a0e7e2c9-8ee5-40ed-bbca-7dbc********', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DescribeEncryptionKeyList', + 'description' => '* You can specify a custom key when you call the [ModifyInstanceTDE](~~473859~~) operation to enable Transparent Data Encryption (TDE). You can call the DescribeEncryptionKeyList operation to query the custom keys that are in use. To create a custom key, you can call the [CreateKey](~~28947~~) operation of Key Management Service (KMS).'."\n" + .'* For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:53.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', - 'title' => 'FlushInstanceForDB', - 'description' => 'Each Tair (Redis OSS-compatible) instance can contain up to 256 databases named from DB0 to DB255. Each database does not have a separate memory usage limit. The memory capacity that a database can use is subject to the total memory limit of the instance. You can execute the `SELECT` statement to switch between databases. For more information, see [What is the size of each database on a Tair (Redis OSS-compatible) instance, and how can I choose databases?](~~38688~~)'."\n" - ."\n" - .'> This operation is available only for cloud-native instances that use cloud disks.'."\n", - ], - 'FlushInstance' => [ - 'summary' => 'Clears the data of a Tair (Redis OSS-compatible) instance. The cleared data cannot be restored.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEncryptionKeyList'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEncryptionKeyList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"10E2160B-959C-5C3E-BFE6-86EC5925****\\",\\n \\"KeyIds\\": {\\n \\"KeyId\\": [\\n \\"a0e7e2c9-8ee5-40ed-bbca-7dbc********\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeEncryptionKeyListResponse>\\n <RequestId>10E2160B-959C-5C3E-BFE6-86EC5925****</RequestId>\\n <KeyIds>\\n <KeyId>a0e7e2c9-8ee5-40ed-bbca-7dbc********</KeyId>\\n <KeyId>ad463061-992d-4195-8a94-ed63********</KeyId>\\n </KeyIds>\\n</DescribeEncryptionKeyListResponse>","errorExample":""}]', + ], + 'DescribeEngineVersion' => [ + 'summary' => 'Queries the major version and minor version of a Tair (Redis OSS-compatible) instance and the release notes for minor versions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56399', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -9171,110 +6964,241 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The operation that you want to perform. Set the value to **FlushInstance**.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7', + 'IsLatestVersion' => ['description' => 'Indicates whether the instance uses the latest minor version. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A52974D1-9D57-4805-86CC-92E6EDE8****', 'title' => ''], + 'ProxyMinorVersion' => ['description' => 'The current minor version of the proxy node.'."\n" + ."\n" + .'> This parameter is returned only for cluster and read/write splitting instances.'."\n", 'type' => 'string', 'example' => '6.6.0', 'title' => ''], + 'DBVersionRelease' => ['description' => 'The release notes for the minor version of the instance, including the release date, minor version number, release type such as new feature, and description.'."\n", 'type' => 'string', 'example' => '{\\"releaseInfo\\":{\\"createTime\\":\\"2021-07-27\\",\\"level\\":1,\\"releaseVersion\\":\\"0.5.4\\",\\"releaseNote\\":\\"功能更新:增强稳定性。\\"}],\\"versionChangesLevel\\":2}', 'title' => ''], + 'ProxyVersionRelease' => ['description' => 'The release notes for the minor version of proxy nodes. The release notes include the release date, minor version number, release type such as new feature, and description.'."\n" + ."\n" + .'> This parameter is returned only for cluster and read/write splitting instances.'."\n", 'type' => 'string', 'example' => '{\\"releaseInfo\\":[{\\"createTime\\":\\"2021-06-08\\",\\"level\\":0,\\"releaseVersion\\":\\"6.6.2\\",\\"releaseNote\\":\\"新特性:增加对部分内部命令的支持。\\"}],\\"versionChangesLevel\\":2}', 'title' => ''], + 'EnableUpgradeMajorVersion' => ['description' => 'Indicates whether the instance major version can be upgraded. Valid values:'."\n" + ."\n" + .'* **true**: The major version can be upgraded.'."\n" + .'* **false**: The major version is the latest version and cannot be upgraded.'."\n" + ."\n" + .'> To upgrade the major version, call the [ModifyInstanceMajorVersion](~~473776~~) operation.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnableUpgradeMinorVersion' => ['description' => 'Indicates whether the instance minor version can be updated. Valid values:'."\n" + ."\n" + .'* **true**: The minor version can be updated.'."\n" + .'* **false**: The minor version is the latest version and cannot be updated.'."\n" + ."\n" + .'> To update the minor version, call the [ModifyInstanceMinorVersion](~~473777~~) operation.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'MajorVersion' => ['description' => 'The major version of the instance.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'Engine' => ['description' => 'The database engine. Valid values: **redis** and **memcache**.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'MinorVersion' => ['description' => 'The current minor version of the instance.'."\n", 'type' => 'string', 'example' => 'redis-5.0_0.5.0', 'title' => ''], + 'IsRedisCompatibleVersion' => ['description' => 'Indicates whether the instance runs a Redis version.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'IsSSLEnable' => ['description' => 'Indicates whether SSL is enabled. Valid values:'."\n" + ."\n" + .'* **1**: SSL is enabled.'."\n" + .'* **0**: TLS is disabled.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'IsNewSSLMode' => ['description' => 'Indicates whether Transport Layer Security (TLS) is enabled. Valid values:'."\n" + ."\n" + .'* **1**: TLS is enabled.'."\n" + .'* **0**: TLS is disabled.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'IsAutoUpgradeOpen' => ['description' => 'Indicates whether automatic minor version update is enabled. Valid values:'."\n" + ."\n" + .'* **0**: Automatic minor version update is disabled.'."\n" + .'* **1**: Automatic minor version update is enabled.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'DBLatestMinorVersion' => [ + 'description' => 'The latest minor version to which the instance can be updated.'."\n", + 'type' => 'object', + 'properties' => [ + 'MinorVersion' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => '7.0.1.4', 'title' => ''], + 'Level' => ['description' => 'The version update level. Valid values:'."\n" + ."\n" + .'* **0**: regular'."\n" + .'* **1**: recommended'."\n" + .'* **2**: critical'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'VersionRelease' => [ + 'description' => 'The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.'."\n", + 'type' => 'object', + 'properties' => [ + 'VersionChangesLevel' => ['description' => 'The version update level, which indicates how strongly the update is recommended. Valid values:'."\n" + ."\n" + .'* 0: regular'."\n" + .'* 1: recommended'."\n" + .'* 2: critical'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ReleaseInfo' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ReleaseInfoList' => [ + 'description' => 'The information about the minor versions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The minor version information.'."\n", + 'type' => 'object', + 'properties' => [ + 'ReleaseVersion' => ['description' => 'The release version of EMR.'."\n", 'type' => 'string', 'example' => 'EMR-5.7.0', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time of the instance.'."\n", 'type' => 'string', 'example' => '2022-11-21T13:28Z', 'title' => ''], + 'ReleaseNote' => ['description' => 'The release notes.'."\n", 'type' => 'string', 'example' => '发布说明', 'title' => ''], + 'Level' => ['description' => 'The importance level.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ReleaseNoteEn' => ['description' => 'The description of the minor versions to which the instance can be updated.'."\n", 'type' => 'string', 'example' => '版本升级英文描述', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ProxyLatestMinorVersion' => [ + 'description' => 'The latest minor version to which the proxy node can be updated.'."\n", + 'type' => 'object', + 'properties' => [ + 'MinorVersion' => ['description' => 'The version number.'."\n", 'type' => 'string', 'example' => '7.0.6', 'title' => ''], + 'Level' => ['description' => 'The version update level. Valid values:'."\n" + ."\n" + .'* **0**: regular'."\n" + .'* **1**: recommended'."\n" + .'* **2**: critical'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'VersionRelease' => [ + 'description' => 'The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.'."\n", + 'type' => 'object', + 'properties' => [ + 'ReleaseInfo' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ReleaseInfoList' => [ + 'description' => 'The information about the minor versions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The minor version information.'."\n", + 'type' => 'object', + 'properties' => [ + 'ReleaseVersion' => ['description' => 'The release version of EMR.'."\n", 'type' => 'string', 'example' => 'EMR-5.9.1', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the version was released.'."\n", 'type' => 'string', 'example' => '2022-08-23T14:26:20Z', 'title' => ''], + 'ReleaseNote' => ['description' => 'The release notes.'."\n", 'type' => 'string', 'example' => 'x x x x', 'title' => ''], + 'Level' => ['description' => 'The version update level. Valid values:'."\n" + ."\n" + .'* **0**: regular'."\n" + .'* **1**: recommended'."\n" + .'* **2**: critical'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ReleaseNoteEn' => ['description' => 'The description of the minor versions to which the instance can be updated.'."\n", 'type' => 'string', 'example' => '版本升级英文描述', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VersionChangesLevel' => ['description' => 'The version update level, which indicates how strongly the update is recommended. Valid values:'."\n" + ."\n" + .'* 0: regular'."\n" + .'* 1: recommended'."\n" + .'* 2: critical'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'IsOpenNGLB' => ['description' => 'Indicates whether the NGLB mode is enabled. Valid values:'."\n" + ."\n" + .'* **0**: The NGLB mode is disabled.'."\n" + .'* **1**: The NGLB mode is enabled.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7\\"\\n}"},{"type":"xml","example":"<FlushInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</FlushInstanceResponse>","errorExample":"<FlushInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</FlushInstanceResponse>"}]', - 'title' => 'FlushInstance', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"IsLatestVersion\\": false,\\n \\"RequestId\\": \\"A52974D1-9D57-4805-86CC-92E6EDE8****\\",\\n \\"ProxyMinorVersion\\": \\"6.6.0\\",\\n \\"DBVersionRelease\\": \\"{\\\\\\\\\\\\\\"releaseInfo\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"createTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-07-27\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"releaseVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5.4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"releaseNote\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"功能更新:增强稳定性。\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"versionChangesLevel\\\\\\\\\\\\\\":2}\\",\\n \\"ProxyVersionRelease\\": \\"{\\\\\\\\\\\\\\"releaseInfo\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"createTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-06-08\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"releaseVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.6.2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"releaseNote\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"新特性:增加对部分内部命令的支持。\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"versionChangesLevel\\\\\\\\\\\\\\":2}\\",\\n \\"EnableUpgradeMajorVersion\\": true,\\n \\"EnableUpgradeMinorVersion\\": true,\\n \\"MajorVersion\\": \\"5.0\\",\\n \\"Engine\\": \\"redis\\",\\n \\"MinorVersion\\": \\"redis-5.0_0.5.0\\",\\n \\"IsRedisCompatibleVersion\\": \\"1\\",\\n \\"IsSSLEnable\\": \\"1\\",\\n \\"IsNewSSLMode\\": \\"1\\",\\n \\"IsAutoUpgradeOpen\\": \\"0\\",\\n \\"DBLatestMinorVersion\\": {\\n \\"MinorVersion\\": \\"7.0.1.4\\",\\n \\"Level\\": \\"0\\",\\n \\"VersionRelease\\": {\\n \\"VersionChangesLevel\\": \\"0\\",\\n \\"ReleaseInfo\\": {\\n \\"ReleaseInfoList\\": [\\n {\\n \\"ReleaseVersion\\": \\"EMR-5.7.0\\",\\n \\"CreateTime\\": \\"2022-11-21T13:28Z\\",\\n \\"ReleaseNote\\": \\"发布说明\\",\\n \\"Level\\": \\"0\\",\\n \\"ReleaseNoteEn\\": \\"版本升级英文描述\\"\\n }\\n ]\\n }\\n }\\n },\\n \\"ProxyLatestMinorVersion\\": {\\n \\"MinorVersion\\": \\"7.0.6\\",\\n \\"Level\\": \\"0\\",\\n \\"VersionRelease\\": {\\n \\"ReleaseInfo\\": {\\n \\"ReleaseInfoList\\": [\\n {\\n \\"ReleaseVersion\\": \\"EMR-5.9.1\\",\\n \\"CreateTime\\": \\"2022-08-23T14:26:20Z\\",\\n \\"ReleaseNote\\": \\"x x x x\\",\\n \\"Level\\": \\"0\\",\\n \\"ReleaseNoteEn\\": \\"版本升级英文描述\\"\\n }\\n ]\\n },\\n \\"VersionChangesLevel\\": \\"0\\"\\n }\\n },\\n \\"IsOpenNGLB\\": \\"1\\"\\n}","errorExample":"{\\n \\"MinorVersion\\":\\"redis_0.12.4\\",\\n \\"IsLatestVersion\\":\\"false\\",\\n \\"MajorVersion\\":\\"2.8\\",\\n \\"EnableUpgradeMajorVersion\\":\\"true\\",\\n \\"RequestId\\":\\"A49A2216-F6C9-43E2-A8F0-F217E57943C4\\",\\n \\"EnableUpgradeMinorVersion\\":\\"true\\",\\n \\"Engine\\":\\"redis\\"\\n}"},{"type":"xml","example":"","errorExample":"<DescribeEngineVersionResponse> \\n \\t<MinorVersion>redis_0.12.4</MinorVersion>\\n\\t<IsLatestVersion>false</IsLatestVersion>\\n\\t<MajorVersion>2.8</MajorVersion>\\n\\t<EnableUpgradeMajorVersion>true</EnableUpgradeMajorVersion>\\n\\t<RequestId>A49A2216-F6C9-43E2-A8F0-F217E57943C4</RequestId>\\n\\t<EnableUpgradeMinorVersion>true</EnableUpgradeMinorVersion>\\n\\t<Engine>redis</Engine>\\n</DescribeEngineVersionResponse>"}]', + 'title' => 'DescribeEngineVersion', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SwitchInstanceHA' => [ - 'summary' => 'Performs a master-replica switchover to switch node roles. This operation is applicable to disaster recovery drills and nearby access to applications that are deployed across zones.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-04-22T13:08:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-18T10:31:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-15T06:27:51.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-26T11:39:38.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeEngineVersion'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEngineVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'description' => '## Debugging'."\n" + ."\n" + .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeEngineVersion\\&type=RPC\\&version=2015-01-01)'."\n", + ], + 'DescribeGlobalDistributeCache' => [ + 'summary' => 'Queries the details of a distributed Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56519', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56401', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'GlobalInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the distributed instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gr-bp14rkqrhac****', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data shard. You can call the [DescribeRoleZoneInfo](~~473782~~) operation to obtain the value of the CustinsId parameter. Separate multiple data shard IDs with commas (,). `all` indicates that all data shards are specified.'."\n" - ."\n" - .'> This parameter is available and required only for read/write splitting and cluster instances.', - 'type' => 'string', - 'required' => false, - 'example' => '56****19,56****20', - ], + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'SwitchMode', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when to perform the switchover. Default value: 0. Valid values:'."\n" - ."\n" - .'* **0**: immediately performs the switchover.'."\n" - .'* **1**: performs the switchover during the maintenance window.'."\n" - ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of a Tair (Redis OSS-compatible) instance.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The number of entries to return each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '20', 'default' => '20', 'title' => ''], ], [ - 'name' => 'SwitchType', + 'name' => 'SubInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The switching mode. Valid values:'."\n" - ."\n" - .'* **AvailablePriority**: immediately performs a switchover by prioritizing availability. No latency of data synchronization between the master and replica nodes is considered. This may cause data loss.'."\n" - .'* **ReliabilityPriority**: performs a switchover by prioritizing reliability. Make sure that no latency of data synchronization between the master and replica nodes exists. This ensures data integrity. This mode may cause switchover failures in scenarios where a large volume of data is written and data synchronization latency consistently exists.'."\n" - ."\n" - .'> You must evaluate the requirements for data and services based on your business scenarios and then select a switching mode.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'enumValueTitles' => [ - 'AvailablePriority' => 'AvailablePriority', - 'ReliabilityPriority' => 'ReliabilityPriority', - ], - 'example' => 'AvailablePriority', - 'default' => 'ReliabilityPriority', - 'enum' => [ - 'AvailablePriority', - 'ReliabilityPriority', - 'DataConsistency', - ], - ], + 'schema' => ['description' => 'The ID of the child instance that is attached to the distributed instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gr-bp1zcjlobkyrq****', 'title' => ''], ], ], 'responses' => [ @@ -9282,100 +7206,154 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F3F44BE3-5419-4B61-9BAC-E66E295A****', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GlobalDistributeCaches' => [ + 'description' => 'Details of the distributed instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The state of the distributed instance. Valid values:'."\n" + ."\n" + .'* **Normal**: The instance is normal.'."\n" + .'* **Changing**: The configurations of the instance are being changed.'."\n" + .'* **Creating**: The instance is being created.'."\n", 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The ID of the distributed instance.'."\n", 'type' => 'string', 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + 'SubInstances' => [ + 'description' => 'Details of the child instances.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceStatus' => ['description' => 'The state of the child instance. Valid values:'."\n" + ."\n" + .'* **Normal**: The instance is normal.'."\n" + .'* **Creating**: The instance is being created.'."\n" + .'* **Changing**: The configurations of the instance are being changed.'."\n" + .'* **Inactive**: The instance is disabled.'."\n" + .'* **Flushing**: The instance is being released.'."\n" + .'* **Released**: The instance is released.'."\n" + .'* **Transforming**: The billing method of the instance is changing.'."\n" + .'* **Unavailable**: The instance is suspended.'."\n" + .'* **Error**: The instance failed to be created.'."\n" + .'* **Migrating**: The instance is being migrated.'."\n" + .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" + .'* **NetworkModifying**: The network type of the instance is being changed.'."\n" + .'* **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" + .'* **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains available during the upgrade.'."\n" + ."\n" + .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'InstanceID' => ['description' => 'The ID of the child instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type of the child instance. For more information, see the following topics:'."\n" + ."\n" + .'* [Standard DRAM-based instances](~~145228~~)'."\n" + .'* [Cluster DRAM-based instances](~~150458~~)'."\n" + .'* [Read/write splitting DRAM-based instances](~~150459~~)'."\n", 'type' => 'string', 'example' => 'redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The ID of the distributed instance.'."\n", 'type' => 'string', 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<SwitchInstanceHAResponse>\\n <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n</SwitchInstanceHAResponse>","errorExample":""}]', - 'title' => 'SwitchInstanceHA', - 'description' => '> For more information about nearby access to applications that are deployed across zones, see [Switch node roles](~~164222~~).'."\n" - ."\n" - .'The instance must be a Redis Open-Source Edition instance or Tair (Enterprise Edition) [DRAM-based](~~126164~~) instance that uses local disks.'."\n" - ."\n" - .'A call to this operation has the following impacts on your instance:'."\n" - ."\n" - .'* The data shards in the instance may change to the read-only state and experience transient connections within seconds. Make sure that your application is configured to automatically reconnect to the instance.'."\n" - .'* If the instance enters the switching state, you cannot manage this instance. For example, you cannot modify the instance configurations or migrate the instance to another zone.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"F3F44BE3-5419-4B61-9BAC-E66E295A****\\",\\n \\"PageNumber\\": 1,\\n \\"TotalRecordCount\\": 1,\\n \\"GlobalDistributeCaches\\": [\\n {\\n \\"Status\\": \\"Normal\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"SubInstances\\": [\\n {\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"InstanceID\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceClass\\": \\"redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeGlobalDistributeCacheResponse>\\r\\n <TotalRecordCount>1</TotalRecordCount>\\r\\n <GlobalDistributeCaches>\\r\\n <Status>Normal</Status>\\r\\n <SubInstances>\\r\\n <InstanceID>r-bp14of12k0f0lw****</InstanceID>\\r\\n <InstanceStatus>Normal</InstanceStatus>\\r\\n <GlobalInstanceId>gr-bp1zcjlobkyrq****</GlobalInstanceId>\\r\\n <InstanceClass>redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread</InstanceClass>\\r\\n <RegionId>cn-hangzhou</RegionId>\\r\\n </SubInstances>\\r\\n <GlobalInstanceId>gr-bp1zcjlobkyrq****</GlobalInstanceId>\\r\\n </GlobalDistributeCaches>\\r\\n <RequestId>F3F44BE3-5419-4B61-9BAC-E66E295A****</RequestId>\\r\\n <PageSize>20</PageSize>\\r\\n <PageNumber>1</PageNumber>\\r\\n</DescribeGlobalDistributeCacheResponse>","errorExample":""}]', + 'title' => 'DescribeGlobalDistributeCache', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SyncDtsStatus' => [ - 'summary' => 'Disables configuration changes for a Tair (Redis OSS-compatible) instance before you use Data Transmission Service (DTS) to migrate or synchronize data of the instance. This prevents migration and synchronization task failures due to configuration changes.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:53.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGlobalDistributeCache'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalDistributeCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'description' => '## Debugging'."\n" + ."\n" + .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeGlobalDistributeCache\\&type=RPC\\&version=2015-01-01)'."\n", + ], + 'DescribeGlobalSecurityIPGroup' => [ + 'summary' => 'Queries global IP whitelist templates.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '169265', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'GlobalSecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'Disables configuration changes for the instance. Valid values:'."\n" - ."\n" - .'* **0**: does not disable configuration changes.'."\n" - .'* **1**: disables configuration changes. In this case, if you attempt to modify the configurations of the instance, the system informs you that the operation cannot be performed.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], - ], + 'schema' => ['description' => 'The ID of the global IP whitelist template.', 'type' => 'string', 'required' => false, 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'Engine', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the DTS instance. You can view the ID in the [DTS console](https://dts.console.aliyun.com/).'."\n" - ."\n" - .'> A Tair (Redis OSS-compatible) instance may be involved in multiple data migration or synchronization tasks. If you want to cancel the restriction on the instance, you can specify this parameter to prevent repeated operation calls.', 'type' => 'string', + 'default' => 'redis', + 'enum' => ['redis', 'memcache'], + 'description' => '', 'required' => false, - 'example' => ' dtss0611o8vv90****', - 'maxLength' => 64, - 'minLength' => 1, + 'title' => '', + 'example' => '', ], ], ], @@ -9384,51 +7362,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '2FF6158E-3394-4A90-B634-79C49184****', 'title' => ''], + 'GlobalSecurityIPGroup' => [ + 'description' => 'An array of global IP whitelist templates.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GlobalSecurityGroupId' => ['description' => 'The ID of the global IP whitelist template.', 'type' => 'string', 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], + 'GlobalIgName' => ['description' => 'The name of the global IP whitelist template.', 'type' => 'string', 'example' => 'test_123', 'title' => ''], + 'GIpList' => ['description' => 'The IP addresses in the global IP whitelist template.'."\n" + ."\n" + .'> Separate multiple IP addresses with a comma.', 'type' => 'string', 'example' => '192.168.0.1,10.10.10.10', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'DBInstances' => [ + 'description' => 'An array of instance IDs that are associated with the global IP whitelist template.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'r-t4n885e834f6****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '1'."\n", + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<SyncDtsStatusResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</SyncDtsStatusResponse>","errorExample":""}]', - 'title' => 'SyncDtsStatus', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RemoveSubInstance' => [ - 'summary' => 'Removes a child instance from a distributed instance.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'Specified action is not valid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidUser.NotFound', 'errorMessage' => 'Specified user does not exist.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\",\\n \\"GlobalSecurityIPGroup\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-zsldxfiwjmti0kcm****\\",\\n \\"GlobalIgName\\": \\"test_123\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DBInstances\\": [\\n \\"r-t4n885e834f6****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeGlobalSecurityIPGroup', + 'changeSet' => [ + ['createdAt' => '2025-10-30T14:42:35.000Z', 'description' => 'Request parameters changed'], ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeGlobalSecurityIPGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeGlobalSecurityIPGroupRelation' => [ + 'summary' => 'Queries information about the global IP whitelist templates associated with an instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Instance ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'DBClusterId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-t4n885e834f6****', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], ], 'responses' => [ @@ -9436,147 +7471,383 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'DBClusterId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-t4n885e834f6****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9B7BFB11-C077-4FE3-B051-F69CEB******', 'title' => ''], + 'GlobalSecurityIPGroupRel' => [ + 'description' => 'The information about the associated global IP whitelist template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GlobalSecurityGroupId' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], + 'GIpList' => ['description' => 'The IP address in the IP whitelist template.'."\n" + ."\n" + .'> Multiple IP addresses are separated by commas (,).'."\n", 'type' => 'string', 'example' => '192.168.0.1,10.10.10.10', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'GlobalIgName' => ['description' => 'The name of the IP whitelist template.'."\n", 'type' => 'string', 'example' => 'test_123', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveSubInstanceResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</RemoveSubInstanceResponse>","errorExample":""}]', - 'title' => 'RemoveSubInstance', - 'description' => 'The operation that you want to perform. Set the value to **RemoveSubInstance**.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'LockDBInstanceWrite' => [ - 'summary' => 'Locks an instance. After the instance is locked, you can only read data from the instance, but cannot write data to the instance.', - 'methods' => [ - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DBClusterId\\": \\"r-t4n885e834f6****\\",\\n \\"RequestId\\": \\"9B7BFB11-C077-4FE3-B051-F69CEB******\\",\\n \\"GlobalSecurityIPGroupRel\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-zsldxfiwjmti0kcm****\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GlobalIgName\\": \\"test_123\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeGlobalSecurityIPGroupRelation', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeGlobalSecurityIPGroupRelation'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalSecurityIPGroupRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeHistoryEvents' => [ + 'summary' => 'DescribeHistoryEvents', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'create', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '192854', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '194560', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'LockReason', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The reason why write operations on the instance are locked.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'lock reason', - ], + 'schema' => ['description' => 'The number of records to return on each page. Default value: 10.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '10', 'default' => '10', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'ArchiveStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the event. Valid values:'."\n" + ."\n" + .'* **Archived**'."\n" + .'* **UnArchived**'."\n" + .'* **All**'."\n", 'type' => 'string', 'required' => false, 'example' => 'Archived', 'title' => ''], + ], + [ + 'name' => 'EventCategory', + 'in' => 'query', + 'schema' => ['description' => 'The system event category. Valid values:'."\n" + ."\n" + .'* **Exception**: abnormal events.'."\n" + .'* **Optimize**: optimization events.'."\n" + .'* **Notification**: Notification events.'."\n" + .'* **Maintenance**: scheduled maintenance events.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Exception', 'title' => ''], + ], + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => ['description' => 'The system event type. This parameter takes effect only when InstanceEventType.N is not specified. Valid values:'."\n" + ."\n" + .'* SystemMaintenance.Reboot: The instance is restarted due to system maintenance.'."\n" + .'* SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance.'."\n" + .'* SystemFailure.Reboot: The instance is restarted due to a system error.'."\n" + .'* SystemFailure.Redeploy: The instance is redeployed due to a system error.'."\n" + .'* SystemFailure.Delete: The instance is released due to an instance creation failure.'."\n" + .'* InstanceFailure.Reboot: The instance is restarted due to an instance error.'."\n" + .'* InstanceExpiration.Stop: The subscription instance is stopped due to expiration.'."\n" + .'* InstanceExpiration.Delete: The subscription instance is released due to expiration.'."\n" + .'* AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment.'."\n" + .'* AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment.'."\n" + ."\n" + .'> For more information about event types, see [Overview of system events](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SystemFailure.Reboot'."\n", 'title' => ''], + ], + [ + 'name' => 'EventLevel', + 'in' => 'query', + 'schema' => ['description' => 'The level of the event. Valid values:'."\n" + ."\n" + .'* **INFO**'."\n" + .'* **WARN**'."\n" + .'* **CRITICAL**'."\n", 'type' => 'string', 'required' => false, 'example' => 'INFO', 'title' => ''], + ], + [ + 'name' => 'EventStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the event. Valid values:'."\n" + ."\n" + .'* **Inquiring**'."\n" + .'* **Scheduled**: Planned'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Canceled**'."\n" + ."\n" + .'> Separate multiple states with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'Scheduled', 'title' => ''], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'* **Instance**: instance resources.'."\n" + .'* **Host**: host resources.'."\n" + .'* **User**: user resources'."\n" + ."\n" + .'> If you do not specify this parameter, events of all resource types are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Instance', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '5345398', 'title' => ''], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'The task IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => '578678678', 'title' => ''], + ], + [ + 'name' => 'FromStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-01-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'ToStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only events that have a start time earlier than or equal to the time specified by this parameter are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-02-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfnuslkubs****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - 'DBInstanceName' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-2ev03avw0r0552***', - ], - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21986****', - ], - 'LockReason' => [ - 'description' => 'The reason why write operations on the instance are locked.'."\n", - 'type' => 'string', - 'example' => 'lock reason', + 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '27B911BF-4E17-5F8A-A932-79DF2D3F****', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of returned events.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '430', 'title' => ''], + 'Items' => [ + 'description' => 'A list of events.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The queried event.'."\n", + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '4309', 'title' => ''], + 'Region' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hanghzou', 'title' => ''], + 'Source' => ['description' => 'The source of the event.'."\n", 'type' => 'string', 'example' => 'loanBill', 'title' => ''], + 'Specversion' => ['description' => 'The database engine version.'."\n", 'type' => 'string', 'example' => '8.0', 'title' => ''], + 'Subject' => ['description' => 'The name of the pending event.'."\n", 'type' => 'string', 'example' => 'Qitian', 'title' => ''], + 'Time' => ['description' => 'The amount of time that has elapsed from the start time of the query. Unit: seconds.'."\n", 'type' => 'string', 'example' => '1734919325126', 'title' => ''], + 'Type' => ['description' => 'The type of the event.'."\n", 'type' => 'string', 'example' => 'host', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'EventType' => ['description' => 'The type of the system event. Valid values:'."\n" + ."\n" + .'* **SystemMaintenance.Reboot**: The instance was restarted due to system maintenance.'."\n" + .'* **SystemMaintenance.Redeploy**: The instance was redeployed due to system maintenance.'."\n" + .'* **SystemFailure.Reboot**: The instance was restarted due to system failures.'."\n" + .'* **SystemFailure.Redeploy**: The instance was redeployed due to system failures.'."\n" + .'* **SystemFailure.Delete**: The instance was released due to an instance creation failure.'."\n" + .'* **InstanceFailure.Reboot**: The instance was restarted due to an instance error.'."\n" + .'* **InstanceExpiration.Stop**: The subscription instance was stopped due to expiration.'."\n" + .'* **InstanceExpiration.Delete**: The subscription instance was released due to expiration.'."\n" + .'* **AccountUnbalanced.Stop**: The pay-as-you-go instance is stopped due to an overdue payment.'."\n" + .'* **AccountUnbalanced.Delete**: The pay-as-you-go instance was released due to an overdue payment.'."\n", 'type' => 'string', 'example' => 'StatusNotification', 'title' => ''], + 'EventId' => ['description' => 'The ID of the event.'."\n", 'type' => 'string', 'example' => '669036', 'title' => ''], + 'CmsProduct' => ['description' => 'The cloud service type of the application group. Valid values:'."\n" + ."\n" + .'* **web**: web application.'."\n" + .'* **native**: local application.'."\n", 'type' => 'string', 'example' => 'web', 'title' => ''], + 'DbType' => ['description' => 'The database type.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'DetailImpact' => ['description' => 'The pagination parameter.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'DetailReason' => ['description' => 'The details of the instance operation.'."\n", 'type' => 'string', 'example' => 'xxxx', 'title' => ''], + 'EndTime' => ['description' => 'The time when the alert was closed.'."\n", 'type' => 'string', 'example' => '2023-03-06T11:46:01Z'."\n", 'title' => ''], + 'EventCategory' => ['description' => 'The system event category. Valid values:'."\n" + ."\n" + .'* **Exception**: abnormal events'."\n" + .'* **Optimize**: optimization events.'."\n" + .'* **Notification**: notification events.'."\n" + .'* **Maintenance**: scheduled maintenance events.'."\n", 'type' => 'string', 'example' => 'Exception', 'title' => ''], + 'EventCode' => ['description' => 'The event code.'."\n", 'type' => 'string', 'example' => 'ENT000014'."\n", 'title' => ''], + 'EventDetail' => ['description' => 'The event details.'."\n", 'type' => 'string', 'example' => 'xxxxx', 'title' => ''], + 'EventImpact' => ['description' => 'The event impact.'."\n", 'type' => 'string', 'example' => 'xxxxx'."\n", 'title' => ''], + 'EventLevel' => ['description' => 'The level of the event. Valid values:'."\n" + ."\n" + .'* **INFO**'."\n" + .'* **WARN**'."\n" + .'* **CRITICAL**'."\n", 'type' => 'string', 'example' => 'INFO', 'title' => ''], + 'EventReason' => ['description' => 'The event source.'."\n", 'type' => 'string', 'example' => 'xxxxx', 'title' => ''], + 'EventStatus' => ['description' => 'The status of the event. Valid values:'."\n" + ."\n" + .'* **Inquiring**'."\n" + .'* **Scheduled**'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Canceled**'."\n", 'type' => 'string', 'example' => 'Succeed', 'title' => ''], + 'GmtCreated' => ['description' => 'The time when the event was created.'."\n", 'type' => 'string', 'example' => '2024-12-13 05:34:23', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the event was updated.'."\n", 'type' => 'string', 'example' => '2025-03-05 10:41:59', 'title' => ''], + 'HandleStatus' => ['description' => 'The status of the event. Valid values:'."\n", 'type' => 'string', 'example' => 'done', 'title' => ''], + 'HasLifeCycle' => ['description' => 'Indicates whether the event has a lifecycle.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => 'false', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp15kjsoovqjam****', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.'."\n", 'type' => 'string', 'example' => 'normandy', 'title' => ''], + 'IsClosed' => ['description' => 'Indicates whether the event is closed. Valid values:'."\n" + ."\n" + .'* **0**: closed.'."\n" + .'* **1**: not closed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Product' => ['description' => 'The name of the product.'."\n", 'type' => 'string', 'example' => 'kvstore', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type of the instance. Valid values:'."\n" + ."\n" + .'* **Instance**: instance resources.'."\n" + .'* **Host**: host resources.'."\n" + .'* **User**: user resources.'."\n", 'type' => 'string', 'example' => 'Instance', 'title' => ''], + 'SourceType' => ['description' => 'The type of the source data.'."\n", 'type' => 'string', 'example' => 'MSE', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the event.'."\n", 'type' => 'string', 'example' => '2025-09-30T21:13Z', 'title' => ''], + 'Uid' => ['description' => 'The ID of the user to which the resources belong.'."\n", 'type' => 'string', 'example' => '15532817595*****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"DBInstanceName\\": \\"r-2ev03avw0r0552***\\",\\n \\"TaskId\\": 0,\\n \\"LockReason\\": \\"锁定写操作测试。\\"\\n}","type":"json"}]', - 'title' => 'LockDBInstanceWrite', - ], - 'UnlockDBInstanceWrite' => [ - 'summary' => 'Unlocks a write-locked instance. After the instance is unlocked, you can read and write data to and from the instance.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"27B911BF-4E17-5F8A-A932-79DF2D3F****\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 430,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"4309\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"Source\\": \\"loanBill\\",\\n \\"Specversion\\": \\"8.0\\",\\n \\"Subject\\": \\"Qitian\\",\\n \\"Time\\": \\"1734919325126\\",\\n \\"Type\\": \\"host\\",\\n \\"Data\\": {\\n \\"EventType\\": \\"StatusNotification\\",\\n \\"EventId\\": \\"669036\\",\\n \\"CmsProduct\\": \\"web\\",\\n \\"DbType\\": \\"redis\\",\\n \\"DetailImpact\\": \\"1\\",\\n \\"DetailReason\\": \\"xxxx\\",\\n \\"EndTime\\": \\"2023-03-06T11:46:01Z\\\\n\\",\\n \\"EventCategory\\": \\"Exception\\",\\n \\"EventCode\\": \\"ENT000014\\\\n\\",\\n \\"EventDetail\\": \\"xxxxx\\",\\n \\"EventImpact\\": \\"xxxxx\\\\n\\",\\n \\"EventLevel\\": \\"INFO\\",\\n \\"EventReason\\": \\"xxxxx\\",\\n \\"EventStatus\\": \\"Succeed\\",\\n \\"GmtCreated\\": \\"2024-12-13 05:34:23\\",\\n \\"GmtModified\\": \\"2025-03-05 10:41:59\\",\\n \\"HandleStatus\\": \\"done\\",\\n \\"HasLifeCycle\\": 0,\\n \\"InstanceId\\": \\"r-bp15kjsoovqjam****\\",\\n \\"InstanceName\\": \\"normandy\\",\\n \\"IsClosed\\": 0,\\n \\"Product\\": \\"kvstore\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"Instance\\",\\n \\"SourceType\\": \\"MSE\\",\\n \\"StartTime\\": \\"2025-09-30T21:13Z\\",\\n \\"Uid\\": \\"15532817595*****\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeHistoryEvents', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryEvents'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeHistoryEventsStat' => [ + 'summary' => 'Queries the statistics of historical events.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '192855', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '194561', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], + ], + [ + 'name' => 'ArchiveStatus', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The status of the events that you want to query. Valid values:'."\n" + ."\n" + .'* **Archived**'."\n" + .'* **UnArchived**'."\n" + .'* **All**'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Archived', 'title' => ''], + ], + [ + 'name' => 'FromStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-01-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'ToStartTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-02-02T11:31:03Z', 'title' => ''], ], ], 'responses' => [ @@ -9586,106 +7857,155 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - 'DBInstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-2ev03avw0r0552***', - ], - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10****', + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B32A350C-3A8E-5FF1-A56F-51C3769D****', 'title' => ''], + 'Items' => [ + 'description' => 'The queried events.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of events.'."\n", + 'type' => 'object', + 'properties' => [ + 'EventCategory' => ['description' => 'The system event category. Valid values:'."\n" + ."\n" + .'* **Exception**: abnormal events'."\n" + .'* **Optimize**: optimization events.'."\n" + .'* **Notification**: notification events.'."\n" + .'* **Maintenance**: scheduled maintenance events.'."\n", 'type' => 'string', 'example' => 'Exception', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of returned events.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '21', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"DBInstanceName\\": \\"r-2ev03avw0r0552***\\",\\n \\"TaskId\\": 0\\n}","type":"json"}]', - 'title' => 'UnlockDBInstanceWrite', - ], - 'RebootProxy' => [ - 'summary' => 'Restarts the proxy node of a running Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B32A350C-3A8E-5FF1-A56F-51C3769D****\\",\\n \\"Items\\": [\\n {\\n \\"EventCategory\\": \\"Exception\\",\\n \\"TotalCount\\": 21\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeHistoryEventsStat', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryEventsStat'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryEventsStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeHistoryMonitorValues' => [ + 'summary' => 'View performance monitoring data for an ApsaraDB for Tair (Redis-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56503', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56402', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx******', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-11-06T00:00:00Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" + ."\n" + .'> You can query monitoring data within the past month. The maximum time range to query is 7 days.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-11-06T00:30:00Z', 'title' => ''], + ], + [ + 'name' => 'IntervalForHistory', + 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'This parameter is deprecated and its value is fixed at `01m`.'."\n" + ."\n" + .'The system automatically determines the **query interval** based on the specified start and end times. For example, if the specified time range is 10 minutes or less, data is aggregated every 5 seconds, and the query results are returned at 5-second intervals.'."\n" + ."\n" + .'> - If the specified `StartTime` is not at a data aggregation point, the first time point returned by the system is the nearest preceding data aggregation point. For example, if you set StartTime to `2022-01-20T12:01:48Z`, the first time point returned is `2022-01-20T12:01:45Z`.'."\n" + .'>'."\n" + .'> - If the instance has 32 or more data shards, the minimum data aggregation frequency is 1 minute.', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'r-bp1ymwrhvq79zj****', + 'enum' => ['01m', '05m', '15m', '60m'], + 'example' => '01m', + 'title' => '', ], ], [ - 'name' => 'ProxyList', + 'name' => 'MonitorKeys', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the proxy nodes that you want to restart or rebuild. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '90310144,90310144', - ], + 'schema' => ['description' => 'The monitoring metric to query, such as `CpuUsage`. To specify multiple metrics, separate them with a comma (,).'."\n" + ."\n" + .'- For instances that use the cluster or read/write splitting architecture:'."\n" + ."\n" + .' - To query the overall CPU utilization of all data nodes, set this parameter to **CpuUsage$db**.'."\n" + ."\n" + .' - To query the CPU utilization of a single data node, set this parameter to **CpuUsage** and specify the node in the `NodeId` parameter.'."\n" + ."\n" + .'- For instances that use the standard architecture (primary/standby), set this parameter to **CpuUsage**.'."\n" + ."\n" + .'For more information about monitoring metrics, see <props="china">[Additional information about the MonitorKeys parameter](https://help.aliyun.com/zh/redis/developer-reference/api-r-kvstore-2015-01-01-describehistorymonitorvalues-redis#monitorKeys-note)</props><props="intl">[Additional information about the MonitorKeys parameter](https://www.alibabacloud.com/help/zh/redis/developer-reference/api-r-kvstore-2015-01-01-describehistorymonitorvalues-redis#monitorKeys-note)</props> below.'."\n" + ."\n" + .'> - If you do not specify this parameter, the `UsedMemory` and `quotaMemory` metrics are returned by default.'."\n" + .'>'."\n" + .'> - To ensure query efficiency, we recommend that you specify a maximum of 5 monitoring metrics for a single node and a maximum of 1 aggregate monitoring metric per query.', 'type' => 'string', 'required' => false, 'example' => 'CpuUsage', 'title' => ''], ], [ - 'name' => 'RebootMode', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of operation that you want to perform. Valid values:'."\n" - ."\n" - .'* **reboot**: restarts the proxy node.'."\n" - .'* **rebuild**: rebuilds the proxy node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reboot', - 'enum' => [ - 'reboot', - 'rebuild', - ], - ], + 'schema' => ['description' => 'The ID of a node in the instance. You can use this parameter to query the monitoring data of a specific node.'."\n" + ."\n" + .'> - This parameter is available only for instances that use the read/write splitting or cluster architecture.'."\n" + .'>'."\n" + .'> - You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query node IDs.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0#1679****', 'title' => ''], ], [ - 'name' => 'ProxyNodeList', + 'name' => 'NodeRole', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the hosts on which the proxy nodes are deployed. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '36912280,36912282', - ], + 'schema' => ['description' => 'If you want to query the metrics of a read-only node in a cloud-native instance that uses a read/write splitting architecture, you must specify the **NodeId** and set this parameter to **READONLY**.'."\n" + ."\n" + .'> In all other cases, you do not need to specify this parameter. You can also set it to **MASTER**.', 'type' => 'string', 'required' => false, 'example' => 'READONLY', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -9693,84 +8013,271 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', - ], + 'MonitorHistory' => ['description' => 'The monitoring data returned as a JSON-formatted string. For more information, see [Monitoring parameters](~~122091~~).'."\n" + ."\n" + .'> To improve data transfer efficiency, the system returns only monitoring data for metrics with non-zero values. If a metric is not returned, its value is **0**.', 'type' => 'string', 'example' => '"{\\"2022-11-06T00:00:00Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:05Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:10Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:15Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:20Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:25Z\\":{\\"memoryUsage\\":\\"6.67\\"}}"', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0997EE8-F4C2-4503-9168-85177ED7****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\"\\n}","type":"json"}]', - 'title' => 'RebootProxy', - 'description' => 'This operation supports only instances that use the read/write splitting architecture or the cluster architecture in proxy mode. For more information, see [Restart or rebuild proxy nodes](~~164224~~).'."\n", - ], - 'UpgradeProxy' => [ - 'summary' => 'Updates the proxy node of a cluster instance to the latest version.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter "StartTime" is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter "EndTime" is not valid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MonitorHistory\\": \\"\\\\\\"{\\\\\\\\\\\\\\"2022-11-06T00:00:00Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:05Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:10Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:15Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:20Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:25Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"}}\\\\\\"\\",\\n \\"RequestId\\": \\"F0997EE8-F4C2-4503-9168-85177ED7****\\"\\n}","type":"json"}]', + 'title' => 'DescribeHistoryMonitorValues', + 'description' => 'For the console equivalent, see [performance monitoring](~~43887~~).', + 'requestParamsDescription' => '### MonitorKeys parameter'."\n" + ."\n" + .'When you make an API call, pass a parameter from the **MonitorKeys** column in the following tables. The API returns the corresponding sub-metrics. An instance supports both general-purpose metrics and command statistics metrics.'."\n" + ."\n" + .'#### General-purpose metrics'."\n" + ."\n" + .'This section describes how to use general-purpose metrics, using `CpuUsage` as an example.'."\n" + ."\n" + .'- For instances that use the cluster or read/write splitting architecture:'."\n" + ."\n" + .' - To query the overall CPU utilization of all data nodes (DB), pass **CpuUsage$db**.'."\n" + ."\n" + .' - To query the overall CPU utilization of all proxy nodes, pass **CpuUsage$proxy**.'."\n" + ."\n" + .' - To query the CPU utilization of a single data node or proxy node, pass **CpuUsage** and set the `NodeId` parameter to the ID of the data or proxy node.'."\n" + ."\n" + .'- For instances that use the standard architecture (primary/standby), pass **CpuUsage**.'."\n" + ."\n" + .'| **MonitorKeys** | **Sub-metric** | **Unit** | **Description** | **Supported scope** |'."\n" + .'| ------------------------- | ---------------------------------------------------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |'."\n" + .'| CpuUsage | CpuUsage | % | CPU utilization. The value ranges from 0 to 100.<br>> If your instance previously used the `RedisCpuUsage` parameter, you can continue to use it. | - DB<br>- DB aggregate<br>- Proxy<br>- Proxy aggregate |'."\n" + .'| MemoryUsage | memoryUsage | % | Memory usage. | - DB<br>- DB aggregate |'."\n" + .'| quotaMemory | quotaMemory | Bytes | The total memory of the current shard. | - DB<br>- DB aggregate |'."\n" + .'| UsedMemory | UsedMemory | Bytes | Used memory, which includes data and cache. | - DB<br>- DB aggregate |'."\n" + .'| Tair\\_PmemUsage | PmemUsage | % | These metrics represent the persistent memory usage, used persistent memory, and total persistent memory, respectively.<br>Supported only by persistent memory instances. | - DB<br>- DB aggregate |'."\n" + .'| Tair\\_Pmem | PmemUsed | Bytes | | |'."\n" + .'| | PmemQuota | Bytes | | |'."\n" + .'| Redis\\_DetailedSpaceUsage | ins\\_size | MB | These metrics represent the total disk space occupied by the instance, the disk space occupied by data files (including AOF and RDB files), and the disk space occupied by log files (including runtime logs), respectively.<br>Supported only by memory-optimized instances that use the classic deployment mode (local disks). | - DB<br>- DB aggregate |'."\n" + .'| | data\\_size | MB | | |'."\n" + .'| | log\\_size | MB | | |'."\n" + .'| Redis\\_Memory\\_Monitor | used\\_memory\\_rss | Bytes | The physical memory that the operating system allocates to the Tair process. | - DB |'."\n" + .'| | used\\_memory\\_lua | Bytes | The amount of memory used by Lua scripts. | |'."\n" + .'| | used\\_memory\\_startup | Bytes | The memory consumed when Tair starts. | |'."\n" + .'| | lazyfree\\_pending\\_objects | Counts | The number of keys pending reclamation when Tair performs a lazy free operation. | |'."\n" + .'| | used\\_memory\\_overhead | Bytes | The memory overhead required by Tair to maintain its internal data structures. This includes the output buffers of all clients, query buffers, and AOF. | |'."\n" + .'| | used\\_memory\\_dataset | Bytes | The memory space occupied by data. | |'."\n" + .'| CustomerMemoryUsage | CustomerMemoryUsage | % | User memory usage. The value ranges from 0 to 100. | - DB<br>- DB aggregate |'."\n" + .'| UsedQPS | TotalQps | Counts/s | The total number of requests per second, including read and write commands. | - DB<br>- DB aggregate<br>- Proxy<br>- Proxy aggregate |'."\n" + .'| | GetQps | Counts/s | The number of read and write requests per second, respectively. The instance must be compatible with Redis 4.0 or later. | |'."\n" + .'| | PutQps | Counts/s | | |'."\n" + .'| | OtherOps | Counts/s | The number of requests that do not have read or write attributes, such as `PING`, `INFO`, `SELECT`, and `AUTH`. Because proxy nodes have special processing for requests, if the instance has proxy nodes, this metric includes only some `INFO` requests. | |'."\n" + .'| ConnectionUsage | connectionUsage | % | Connection usage is calculated by using the following formula: Established connections ÷ Total connections supported by the instance. This metric is a useful reference when a client connects to a instance (cluster architecture) using a direct connection address. | - DB<br>- DB aggregate |'."\n" + .'| UsedConnection | ConnCount | Counts | The number of used connections. | |'."\n" + .'| IntranetIn | InFlow | KB/s | The inbound and outbound traffic rates. | - DB<br>- DB aggregate<br>- Proxy<br>- Proxy aggregate |'."\n" + .'| IntranetOut | OutFlow | KB/s | | |'."\n" + .'| IntranetInRatio | intranetInRatio | % | The usage percentage of the inbound and outbound traffic bandwidth. | - DB<br>- DB aggregate |'."\n" + .'| IntranetOutRatio | intranetOutRatio | % | | |'."\n" + .'| Redis\\_Avg\\_Rt\\_Monitor | AvgRt | us | The average latency, which is the average time a backend node takes to process a command from receipt to response.<br>- For a data node, this metric does not include the latency of proxy nodes and load balancing.<br>- For a proxy node, this metric includes the latency of data nodes and proxy nodes, but does not include the latency of load balancing. | - DB<br>- DB aggregate<br>- Proxy<br>- Proxy aggregate |'."\n" + .'| Redis\\_Max\\_Rt\\_Monitor | MaxRt | us | The maximum latency, which is the maximum time a node takes to process a command from receipt to response.<br>- For a data node, this metric does not include the latency of proxy nodes and load balancing.<br>- For a proxy node, this metric includes the latency of data nodes and proxy nodes, but does not include the latency of load balancing. | |'."\n" + .'| Redis\\_Basic\\_Monitor | Keys | Counts | The total number of top-level keys stored in the instance. | - DB<br>- DB aggregate |'."\n" + .'| | Expires | Counts | The number of keys with an expiration time set. This is an instantaneous value measured at the time of collection. | |'."\n" + .'| | ExpiredKeys | Counts | The cumulative number of expired keys. | |'."\n" + .'| | EvictedKeys | Counts | The cumulative number of evicted keys. | |'."\n" + .'| | ExpiredKeysPerSecond | Counts/s | The number of keys that expire per second. | |'."\n" + .'| | EvictedKeysPerSecond | Counts/s | The number of keys that are evicted per second. | |'."\n" + .'| | inmem\\_keys | Counts | These metrics are supported only by hybrid storage instances (discontinued) and can be ignored. | |'."\n" + .'| | swapped\\_keys | Counts | | |'."\n" + .'| Hit\\_Rate\\_Monitor | hit\\_rate | % | The percentage of successful key lookups. Formula: Number of key hits / (Number of key hits + Number of key misses). | - DB<br>- DB aggregate |'."\n" + .'| | hit | Counts | The number of key hits per second. | |'."\n" + .'| | miss | Counts | The number of key misses per second. | |'."\n" + .'| | evicted\\_keys\\_per\\_sec | Counts/s | The number of keys evicted per second. | |'."\n" + .'| DiskUsage | disk\\_usage | % | These metrics represent disk usage, input buffer size, output buffer size, and disk performance. Supported only by disk-based instances. | - DB |'."\n" + .'| Tair\\_Connection\\_Monitor | UsedInputBuffer | Bytes | | |'."\n" + .'| | UsedOutputBuffer | Bytes | | |'."\n" + .'| Tair\\_Disk\\_Monitor | `io_bandwidth_kbps`, `iops`, `iops_usage`, and more. | %, ms, Counts, and more. | | |'."\n" + .'| UsedConnection | ConnectionUsage | % | Connection usage, calculated as: Used connections ÷ Maximum connections supported by the node. This metric is a useful reference when a client connects to a instance (cluster or read/write splitting architecture) through a proxy node. | - Proxy<br>- Proxy aggregate |'."\n" + .'| | UsedConnection | Counts | The number of used connections. | |'."\n" + .'| | NewUserConnQps | Counts/s | The number of connections established per second from clients to proxy nodes. | |'."\n" + .'| Redis\\_Package\\_Monitor | request | Byte | The average size of a single request in bytes. | - Proxy |'."\n" + .'| | response | Byte | The average size of a single response in bytes. | |'."\n" + .'| | request\\_max | Byte | The maximum size of a single request in bytes. | |'."\n" + .'| | response\\_max | Byte | The maximum size of a single response in bytes. | |'."\n" + .'| RedisProxyConn | RedisUsedConnection | Counts | The number of connections from proxy nodes to data nodes. | |'."\n" + .'| | NewDBConnQps | Counts/s | The number of connections established per second from proxy nodes to data nodes. | |'."\n" + .'| | DisconnectDBConn | Counts | The cumulative number of disconnections from proxy nodes to data nodes. | |'."\n" + .'| | DisconnectUserConn | Counts | The cumulative number of disconnections from clients to proxy nodes. | |'."\n" + .'| TotalCalls | TotalRefusedCommands | Counts | The cumulative number of rejected commands. | |'."\n" + .'| | TotalCallsPerSecCalls | Counts/s | The number of requests per second. | |'."\n" + .'| | TotalCallsPerSecRetryCalls | Counts/s | The number of retried requests per second. | |'."\n" + .'| | TotalCallsPerSecRetryFailed | Counts/s | The number of failed requests per second. | |'."\n" + ."\n" + .'<details>'."\n" + ."\n" + .'<summary>'."\n" + ."\n" + .'Command statistics metrics'."\n" + ."\n" + .'</summary>'."\n" + ."\n" + .'Command statistics metrics can be queried only for a specific data node. To query these metrics, pass the corresponding **MonitorKeys** parameter and specify the data node in the `NodeId` parameter.'."\n" + ."\n" + .'> The Tair extension command monitoring group is supported only by memory-optimized instances that use the classic deployment mode (local disks).'."\n" + ."\n" + .'| **MonitorKeys** | **Sub-metric** | **Unit** | **Description** |'."\n" + .'| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------- |'."\n" + .'| Redis\\_Keys\\_Monitor | del, dump, exists, expire, expireat, move, persist, pexpire, pexpireat, pttl, randomkey, rename, renamenx, restore, sort, ttl, type, scan | Counts/s | The number of calls per second for key-related commands, such as **DEL** and **EXISTS**. |'."\n" + .'| Redis\\_String\\_Monitor | append, bitcount, bitop, decr, decrby, get, getbit, getrange, getset, incr, incrby, incrbyfloat, mget, mset, msetnx, psetex, set, setbit, setex, setnx, setrange, strlen | Counts/s | The number of calls per second for String-related commands, such as **APPEND** and **MGET**. |'."\n" + .'| Redis\\_Hashes\\_Monitor | hdel, hexists, hget, hgetall, hincrby, hincrbyfloat, hkeys, hlen, hmget, hmset, hset, hsetnx, hvals, hscan | Counts/s | The number of calls per second for Hash-related commands, such as **HGET** and **HDEL**. |'."\n" + .'| Redis\\_Lists\\_Monitor | blpop, brpop, brpoplpush, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, rpop, rpoplpush, rpush, rpushx | Counts/s | The number of calls per second for List-related commands, such as **BLPOP** and **BRPOP**. |'."\n" + .'| Redis\\_Sets\\_Monitor | sadd, scard, sdiff, sdiffstore, sinter, sinterstore, sismember, smembers, smove, spop, srandmember, srem, sunion, sunionstore, sscan | Counts/s | The number of calls per second for Set-related commands, such as **SADD** and **SCARD**. |'."\n" + .'| Redis\\_Zset\\_Monitor | zadd, zcard, zcount, zincrby, zrange, zrangebyscore, zrank, zrem, zremrangebyrank, zremrangebyscore, zrevrange, zrevrangebyscore, zrevrank, zscore, zunionstore, zinterstore, zscan, zrangebylex, zlexcount, zremrangebylex, zpopmin, zpopmax, bzpopmin, bzpopmax | Counts/s | The number of calls per second for Sorted Set-related commands, such as **ZADD** and **ZCARD**. |'."\n" + .'| Redis\\_Hyperlog\\_Monitor | pfadd, pfcount, pfmerge | Counts/s | The number of calls per second for HyperLogLog-related commands, such as **PFADD** and **PFCOUNT**. |'."\n" + .'| Redis\\_Pub\\_Sub\\_Monitor | psubscribe, publish, pubsub, punsubscribe, subscribe, unsubscribe | Counts/s | The number of calls per second for publish/subscribe-related commands, such as **PUBLISH** and **SUBSCRIBE**. |'."\n" + .'| Redis\\_Transaction\\_Monitor | discard, exec, multi, unwatch, watch | Counts/s | The number of calls per second for transaction-related commands, such as **WATCH** and **MULTI**. |'."\n" + .'| Redis\\_Scripting\\_Monitor | eval, evalsha, script | Counts/s | The number of calls per second for scripting-related commands, such as **EVAL** and **EVALSHA**. |'."\n" + .'| Calls\\_Monitor | flushall\\_calls, flushdb\\_calls, keys\\_calls | Counts | The cumulative number of calls for the **FLUSHALL**, **FLUSHDB**, and **KEYS** commands. |'."\n" + .'| Redis\\_Connection\\_Monitor | auth, echo, ping, quit, select | Counts/s | The number of calls per second for connection-related commands, such as **AUTH** and **ECHO**. |'."\n" + .'| Redis\\_Server\\_Monitor | bgsave, client, command, config, dbsize, debug, flushall, flushdb, info, monitor, slowlog, time | Counts/s | The number of calls per second for server-related commands, such as **BGSAVE** and **CONFIG**. |'."\n" + .'| *Redis\\_Geo\\_Monitor* | geoadd, geohash, geopos, geodist, georadius, georadiusbymember | Counts/s | The number of calls per second for Geo-related commands, such as **GEOADD** and **GEOHASH**. |'."\n" + .'| *Redis\\_Streams\\_Monitor* | xinfo, xadd, xtrim, xdel, xrange, xrevrange, xlen, xread, xgroup, xreadgroup, xack, xclaim, xpending | Counts/s | The number of calls per second for Streams-related commands, such as **XINFO** and **XADD**. |'."\n" + .'| **** | | Counts/s | The number of calls per second for Lua script-related commands, such as EVAL and SCRIPT. |'."\n" + .'| Redis\\_TairDoc\\_Monitor | jsondel, jsonget, jsonmget, jsonset, jsontype, jsonnumincrby, jsonstrappend, jsonstrlen, jsonarrappend, jsonarrpop, jsonarrinsert, jsonarrlen, jsonarrtrim | Counts/s | The number of calls per second for Doc-related commands, such as **JSON.SET** and **JSON.GET**. |'."\n" + .'| Redis\\_TairHash\\_Monitor | exhset, exhsetnx, exhmset, exhexpireat, exhexpire, exhmsetwithopts, exhpexpireat, exhpexpire, exhpttl, exhttl, exhver, exhsetver, exhincrby, exhincrbyfloat, exhget, exhgetwithver, exhmget, exhdel, exhlen, exhexists, exhkeys, exhvals, exhgetall, exhmgetwithver, exhsterlen, exhscan | Counts/s | The number of calls per second for exHash-related commands, such as **EXHSET** and **EXHMSET**. |'."\n" + .'| Redis\\_TairString\\_Monitor | cas, cad, exset, exget, exsetver, exincrby, exincrbyfloat, excas, excad | Counts/s | The number of calls per second for exString-related commands, such as **EXSET** and **EXGET**. |'."\n" + .'| Redis\\_TairGis\\_Monitor | gisadd, gisget, gisdel, gissearch, giscontains, gisintersects, gisgetall | Counts/s | The number of calls per second for GIS-related commands, such as **GIS.ADD**, **GIS.GET**, and **GIS.DEL**. |'."\n" + .'| Redis\\_TairBloom\\_Monitor | bfadd, bfmadd, bfexists, bfmexists, bfinsert, bfreserve, bfdebug | Counts/s | The number of calls per second for Bloom-related commands, such as **BF.RESERVE** and **BF.ADD**. |'."\n" + ."\n" + .'</details>', + 'changeSet' => [ + ['createdAt' => '2025-07-03T09:09:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-08T15:39:14.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryMonitorValues'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryMonitorValues', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'extraInfo' => ' ', + ], + 'DescribeHistoryTasks' => [ + 'summary' => 'Queries a list of tasks in the task center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56529', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '134634', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 10.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '10', 'default' => '10', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => ['description' => 'Set the value to Instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Instance', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'* **Scheduled**'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Cancelling**'."\n" + .'* **Canceled**'."\n" + .'* **Waiting**'."\n" + ."\n" + .'> This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'Scheduled', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1vgja77wl7pb****', - ], + 'schema' => ['description' => 'The instance ID. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-uf62br2491p5l****'."\n", 'title' => ''], ], [ - 'name' => 'ProxyInstanceIds', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the proxy nodes that you want to update. Separate multiple IDs with commas (,). This parameter is valid only for Redis Open-Source Edition classic instances.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'r-bp1vgja77wl7pb****-proxy-0', - ], + 'schema' => ['description' => 'The task ID. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 't-83br18hloy3faf****'."\n", 'title' => ''], ], [ - 'name' => 'SwitchTimeMode', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The time to execute the specification change. Valid values:'."\n" - ."\n" - .'* **Immediately** (default): immediately executes the change.'."\n" - .'* **MaintainTime**: executes the change during the maintenance window of the instance.'."\n" - ."\n" - .'> You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => 'Immediately', - ], + 'schema' => ['description' => 'The task type. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.'."\n" + ."\n" + .'* **ModifyInsSpec**'."\n" + .'* **DeleteInsNode**'."\n" + .'* **AddInsNode**'."\n" + .'* **HaSwitch**'."\n" + .'* **RestartIns**'."\n" + .'* **CreateIns**'."\n" + .'* **ModifyInsConfig**'."\n" + ."\n" + .'> Separate multiple task types with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'ModifyInsSpec', 'title' => ''], + ], + [ + 'name' => 'FromStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-01-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'ToStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-02-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'FromExecTime', + 'in' => 'query', + 'schema' => ['description' => 'The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'ToExecTime', + 'in' => 'query', + 'schema' => ['description' => 'The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], ], 'responses' => [ @@ -9778,256 +8285,611 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B830CDBB-91D9-5571-B6F4-35C76266****', + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of tasks that meet these constraints without taking pagination into account.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Items' => [ + 'description' => 'The queried task objects.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The task status.'."\n" + ."\n" + .'* **Scheduled**'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Cancelling**'."\n" + .'* **Canceled**'."\n" + .'* **Waiting**'."\n", 'type' => 'string', 'format' => 'int32', 'example' => 'Running', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 't-83br18hloy3faf****', 'title' => ''], + 'CurrentStepName' => ['description' => 'The name of the current step. If this parameter is left empty, the task is not started.'."\n", 'type' => 'string', 'example' => 'exec_task', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2022-02-03T11:31:03Z', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2022-02-03T12:06:17Z', 'title' => ''], + 'TaskType' => ['description' => 'The task type.'."\n" + ."\n" + .'* **ModifyInsSpec**'."\n" + .'* **DeleteInsNode**'."\n" + .'* **AddInsNode**'."\n" + .'* **HaSwitch**'."\n" + .'* **RestartIns**'."\n" + .'* **CreateIns**'."\n" + .'* **ModifyInsConfig**'."\n", 'type' => 'string', 'example' => 'ModifyInsSpec', 'title' => ''], + 'RemainTime' => ['description' => 'The estimated amount of time remaining to complete the task. Unit: seconds. A value of 0 indicates that the task is completed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], + 'Progress' => ['description' => 'The task progress. Valid values: 0 to 100.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '79.0', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. The return value is Instance.'."\n", 'type' => 'string', 'example' => 'Instance', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.'."\n", 'type' => 'string', 'example' => 'dba-tair-test-qcloud', 'title' => ''], + 'DbType' => ['description' => 'The database type. The return value is redis.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'Product' => ['description' => 'The product. The return value is kvstore.'."\n", 'type' => 'string', 'example' => 'kvstore', 'title' => ''], + 'TaskDetail' => ['description' => 'The task details. The details vary based on the task type.'."\n", 'type' => 'string', 'example' => '{\\"callerUid\\":\\"test\\"}', 'title' => ''], + 'ReasonCode' => ['description' => 'The reason why the current task was initiated.'."\n", 'type' => 'string', 'example' => '小版本升级', 'title' => ''], + 'ActionInfo' => ['description' => 'A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:'."\n" + ."\n" + .' {"steps": ['."\n" + .' {'."\n" + .' "step_name": "exec_task", // The name of the step, which matches CurrentStepName.'."\n" + .' "action_info": { // The actions supported for this step.'."\n" + .' "Waiting": [ // The status, which matches Status.'."\n" + .' "modifySwitchTime" // The action. Multiple actions are supported.'."\n" + .' ]'."\n" + .' }'."\n" + .' },'."\n" + .' {'."\n" + .' "step_name": "init_task", // The name of the step.'."\n" + .' "action_info": { // The actions supported for this step.'."\n" + .' "Running": [ // The status.'."\n" + .' "cancel", // The action.'."\n" + .' "pause"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + ."\n" + .'The system may support the following actions:'."\n" + ."\n" + .'* **retry**'."\n" + .'* **cancel**'."\n" + .'* **modifySwitchTime**: changes the switching or restoration time.'."\n", 'type' => 'string', 'example' => '{"steps":[{"action_info":{"Waiting":["modifySwitchTime"]},"step_name":"exec_task"}]}', 'title' => ''], + 'Uid' => ['description' => 'The ID of the user to which the resources belong.'."\n", 'type' => 'string', 'example' => '141345906006****', 'title' => ''], + 'CallerSource' => ['description' => 'The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.'."\n", 'type' => 'string', 'example' => '141345906006****', 'title' => ''], + 'CallerUid' => ['description' => 'The request source. Valid values:'."\n" + ."\n" + .'* **System**'."\n" + .'* **User**'."\n", 'type' => 'string', 'example' => 'User', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B830CDBB-91D9-5571-B6F4-35C76266****\\"\\n}","type":"json"}]', - 'title' => 'UpgradeProxy', - 'description' => 'The procedure and impacts for updating the minor version of an instance varies based on the instance architecture. For more information, see [Update the minor version of an instance](~~56450~~).'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* Before you call this operation, you can call the [DescribeEngineVersion](~~473781~~) operation to query the current minor version of the proxy node.'."\n" - ."\n" - .'* The connection to the instance is interrupted during the update. We recommend that perform an update during off-peak hours. Make sure your application can reconnect to the instance after the update. For more information, see [Minor version update](~~56450~~).'."\n", - ], - 'ModifyInstanceNetExpireTime' => [ - 'summary' => 'Extends the retention period of the classic network endpoint of a Tair (Redis OSS-compatible) instance. You can call this operation after you change the network type of the Tair (Redis OSS-compatible) instance from classic network to Virtual Private Cloud (VPC) with the classic network endpoint retained.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Param.Invalid', 'errorMessage' => 'Param invalid', 'description' => ''], + ['errorCode' => 'Param.Invalid.TimeEndBeforeStart', 'errorMessage' => 'Param invalid. End time before start time', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 5,\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"t-83br18hloy3faf****\\",\\n \\"CurrentStepName\\": \\"exec_task\\",\\n \\"StartTime\\": \\"2022-02-03T11:31:03Z\\",\\n \\"EndTime\\": \\"2022-02-03T12:06:17Z\\",\\n \\"TaskType\\": \\"ModifyInsSpec\\",\\n \\"RemainTime\\": 1000,\\n \\"Progress\\": 79,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InstanceType\\": \\"Instance\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceName\\": \\"dba-tair-test-qcloud\\",\\n \\"DbType\\": \\"redis\\",\\n \\"Product\\": \\"kvstore\\",\\n \\"TaskDetail\\": \\"{\\\\\\\\\\\\\\"callerUid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"}\\",\\n \\"ReasonCode\\": \\"小版本升级\\",\\n \\"ActionInfo\\": \\"{\\\\\\"steps\\\\\\":[{\\\\\\"action_info\\\\\\":{\\\\\\"Waiting\\\\\\":[\\\\\\"modifySwitchTime\\\\\\"]},\\\\\\"step_name\\\\\\":\\\\\\"exec_task\\\\\\"}]}\\",\\n \\"Uid\\": \\"141345906006****\\",\\n \\"CallerSource\\": \\"141345906006****\\",\\n \\"CallerUid\\": \\"User\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeHistoryTasks', + 'changeSet' => [ + ['createdAt' => '2025-04-01T08:30:02.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryTasks'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeHistoryTasksStat' => [ + 'summary' => 'Queries the task statistics in the task center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56484', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '134639', + 'abilityTreeNodes' => ['FEATUREkvstoreAO067M'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The region ID of the pending event. You can call the DescribeRegions operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'* **Scheduled**'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Cancelling**'."\n" + .'* **Canceled**'."\n" + .'* **Waiting**'."\n" + ."\n" + .'> This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'Scheduled', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ConnectionString', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The endpoint of the classic network.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], + 'schema' => ['description' => 'The task IDs. You can specify this parameter to query specific tasks. This parameter is empty by default, which indicates that all tasks are queried. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 't-0mq1yyhm3ffl2bxxxx', 'title' => ''], ], [ - 'name' => 'ClassicExpiredDays', + 'name' => 'TaskType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'FromStartTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The beginning of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*t*hh:mm*Z.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-01-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'ToStartTime', 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The end of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*t*hh:mm*Z.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-02-02T11:31:03Z', 'title' => ''], + ], + [ + 'name' => 'FromExecTime', + 'in' => 'query', + 'schema' => ['description' => 'The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. Default value: 0. This value indicates that the minimum execution duration is unlimited.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'ToExecTime', + 'in' => 'query', + 'schema' => ['description' => 'Maximum task execution time. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. Default value: 0. This value indicates that the minimum execution duration is unlimited.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The extension period to retain the classic network endpoint of the instance. Unit: days. Valid values: **14**, **30**, **60**, and **120**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '14', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', 'title' => ''], + 'Items' => [ + 'description' => 'The task list.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tasks.'."\n", + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The task state.'."\n" + ."\n" + .'* **Scheduled**'."\n" + .'* **Running**'."\n" + .'* **Succeed**'."\n" + .'* **Failed**'."\n" + .'* **Cancelling**'."\n" + .'* **Canceled**'."\n" + .'* **Waiting**'."\n", 'type' => 'string', 'example' => 'Scheduled', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of tasks.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Param.Invalid', 'errorMessage' => 'Param invalid', 'description' => ''], + ['errorCode' => 'Param.Invalid.TimeEndBeforeStart', 'errorMessage' => 'Param invalid. End time before start time', 'description' => ''], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"Scheduled\\",\\n \\"TotalCount\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeHistoryTasksStat', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeHistoryTasksStat'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryTasksStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'DescribeInstanceAttribute' => [ + 'summary' => 'Retrieves the details of a Tair (Redis-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56403', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9C4AF387-1EA3-4C84-8013-3F6B973EDDF5', - ], - 'NetInfoItems' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CA40C261-EB72-4EDA-AC57-958722162595', 'title' => ''], + 'Instances' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'NetInfoItem' => [ - 'description' => 'Details about the extension period for which the classic network endpoint of the instance is retained.'."\n", + 'DBInstanceAttribute' => [ + 'description' => 'The details of the instance.', 'type' => 'array', 'items' => [ - 'description' => 'The classic network information about the instance.'."\n", 'type' => 'object', 'properties' => [ - 'Port' => [ - 'description' => 'The port number that is used to connect to the instance.'."\n", - 'type' => 'string', - 'example' => '6379', - ], - 'DBInstanceNetType' => [ - 'description' => 'The network type of the instance. The returned value is **Classic**.'."\n", - 'type' => 'string', - 'example' => 'Classic', - ], - 'ConnectionString' => [ - 'description' => 'The endpoint of the classic network.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'ExpiredTime' => [ - 'description' => 'The expiration time of the classic network endpoint.'."\n", - 'type' => 'string', - 'example' => '2019-08-01T09:29:18Z', - ], - 'IPAddress' => [ - 'description' => 'The IP address of the instance in the classic network.'."\n", - 'type' => 'string', - 'example' => '100.118.142.***', + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + 'PrivateIp' => ['description' => 'The private IP address of the instance.'."\n" + ."\n" + .'> This parameter is not returned if the network type of the instance is classic network.', 'type' => 'string', 'example' => '172.16.49.***', 'title' => ''], + 'Capacity' => ['description' => 'The memory capacity of the instance. Unit: MB.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.', 'type' => 'string', 'example' => '2019-03-06T10:42:03Z', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal endpoint of the instance.', 'type' => 'string', 'example' => 'r-bp1d72gwl41z7f****.redis.rds.aliyuncs.com', 'title' => ''], + 'IsRds' => ['description' => 'Indicates whether the instance is managed by RDS. Valid values:'."\n" + ."\n" + .'- **true**: The instance is managed by RDS.'."\n" + ."\n" + .'- **false**: The instance is not managed by RDS.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method of the instance. Valid values:'."\n" + ."\n" + .'- **PrePaid**: subscription'."\n" + ."\n" + .'- **PostPaid**: pay-as-you-go', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'StorageType' => ['description' => 'The storage type.', 'type' => 'string', 'example' => 'essd_pl1', 'title' => ''], + 'VpcAuthMode' => ['description' => 'The authentication mode for the instance that is deployed in a VPC. Valid values:'."\n" + ."\n" + .'- **Open**: Password authentication is enabled.'."\n" + ."\n" + .'- **Close**: Password-free access is enabled.', 'type' => 'string', 'example' => 'Open', 'title' => ''], + 'ArchitectureType' => ['description' => 'The architecture of the instance. Valid values:'."\n" + ."\n" + .'- **cluster**: The instance is a cluster instance.'."\n" + ."\n" + .'- **standard**: The instance is a standard instance.'."\n" + ."\n" + .'- **rwsplit**: The instance is a read/write splitting instance.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'AvailabilityValue' => ['description' => 'The availability metric of the instance in the current month.', 'type' => 'string', 'example' => '100%', 'title' => ''], + 'NetworkType' => ['description' => 'The network type of the instance. Valid values:'."\n" + ."\n" + .'- **CLASSIC**: classic network'."\n" + ."\n" + .'- **VPC**: VPC', 'type' => 'string', 'example' => 'CLASSIC', 'title' => ''], + 'Port' => ['description' => 'The service port of the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '6379', 'title' => ''], + 'SecondaryZoneId' => ['description' => 'The ID of the secondary zone.'."\n" + ."\n" + .'> If the instance is not deployed in a secondary zone, this parameter is not returned.', 'type' => 'string', 'example' => 'cn-hongkong-h', 'title' => ''], + 'PackageType' => ['description' => 'The edition of the instance. Valid values:'."\n" + ."\n" + .'- **standard**: standard edition'."\n" + ."\n" + .'- **customized**: The customized edition is discontinued.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'EngineVersion' => ['description' => 'The database engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.', 'type' => 'string', 'example' => '4.0', 'title' => ''], + 'Config' => ['description' => 'The parameter settings of the instance. The settings are in the JSON format. For more information, see [Parameters](~~43885~~).'."\n" + .'To view the audit log configuration, call the [DescribeAuditLogConfig](~~473830~~) operation.', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'VpcCloudInstanceId' => ['description' => 'The ID of the instance that is deployed in a VPC.', 'type' => 'string', 'example' => 'r-bp1d72gwl41z7f****', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the instance. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'SecurityIPList' => ['description' => 'The IP address whitelist.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'ShardCount' => ['description' => 'The number of shards.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'This parameter is returned only if the instance is a cloud-native instance that uses the cluster architecture and is available on the China site (aliyun.com).'."\n" + ."\n" + .'</props>', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ReplicaCount' => ['description' => 'The number of replica nodes in the primary zone.'."\n" + ."\n" + .'> The **ReplicaCount** and **SlaveReplicaCount** parameters are returned only for cloud-native instances. If the instance uses the cluster architecture, these parameters specify the number of replica nodes per **shard** in the primary and secondary zones.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SlaveReplicaCount' => ['description' => 'The number of replica nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ReadOnlyCount' => ['description' => 'The number of read-only nodes in the primary zone.'."\n" + ."\n" + .'> The **ReadOnlyCount** and **SlaveReadOnlyCount** parameters are returned only for cloud-native instances for which read/write splitting is enabled. If the instance uses the cluster architecture, these parameters specify the number of read-only nodes per **shard** in the primary and secondary zones.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'SlaveReadOnlyCount' => ['description' => 'The number of read-only nodes in the secondary zone. This parameter is returned only when read/write splitting is enabled for an instance that is deployed in multiple zones.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The ID of the distributed instance.'."\n" + ."\n" + .'> This parameter is returned only for child instances of a distributed instance.', 'type' => 'string', 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + 'QPS' => ['description' => 'The maximum queries per second (QPS).', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'AuditLogRetention' => ['description' => 'The retention period of the audit log. Unit: days. A value of 0 indicates that the audit log feature is disabled. For more information about how to enable the audit log feature, see [Enable audit logging](~~102015~~).', 'type' => 'string', 'example' => '15', 'title' => ''], + 'ZoneType' => ['description' => 'The zone type of the instance. Valid values:'."\n" + ."\n" + .'- **singlezone**: single-zone'."\n" + ."\n" + .'- **doublezone**: multi-zone', 'type' => 'string', 'example' => 'singlezone', 'title' => ''], + 'MaintainStartTime' => ['description' => 'The start time of the maintenance window. The time is in the *HH:mmZ* format and is displayed in UTC.', 'type' => 'string', 'example' => '18:00Z', 'title' => ''], + 'MaintainEndTime' => ['description' => 'The end time of the maintenance window. The time is in the *HH:mmZ* format and is displayed in UTC.', 'type' => 'string', 'example' => '22:00Z', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type. For more information, see [Instance types](~~107984~~).', 'type' => 'string', 'example' => 'redis.master.small.default', 'title' => ''], + 'RealInstanceClass' => ['description' => 'If the instance is a cloud-native cluster instance, this parameter indicates the actual instance type of the shards. In this case, the InstanceClass parameter indicates a virtual instance type.'."\n" + ."\n" + .'> To query the fees for an instance of this instance type, specify the value of this parameter in the [DescribePrice](~~473807~~) operation.', 'type' => 'string', 'example' => 'tair.rdb.with.proxy.1g', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'r-bp1d72gwl41z7f****', 'title' => ''], + 'InstanceType' => ['description' => 'The database engine. Valid values:'."\n" + ."\n" + .'- **Tair**'."\n" + ."\n" + .'- **Redis**: ApsaraDB for Redis Community Edition instances and classic ApsaraDB for Redis Enhanced Edition (Tair) memory-type instances are of the Redis database engine.'."\n" + ."\n" + .'- **Memcache**', 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'HasRenewChangeOrder' => ['description' => 'Indicates whether a pending order for renewal or configuration change exists for the instance. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'InstanceReleaseProtection' => ['description' => 'Indicates whether release protection is enabled for the instance. Valid values:'."\n" + ."\n" + .'- **true**: Release protection is enabled.'."\n" + ."\n" + .'- **false**: Release protection is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ReplicationMode' => ['description' => 'The replication architecture. Valid values:'."\n" + ."\n" + .'- **master-slave**: master-replica architecture'."\n" + ."\n" + .'- **cluster**: cluster architecture, which includes read/write splitting and cluster instances'."\n" + ."\n" + .'- **db**: cloud-native sharded cluster architecture', 'type' => 'string', 'example' => 'master-slave', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'EndTime' => ['description' => 'The expiration time of the subscription instance. The time is in the yyyy-MM-ddTHH:mm:ssZ format and is displayed in UTC.', 'type' => 'string', 'example' => '2019-04-06T10:42:03Z', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + 'ReplicaId' => ['description' => 'The ID of the replica node.', 'type' => 'string', 'example' => 'bls-awxxxxxxxxxxxxx', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + ."\n" + .'- **double**: The instance has two data nodes.'."\n" + ."\n" + .'- **single**: The instance has a single data node.'."\n" + ."\n" + .'- **readone**: The read/write splitting instance has one read-only node.'."\n" + ."\n" + .'- **readthree**: The read/write splitting instance has three read-only nodes.', 'type' => 'string', 'example' => 'double', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'BackupLogStartTime' => ['description' => 'The earliest point in time to which data can be restored. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format and is displayed in UTC.'."\n" + ."\n" + .'> - This parameter is returned only if the [Data Flashback](~~148479~~) feature is enabled for the instance.'."\n" + .'>'."\n" + .'> - When you call the [RestoreInstance](~~473824~~) operation to perform a data flashback, this is the earliest value that can be specified for the **RestoreTime** parameter.', 'type' => 'string', 'example' => '2021-07-06T05:49:55Z', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hongkong-b', 'title' => ''], + 'InstanceStatus' => ['description' => 'The state of the instance. Valid values:'."\n" + ."\n" + .'- **Normal**: The instance is running as expected.'."\n" + ."\n" + .'- **Creating**: The instance is being created.'."\n" + ."\n" + .'- **Changing**: The instance configuration is being changed.'."\n" + ."\n" + .'- **Inactive**: The instance is disabled.'."\n" + ."\n" + .'- **Flushing**: The instance is being released.'."\n" + ."\n" + .'- **Released**: The instance is released.'."\n" + ."\n" + .'- **Transforming**: The billing method of the instance is being changed.'."\n" + ."\n" + .'- **Migrating**: The instance is being migrated.'."\n" + ."\n" + .'- **BackupRecovering**: The instance is being restored from a backup.'."\n" + ."\n" + .'- **MinorVersionUpgrading**: The minor version of the instance is being updated.'."\n" + ."\n" + .'- **NetworkModifying**: The network type of the instance is being changed.'."\n" + ."\n" + .'- **SSLModifying**: The SSL certificate of the instance is being changed.'."\n" + ."\n" + .'- **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.'."\n" + ."\n" + .'> For more information about instance states and their impacts, see [Instance states](~~200740~~).', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'Engine' => ['description' => 'The database engine. The value is fixed as **Redis**.', 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'Storage' => ['description' => 'The storage space of an ApsaraDB for Redis Enhanced Edition (Tair) instance that uses enhanced SSDs (ESSDs).', 'type' => 'string', 'example' => '50', 'title' => ''], + 'CloudType' => ['description' => 'This parameter is returned only for ApsaraDB for Redis instances that are created in Alibaba Cloud clouds.', 'type' => 'string', 'example' => 'cloudbox', 'title' => ''], + 'IsOrderCompleted' => ['description' => 'Indicates whether a configuration change is complete. Valid values:'."\n" + ."\n" + .'- **true**: The configuration change is complete, or no configuration change is in progress.'."\n" + ."\n" + .'- **false**: The configuration change is in progress.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IsSupportTDE' => ['description' => 'Indicates whether Transparent Data Encryption (TDE) is supported. Valid values:'."\n" + ."\n" + .'- **true**: TDE is supported. This feature is supported only for ApsaraDB for Redis Enhanced Edition (Tair) memory-type instances.'."\n" + ."\n" + .'- **false**: TDE is not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tags' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Tag' => [ + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'tagkey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'tagvalue', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'AutoSecondaryZone' => ['description' => 'Indicates whether the secondary zone is automatically selected. Valid values:'."\n" + ."\n" + .'- **true**: The secondary zone is automatically selected.'."\n" + ."\n" + .'- **false**: The secondary zone is not automatically selected.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ComputingType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ClassicExpiredDaysError', - 'errorMessage' => 'The ClassicExpiredDays can not set to 0.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA40C261-EB72-4EDA-AC57-958722162595\\",\\n \\"Instances\\": {\\n \\"DBInstanceAttribute\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 1024,\\n \\"CreateTime\\": \\"2019-03-06T10:42:03Z\\",\\n \\"ConnectionDomain\\": \\"r-bp1d72gwl41z7f****.redis.rds.aliyuncs.com\\",\\n \\"IsRds\\": true,\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"StorageType\\": \\"essd_pl1\\",\\n \\"VpcAuthMode\\": \\"Open\\",\\n \\"ArchitectureType\\": \\"standard\\",\\n \\"AvailabilityValue\\": \\"100%\\",\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"Port\\": 6379,\\n \\"SecondaryZoneId\\": \\"cn-hongkong-h\\",\\n \\"PackageType\\": \\"standard\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"VpcCloudInstanceId\\": \\"r-bp1d72gwl41z7f****\\",\\n \\"Bandwidth\\": 10,\\n \\"InstanceName\\": \\"apitest\\",\\n \\"SecurityIPList\\": \\"127.0.0.1\\",\\n \\"ShardCount\\": 2,\\n \\"ReplicaCount\\": 1,\\n \\"SlaveReplicaCount\\": 1,\\n \\"ReadOnlyCount\\": 5,\\n \\"SlaveReadOnlyCount\\": 2,\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"QPS\\": 100000,\\n \\"AuditLogRetention\\": \\"15\\",\\n \\"ZoneType\\": \\"singlezone\\",\\n \\"MaintainStartTime\\": \\"18:00Z\\",\\n \\"MaintainEndTime\\": \\"22:00Z\\",\\n \\"InstanceClass\\": \\"redis.master.small.default\\",\\n \\"RealInstanceClass\\": \\"tair.rdb.with.proxy.1g\\",\\n \\"InstanceId\\": \\"r-bp1d72gwl41z7f****\\",\\n \\"InstanceType\\": \\"Redis\\",\\n \\"HasRenewChangeOrder\\": \\"false\\",\\n \\"InstanceReleaseProtection\\": false,\\n \\"ReplicationMode\\": \\"master-slave\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"EndTime\\": \\"2019-04-06T10:42:03Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ReplicaId\\": \\"bls-awxxxxxxxxxxxxx\\",\\n \\"NodeType\\": \\"double\\",\\n \\"Connections\\": 10000,\\n \\"BackupLogStartTime\\": \\"2021-07-06T05:49:55Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"ZoneId\\": \\"cn-hongkong-b\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"Storage\\": \\"50\\",\\n \\"CloudType\\": \\"cloudbox\\",\\n \\"IsOrderCompleted\\": true,\\n \\"IsSupportTDE\\": true,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"tagkey\\",\\n \\"Value\\": \\"tagvalue\\"\\n }\\n ]\\n },\\n \\"AutoSecondaryZone\\": true,\\n \\"ComputingType\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeInstanceAttribute', + 'changeSet' => [ + ['createdAt' => '2025-11-12T11:08:10.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-02-18T06:22:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-09T05:56:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-27T03:33:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-13T03:15:22.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-08T13:10:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-02T12:40:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-14T12:04:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"9C4AF387-1EA3-4C84-8013-3F6B973EDDF5\\",\\n \\"NetInfoItems\\": {\\n \\"NetInfoItem\\": [\\n {\\n \\"Port\\": \\"6379\\",\\n \\"DBInstanceNetType\\": \\"Classic\\",\\n \\"ConnectionString\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ExpiredTime\\": \\"2019-08-01T09:29:18Z\\",\\n \\"IPAddress\\": \\"100.118.142.***\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n\\t\\"InstanceId\\": \\"r-xxxxxxxxxxxxxxx\\",\\n\\t\\"RequestId\\": \\"9C4AF387-1EA3-4C84-8013-3F6B973EDDF5\\",\\n\\t\\"NetInfoItems\\": {\\n\\t\\t\\"NetInfoItem\\": [{\\n\\t\\t\\t\\t\\"ConnectionString\\": \\"r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com\\",\\n\\t\\t\\t\\t\\"Port\\": \\"6379\\",\\n\\t\\t\\t\\t\\"DBInstanceNetType\\": \\"Classic\\",\\n\\t\\t\\t\\t\\"IPAddress\\": \\"xxx.xxx.xxx.xxx\\",\\n\\t\\t\\t\\t\\"ExpiredTime\\": \\"2018-11-18T08:04:46Z\\"\\n\\t\\t\\t}\\n\\t\\t]\\n\\t}\\n}"},{"type":"xml","example":"<ModifyInstanceNetExpireTimeResponse>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>9C4AF387-1EA3-4C84-8013-3F6B973EDDF5</RequestId>\\n <NetInfoItems>\\n <NetInfoItem>\\n <ConnectionString>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</ConnectionString>\\n <Port>6379</Port>\\n <DBInstanceNetType>Classic</DBInstanceNetType>\\n <IPAddress>100.118.142.***</IPAddress>\\n <ExpiredTime>2019-08-01T09:29:18Z</ExpiredTime>\\n </NetInfoItem>\\n </NetInfoItems>\\n</ModifyInstanceNetExpireTimeResponse>","errorExample":"<ModifyInstanceNetExpireTimeResponse>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <RequestId>9C4AF387-1EA3-4C84-8013-3F6B973EDDF5</RequestId>\\n <NetInfoItems>\\n <NetInfoItem>\\n <ConnectionString>r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com</ConnectionString>\\n <Port>6379</Port>\\n <DBInstanceNetType>Classic</DBInstanceNetType>\\n <IPAddress>xxx.xxx.xxx.xxx</IPAddress>\\n <ExpiredTime>2018-11-18T08:04:46Z</ExpiredTime>\\n </NetInfoItem>\\n </NetInfoItems>\\n</ModifyInstanceNetExpireTimeResponse>"}]', - 'title' => 'ModifyInstanceNetExpireTime', - 'description' => 'You can also perform this operation in the Tair (Redis OSS-compatible) console. For more information, see [Change the expiration time for the endpoint of the classic network](~~60062~~).'."\n" - ."\n" - .'> For more information about how to switch the network type of a Tair (Redis OSS-compatible) instance from classic network to VPC, see [SwitchNetwork](~~473797~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyDBInstanceConnectionString' => [ - 'summary' => 'Changes the endpoint or port number of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInstanceAutoRenewalAttribute' => [ + 'summary' => 'Queries whether auto-renewal is enabled for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56472', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreS0D17V', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], [ - 'name' => 'NewConnectionString', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The prefix of the new endpoint. Specify the endpoint in the `<prefix>.redis.rds.aliyuncs.com` format. The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.'."\n" - ."\n" - .'> You must specify one of the **NewConnectionString** and **Port** parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'standardredis', - ], + 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'CurrentConnectionString', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The current endpoint of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> By default, the system checks whether auto-renewal is enabled for all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The port number of the instance. Valid values: **1024** to **65535**.'."\n" - ."\n" - .'> You must specify one of the **NewConnectionString** and **Port** parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6379', - 'maxLength' => 5, - 'minLength' => 1, - 'pattern' => '^\\d+$', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" + ."\n" + .'> The default value is **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '30', 'example' => '30', 'default' => '30', 'title' => ''], ], [ - 'name' => 'IPType', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the endpoint. Valid values:'."\n" - ."\n" - .'* **Private**: internal network'."\n" - .'* **Public**: Internet'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Public', - ], + 'schema' => ['description' => 'The number of the page to return. The value must be an integer greater than **0**. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], ], 'responses' => [ @@ -10035,108 +8897,198 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '1790D68A-465C-44E3-BC24-9732652961F9', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2B17D708-1D6D-49F3-B6D7-478371DD****', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageRecordCount' => ['description' => 'The number of entries returned on the current page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Item' => [ + 'description' => 'Details of the auto-renewal information for the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Duration' => ['description' => 'The auto-renewal period. Unit: months.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'AutoRenew' => ['description' => 'Indicates whether auto-renewal is enabled. Valid values:'."\n" + ."\n" + .'* **true**: Auto-renewal is enabled.'."\n" + .'* **false**: Auto-renewal is disabled.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NewConnectionStringNotSupport', - 'errorMessage' => 'Specified newConnectionString is not supported.', - ], - [ - 'errorCode' => 'InvalidIPType.Format', - 'errorMessage' => 'Specified parameter IPType is not supported.', - ], - [ - 'errorCode' => 'InvalidConnectionStringOrPort.Duplicate', - 'errorMessage' => 'Specified connection string or port want to be modified is the same with current net type.', - ], - [ - 'errorCode' => 'InvalidConnectionString.Format', - 'errorMessage' => 'Specified connection string is not valid.', - ], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'Specified parameter exceeds range.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1790D68A-465C-44E3-BC24-9732652961F9\\"\\n}","errorExample":"{\\n\\t\\"code\\": \\"200\\",\\n\\t\\"data\\": {\\n\\t\\t\\"RequestId\\": \\"A7CCD05D-74FE-44DE-A4F0-C3EE58A252BE\\"\\n\\t},\\n\\t\\"successResponse\\": true\\n}"},{"type":"xml","example":"<ModifyDBInstanceConnectionStringResponse>\\n\\t<RequestId>1790D68A-465C-44E3-BC24-9732652961F9</RequestId>\\n</ModifyDBInstanceConnectionStringResponse>","errorExample":"<ModifyDBInstanceConnectionStringResponse>\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>A7CCD05D-74FE-44DE-A4F0-C3EE58A252BE</RequestId>\\n\\t</data>\\n\\t<successResponse>true</successResponse>\\n</ModifyDBInstanceConnectionStringResponse>"}]', - 'title' => 'ModifyDBInstanceConnectionString', - 'description' => 'You can also modify the endpoint or port number of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Change the endpoint or port number of an instance](~~85683~~).', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DD****\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 30,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Duration\\": 1,\\n \\"DBInstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"AutoRenew\\": \\"true\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Duration\\": 1,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"DBInstanceId\\": \\"r-xxxxxxxxxxxxxxx\\",\\n \\"AutoRenew\\": \\"true\\"\\n }\\n ]\\n },\\n \\"TotalRecordCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DDDBE8\\",\\n \\"PageRecordCount\\": 1\\n}"},{"type":"xml","example":"<DescribeInstanceAutoRenewalAttributeResponse>\\n <Items>\\n <Item>\\n <Duration>1</Duration>\\n <RegionId>cn-shanghai</RegionId>\\n <DBInstanceId>r-bp1zxszhcgatnx****</DBInstanceId>\\n <AutoRenew>true</AutoRenew>\\n </Item>\\n </Items>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageNumber>1</PageNumber>\\n <RequestId>2B17D708-1D6D-49F3-B6D7-478371DDDBE8</RequestId>\\n <PageRecordCount>1</PageRecordCount>\\n</DescribeInstanceAutoRenewalAttributeResponse>","errorExample":"<DescribeInstanceAutoRenewalAttributeResponse>\\n <Items>\\n <Item>\\n <Duration>1</Duration>\\n <RegionId>cn-shanghai</RegionId>\\n <DBInstanceId>r-xxxxxxxxxxxxxxx</DBInstanceId>\\n <AutoRenew>true</AutoRenew>\\n </Item>\\n </Items>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageNumber>1</PageNumber>\\n <RequestId>2B17D708-1D6D-49F3-B6D7-478371DDDBE8</RequestId>\\n <PageRecordCount>1</PageRecordCount>\\n</DescribeInstanceAutoRenewalAttributeResponse>"}]', + 'title' => 'DescribeInstanceAutoRenewalAttribute', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyIntranetAttribute' => [ - 'summary' => 'Temporarily adjusts the internal bandwidth of a Tair (Redis OSS-compatible) instance that is deployed in a dedicated cluster.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceAutoRenewalAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceAutoRenewalAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceConfig' => [ + 'summary' => 'Queries some of the default configuration parameters for a Tair (Redis-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56491', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56407', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'type' => 'object', + 'properties' => [ + 'Config' => ['description' => 'The default configuration parameters of the instance. To view the full list of parameters, call the [DescribeParameters](~~473847~~) operation.', 'type' => 'string', 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****', 'title' => ''], + 'ParamReplMode' => ['description' => 'The replication mode. Valid values:'."\n" + ."\n" + .'- **async** (default): asynchronous mode'."\n" + ."\n" + .'- **semisync**: semi-synchronous mode', 'type' => 'string', 'example' => 'async', 'title' => ''], + 'ParamReplTimeout' => ['description' => 'The degradation threshold for the semi-synchronous mode. This parameter is valid only in semi-synchronous mode. Unit: milliseconds. Valid values: 10 to 60000. Default value: 500.'."\n" + ."\n" + .'> If replication latency exceeds this threshold, the replication mode degrades to asynchronous mode. When the replication latency returns to normal, the mode reverts to semi-synchronous mode.', 'type' => 'string', 'example' => '500', 'title' => ''], + 'ParamNoLooseSentinelEnabled' => ['description' => 'Specifies whether to enable Sentinel compatibility mode. This parameter applies only to non-cluster instances. Valid values:'."\n" + ."\n" + .'- **no** (default): Disabled'."\n" + ."\n" + .'- **yes**: Enabled'."\n" + ."\n" + .'> For more information, see [Sentinel compatibility mode](~~178911~~).', 'type' => 'string', 'example' => 'no', 'title' => ''], + 'ParamSentinelCompatEnable' => ['description' => 'Specifies whether to enable Sentinel compatibility mode. This parameter applies to instances that use the cluster architecture with proxy connection mode or the read/write splitting architecture. Valid values:'."\n" + ."\n" + .'- **0** (default): Disabled'."\n" + ."\n" + .'- **1**: Enabled'."\n" + ."\n" + .'> For more information, see [Sentinel compatibility mode](~~178911~~).', 'type' => 'string', 'example' => '0', 'title' => ''], + 'ParamNoLooseSentinelPasswordFreeAccess' => ['description' => 'Specifies whether to allow password-free execution of Sentinel commands when Sentinel compatibility mode is enabled. Valid values:'."\n" + ."\n" + .'- **no** (default): Disabled.'."\n" + ."\n" + .'- **yes**: Enabled. Allows you to run Sentinel commands on any connection without a password and use the `SENTINEL` command to subscribe to the `+switch-master` channel.', 'type' => 'string', 'example' => 'no', 'title' => ''], + 'ParamNoLooseSentinelPasswordFreeCommands' => ['description' => 'Additional commands that can be run without a password. This parameter is valid only when Sentinel compatibility mode is enabled and `ParamNoLooseSentinelPasswordFreeAccess` is set to `yes`. By default, this parameter is empty.', 'type' => 'string', 'example' => '****', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"list-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"list-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RequestId\\": \\"4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****\\",\\n \\"ParamReplMode\\": \\"async\\",\\n \\"ParamReplTimeout\\": \\"500\\",\\n \\"ParamNoLooseSentinelEnabled\\": \\"no\\",\\n \\"ParamSentinelCompatEnable\\": \\"0\\",\\n \\"ParamNoLooseSentinelPasswordFreeAccess\\": \\"no\\",\\n \\"ParamNoLooseSentinelPasswordFreeCommands\\": \\"****\\"\\n}","type":"json"}]', + 'title' => 'DescribeInstanceConfig', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-12-11T07:48:01.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-12-03T02:42:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-05T14:48:25.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-08T09:40:55.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceConfig'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'BandWidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'The amount of bandwidth that you want to add. Unit: Mbit/s. The value must be an integer greater than or equal to 0. In most cases, the maximum bandwidth that can be added can be two times the default maximum bandwidth of the current instance type. For more information about the bandwidth specifications supported by different instance types, see [Overview](~~26350~~). The bandwidth is also subject to the following limits:'."\n" - ."\n" - .'* The bandwidth of an individual instance cannot exceed 75% of the bandwidth of the host. For more information about the host specifications and bandwidth, see [Instance types of hosts](~~206343~~).'."\n" - .'* The total bandwidth of all of the instances on the host cannot exceed 150% of the bandwidth of the host. You can configure resource overcommitment to handle traffic spikes. For more information, see [Configure resource overcommitment to reduce costs](~~183798~~).'."\n" - ."\n" - .'> If you do not specify this parameter for a standard instance, the bandwidth of the instance is set to two times that of the current bandwidth.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeInstanceMultiVIP' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'NodeId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267594', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data node. You can call the [DescribeClusterMemberInfo](~~473783~~) operation to query the node ID. Separate multiple IDs with commas (,).'."\n" - ."\n" - .'> This parameter is required if the instance is a [cluster](~~52228~~) instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -10144,34 +9096,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '97AC8948-D7E4-457E-BE03-850CF04E****', + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****'], + 'MasterDnsRecord' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'example' => '172.21.210.***', 'title' => ''], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'MultiVIPList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConnectionString' => ['type' => 'string', 'description' => '', 'example' => 'r-bp1p4pzsr2rtubcvns-conn1.redis.rds.aliyuncs.com', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'MaxQuota' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '2', 'title' => ''], + 'MasterDns' => ['type' => 'string', 'description' => '', 'example' => 'r-8vb30e8n0m4nvu7tff.redis.zhangbei.rds.aliyuncs.com', 'title' => ''], ], + 'title' => '', + 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97AC8948-D7E4-457E-BE03-850CF04E****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyIntranetAttributeResponse>\\r\\n <RequestId>97AC8948-D7E4-457E-BE03-850CF04E****</RequestId>\\r\\n</ModifyIntranetAttributeResponse>","errorExample":""}]', - 'title' => 'ModifyIntranetAttribute', - 'description' => '> '."\n" - ."\n" - .'* This operation is applicable only to an instance that is deployed in a dedicated cluster. To adjust the bandwidth of a standard instance, call the [EnableAdditionalBandwidth](~~473771~~) operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeIntranetAttribute' => [ - 'summary' => 'Queries the current bandwidth of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'title' => '', + 'summary' => '', + 'description' => '关于多LB,详情参见', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceMultiVIP', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"MasterDnsRecord\\": [\\n \\"172.21.210.***\\"\\n ],\\n \\"MultiVIPList\\": [\\n {\\n \\"ConnectionString\\": \\"r-bp1p4pzsr2rtubcvns-conn1.redis.rds.aliyuncs.com\\"\\n }\\n ],\\n \\"MaxQuota\\": 2,\\n \\"MasterDns\\": \\"r-8vb30e8n0m4nvu7tff.redis.zhangbei.rds.aliyuncs.com\\"\\n}","type":"json"}]', + ], + 'DescribeInstanceSSL' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10183,889 +9165,2065 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56414', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56411', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '02260F96-913E-4655-9BA5-A3651CAF****', 'title' => ''], + 'SSLEnabled' => ['description' => 'The status of the TLS (SSL) encryption feature. Valid values:'."\n" + ."\n" + .'* **Enable**: SSL encryption is enabled.'."\n" + .'* **Disable**: SSL encryption is disabled.'."\n", 'type' => 'string', 'example' => 'Enable', 'title' => ''], + 'SSLExpiredTime' => ['description' => 'The time when the CA certificate expires.'."\n", 'type' => 'string', 'example' => '2020-08-05T09:05:53Z', 'title' => ''], + 'CertCommonName' => ['description' => 'The common name of the CA certificate. The default value is the internal endpoint of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'CertDownloadURL' => ['description' => 'The download URL of the CA certificate.'."\n", 'type' => 'string', 'example' => 'https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRedisVersionPattern', 'errorMessage' => 'Redis db or proxy version does not match specified pattern.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'IncorrectCharacterType', 'errorMessage' => 'Current DB instance CharacterType does not support this operation.', 'description' => ''], + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support operations.', 'description' => ''], + ], [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The InstanceId provided does not exist in our records.', 'description' => ''], + ], + ], + 'title' => 'DescribeInstanceSSL', + 'summary' => 'Queries whether TLS (SSL) encryption is enabled for a Tair (Redis OSS-compatible) instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-08-16T03:19:49.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-11T05:54:40.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceSSL'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceSSL', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"02260F96-913E-4655-9BA5-A3651CAF****\\",\\n \\"SSLEnabled\\": \\"Enable\\",\\n \\"SSLExpiredTime\\": \\"2020-08-05T09:05:53Z\\",\\n \\"CertCommonName\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"CertDownloadURL\\": \\"https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceSSLResponse>\\n <SSLEnabled>Enable</SSLEnabled>\\n <SSLExpiredTime>2020-08-05T09:05:53Z</SSLExpiredTime>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>02260F96-913E-4655-9BA5-A3651CAF****</RequestId>\\n <CertCommonName>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</CertCommonName>\\n</DescribeInstanceSSLResponse>","errorExample":""}]', + 'description' => 'SSL encryption is supported for Tair (Redis OSS-compatible) 2.8 standard master-replica instances, Tair (Redis OSS-compatible) 2.8 master-replica cluster instances, and Tair (Redis OSS-compatible) 4.0 master-replica cluster instances. You can enable SSL encryption to enhance data transmission security.'."\n" + ."\n" + .'You can use one of the following methods to enable or disable SSL encryption or update the SSL certificate for a Tair (Redis OSS-compatible) instance:'."\n" + ."\n" + .'* Call the [ModifyInstanceSSL](~~473838~~) operation.'."\n" + .'* Enable or disable SSL encryption or update the SSL certificate in the Tair (Redis OSS-compatible) console. For more information, see [Configure SSL encryption](~~84898~~).'."\n" + ."\n" + .'> After SSL encryption is enabled, the instance may respond slower.', + ], + 'DescribeInstanceTDEStatus' => [ + 'summary' => 'Queries whether transparent data encryption (TDE) is enabled for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56412', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Tair (Redis OSS-compatible) instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AutoRenewal' => [ - 'description' => 'Indicates whether auto-renewal is enabled for the extra internal bandwidth that you purchased. Valid values:'."\n" - ."\n" - .'* **true**: Auto-renewal is enabled.'."\n" - .'* **false**: Auto-renewal is disabled.'."\n" - ."\n" - .'> If no extra internal bandwidth is purchased, this parameter is not returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '25D42CC3-FBA1-4AEC-BCE2-B8DD3137****', - ], - 'ExpireTime' => [ - 'description' => 'The time when the extra internal bandwidth that you purchased for temporary use expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" - ."\n" - .'> If no extra internal bandwidth for temporary use is purchased or the extra internal bandwidth that you purchased for temporary use has expired, **0** is returned for this parameter.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'IntranetBandwidth' => [ - 'description' => 'The internal bandwidth of the instance. This parameter indicates the combined bandwidth of all shards in the instance. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '102', - ], - 'HasPrePaidBandWidthOrderRunning' => [ - 'description' => 'Specifies whether the instance has unexpired bandwidth plans. Valid values:'."\n" - ."\n" - .'* **true**: The instance has unexpired bandwidth plans.'."\n" - .'* **false**: The instance does not have unexpired bandwidth plans.'."\n" - ."\n" - .'> If no extra internal bandwidth is purchased, this parameter is not returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'BandwidthExpireTime' => [ - 'description' => 'The expiration time of the purchased bandwidth. The time follows the ISO 8601 standard in the *yyyy-MM-dd* T *HH:mm:ss* Z format.'."\n" - ."\n" - .'> If no extra internal bandwidth is purchased, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '2021-03-06T16:00:00Z', - ], - 'BandwidthPrePaid' => [ - 'description' => 'The billing method of the bandwidth plan. Valid values:'."\n" - ."\n" - .'* **0**: pay-as-you-go'."\n" - .'* **1**: subscription'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'IntranetBandWidthBurst' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'TDEStatus' => ['description' => 'Indicates whether TDE is enabled. Valid values:'."\n" + ."\n" + .'* **Enabled**: TDE is enabled.'."\n" + .'* **Disable**: TDE is disabled.'."\n", 'type' => 'string', 'example' => 'Enabled', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AutoRenewal\\": true,\\n \\"RequestId\\": \\"25D42CC3-FBA1-4AEC-BCE2-B8DD3137****\\",\\n \\"ExpireTime\\": \\"0\\",\\n \\"IntranetBandwidth\\": 102,\\n \\"HasPrePaidBandWidthOrderRunning\\": true,\\n \\"BandwidthExpireTime\\": \\"2021-03-06T16:00:00Z\\",\\n \\"BandwidthPrePaid\\": \\"0\\",\\n \\"IntranetBandWidthBurst\\": 0\\n}","errorExample":""},{"type":"xml","example":"<DescribeIntranetAttributeResponse>\\n <IntranetBandwidth>102</IntranetBandwidth>\\n <RequestId>25D42CC3-FBA1-4AEC-BCE2-B8DD3137****</RequestId>\\n <BandwidthExpireTime>2021-03-06T16:00:00Z</BandwidthExpireTime>\\n <AutoRenewal>true</AutoRenewal>\\n <ExpireTime>0</ExpireTime>\\n</DescribeIntranetAttributeResponse>","errorExample":""}]', - 'title' => 'DescribeIntranetAttribute', - 'description' => 'You can call the [EnableAdditionalBandwidth](~~473771~~) operation to increase the internal bandwidth of an instance.', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The InstanceId provided does not exist in our records.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TDEStatus\\": \\"Enabled\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceTDEStatusResponse>\\n <TDEStatus>Enabled</TDEStatus>\\n <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n</DescribeInstanceTDEStatusResponse>","errorExample":""}]', + 'title' => 'DescribeInstanceTDEStatus', + 'description' => 'For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).'."\n" + ."\n" + .'> You can call the [ModifyInstanceTDE](~~473859~~) to enable or disable TDE.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SwitchNetwork' => [ - 'summary' => 'Changes the VPC or vSwitch of a Tair (Redis OSS-compatible) instance. If the instance is deployed in the classic network, the network type of the instance is changed from the classic network to VPC.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-08-16T03:19:50.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceTDEStatus'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceTDEStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56409', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'TargetNetworkType', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.'."\n" + ."\n" + .'> When calling this API, if the **Tag** parameter is specified, this parameter is required.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the instances to query.'."\n" + .'> To specify multiple instance IDs, separate them with commas (,). A maximum of 30 instance IDs can be specified in a single request.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'InstanceStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the instance. Valid values:'."\n" + .'* **Normal**: normal.'."\n" + .'* **Creating**: being created.'."\n" + .'* **Changing**: being changed.'."\n" + .'* **Inactive**: disabled.'."\n" + .'* **Flushing**: being flushed.'."\n" + .'* **Released**: released.'."\n" + .'* **Transforming**: being transformed.'."\n" + .'* **Migrating**: being migrated.'."\n" + .'* **BackupRecovering**: being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: minor version being upgraded.'."\n" + .'* **NetworkModifying**: network type being changed.'."\n" + .'* **SSLModifying**: SSL being changed.'."\n" + .'* **MajorVersionUpgrading**: major version being upgraded. The instance can be accessed normally.'."\n" + ."\n" + .'> For more information about instance statuses, see [Instance statuses and impacts](~~200740~~).', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'The network type to which you want to switch. If you want to switch to VPC network, Set the value to **VPC**.', + 'description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid**: pay-as-you-go.', 'type' => 'string', 'required' => false, - 'example' => 'VPC', - 'default' => 'VPC', - 'enum' => [ - 'CLASSIC', - 'VPC', - ], + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PostPaid', + 'title' => '', ], ], [ - 'name' => 'VpcId', + 'name' => 'NetworkType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* The VPC and the instance must be deployed in the same region.'."\n" - ."\n" - .'* After you set this parameter, you must also set the **VSwitchId** parameter.'."\n", + 'description' => 'The network type of the instance. Valid values:'."\n" + .'* **CLASSIC**: classic network.'."\n" + .'* **VPC**: virtual private cloud (VPC).', 'type' => 'string', 'required' => false, - 'docRequired' => true, - 'example' => 'vpc-bp1nme44gek34slfc****', + 'enum' => ['CLASSIC', 'VPC'], + 'example' => 'CLASSIC', + 'title' => '', ], ], [ - 'name' => 'VSwitchId', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the vSwitch that belongs to the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the vSwitch ID.'."\n" - ."\n" - .'> The vSwitch and the instance must be deployed in the same zone.'."\n", + 'description' => 'The Redis-compatible engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.', 'type' => 'string', 'required' => false, - 'docRequired' => true, - 'example' => 'vsw-bp1e7clcw529l773d****', + 'enum' => ['1.0', '2.8', '4.0', '5.0', '6.0', '7.0'], + 'example' => '4.0', + 'title' => '', ], ], [ - 'name' => 'InstanceId', + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type. For more information, see [Instance types](~~107984~~).', 'type' => 'string', 'required' => false, 'example' => 'redis.master.small.default', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the instance list. Pages start from **1**. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page. Maximum value: **50**. Default value: **30**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'default' => '30', 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', + 'description' => 'The category of the instance. Valid values:'."\n" + .'* **Tair**: Tair (Enhanced Edition)'."\n" + .'* **Redis**: ApsaraDB for Redis Community Edition'."\n" + .'* **Memcache**', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'default' => 'Redis', + 'enum' => ['Redis', 'Memcache', 'tair_essd', 'tair_scm', 'Tair', 'tair_rdb', 'tair_skv'], + 'example' => 'Redis', + 'title' => '', ], ], [ - 'name' => 'RetainClassic', + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword used for fuzzy search by instance name or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => ['description' => 'The architecture type. Valid values:'."\n" + .'* **cluster**: cluster.'."\n" + .'* **standard**: standard.'."\n" + .'* **rwsplit**: read/write splitting.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + ], + [ + 'name' => 'Expired', + 'in' => 'query', + 'schema' => ['description' => 'The expiration status of the instance. Valid values:'."\n" + ."\n" + .'* **true**: expired.'."\n" + .'* **false**: not expired.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hongkong-b', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.'."\n" + .'> You can call the [ListResourceGroups](~~158855~~) API or use the console to obtain the list of resource group IDs. For more information, see [View basic information of a resource group](~~151181~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + [ + 'name' => 'GlobalInstance', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to filter child instances of distributed instances from the returned instance list. Valid values:'."\n" + .'* **true**: returns only child instance information.'."\n" + .'* **false**: does not return child instance information.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'EditionType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to retain the original classic network endpoint after you switch the instance from classic network to VPC. Default value: False. Valid values:'."\n" - ."\n" - .'* **True**: retains the classic network endpoint.'."\n" - .'* **False**: does not retain the classic network endpoint.'."\n" - ."\n" - .'> This parameter is available only when the network type of the instance is classic network.'."\n", + 'description' => 'The edition of the instance. Valid values:'."\n" + .'* **Community**: ApsaraDB for Redis Community Edition.'."\n" + .'* **Enterprise**: Tair Enhanced Edition.', 'type' => 'string', 'required' => false, - 'example' => 'True', + 'enum' => ['Enterprise', 'Community'], + 'example' => 'Enterprise', + 'title' => '', ], ], [ - 'name' => 'ClassicExpiredDays', + 'name' => 'PrivateIp', 'in' => 'query', + 'schema' => ['description' => 'The private IP address of the VPC.', 'type' => 'string', 'required' => false, 'example' => '172.16.49.***', 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The retention period of the classic network endpoint. Valid values: **14**, **30**, **60**, and **120**. Unit: days.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is available and required only when the **RetainClassic** parameter is set to **True**.'."\n" - ."\n" - .'* After you complete the switchover operation, you can also call the [ModifyInstanceNetExpireTime](~~473793~~) operation to modify the retention period of the classic network endpoint.', + 'description' => 'The tags of the instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'Object.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value of the tag. The tag value and key together form a key-value pair.', 'type' => 'string', 'required' => false, 'example' => '开发', 'title' => ''], + 'Key' => ['description' => 'The key of the tag. The tag key and value together form a key-value pair.'."\n" + .'> A maximum of 5 tag key-value pairs can be specified at a time.', 'type' => 'string', 'required' => false, 'example' => '存储类型', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'NodeType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The node type. Valid values:'."\n" + .'* **MASTER_SLAVE**: high availability (dual-replica)'."\n" + .'* **STAND_ALONE**: single replica'."\n" + .'* **double**: dual-replica'."\n" + .'* **single**: single replica'."\n" + .'> For cloud-native instances, select **MASTER_SLAVE** or **STAND_ALONE**. For classic instances, select **double** or **single**.', 'type' => 'string', 'required' => false, - 'example' => '30', - 'pattern' => '^\\d+$', + 'enum' => ['STAND_ALONE', 'MASTER_SLAVE', 'double', 'single'], + 'example' => 'MASTER_SLAVE', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Object.', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '578678678', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F0997EE8-F4C2-4503-9168-85177ED78C70', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the instance list.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Instances' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'KVStoreInstance' => [ + 'description' => 'A collection of instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'Object.', + 'type' => 'object', + 'properties' => [ + 'Connections' => ['description' => 'The maximum number of connections supported by the instance.', 'type' => 'integer', 'format' => 'int64', 'example' => '20000', 'title' => ''], + 'EndTime' => ['description' => 'The expiration time of a subscription instance.', 'type' => 'string', 'example' => '2019-06-13T16:00:00Z', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + 'EditionType' => ['description' => 'The edition of the instance. Valid values:'."\n" + .'- **Community**: Community Edition.'."\n" + .'- **Enterprise**: Enhanced Edition.', 'type' => 'string', 'example' => 'Enterprise', 'title' => ''], + 'Config' => ['description' => 'The parameter settings of the instance. For more information, see [Parameter settings](~~43885~~).', 'type' => 'string', 'example' => '{\\"maxmemory-policy\\":\\"volatile-lfu\\",\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64,\\"#no_loose_disabled-commands\\":\\"flushall,flushdb\\",\\"lazyfree-lazy-eviction\\":\\"yes\\"}', 'title' => ''], + 'Port' => ['description' => 'The service port of the instance.'."\n" + .'><notice>After the port of the network connection address is changed, this field cannot provide actual network status information of the instance. Use the DescribeDBInstanceNetInfo API to query the real-time network connection information of the instance.></notice>', 'type' => 'integer', 'format' => 'int64', 'example' => '6379', 'title' => ''], + 'DestroyTime' => ['description' => 'The time when the instance was destroyed.', 'type' => 'string', 'example' => '2019-04-28T10:03:01Z', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The ID of the distributed instance.'."\n" + .'> This parameter is returned only when the instance is a child instance of a distributed instance.', 'type' => 'string', 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + 'HasRenewChangeOrder' => ['description' => 'Indicates whether the instance has an unexecuted order for renewal and configuration change. Valid values:'."\n" + .'* **true**: yes.'."\n" + .'* **false**: no.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ShardCount' => ['description' => 'The number of data shards in the cluster.'."\n" + .'> This parameter is returned only for cloud-native cluster or read/write splitting instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal connection address of the instance.'."\n" + .'><notice>After the network connection address is changed or a new one is applied, this field cannot provide actual network status information of the instance. Use the DescribeDBInstanceNetInfo API to query the real-time network connection information of the instance.></notice>', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'SlaveReplicaCount' => ['description' => 'The number of replica nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PrivateIp' => ['description' => 'The private IP address of the VPC.'."\n" + .'> This parameter is not returned when the network type of the instance is classic network.', 'type' => 'string', 'example' => '172.16.49.***', 'title' => ''], + 'Capacity' => ['description' => 'The storage capacity of the instance. Unit: MB.', 'type' => 'integer', 'format' => 'int64', 'example' => '4096', 'title' => ''], + 'QPS' => ['description' => 'Queries per second (QPS).', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'NetworkType' => ['description' => 'The network type of the instance. Valid values:'."\n" + .'* **CLASSIC**: classic network.'."\n" + .'* **VPC**: VPC.', 'type' => 'string', 'example' => 'CLASSIC', 'title' => ''], + 'InstanceStatus' => ['description' => 'The status of the instance. Valid values:'."\n" + .'* **Normal**: normal.'."\n" + .'* **Creating**: being created.'."\n" + .'* **Changing**: being changed.'."\n" + .'* **Inactive**: disabled.'."\n" + .'* **Flushing**: being flushed.'."\n" + .'* **Released**: released.'."\n" + .'* **Transforming**: being transformed.'."\n" + .'* **Unavailable**: the service is suspended.'."\n" + .'* **Error**: the instance failed to be created.'."\n" + .'* **Migrating**: being migrated.'."\n" + .'* **BackupRecovering**: being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: minor version being upgraded.'."\n" + .'* **NetworkModifying**: network type being changed.'."\n" + .'* **SSLModifying**: SSL being changed.'."\n" + .'* **MajorVersionUpgrading**: major version being upgraded. The instance can be accessed normally.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'PackageType' => ['description' => 'The plan type. Valid values:'."\n" + .'* **standard**: standard plan.'."\n" + .'* **customized**: custom plan.', 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the instance. Unit: MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'InstanceType' => ['description' => 'The category of the instance. Valid values:'."\n" + .'* **Tair**.'."\n" + .'* **Redis**.'."\n" + .'* **Memcache**.', 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'Tags' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Tag' => [ + 'description' => 'The tag information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Object.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'value1', 'title' => ''], + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ReplacateId' => ['description' => 'The logical ID of the active-active instance.', 'type' => 'string', 'example' => 'grr-bp11381ebc16****', 'title' => ''], + 'ArchitectureType' => ['description' => 'The architecture type. Valid values:'."\n" + .'* **cluster**: cluster.'."\n" + .'* **standard**: standard.'."\n" + .'* **rwsplit**: read/write splitting.'."\n" + .'* **NULL**: all types. This is the default value.', 'type' => 'string', 'example' => 'cluster', 'title' => ''], + 'EngineVersion' => ['description' => 'The Redis-compatible engine version of the instance.', 'type' => 'string', 'example' => '4.0', 'title' => ''], + 'UserName' => ['description' => 'The username used for the connection. By default, a username named after the instance ID is included.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'CloudType' => ['description' => 'This parameter is displayed only for CloudBox instances.', 'type' => 'string', 'example' => 'cloudbox', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'ShardClass' => ['description' => 'The specification of data shard nodes. For more information, see [Specification lookup](~~26350~~).'."\n" + .'> The overall performance of a cluster instance is: shard node specification (ShardClass) × number of shards (ShardCount).', 'type' => 'string', 'example' => 'redis.shard.small.ce', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2018-11-07T08:49:00Z', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + 'ReplicaCount' => ['description' => 'The number of replica nodes in the primary zone.'."\n" + .'> The **ReplicaCount** and **SlaveReplicaCount** parameters apply only to cloud-native instances. For cluster instances, these parameters indicate the number of replica nodes per shard in the primary and secondary zones, respectively.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ReadOnlyCount' => ['description' => 'The number of read-only nodes in the primary zone.'."\n" + .'> The **ReadOnlyCount** and **SlaveReadOnlyCount** parameters apply only to cloud-native instances with read/write splitting enabled. For cluster instances, these parameters indicate the number of read-only nodes per shard in the primary and secondary zones, respectively.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'redis.logic.sharding.2g.2db.0rodb.4proxy.default', 'title' => ''], + 'IsRds' => ['description' => 'Indicates whether the instance is managed by ApsaraDB RDS. Valid values:'."\n" + .'* **true**: yes.'."\n" + .'* **false**: no.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SecondaryZoneId' => ['description' => 'The ID of the secondary zone.'."\n" + .'> If the **ZoneId** parameter already returns a multi-zone value, for example "cn-hangzhou-MAZ10(h,i)", this parameter does not return the secondary zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'SlaveReadOnlyCount' => ['description' => 'The number of read-only nodes in the secondary zone.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid**: pay-as-you-go.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'ComputingType' => ['description' => 'The computing type of the instance. Valid values:'."\n" + ."\n" + .'- **Ecs**: cloud-native.'."\n" + .'- **Machine**: physical machine.', 'type' => 'string', 'example' => 'Ecs', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + .'* **double**: dual-replica.'."\n" + .'* **single**: single replica (discontinued).'."\n" + .'* **MASTER_SLAVE**: high availability (dual-replica).'."\n" + .'* **STAND_ALONE**: single replica.', 'type' => 'string', 'example' => 'double', 'title' => ''], + 'ConnectionMode' => ['description' => 'The access mode of the instance. Valid values:'."\n" + .'* **Standard**: standard access mode.'."\n" + .'* **Safe**: database proxy mode.'."\n" + ."\n" + .'Deprecated. Use DescribeDBInstanceNetInfo instead.', 'type' => 'string', 'example' => 'Standard', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'WorkspaceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'UsedCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + 'QuotaCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidToken.Malformed', - 'errorMessage' => 'The Specified parameter Token is not valid.', - ], - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke vpc service failed.', - ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify iz not support vpc.', - ], - [ - 'errorCode' => 'IzNotSupportSwitchNetworkError', - 'errorMessage' => 'Specify iz not support switch network.', - ], - [ - 'errorCode' => 'VpcVerifyError', - 'errorMessage' => 'VpcId is wrong.', - ], - [ - 'errorCode' => 'VpcAndVSwitchNotChange', - 'errorMessage' => 'VpcId and vSwitchId not change.', - ], - ], - 403 => [ - [ - 'errorCode' => 'ResourceAlreadyExists', - 'errorMessage' => 'Resource already exists.', - ], - [ - 'errorCode' => 'InsufficientResourceCapacity', - 'errorMessage' => 'ip resource is conflict with other custins.', - ], - [ - 'errorCode' => 'VpcFreePasswordNoSupport', - 'errorMessage' => 'The custins opend VPCFreePassword not support this operation.', - ], + ['errorCode' => 'InvalidInstanceIds.Malformed', 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"578678678\\",\\n \\"RequestId\\": \\"F0997EE8-F4C2-4503-9168-85177ED78C70\\"\\n}","errorExample":"{\\n \\"TaskId\\":\\"578678678\\",\\n \\"requestId\\":\\"F0997EE8-F4C2-4503-9168-85177ED78C70\\"\\n}"},{"type":"xml","example":"<SwitchNetworkResponse>\\n <TaskId>578678678</TaskId>\\n <requestId>F0997EE8-F4C2-4503-9168-85177ED78C70</requestId>\\n</SwitchNetworkResponse>","errorExample":"<SwitchNetworkResponse>\\n <TaskId>578678678</TaskId>\\n <requestId>F0997EE8-F4C2-4503-9168-85177ED78C70</requestId>\\n</SwitchNetworkResponse>"}]', - 'title' => 'SwitchNetwork', + 'title' => 'Query instance list information', + 'summary' => 'Queries information about one or more ApsaraDB for Redis (Tair-compatible) instances.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AllocateInstancePublicConnection' => [ - 'summary' => 'Applies for a public endpoint for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-08-12T12:34:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-27T08:28:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-09T05:56:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-19T12:38:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-13T07:08:51.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-03-07T08:03:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-25T13:32:25.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], + ['validationType' => 'conditional', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"Instances\\": {\\n \\"KVStoreInstance\\": [\\n {\\n \\"Connections\\": 20000,\\n \\"EndTime\\": \\"2019-06-13T16:00:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"EditionType\\": \\"Enterprise\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"maxmemory-policy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lfu\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"#no_loose_disabled-commands\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"flushall,flushdb\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"lazyfree-lazy-eviction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"yes\\\\\\\\\\\\\\"}\\",\\n \\"Port\\": 6379,\\n \\"DestroyTime\\": \\"2019-04-28T10:03:01Z\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"HasRenewChangeOrder\\": false,\\n \\"ShardCount\\": 3,\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"SlaveReplicaCount\\": 1,\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 4096,\\n \\"QPS\\": 100000,\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"PackageType\\": \\"standard\\",\\n \\"Bandwidth\\": 96,\\n \\"InstanceType\\": \\"Redis\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Value\\": \\"value1\\",\\n \\"Key\\": \\"key1\\"\\n }\\n ]\\n },\\n \\"ReplacateId\\": \\"grr-bp11381ebc16****\\",\\n \\"ArchitectureType\\": \\"cluster\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"UserName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"CloudType\\": \\"cloudbox\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"ShardClass\\": \\"redis.shard.small.ce\\",\\n \\"CreateTime\\": \\"2018-11-07T08:49:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ReplicaCount\\": 1,\\n \\"ReadOnlyCount\\": \\"1\\",\\n \\"InstanceClass\\": \\"redis.logic.sharding.2g.2db.0rodb.4proxy.default\\",\\n \\"IsRds\\": true,\\n \\"SecondaryZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceName\\": \\"apitest\\",\\n \\"SlaveReadOnlyCount\\": 1,\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"ComputingType\\": \\"Ecs\\",\\n \\"NodeType\\": \\"double\\",\\n \\"ConnectionMode\\": \\"Standard\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"WorkspaceId\\": \\"\\",\\n \\"UsedCount\\": 0,\\n \\"QuotaCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeInstancesOverview' => [ + 'summary' => 'Queries the overview information of one or more ApsaraDB for Tair (Redis® OSS-Compatible) database instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '56344', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '103727', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the region ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the instances that you want to query.'."\n" + .'> By default, all instances under the current account are queried. To specify multiple instance IDs, separate them with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'InstanceStatus', + 'in' => 'query', + 'schema' => ['description' => 'The instance status. Valid values:'."\n" + .'* **Normal**: The instance is running.'."\n" + .'* **Creating**: The instance is being created.'."\n" + .'* **Changing**: The instance is being modified.'."\n" + .'* **Inactive**: The instance is disabled.'."\n" + .'* **Flushing**: The instance is being purged.'."\n" + .'* **Released**: The instance is released.'."\n" + .'* **Transforming**: The instance is being transformed.'."\n" + .'* **Migrating**: The instance is being migrated.'."\n" + .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: A minor version upgrade is in progress.'."\n" + .'* **NetworkModifying**: The network configuration is being modified.'."\n" + .'* **SSLModifying**: The SSL configuration is being modified.'."\n" + .'* **MajorVersionUpgrading**: A major engine version upgrade is in progress. The instance can be accessed normally.'."\n" + ."\n" + .'> For more information about instance statuses, see [Instance states and impacts](~~200740~~).', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", + 'description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid**: pay-as-you-go.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'enum' => ['PrePaid', 'PostPaid', 'dhgpay'], + 'example' => 'PostPaid', + 'title' => '', ], ], [ - 'name' => 'ConnectionStringPrefix', + 'name' => 'NetworkType', 'in' => 'query', 'schema' => [ - 'description' => 'The prefix of the public endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix can be 8 to 40 characters in length.'."\n" - ."\n" - .'> The endpoint is in the `<prefix>.redis.rds.aliyuncs.com` format.'."\n", + 'description' => 'The network type. Valid values:'."\n" + .'* **CLASSIC**: classic network.'."\n" + .'* **VPC**: virtual private cloud (VPC).', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'enum' => ['CLASSIC', 'VPC'], + 'example' => 'CLASSIC', + 'title' => '', ], ], [ - 'name' => 'Port', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The service port number of the instance. Valid values: **1024** to **65535**.'."\n", + 'description' => 'The Redis-compatible engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.', + 'enumValueTitles' => ['4.0' => '4.0', '5.0' => '5.0', '6.0' => '6.0', '7.0' => '7.0', '2.8' => '2.8'], 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '6379', + 'required' => false, + 'enum' => ['1.0', '2.8', '4.0', '5.0', '6.0', '7.0'], + 'example' => '6.0', + 'title' => '', + ], + ], + [ + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type. For more information, see [Instance types](~~107984~~).', 'type' => 'string', 'required' => false, 'example' => 'redis.master.small.default', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance type. Valid values:'."\n" + .'* **Tair**'."\n" + .'* **Redis**'."\n" + .'* **Memcache**', + 'type' => 'string', + 'required' => false, + 'default' => 'Redis', + 'enum' => ['Redis', 'Memcache', 'tair_essd', 'tair_scm', 'tair_rdb', 'Tair'], + 'example' => 'Redis', + 'title' => '', + ], + ], + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword used for fuzzy search by instance ID or instance description.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => ['description' => 'The architecture type. Valid values:'."\n" + .'* **cluster**: Cluster Edition.'."\n" + .'* **standard**: Standard Edition.'."\n" + .'* **rwsplit**: read/write splitting edition.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-b', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.'."\n" + .'> You can invoke the [ListResourceGroups](~~158855~~) operation or use the console to obtain the resource group ID. Related operations, see [View basic information of a resource group](~~151181~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + [ + 'name' => 'EditionType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The edition type. Valid values:'."\n" + .'* **Community**: Community Edition.'."\n" + .'* **Enterprise**: Enterprise Edition.', + 'type' => 'string', + 'required' => false, + 'enum' => ['Enterprise', 'Community'], + 'example' => 'Enterprise', + 'title' => '', + ], + ], + [ + 'name' => 'PrivateIp', + 'in' => 'query', + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '172.16.49.***', 'title' => ''], + ], + [ + 'name' => 'NodeType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['STAND_ALONE', 'MASTER_SLAVE', 'double', 'single'], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '20C8341E-B5AD-4B24-BD82-D73241522ABF', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Instances' => [ + 'description' => 'The list of instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The instance object.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], + 'PrivateIp' => ['description' => 'The private IP address of the instance in a VPC. The IP address may change. Use ConnectionDomain (internal endpoint) to connect to the instance.'."\n" + .'> - This parameter is not returned if the network type of the instance is classic network.'."\n" + .'> - This parameter is not returned for cloud-native instances.', 'type' => 'string', 'example' => '172.16.49.***', 'title' => ''], + 'Capacity' => ['description' => 'The storage capacity of the instance. Unit: MB.', 'type' => 'integer', 'format' => 'int64', 'example' => '4096', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2018-11-07T08:49:00Z', 'title' => ''], + 'ConnectionDomain' => ['description' => 'The internal endpoint of the instance.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" + .'* **PrePaid**: subscription.'."\n" + .'* **PostPaid**: pay-as-you-go.', 'type' => 'string', 'example' => 'PrePaid', 'title' => ''], + 'ArchitectureType' => ['description' => 'The architecture type. Valid values:'."\n" + .'* **cluster**: Cluster Edition.'."\n" + .'* **standard**: Standard Edition.'."\n" + .'* **rwsplit**: read/write splitting edition.', 'type' => 'string', 'example' => 'cluster', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + .'* **CLASSIC**: classic network.'."\n" + .'* **VPC**: virtual private cloud (VPC).', 'type' => 'string', 'example' => 'CLASSIC', 'title' => ''], + 'EngineVersion' => ['description' => 'The Redis-compatible engine version of the instance. Valid values: **2.8**, **4.0**, **5.0**, **6.0**, and **7.0**.', 'type' => 'string', 'example' => '6.0', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'apitest', 'title' => ''], + 'GlobalInstanceId' => ['description' => 'The distributed instance ID.'."\n" + .'> This parameter is returned only when the instance is a child instance of a distributed instance.', 'type' => 'string', 'example' => 'gr-bp14rkqrhac****', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'redis.logic.sharding.2g.2db.0rodb.4proxy.default', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + .'* **Tair**: Tair (Enterprise Edition).'."\n" + .'* **Redis**: Redis Community Edition.'."\n" + .'* **Memcache**', 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'NodeType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'EndTime' => ['description' => 'The time when the subscription instance expires.', 'type' => 'string', 'example' => '2022-06-13T16:00:00Z', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID to which the instance belongs.', 'type' => 'string', 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'InstanceStatus' => ['description' => 'The instance status. Valid values:'."\n" + .'* **Normal**: The instance is running.'."\n" + .'* **Creating**: The instance is being created.'."\n" + .'* **Changing**: The instance is being modified.'."\n" + .'* **Inactive**: The instance is disabled.'."\n" + .'* **Flushing**: The instance is being purged.'."\n" + .'* **Released**: The instance is released.'."\n" + .'* **Transforming**: The instance is being transformed.'."\n" + .'* **Unavailable**: The instance is unavailable.'."\n" + .'* **Error**: The instance failed to be created.'."\n" + .'* **Migrating**: The instance is being migrated.'."\n" + .'* **BackupRecovering**: The instance is being restored from a backup.'."\n" + .'* **MinorVersionUpgrading**: A minor version upgrade is in progress.'."\n" + .'* **NetworkModifying**: The network configuration is being modified.'."\n" + .'* **SSLModifying**: The SSL configuration is being modified.'."\n" + .'* **MajorVersionUpgrading**: A major engine version upgrade is in progress. The instance can be accessed normally.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'SecondaryZoneId' => ['description' => 'The secondary zone ID.'."\n" + .'> This parameter is returned only when the instance has a secondary zone.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingInstanceId', - 'errorMessage' => 'InstanceId is mandatory for this action.', - ], - [ - 'errorCode' => 'MissingConnectionString', - 'errorMessage' => 'ConnectionStringPrefix is mandatory for this action.', - ], - [ - 'errorCode' => 'MissingPort', - 'errorMessage' => 'Port is mandatory for this action.', - ], - [ - 'errorCode' => 'NetTypeExists', - 'errorMessage' => 'Specified net type already existed.', - ], - [ - 'errorCode' => 'InvalidConnectionString.Format', - 'errorMessage' => 'Specified connection string is not valid.', - ], - [ - 'errorCode' => 'NewSSLAlreadyEnabled', - 'errorMessage' => 'new SSL have already been enabled.', - ], - ], - 403 => [ - [ - 'errorCode' => 'SSLNotSupportNetType', - 'errorMessage' => 'SSL instance does not support create public network.', - ], + ['errorCode' => 'InvalidInstanceIds.Malformed', 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', 'description' => ''], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query instance overview', + 'description' => 'If you do not specify any request parameters, the overview information of all instances is returned.'."\n" + .'> This operation does not support pagination for the returned results.', + 'changeSet' => [ + ['createdAt' => '2023-06-12T09:03:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-06T12:59:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-26T14:44:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-23T14:22:35.000Z', 'description' => 'OpenAPI offline'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C8341E-B5AD-4B24-BD82-D73241522ABF\\"\\n}","errorExample":""},{"type":"xml","example":"<AllocateInstancePublicConnectionResponse>\\r\\n <RequestId>20C8341E-B5AD-4B24-BD82-D73241522ABF</RequestId>\\r\\n</AllocateInstancePublicConnectionResponse>","errorExample":""}]', - 'title' => 'AllocateInstancePublicConnection', - 'description' => 'You can also apply for public endpoints in the ApsaraDB for Redis console. For more information, see [Use a public endpoint to connect to an ApsaraDB for Redis instance](~~43850~~).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ReleaseInstancePublicConnection' => [ - 'summary' => 'Releases the public endpoint of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstancesOverview'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstancesOverview', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\",\\n \\"TotalCount\\": 1,\\n \\"Instances\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1nme44gek34slfc****\\",\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 4096,\\n \\"CreateTime\\": \\"2018-11-07T08:49:00Z\\",\\n \\"ConnectionDomain\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"ArchitectureType\\": \\"cluster\\",\\n \\"NetworkType\\": \\"CLASSIC\\",\\n \\"EngineVersion\\": \\"6.0\\",\\n \\"InstanceName\\": \\"apitest\\",\\n \\"GlobalInstanceId\\": \\"gr-bp14rkqrhac****\\",\\n \\"InstanceClass\\": \\"redis.logic.sharding.2g.2db.0rodb.4proxy.default\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceType\\": \\"Redis\\",\\n \\"NodeType\\": \\"\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"EndTime\\": \\"2022-06-13T16:00:00Z\\",\\n \\"VSwitchId\\": \\"vsw-bp1e7clcw529l773d****\\",\\n \\"ResourceGroupId\\": \\"rg-acfmyiu4ekp****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"SecondaryZoneId\\": \\"cn-hangzhou-g\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIntranetAttribute' => [ + 'summary' => 'Describes the current bandwidth of a Tair (Redis-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreS0D17V', - ], + 'abilityTreeCode' => '56414', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'CurrentConnectionString', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The public endpoint to be released.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', + 'type' => 'object', + 'properties' => [ + 'AutoRenewal' => ['description' => 'Indicates whether auto-renewal is enabled for the bandwidth package. Valid values:'."\n" + ."\n" + .'- **true**: Auto-renewal is enabled.'."\n" + ."\n" + .'- **false**: Auto-renewal is disabled.'."\n" + ."\n" + .'> This parameter is not returned if no additional bandwidth is purchased.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '25D42CC3-FBA1-4AEC-BCE2-B8DD3137****', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time of the temporary bandwidth. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format.'."\n" + ."\n" + .'> This parameter returns **0** if the instance has no temporary bandwidth or if the temporary bandwidth has expired.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'IntranetBandwidth' => ['description' => 'The total intranet bandwidth across all shards in the instance, in MB/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '102', 'title' => ''], + 'HasPrePaidBandWidthOrderRunning' => ['description' => 'Indicates whether the instance has an unexpired bandwidth package. Valid values:'."\n" + ."\n" + .'- **true**: An unexpired bandwidth package exists.'."\n" + ."\n" + .'- **false**: No unexpired bandwidth package exists.'."\n" + ."\n" + .'> This parameter is not returned if no additional bandwidth is purchased.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'BandwidthExpireTime' => ['description' => 'The expiration time of the bandwidth package. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format.'."\n" + ."\n" + .'> This parameter is not returned if no additional bandwidth is purchased.', 'type' => 'string', 'example' => '2021-03-06T16:00:00Z', 'title' => ''], + 'BandwidthPrePaid' => ['description' => 'The billing method of the bandwidth package. Valid values:'."\n" + ."\n" + .'- **0**: pay-as-you-go.'."\n" + ."\n" + .'- **1**: subscription.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'IntranetBandWidthBurst' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AutoRenewal\\": true,\\n \\"RequestId\\": \\"25D42CC3-FBA1-4AEC-BCE2-B8DD3137****\\",\\n \\"ExpireTime\\": \\"0\\",\\n \\"IntranetBandwidth\\": 102,\\n \\"HasPrePaidBandWidthOrderRunning\\": true,\\n \\"BandwidthExpireTime\\": \\"2021-03-06T16:00:00Z\\",\\n \\"BandwidthPrePaid\\": \\"0\\",\\n \\"IntranetBandWidthBurst\\": 0\\n}","type":"json"}]', + 'title' => 'DescribeIntranetAttribute', + 'description' => 'You can call the [EnableAdditionalBandwidth](~~473771~~) operation to purchase additional bandwidth for an instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-12-22T07:19:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-06-06T08:07:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-15T12:48:14.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIntranetAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeIntranetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], + ], + 'DescribeLogicInstanceTopology' => [ + 'summary' => 'Queries the logical topology structure of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56415', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '88F850B5-CC68-48B4-83CA-5497C3C191DE', + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '794120D1-E0CF-4713-BAE4-EBAEA04506AF', 'title' => ''], + 'RedisProxyList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'NodeInfo' => [ + 'description' => 'The proxy details, including proxy node information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Capacity' => ['description' => 'The capacity of the node. Unit: MB.', 'type' => 'string', 'example' => '5120', 'title' => ''], + 'Connection' => ['description' => 'The maximum number of connections.', 'type' => 'string', 'example' => '320000', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + .'* **db**: data node.'."\n" + .'* **normal**: management node, which consists of a proxy node and a CS (configuration server) node. Some instances do not return normal but instead return proxy and cs separately.', 'type' => 'string', 'example' => 'proxy', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth limit of the node. Unit: MB/s.', 'type' => 'string', 'example' => '96', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'r-bp10noxlhcoim2****-proxy-3#542****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'RedisShardList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'NodeInfo' => [ + 'description' => 'The shard details, including child node information such as NodeInfo.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Capacity' => ['description' => 'The capacity of the node. Unit: MB.', 'type' => 'string', 'example' => '2048', 'title' => ''], + 'Connection' => ['description' => 'The maximum number of connections.', 'type' => 'string', 'example' => '10000', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + .'* **proxy**: proxy node.'."\n" + .'* **db**: data node.', 'type' => 'string', 'example' => 'db', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth limit of the node. Unit: MB/s.', 'type' => 'string', 'example' => '96', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'r-bp10noxlhcoim2****-db-0#688****', 'title' => ''], + 'SubInstanceType' => [ + 'description' => 'The sub-instance type. Valid values:'."\n" + .'* **master**: primary node.'."\n" + .'* **readonly**: read-only instance.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'master', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingInstanceId', - 'errorMessage' => 'InstanceId is mandatory for this action.', - ], - [ - 'errorCode' => 'MissingConnectionString', - 'errorMessage' => 'CurrentConnectionString is mandatory for this action.', + 'title' => 'Query the logical topology of an instance', + 'description' => 'This operation is supported only for cluster and read/write splitting instances.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-08-21T06:42:09.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLogicInstanceTopology'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeLogicInstanceTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'AtLeastOneNetTypeExists', - 'errorMessage' => 'Current DB instance net type does not support this operation.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"794120D1-E0CF-4713-BAE4-EBAEA04506AF\\",\\n \\"RedisProxyList\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"Capacity\\": \\"5120\\",\\n \\"Connection\\": \\"320000\\",\\n \\"NodeType\\": \\"proxy\\",\\n \\"Bandwidth\\": \\"96\\",\\n \\"NodeId\\": \\"r-bp10noxlhcoim2****-proxy-3#542****\\"\\n }\\n ]\\n },\\n \\"RedisShardList\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"Capacity\\": \\"2048\\",\\n \\"Connection\\": \\"10000\\",\\n \\"NodeType\\": \\"db\\",\\n \\"Bandwidth\\": \\"96\\",\\n \\"NodeId\\": \\"r-bp10noxlhcoim2****-db-0#688****\\",\\n \\"SubInstanceType\\": \\"master\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeMonitorItems' => [ + 'summary' => 'Queries the metrics of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56416', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8BEB2618-9517-43F3-A233-E0B34512****', 'title' => ''], + 'MonitorItems' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'KVStoreMonitorItem' => [ + 'description' => 'The returned metrics.'."\n" + ."\n" + .'> * **memoryUsage**, **GetQps**, and **PutQps** are supported only by Tair instances that use Redis 4.0 or later. **GetQps** and **PutQps** require the latest minor version. You can upgrade the major version or minor version of the instance as needed. For more information, see [Upgrade the major version](~~101764~~) and [Upgrade the minor version](~~56450~~).'."\n" + .'> * When you use instances of Redis 2.8, if the **hit_rate** metric is not displayed, you must upgrade the minor version of the instance. For more information, see [Upgrade the minor version](~~56450~~).', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'Counts/s', 'title' => ''], + 'MonitorKey' => ['description' => 'The metric.'."\n", 'type' => 'string', 'example' => 'select', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"88F850B5-CC68-48B4-83CA-5497C3C191DE\\"\\n}","errorExample":""},{"type":"xml","example":"<ReleaseInstancePublicConnectionResponse>\\r\\n <RequestId>88F850B5-CC68-48B4-83CA-5497C3C191DE</RequestId>\\r\\n</ReleaseInstancePublicConnectionResponse>","errorExample":""}]', - 'title' => 'ReleaseInstancePublicConnection', - 'description' => 'You can also release the public endpoint for an instance in the Tair (Redis OSS-compatible) console. For more information, see [Release public endpoints](~~125424~~).', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8BEB2618-9517-43F3-A233-E0B34512****\\",\\n \\"MonitorItems\\": {\\n \\"KVStoreMonitorItem\\": [\\n {\\n \\"Unit\\": \\"Counts/s\\",\\n \\"MonitorKey\\": \\"select\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeMonitorItemsResponse>\\n\\t<RequestId>8BEB2618-9517-43F3-A233-E0B34512****</RequestId>\\n\\t<MonitorItems>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>discard</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zcount</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>select</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>sunionstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zunionstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>del</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zinterstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>echo</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>hscan</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>psubscribe</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>type</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>sinterstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>multi</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>randomkey</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>setex</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t</MonitorItems>\\n</DescribeMonitorItemsResponse>","errorExample":"{\\n \\"MonitorItems\\" : {\\n \\"MonitorItem\\" : [{\\n \\"MonitorKey\\" : \\"GetQ\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }, {\\n \\"MonitorKey\\" : \\"Flush\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }, {\\n \\"MonitorKey\\" : \\"UsedMemCache\\",\\n \\"Unit\\" : \\"Bytes\\"\\n }, {\\n \\"MonitorKey\\" : \\"ReplaceQ\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }\\n ]\\n },\\n \\"RequestId\\" : \\"B906A893-58A3-4644-AC2D-A2C9B08706C1\\"\\n}"}]', + 'title' => 'DescribeMonitorItems', + 'description' => '> To improve user experience, Tair has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see [The DescribeMonitorItems operation of Tair (Redis OSS-compatible) is phased out](~~189893~~).'."\n" + ."\n" + .'After you call this operation to retrieve a list of metrics for a specified instance, you can call the [DescribeHistoryMonitorValues](~~473827~~) operation to query the monitoring history of the instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AllocateDirectConnection' => [ - 'summary' => 'Applies for a private endpoint for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-04-24T08:37:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMonitorItems'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeMonitorItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeParameterGroup' => [ + 'summary' => 'Queries the basic information about a parameter template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '56343', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreSVC8RN', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179009', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'ConnectionString', + 'name' => 'ParameterGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the parameter template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rpg-sys-00*****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The prefix of the private endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix must be 8 to 40 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redisdirect123', + 'title' => '', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A501A191-BD70-5E50-98A9-C2A486A82****'], + 'ParameterGroup' => [ + 'description' => 'The information about the parameter template.'."\n", + 'type' => 'object', + 'properties' => [ + 'EngineVersion' => ['description' => 'The compatible engine version.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'Modified' => ['description' => 'The time when the parameter template was last modified.'."\n", 'type' => 'string', 'example' => '2023-04-18 16:32:45', 'title' => ''], + 'ParameterGroupName' => ['description' => 'The name of the parameter template.'."\n", 'type' => 'string', 'example' => 'testGroupName', 'title' => ''], + 'ParameterGroupDesc' => ['description' => 'The description of the parameter template.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Engine' => ['description' => 'The engine type. Valid values:'."\n" + ."\n" + .'* *redis*: Redis or Tair DRAM-based instance'."\n" + .'* *tair_pena*: Tair persistent memory-optimized instance'."\n" + .'* *tair_pdb*: Tair ESSD-based instance', 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'ParamGroupId' => ['description' => 'The parameter template ID, which is globally unique.'."\n", 'type' => 'string', 'example' => 'sys-001*****', 'title' => ''], + 'Created' => ['description' => 'The time when the parameter template was created.'."\n", 'type' => 'string', 'example' => '2023-04-18 16:32:45', 'title' => ''], + 'Category' => ['description' => 'The service category. Valid values:'."\n" + ."\n" + .'* **0**: Redis Open-Source Edition'."\n" + .'* **1**: Tair (Enterprise Edition)'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ParamGroupsDetails' => [ + 'description' => 'The parameter details of the parameter template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamName' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'timeout', 'title' => ''], + 'ParamValue' => ['description' => 'The value of the parameter.'."\n", 'type' => 'string', 'example' => '1000', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A501A191-BD70-5E50-98A9-C2A486A82****\\",\\n \\"ParameterGroup\\": {\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"Modified\\": \\"2023-04-18 16:32:45\\",\\n \\"ParameterGroupName\\": \\"testGroupName\\",\\n \\"ParameterGroupDesc\\": \\"test\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ParamGroupId\\": \\"sys-001*****\\",\\n \\"Created\\": \\"2023-04-18 16:32:45\\",\\n \\"Category\\": 1,\\n \\"ParamGroupsDetails\\": [\\n {\\n \\"ParamName\\": \\"timeout\\",\\n \\"ParamValue\\": \\"1000\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeParameterGroup', + 'changeSet' => [ + ['createdAt' => '2024-06-17T11:39:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port number of the instance. Valid values: **1024** to **65535**. Default value: **6379**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6379', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'DescribeParameterGroupSupportParam' => [ + 'summary' => 'Queries the parameters that can be configured in parameter templates across different database versions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179022', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], + ], + 'parameters' => [ + [ + 'name' => 'Category', + 'in' => 'query', + 'schema' => ['description' => 'The service category. Valid values:'."\n" + ."\n" + .'* **standard**: ApsaraDB for Redis Community Edition'."\n" + .'* **enterprise**: ApsaraDB for Redis Enhanced Edition (Tair)'."\n", 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], + ], + [ + 'name' => 'EngineVersion', + 'in' => 'query', + 'schema' => ['description' => 'The compatible engine version. Valid values:'."\n" + ."\n" + .'* For ApsaraDB for Redis Community Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" + .'* For Tair DRAM-based instances that are compatible with Redis 5.0 or Redis 6.0, set the parameter to **5.0** or **6.0**.'."\n" + .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" + .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", 'type' => 'string', 'required' => true, 'example' => '5.0', 'title' => ''], + ], + [ + 'name' => 'EngineType', + 'in' => 'query', + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + ."\n" + .'* **redis**: ApsaraDB for Redis Community Edition instance or Tair DRAM-based instance'."\n" + .'* **tair_pena**: Tair persistent memory-optimized instance'."\n" + .'* **tair_pdb**: Tair ESSD/SSD-based instance'."\n", 'type' => 'string', 'required' => false, 'example' => 'redis', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BB73740C-23E2-4392-9DA4-2660C74C****'], + 'ResourceList' => [ + 'description' => 'The parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'DbType' => ['description' => 'The engine type.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'DbVersion' => ['description' => 'The engine version.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'Category' => ['description' => 'The service category.'."\n", 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'ParamName' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'rt_threshold_ms', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NetTypeExists', - 'errorMessage' => 'Specified net type already existed', - ], - [ - 'errorCode' => 'InvalidConnType', - 'errorMessage' => 'Specified DB instance conn type is not valid.', - ], - [ - 'errorCode' => 'TaskHasExist', - 'errorMessage' => 'The task already exists.', - ], - [ - 'errorCode' => 'ConnectionStringAlreadyExists', - 'errorMessage' => 'Specified connection string already exists in the Aliyun RDS.', - ], - [ - 'errorCode' => 'InvalidConnectionString.Format', - 'errorMessage' => 'Specified connection string is not valid.', - ], - [ - 'errorCode' => 'DirectConnectionAlreadyExists', - 'errorMessage' => 'Specified instance direct connection already exists.', - ], - [ - 'errorCode' => 'InvalidVPCParamGroup', - 'errorMessage' => 'Specified vpc param group is not valid.', - ], - [ - 'errorCode' => 'InvalidConnectionString', - 'errorMessage' => 'ConnectionString is invalid, valid regex: ^\\w+$', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB73740C-23E2-4392-9DA4-2660C74C****\\",\\n \\"ResourceList\\": [\\n {\\n \\"DbType\\": \\"redis\\",\\n \\"DbVersion\\": \\"5.0\\",\\n \\"Category\\": \\"standard\\",\\n \\"ParamName\\": \\"rt_threshold_ms\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeParameterGroupSupportParam', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroupSupportParam'], ], - 403 => [ - [ - 'errorCode' => 'UnsupportedEngineVersion', - 'errorMessage' => 'Current engine version does not support operations.', - ], - [ - 'errorCode' => 'IncorrectMinorVersion', - 'errorMessage' => 'Current engine minor version does not support operations.', - ], - [ - 'errorCode' => 'InstanceStatus.NotSupport', - 'errorMessage' => 'Instance status does not support this operation.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroupSupportParam', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeParameterGroupTemplateList' => [ + 'summary' => 'Queries the information about the parameters that can be configured in a parameter template, such as the default values, value ranges, and descriptions.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '180928', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], + ], + 'parameters' => [ + [ + 'name' => 'Category', + 'in' => 'query', + 'schema' => ['description' => 'The service category. Valid values:'."\n" + ."\n" + .'* **standard**: Redis Open-Source Edition'."\n" + .'* **enterprise**: Tair (Enterprise Edition)'."\n", 'type' => 'string', 'required' => true, 'example' => 'standard', 'title' => ''], + ], + [ + 'name' => 'EngineVersion', + 'in' => 'query', + 'schema' => ['description' => 'The compatible engine version. Valid values:'."\n" + ."\n" + .'* For Redis Open-Source Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" + .'* For Tair DRAM-based instances that are compatible with Redis 5.0, 6.0, or 7.0, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" + .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" + .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", 'type' => 'string', 'required' => true, 'example' => '5.0', 'title' => ''], + ], + [ + 'name' => 'EngineType', + 'in' => 'query', + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + ."\n" + .'* **redis**: Redis Open-Source Edition or Tair (In-Memory)'."\n" + .'* **tair_pena**: Tair (On NVM)'."\n" + .'* **tair_pdb**: Tair (On Disk)'."\n", 'type' => 'string', 'required' => true, 'example' => 'redis', 'title' => ''], + ], [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', + 'name' => 'CharacterType', + 'in' => 'query', + 'schema' => ['description' => 'The role of the instance. Valid values: logic: logical instance. db: database instance. proxy: proxy node. cs: ConfigServer node. normal: master-replica database instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'db', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****'], + 'EngineVersion' => ['description' => 'The compatible engine version. Valid values:'."\n" + ."\n" + .'Redis Open Source Edition: 5.0, 6.0, and 7.0. Tair DRAM-based instances: 5.0 and 6.0. Tair persistent memory-optimized instances: 6.0. Tair ESSD-based instances: 4.0.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'Parameters' => [ + 'description' => 'The information about parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SupportModifyForMinorVersion' => ['description' => 'Indicates whether the minor version can be changed. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CheckingCode' => ['description' => 'The regular expression used to validate input.'."\n", 'type' => 'string', 'example' => '[0|1]', 'title' => ''], + 'ParameterValue' => ['description' => 'The default value of the parameter.'."\n", 'type' => 'string', 'example' => '10', 'title' => ''], + 'Revisable' => ['description' => 'Indicates whether the parameter can be modified. Valid values:'."\n" + ."\n" + .'* **0: The parameter cannot be modified.**'."\n" + .'* **1**: The parameter can be modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Factor' => ['description' => 'A divisor of the parameter. For a parameter of the integer or byte type, the valid values must be a multiple of Factor unless you set Factor to 0.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ParameterName' => ['description' => 'The parameter name.'."\n", 'type' => 'string', 'example' => 'appendonly', 'title' => ''], + 'Unit' => ['description' => 'The unit of the parameter value. Valid values: INT (ordinary integer), STRING (fixed string), and B (byte).'."\n", 'type' => 'string', 'example' => 'STRING', 'title' => ''], + 'ParameterDescription' => ['description' => 'The description of the parameter.'."\n", 'type' => 'string', 'example' => '开启Aof持久化模式。', 'title' => ''], + 'Effective' => ['description' => 'Indicates whether the modification takes effect. Valid values: 0 and 1. A value of 0 indicates that the modification does not take effect. A value of 1 indicates that the modification takes effect.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', - 'title' => 'AllocateDirectConnection', - 'description' => 'Clients can bypass proxy nodes and use private endpoints to connect to cluster instances. This is similar to the connection to native Redis clusters. The direct connection mode can reduce communication overheads and the response time of Tair (Redis OSS-compatible).'."\n" - ."\n" - .'To call this operation, make sure that the instance meets the following requirements:'."\n" - ."\n" - .'* The instance is a cluster instance.'."\n" - .'* The instance is deployed in classic mode.'."\n" - .'* The instance is deployed in a virtual private cloud (VPC). If the instance is deployed in the classic network, you can call the [SwitchNetwork](~~473797~~) operation to change the network type to VPC.'."\n" - .'* SSL encryption is disabled for the instance. If SSL encryption is enabled, you can call the [ModifyInstanceSSL](~~473838~~) operation to disable SSL encryption.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ReleaseDirectConnection' => [ - 'summary' => 'Releases the private endpoint of a Tair (Redis OSS-compatible) cluster instance.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"EngineVersion\\": \\"5\\",\\n \\"Parameters\\": [\\n {\\n \\"SupportModifyForMinorVersion\\": true,\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterValue\\": \\"10\\",\\n \\"Revisable\\": 0,\\n \\"Factor\\": 1,\\n \\"ParameterName\\": \\"appendonly\\",\\n \\"Unit\\": \\"STRING\\",\\n \\"ParameterDescription\\": \\"开启Aof持久化模式。\\",\\n \\"Effective\\": 1\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeParameterGroupTemplateList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroupTemplateList'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroupTemplateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeParameterGroups' => [ + 'summary' => 'Queries the list of available parameter templates.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179002', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID. You can call [DescribeRegions](~~473763~~) to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'DbType', + 'in' => 'query', + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + .'- **redis**: Redis Community Edition or Tair (Enhanced Edition) in-memory type.'."\n" + .'- **tair_pena**: Tair (Enhanced Edition) persistent memory type.'."\n" + .'- **tair_pdb**: Tair (Enhanced Edition) cloud disk type (ESSD/SSD).', 'type' => 'string', 'required' => false, 'example' => 'redis', 'title' => ''], + ], + [ + 'name' => 'EngineVersion', 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****'], + 'ParameterGroups' => [ + 'description' => 'The list of parameter templates.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EngineVersion' => ['description' => 'The engine-compatible version.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'Modified' => ['description' => 'The most recent modification time of the parameter template.', 'type' => 'string', 'example' => '2023-04-18 16:32:45', 'title' => ''], + 'ParameterGroupName' => ['description' => 'The name of the parameter template.', 'type' => 'string', 'example' => 'testGroupName', 'title' => ''], + 'ParameterGroupDesc' => ['description' => 'The description of the parameter template.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Engine' => ['description' => 'The engine type. Valid values:'."\n" + .'- **redis**: Redis Community Edition or Tair (Enhanced Edition) in-memory type.'."\n" + .'- **tair_pena**: Tair (Enhanced Edition) persistent memory type.'."\n" + .'- **tair_pdb**: Tair (Enhanced Edition) cloud disk type.', 'type' => 'string', 'example' => 'tair_pena', 'title' => ''], + 'ParamGroupId' => ['description' => 'The parameter template ID.', 'type' => 'string', 'example' => 'test01', 'title' => ''], + 'Created' => ['description' => 'The creation time of the parameter template.', 'type' => 'string', 'example' => '2023-04-18 16:32:45'."\n", 'title' => ''], + 'Category' => ['description' => 'The product category. Valid values:'."\n" + .'- **0**: Redis Community Edition'."\n" + .'- **1**: Tair (Enhanced Edition)', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query parameter templates', + 'changeSet' => [ + ['createdAt' => '2024-06-17T11:39:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroups'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\",\\n \\"ParameterGroups\\": [\\n {\\n \\"EngineVersion\\": \\"5\\",\\n \\"Modified\\": \\"2023-04-18 16:32:45\\",\\n \\"ParameterGroupName\\": \\"testGroupName\\",\\n \\"ParameterGroupDesc\\": \\"test\\",\\n \\"Engine\\": \\"tair_pena\\",\\n \\"ParamGroupId\\": \\"test01\\",\\n \\"Created\\": \\"2023-04-18 16:32:45\\\\n\\",\\n \\"Category\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeParameterModificationHistory' => [ + 'summary' => 'Queries the parameter modification history of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56421', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D', 'FEATUREkvstoreDVVZYL'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the node.'."\n" + ."\n" + .'> You can set this parameter to query the parameter settings of the specified node in a cluster instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1xxxxxxxxxxxxx-db-0', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-09-05T08:49:27Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-09-05T09:49:27Z', 'title' => ''], + ], + [ + 'name' => 'ParameterName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'script_check_enable', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '963C20F0-7CE1-4591-AAF3-6F3CD1CE****', 'title' => ''], + 'HistoricalParameters' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'HistoricalParameter' => [ + 'description' => 'The modification records of the parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The modification records of the parameter.'."\n", + 'type' => 'object', + 'properties' => [ + 'OldParameterValue' => ['description' => 'The parameter value before modification.'."\n", 'type' => 'string', 'example' => '-2', 'title' => ''], + 'ParameterName' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'script_check_enable', 'title' => ''], + 'NewParameterValue' => ['description' => 'The parameter value after modification.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the parameter was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2022-09-05T09:56:10Z', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NetTypeNotExists', - 'errorMessage' => 'Specified net type not existed.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter StartTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter EndTime is not valid.', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'InstanceStatus.NotSupport', - 'errorMessage' => 'Instance status does not support this operation.', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"963C20F0-7CE1-4591-AAF3-6F3CD1CE****\\",\\n \\"HistoricalParameters\\": {\\n \\"HistoricalParameter\\": [\\n {\\n \\"OldParameterValue\\": \\"-2\\",\\n \\"ParameterName\\": \\"script_check_enable\\",\\n \\"NewParameterValue\\": \\"0\\",\\n \\"ModifyTime\\": \\"2022-09-05T09:56:10Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeParameterModificationHistoryResponse>\\n <RequestId>F8A9016D-51B4-56FF-AF08-2660FB8E92A8</RequestId>\\n <HistoricalParameters>\\n <HistoricalParameter>\\n <NewParameterValue>-1</NewParameterValue>\\n <ModifyTime>2022-09-05T09:56:10Z</ModifyTime>\\n <OldParameterValue>-2</OldParameterValue>\\n <ParameterName>list-max-ziplist-size</ParameterName>\\n </HistoricalParameter>\\n </HistoricalParameters>\\n</DescribeParameterModificationHistoryResponse>","errorExample":""}]', + 'title' => 'DescribeParameterModificationHistory', + 'changeSet' => [ + ['createdAt' => '2022-09-16T08:10:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-16T08:10:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-23T12:02:00.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeParameterModificationHistory'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterModificationHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ReleaseDirectConnectionResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ReleaseDirectConnectionResponse>","errorExample":""}]', - 'title' => 'ReleaseDirectConnection', - 'description' => 'In direct connection mode, clients can bypass proxy nodes and use private endpoints to connect to ApsaraDB for Redis instances. This is similar to the connection to a native Redis cluster. The direct connection mode can reduce communication overheads and the response time of ApsaraDB for Redis. For more information, see [Enable the direct connection mode](~~146901~~).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'SwitchInstanceProxy' => [ - 'summary' => 'Enables or disables the proxy mode for a Tair (Redis OSS-compatible) cluster instance in a dedicated cluster.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeParameterTemplates' => [ + 'summary' => 'Queries the parameters and their default values that are supported by Tair (Redis OSS-compatible) instances of different architectures and major versions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'abilityTreeCode' => '56423', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'CharacterType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', + 'description' => 'The architecture of the instance. For more information, see [Overview](~~86132~~). Valid values:'."\n" + ."\n" + .'* **logic**: The instance is a cluster master-replica instance or a read/write splitting instance.'."\n" + .'* **normal**: The instance is a standard master-replica instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'example' => 'logic', + 'enum' => ['logic', 'normal'], + 'title' => '', ], ], + [ + 'name' => 'Engine', + 'in' => 'query', + 'schema' => ['description' => 'The database engine that is run on the instance. Set the value to **Redis**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Redis', 'title' => ''], + ], + [ + 'name' => 'EngineVersion', + 'in' => 'query', + 'schema' => ['description' => 'The major version of the instance. Valid values: **4.0**, **5.0**, **6.0**, and **7.0**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5.0', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.'."\n" + ."\n" + .'> You can also query the ID of a resource group in the Resource Management console. For more information, see [View the basic information of a resource group](~~151181~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the IDs of instances.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9DA28D8E-514D-4F12-ADED-70A9C818****', 'title' => ''], + 'Engine' => ['description' => 'The database engine that is run on the instance. The value **Redis** is returned for this parameter.'."\n", 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'EngineVersion' => ['description' => 'The major version of the instance.'."\n", 'type' => 'string', 'example' => '5.0', 'title' => ''], + 'ParameterCount' => ['description' => 'The number of parameters that are supported by the instance.'."\n", 'type' => 'string', 'example' => '24', 'title' => ''], + 'Parameters' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TemplateRecord' => [ + 'description' => 'An array that consists of the details about the parameters returned.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CheckingCode' => ['description' => 'The valid values of the parameter.'."\n", 'type' => 'string', 'example' => '[yes|no]', 'title' => ''], + 'ParameterName' => ['description' => 'The name of the parameter. For more information about the parameters and the parameter settings, see [Parameters](~~259681~~).'."\n", 'type' => 'string', 'example' => 'appendonly', 'title' => ''], + 'ParameterValue' => ['description' => 'The default value of the parameter.'."\n", 'type' => 'string', 'example' => 'yes', 'title' => ''], + 'ForceModify' => ['description' => 'Indicates whether the parameter can be reconfigured. Valid values:'."\n" + ."\n" + .'* **true**: The parameter can be reconfigured.'."\n" + .'* **false**: The parameter cannot be reconfigured.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ForceRestart' => ['description' => 'Indicates whether a restart of the instance is required after the parameter is reconfigured. Valid values:'."\n" + ."\n" + .'* **true**: After the parameter is reconfigured, you must restart the instance to make the new value of the parameter take effect.'."\n" + .'* **false**: After the parameter is reconfigured, the new value of the parameter immediately takes effect. You do not need to restart the instance.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ParameterDescription' => ['description' => 'The description of the parameter.'."\n", 'type' => 'string', 'example' => '开启aof持久化模式', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<SwitchInstanceProxyResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</SwitchInstanceProxyResponse>","errorExample":""}]', - 'title' => 'SwitchInstanceProxy', - 'description' => 'For more information about the proxy mode, see [Features of proxy servers](~~142959~~). Before you call this operation, make sure that the following requirements are met:'."\n" - ."\n" - .'* The instance is created by using a dedicated cluster. For more information, see [What is ApsaraDB for MyBase?](~~141455~~)'."\n" - .'* The instance uses the [cluster architecture](~~52228~~).'."\n" - ."\n" - .'> Before you call the SwitchInstanceProxy operation, you must call the [DescribeDedicatedClusterInstanceList](~~473867~~) operation and view the value of the **ProxyCount** response parameter to check whether the proxy mode is enabled. A value of 0 indicates that the proxy mode is disabled. A value that is greater than 0 indicates that the proxy mode is enabled.', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameters.Format', 'errorMessage' => 'Specified parameters is not valid.', 'description' => 'The parameter is invalid.'], + ], + 403 => [ + ['errorCode' => 'ParamNotSupportedForCurrentVersion', 'errorMessage' => 'Parameter is not supported for current version.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9DA28D8E-514D-4F12-ADED-70A9C818****\\",\\n \\"Engine\\": \\"redis\\",\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"ParameterCount\\": \\"24\\",\\n \\"Parameters\\": {\\n \\"TemplateRecord\\": [\\n {\\n \\"CheckingCode\\": \\"[yes|no]\\",\\n \\"ParameterName\\": \\"appendonly\\",\\n \\"ParameterValue\\": \\"yes\\",\\n \\"ForceModify\\": true,\\n \\"ForceRestart\\": true,\\n \\"ParameterDescription\\": \\"开启aof持久化模式\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'DescribeParameterTemplates', + 'description' => 'After you call this operation to query the parameters and default values of an instance, you can call the [ModifyInstanceConfig](~~473844~~) operation to reconfigure the parameters of the instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstanceAutoRenewalAttribute' => [ - 'summary' => 'Enables or disables auto-renewal for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterTemplates'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterTemplates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeParameters' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56478', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56422', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], ], 'parameters' => [ [ - 'name' => 'DBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. Separate multiple instance IDs with commas (,).'."\n" - ."\n" - .'> You can specify up to 30 instance IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'Duration', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The auto-renewal period. Valid values: **1** to **12**. Unit: months. When the instance is about to expire, the instance is automatically renewed based on the number of months specified by this parameter.'."\n" - ."\n" - .'> This parameter is available and required only if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The region ID. You can call [DescribeRegions](~~473763~~) to query available regions. Use this parameter to specify the region of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'AutoRenew', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n" - ."\n" - .'> The default value is **false**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - 'default' => 'False', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Product', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service. Set the value to kvstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'kvstore', - 'default' => 'kvstore', - ], + 'schema' => ['description' => 'The node ID.'."\n" + .'> Specify this parameter to query the parameter settings of a specific node in a cluster instance.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1xxxxxxxxxxxxx-db-0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '52D901ED-E0A5-42FB-B9DB-39C295C3****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9C1338BE-8DE8-4890-A900-E1BC06BF****', 'title' => ''], + 'Engine' => ['description' => 'The database type.', 'type' => 'string', 'example' => 'redis', 'title' => ''], + 'EngineVersion' => ['description' => 'The database engine version.', 'type' => 'string', 'example' => '4.0', 'title' => ''], + 'ConfigParameters' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Parameter' => [ + 'description' => 'The list of configuration parameters that have not taken effect.', + 'type' => 'array', + 'items' => [ + 'description' => 'The object.', + 'type' => 'object', + 'properties' => [ + 'CheckingCode' => ['description' => 'The check code that indicates the valid values of the parameter.', 'type' => 'string', 'example' => '[0|1]', 'title' => ''], + 'ParameterName' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'script_check_enable', 'title' => ''], + 'ParameterValue' => ['description' => 'The parameter value.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ForceRestart' => ['description' => 'Indicates whether a restart is required for the parameter to take effect. Valid values:'."\n" + .'* **True**: A restart is required.'."\n" + .'* **False**: No restart is required. The parameter takes effect immediately after it is submitted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ParameterDescription' => ['description' => 'The description of the parameter.', 'type' => 'string', 'example' => 'Check all keys passed in the KEYS array map to the same slot.', 'title' => ''], + 'ModifiableStatus' => ['description' => 'Indicates whether the parameter can be modified. Valid values:'."\n" + .'* **False**: The parameter cannot be modified.'."\n" + .'* **True**: The parameter can be modified.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'RunningParameters' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Parameter' => [ + 'description' => 'The list of running parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The object.', + 'type' => 'object', + 'properties' => [ + 'CheckingCode' => ['description' => 'The valid values of the parameter.', 'type' => 'string', 'example' => '[0|1]', 'title' => ''], + 'ParameterName' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => '#no_loose_disabled-commands', 'title' => ''], + 'ParameterValue' => ['description' => 'The parameter value.', 'type' => 'string', 'example' => 'keys,flushall,flushdb', 'title' => ''], + 'ForceRestart' => ['description' => 'Indicates whether a restart is required for the parameter to take effect. Valid values:'."\n" + .'* **True**: A restart is required.'."\n" + .'* **False**: No restart is required. The parameter takes effect immediately after it is submitted.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ParameterDescription' => ['description' => 'The description of the parameter.', 'type' => 'string', 'example' => 'You can disable some dangerous commands, for example \\"keys,flushdb,flushall\\", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].', 'title' => ''], + 'ModifiableStatus' => ['description' => 'Indicates whether the parameter can be modified. Valid values:'."\n" + .'* **False**: The parameter cannot be modified.'."\n" + .'* **True**: The parameter can be modified.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52D901ED-E0A5-42FB-B9DB-39C295C3****\\"\\n}","type":"json"}]', - 'title' => 'ModifyInstanceAutoRenewalAttribute', - 'description' => '> Auto-renewal is triggered seven days before the expiration date of the instance.'."\n", + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'IncorrectDBInstanceType', 'errorMessage' => 'Current DB instance type does not support this operation.', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidDBInstanceClass.NotFound', 'errorMessage' => 'Specified DB instance class is not found.', 'description' => ''], + ], + ], + 'title' => 'Query configuration and running parameters of an instance', + 'summary' => 'Queries the configuration parameters and running parameters of a Tair (Redis® OSS-Compatible) instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePrice' => [ - 'summary' => 'Queries the fees that you must pay when you create, upgrade, or renew a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-12-08T07:53:00.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameters'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C1338BE-8DE8-4890-A900-E1BC06BF****\\",\\n \\"Engine\\": \\"redis\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"ConfigParameters\\": {\\n \\"Parameter\\": [\\n {\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterName\\": \\"script_check_enable\\",\\n \\"ParameterValue\\": \\"1\\",\\n \\"ForceRestart\\": true,\\n \\"ParameterDescription\\": \\"Check all keys passed in the KEYS array map to the same slot.\\",\\n \\"ModifiableStatus\\": true\\n }\\n ]\\n },\\n \\"RunningParameters\\": {\\n \\"Parameter\\": [\\n {\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterName\\": \\"#no_loose_disabled-commands\\",\\n \\"ParameterValue\\": \\"keys,flushall,flushdb\\",\\n \\"ForceRestart\\": \\"true\\",\\n \\"ParameterDescription\\": \\"You can disable some dangerous commands, for example \\\\\\\\\\\\\\"keys,flushdb,flushall\\\\\\\\\\\\\\", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].\\",\\n \\"ModifiableStatus\\": \\"true\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribePrice' => [ + 'summary' => 'Query the fees incurred by operations such as creation, configuration upgrade, or renewal of ApsaraDB for Tair (Redis OSS-compatible) instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11078,65 +11236,40 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '56424', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstore29KPQR', - 'FEATUREkvstoreORY3QZ', - 'FEATUREkvstoreMPSY6Q', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstore29KPQR', 'FEATUREkvstoreORY3QZ', 'FEATUREkvstoreMPSY6Q'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the region ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Capacity', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage capacity of the instance. Unit: MB. This parameter is used only to query Redis Open-Source Edition instances that are deployed in classic mode. We recommend that you use the **InstanceClass** parameter to specify an exact instance type.'."\n" - ."\n" - .'> If you specify the **InstanceClass** parameter, you do not need to specify the Capacity parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1024', - ], + 'schema' => ['description' => 'The storage capacity of the instance. Unit: MB. This parameter is used only to query Redis Open-Source Edition instances that are deployed in classic mode. We recommend that you use the **InstanceClass** parameter to specify an exact instance type.'."\n" + ."\n" + .'> If you specify the **InstanceClass** parameter, you do not need to specify the Capacity parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1024', 'title' => ''], ], [ 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type.**** **To view the instance type, perform the following steps:**'."\n" - ."\n" - .'1. In the [Instance specifications](~~26350~~) topic, click the link in the **References for instance specifications** column corresponding to the instance type that you want to view.'."\n" - .'2. In the instance type table of the specification documentation, find the instance type in the **InstanceClass** column.'."\n" - ."\n" - .'> If you want to query new instances, in addition to key parameters, you must also specify at least the following parameters:'."\n" - ."\n" - .'* To query a classic instance, specify this parameter.'."\n" - ."\n" - .'* To query a cloud-native standard instance, specify this parameter.'."\n" - ."\n" - .'* To query a cloud-native cluster instance, specify this parameter and the **ShardCount** parameter.'."\n" - ."\n" - .'* To query a cloud-native read/write splitting instance, specify this parameter and the **Instances** parameter.'."\n" - ."\n" - .'* To query multiple instances of different specifications or to query a Tair ESSD-based instance that has a custom storage type and storage capacity, specify the Instances parameter. In this case, you do not need to specify the InstanceClass parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis.master.small.default', - ], + 'schema' => ['description' => 'The instance type.**** **To view the instance type, perform the following steps:**'."\n" + ."\n" + .'1. In the [Instance specifications](~~26350~~) topic, click the link in the **References for instance specifications** column corresponding to the instance type that you want to view.'."\n" + .'2. In the instance type table of the specification documentation, find the instance type in the **InstanceClass** column.'."\n" + ."\n" + .'> If you want to query new instances, in addition to key parameters, you must also specify at least the following parameters:'."\n" + ."\n" + .'* To query a classic instance, specify this parameter.'."\n" + ."\n" + .'* To query a cloud-native standard instance, specify this parameter.'."\n" + ."\n" + .'* To query a cloud-native cluster instance, specify this parameter and the **ShardCount** parameter.'."\n" + ."\n" + .'* To query a cloud-native read/write splitting instance, specify this parameter and the **Instances** parameter.'."\n" + ."\n" + .'* To query multiple instances of different specifications or to query a Tair ESSD-based instance that has a custom storage type and storage capacity, specify the Instances parameter. In this case, you do not need to specify the InstanceClass parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'redis.master.small.default', 'title' => ''], ], [ 'name' => 'OrderType', @@ -11152,31 +11285,20 @@ 'required' => true, 'docRequired' => true, 'example' => 'BUY', - 'enum' => [ - 'BUY', - 'UPGRADE', - 'DOWNGRADE', - 'RENEW', - 'CONVERT', - ], + 'enum' => ['BUY', 'UPGRADE', 'DOWNGRADE', 'RENEW', 'CONVERT'], + 'title' => '', ], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID. You can call the [DescribeZones](~~473764~~) operation to query the zone ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-e', - ], + 'schema' => ['description' => 'The zone ID. You can call the [DescribeZones](~~473764~~) operation to query the zone ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-e', 'title' => ''], ], [ 'name' => 'SecondaryZoneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the secondary zone. You can call the [DescribeZones](~~473764~~) API to query it.'."\n" + .'> The values passed for this parameter and the ZoneId parameter must be different.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''], ], [ 'name' => 'ChargeType', @@ -11190,10 +11312,8 @@ 'required' => false, 'example' => 'PostPaid', 'default' => 'PostPaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], + 'enum' => ['PrePaid', 'PostPaid'], + 'title' => '', ], ], [ @@ -11208,126 +11328,67 @@ 'required' => false, 'example' => 'MASTER_SLAVE', 'default' => 'MASTER_SLAVE', - 'enum' => [ - 'STAND_ALONE', - 'MASTER_SLAVE', - ], + 'enum' => ['STAND_ALONE', 'MASTER_SLAVE'], + 'title' => '', ], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Unit: month. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The subscription duration. Unit: month. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3', 'title' => ''], ], [ 'name' => 'Quantity', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of instances that you want to purchase. Valid values: **1** to **30**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The number of instances that you want to purchase. Valid values: **1** to **30**. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n" - ."\n" - .'> This parameter is required when the **OrderType** parameter is set to **UPGRADE** or **RENEW**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n" + ."\n" + .'> This parameter is required when the **OrderType** parameter is set to **UPGRADE** or **RENEW**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ 'name' => 'Instances', 'in' => 'query', - 'schema' => [ - 'description' => 'If you want to query cloud-native read/write splitting instances, Tair ESSD-based instances, or instances of different specifications, you must specify this parameter as a JSON string. For more information, see the **Additional description of the Instances parameter** section.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Instances=[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","InstanceClass": "redis.master.small.default","Period": "1","Quantity": "1","Capacity": "4096"}]', - ], + 'schema' => ['description' => 'If you want to query cloud-native read/write splitting instances, Tair ESSD-based instances, or instances of different specifications, you must specify this parameter as a JSON string. For more information, see the **Additional description of the Instances parameter** section.'."\n", 'type' => 'string', 'required' => false, 'example' => '[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","ShardClass": "tair.scm.with.proxy.standard.2m.8d","ShardCount": "3","Period": "1","Quantity": "1"}]', 'title' => ''], ], [ 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'The extended information such as the promotional event ID and business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000000', - ], + 'schema' => ['description' => 'The extended information such as the promotional event ID and business information.'."\n", 'type' => 'string', 'required' => false, 'example' => '000000000000', 'title' => ''], ], [ 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code. Default value: youhuiquan_promotion_option_id_for_blank. This value indicates that no coupon code is available.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + 'schema' => ['description' => 'The coupon code. Default value: youhuiquan_promotion_option_id_for_blank. This value indicates that no coupon code is available.'."\n", 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'default' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ 'name' => 'ForceUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to forcefully change the configurations of the instance. Valid values:'."\n" - ."\n" - .'* **false**: forcefully changes the configurations.'."\n" - .'* **true** (default): does not forcefully change the configurations.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to forcefully change the configurations of the instance. Valid values:'."\n" + ."\n" + .'* **false**: forcefully changes the configurations.'."\n" + .'* **true** (default): does not forcefully change the configurations.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], [ 'name' => 'OrderParamOut', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return parameters related to the order. Valid values:'."\n" - ."\n" - .'* **false** (default)'."\n" - .'* **true**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to return parameters related to the order. Valid values:'."\n" + ."\n" + .'* **false** (default)'."\n" + .'* **true**'."\n", 'type' => 'string', 'required' => false, 'example' => 'true', 'default' => 'false', 'title' => ''], ], [ 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of data shards in the cloud-native cluster instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The number of data shards in the cloud-native cluster instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'EngineVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5.0', - ], + 'schema' => ['description' => 'The engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.'."\n", 'type' => 'string', 'required' => false, 'example' => '5.0', 'title' => ''], ], ], 'responses' => [ @@ -11335,45 +11396,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderParams' => [ - 'description' => 'The parameters of the order. When OrderParamOut is set to `true`, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => 'String', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3A40BE4E-1890-4972-889C-FEFA37663635', - ], + 'OrderParams' => ['description' => 'The parameters of the order. When OrderParamOut is set to `true`, this parameter is returned.'."\n", 'type' => 'string', 'example' => 'String', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '3A40BE4E-1890-4972-889C-FEFA37663635', 'title' => ''], 'Order' => [ 'description' => 'The information about the order.'."\n", 'type' => 'object', 'properties' => [ - 'OriginalAmount' => [ - 'description' => 'The original price of the order.'."\n", - 'type' => 'string', - 'example' => '0.21', - ], - 'HandlingFeeAmount' => [ - 'description' => 'The service fees of the order.'."\n", - 'type' => 'string', - 'example' => '0.1', - ], - 'Currency' => [ - 'description' => 'The currency used for payment. A value of CNY is used when the order was generated on the China site (aliyun.com), and a value of USD is used when the order was generated on the international site (alibabacloud.com).'."\n", - 'type' => 'string', - 'example' => 'CNY', - ], - 'DiscountAmount' => [ - 'description' => 'The discount amount of the order.'."\n", - 'type' => 'string', - 'example' => '0.21', - ], - 'TradeAmount' => [ - 'description' => 'The transaction price of the order.'."\n", - 'type' => 'string', - 'example' => '10', - ], + 'OriginalAmount' => ['description' => 'The original price of the order.'."\n", 'type' => 'string', 'example' => '0.21', 'title' => ''], + 'HandlingFeeAmount' => ['description' => 'The service fees of the order.'."\n", 'type' => 'string', 'example' => '0.1', 'title' => ''], + 'Currency' => ['description' => 'The currency used for payment. A value of CNY is used when the order was generated on the China site (aliyun.com), and a value of USD is used when the order was generated on the international site (alibabacloud.com).'."\n", 'type' => 'string', 'example' => 'CNY', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount of the order.'."\n", 'type' => 'string', 'example' => '0.21', 'title' => ''], + 'TradeAmount' => ['description' => 'The transaction price of the order.'."\n", 'type' => 'string', 'example' => '10', 'title' => ''], 'Coupons' => [ 'type' => 'object', 'itemNode' => true, @@ -11385,30 +11418,21 @@ 'description' => 'Details about the coupon.'."\n", 'type' => 'object', 'properties' => [ - 'IsSelected' => [ - 'description' => 'Indicates whether the coupon is selected.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'CouponNo' => [ - 'description' => 'The coupon ID.'."\n", - 'type' => 'string', - 'example' => 'youhuiquan_promotion_option_id_for_blank', - ], - 'Name' => [ - 'description' => 'The coupon name.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'description' => 'The coupon description.'."\n", - 'type' => 'string', - 'example' => 'coupondemo', - ], + 'IsSelected' => ['description' => 'Indicates whether the coupon is selected.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], + 'CouponNo' => ['description' => 'The coupon ID.'."\n", 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'Name' => ['description' => 'The coupon name.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Description' => ['description' => 'The coupon description.'."\n", 'type' => 'string', 'example' => 'coupondemo', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'RuleIds' => [ 'type' => 'object', @@ -11417,111 +11441,39 @@ 'RuleId' => [ 'description' => 'The rule IDs.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => '1001199213', - ], + 'items' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => '[202]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ShowDiscountInfo' => [ - 'description' => 'Indicates whether the discount information is displayed.'."\n", - 'type' => 'boolean', - ], + 'ShowDiscountInfo' => ['description' => 'Indicates whether the discount information is displayed.'."\n", 'type' => 'boolean', 'title' => '', 'example' => ''], 'DepreciateInfo' => [ 'description' => 'The activity information.'."\n", 'type' => 'object', 'properties' => [ - 'ListPrice' => [ - 'description' => 'The list price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1*', - ], - 'OriginalStandAmount' => [ - 'description' => 'The original total price displayed on the official website.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12*', - ], - 'CheapStandAmount' => [ - 'description' => 'The new total price displayed on the official website.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9*', - ], - 'CheapRate' => [ - 'description' => 'The price reduction rate.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30%', - ], - 'Differential' => [ - 'description' => 'The promotional offer (displayed in the total order amount).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '**', - ], - 'DifferentialName' => [ - 'description' => 'The name of the promotional offer.'."\n", - 'type' => 'string', - 'example' => 'XXXXX', - ], - 'MonthPrice' => [ - 'description' => 'The monthly price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '**', - ], - 'IsContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IsShow' => [ - 'description' => 'Indicates whether the price reduction rate is displayed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'ListPrice' => ['description' => 'The list price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1*', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total price displayed on the official website.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12*', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The new total price displayed on the official website.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '9*', 'title' => ''], + 'CheapRate' => ['description' => 'The price reduction rate.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30%', 'title' => ''], + 'Differential' => ['description' => 'The promotional offer (displayed in the total order amount).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '**', 'title' => ''], + 'DifferentialName' => ['description' => 'The name of the promotional offer.'."\n", 'type' => 'string', 'example' => 'XXXXX', 'title' => ''], + 'MonthPrice' => ['description' => 'The monthly price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '**', 'title' => ''], + 'IsContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether the price reduction rate is displayed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ContractActivity' => [ 'description' => 'The activity information.'."\n", 'type' => 'object', 'properties' => [ - 'FinalPromFee' => [ - 'description' => 'The total discount amount.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => "\n", - ], - 'FinalFee' => [ - 'description' => 'The preferential price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => "\n", - ], - 'ProdFee' => [ - 'description' => 'The original price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'ActivityId' => [ - 'description' => 'The activity ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'OptionCode' => [ - 'description' => 'The promotion code.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ActivityName' => [ - 'description' => 'The activity name.'."\n", - 'type' => 'string', - 'example' => 'contract promotion_order_xxx discount'."\n", - ], + 'FinalPromFee' => ['description' => 'The total discount amount.'."\n", 'type' => 'number', 'format' => 'double', 'example' => "\n", 'title' => ''], + 'FinalFee' => ['description' => 'The preferential price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => "\n", 'title' => ''], + 'ProdFee' => ['description' => 'The original price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'ActivityId' => ['description' => 'The activity ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'OptionCode' => ['description' => 'The promotion code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'ActivityName' => ['description' => 'The activity name.'."\n", 'type' => 'string', 'example' => '合同优惠_整单_xxx折', 'title' => ''], 'OptionIds' => [ 'type' => 'object', 'itemNode' => true, @@ -11529,47 +11481,31 @@ 'OptionId' => [ 'description' => 'The promotion IDs.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The promotion ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '*****', - ], + 'items' => ['description' => 'The promotion ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '*****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'StandDiscountPrice' => [ - 'description' => 'The discount.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'IsContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => 'false'."\n", - ], - 'StandPrice' => [ - 'description' => 'The discounted price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0'."\n", - ], - 'Code' => [ - 'description' => 'The order code.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Message' => [ - 'description' => 'The information about the order.'."\n", - 'type' => 'string', - 'example' => '""', - ], + 'StandDiscountPrice' => ['description' => 'The discount.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'IsContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => 'false'."\n", 'title' => ''], + 'StandPrice' => ['description' => 'The discounted price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'."\n", 'title' => ''], + 'Code' => ['description' => 'The order code.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Message' => ['description' => 'The information about the order.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'Rules' => [ 'type' => 'object', @@ -11581,27 +11517,21 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'RuleDescId' => [ - 'description' => 'The ID of the rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1111111111', - ], - 'Title' => [ - 'description' => 'The title of the rule.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'test', - ], + 'RuleDescId' => ['description' => 'The ID of the rule.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1111111111', 'title' => ''], + 'Title' => ['description' => 'The title of the rule.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'SubOrders' => [ 'type' => 'object', @@ -11613,26 +11543,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'OriginalAmount' => [ - 'description' => 'The original price of the order.'."\n", - 'type' => 'string', - 'example' => '0.21', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1xxxxxxxxxxxxx', - ], - 'DiscountAmount' => [ - 'description' => 'The discount amount of the order.'."\n", - 'type' => 'string', - 'example' => '0.21', - ], - 'TradeAmount' => [ - 'description' => 'The transaction price of the order.'."\n", - 'type' => 'string', - 'example' => '10', - ], + 'OriginalAmount' => ['description' => 'The original price of the order.'."\n", 'type' => 'string', 'example' => '0.21', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1xxxxxxxxxxxxx', 'title' => ''], + 'DiscountAmount' => ['description' => 'The discount amount of the order.'."\n", 'type' => 'string', 'example' => '0.21', 'title' => ''], + 'TradeAmount' => ['description' => 'The transaction price of the order.'."\n", 'type' => 'string', 'example' => '10', 'title' => ''], 'RuleIds' => [ 'type' => 'object', 'itemNode' => true, @@ -11640,13 +11554,14 @@ 'RuleId' => [ 'description' => 'The hit rule IDs.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the hit rule.'."\n", - 'type' => 'string', - 'example' => 'RuleId: 1111111111', - ], + 'items' => ['description' => 'The ID of the hit rule.'."\n", 'type' => 'string', 'example' => 'RuleId: 1111111111', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'OptionalPromotions' => [ 'type' => 'object', @@ -11658,153 +11573,54 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Selected' => [ - 'description' => 'Indicates whether the promotion option is selected.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'CouponNo' => [ - 'description' => 'Indicates whether coupons are used. Valid values:'."\n" - ."\n" - .'* default or null (default): Coupons are used.'."\n" - .'* youhuiquan_promotion_option_id_for_blank: Coupons are not used.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'Name' => [ - 'description' => 'The coupon name.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'Description' => [ - 'description' => 'The description of the coupon.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'Show' => [ - 'description' => 'Indicates whether the discount is displayed.'."\n", - 'type' => 'boolean', - 'example' => 'False', - ], - 'ActivityExtInfo' => [ - 'description' => 'The additional activity information.'."\n", - 'type' => 'object', - 'example' => '****', - ], - 'OptionCode' => [ - 'description' => 'The promotion code.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'PromotionName' => [ - 'description' => 'The promotion name.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'PromotionOptionNo' => [ - 'description' => 'The promotion ID.'."\n", - 'type' => 'string', - 'example' => 'youhuiquan_promotion_option_id_for_blank', - ], - 'CanPromFee' => [ - 'description' => 'The amount that can be deducted by using the coupon.'."\n", - 'type' => 'string', - 'example' => '****', - ], + 'Selected' => ['description' => 'Indicates whether the promotion option is selected.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CouponNo' => ['description' => 'Indicates whether coupons are used. Valid values:'."\n" + ."\n" + .'* default or null (default): Coupons are used.'."\n" + .'* youhuiquan_promotion_option_id_for_blank: Coupons are not used.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + 'Name' => ['description' => 'The coupon name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'Description' => ['description' => 'The description of the coupon.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'Show' => ['description' => 'Indicates whether the discount is displayed.'."\n", 'type' => 'boolean', 'example' => 'False', 'title' => ''], + 'ActivityExtInfo' => ['description' => 'The additional activity information.'."\n", 'type' => 'object', 'example' => '****', 'title' => ''], + 'OptionCode' => ['description' => 'The promotion code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'PromotionName' => ['description' => 'The promotion name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'PromotionOptionNo' => ['description' => 'The promotion ID.'."\n", 'type' => 'string', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + 'CanPromFee' => ['description' => 'The amount that can be deducted by using the coupon.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'DepreciateInfo' => [ 'description' => 'The price reduction information.'."\n", 'type' => 'object', 'properties' => [ - 'ListPrice' => [ - 'description' => 'The list price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'OriginalStandAmount' => [ - 'description' => 'The original total price displayed on the official website.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'CheapStandAmount' => [ - 'description' => 'The new total price displayed on the official website.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'CheapRate' => [ - 'description' => 'The price reduction rate.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'Differential' => [ - 'description' => 'The promotional offer (displayed in the total order amount).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'DifferentialName' => [ - 'description' => 'The name of the promotional offer.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'MonthPrice' => [ - 'description' => 'The monthly price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'IsContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'ListPrice' => ['description' => 'The list price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total price displayed on the official website.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The new total price displayed on the official website.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'CheapRate' => ['description' => 'The price reduction rate.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'Differential' => ['description' => 'The promotional offer (displayed in the total order amount).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'DifferentialName' => ['description' => 'The name of the promotional offer.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'MonthPrice' => ['description' => 'The monthly price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'IsContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'ContractActivity' => [ 'description' => 'The contract promotion.'."\n", 'type' => 'object', 'properties' => [ - 'FinalPromFee' => [ - 'description' => 'The total discount amount.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'FinalFee' => [ - 'description' => 'The preferential price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'ProdFee' => [ - 'description' => 'The original price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'ActivityId' => [ - 'description' => 'The activity ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1412025702634847', - ], - 'OptionCode' => [ - 'description' => 'The promotion ID.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ActivityName' => [ - 'description' => 'The activity name.'."\n", - 'type' => 'string', - 'example' => '****', - ], + 'FinalPromFee' => ['description' => 'The total discount amount.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'FinalFee' => ['description' => 'The preferential price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'ProdFee' => ['description' => 'The original price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'ActivityId' => ['description' => 'The activity ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1412025702634847', 'title' => ''], + 'OptionCode' => ['description' => 'The promotion ID.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'ActivityName' => ['description' => 'The activity name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'OptionIds' => [ 'type' => 'object', 'itemNode' => true, @@ -11812,41 +11628,27 @@ 'OptionId' => [ 'description' => 'The promotion IDs.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The promotion ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => "\n", - ], + 'items' => ['description' => 'The promotion ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => "\n", 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'StartTime' => [ - 'description' => 'The start time of the activity.'."\n", - 'type' => 'string', - 'example' => '2024-11-18T00:00:00Z', - ], + 'StartTime' => ['description' => 'The start time of the activity.'."\n", 'type' => 'string', 'example' => '2024-11-18T00:00:00Z', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'StandDiscountPrice' => [ - 'description' => 'The discounted price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'IsContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => '****', - ], - 'StandPrice' => [ - 'description' => 'The discounted price.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], + 'StandDiscountPrice' => ['description' => 'The discounted price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'IsContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => '****', 'title' => ''], + 'StandPrice' => ['description' => 'The discounted price.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], 'ModuleInstance' => [ 'type' => 'object', 'itemNode' => true, @@ -11858,55 +11660,15 @@ 'description' => 'The configuration sub-item of the instance in the order.'."\n", 'type' => 'object', 'properties' => [ - 'ModuleCode' => [ - 'description' => 'The module code.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ModuleId' => [ - 'description' => 'The module ID.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'StandPrice' => [ - 'description' => 'The discounted price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'PricingModule' => [ - 'description' => 'Indicates whether the item is billed.'."\n", - 'type' => 'boolean', - 'example' => '****', - ], - 'ModuleName' => [ - 'description' => 'The module name.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'DiscountFee' => [ - 'description' => 'The discount.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'TotalProductFee' => [ - 'description' => 'The original price of the instance.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '0.0'."\n", - ], - 'NeedOrderPay' => [ - 'description' => 'Indicates whether the order is paid.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PayFee' => [ - 'description' => 'The actual amount paid.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '0.0'."\n", - ], + 'ModuleCode' => ['description' => 'The module code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'ModuleId' => ['description' => 'The module ID.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'StandPrice' => ['description' => 'The discounted price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'PricingModule' => ['description' => 'Indicates whether the item is billed.'."\n", 'type' => 'boolean', 'example' => '****', 'title' => ''], + 'ModuleName' => ['description' => 'The module name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'DiscountFee' => ['description' => 'The discount.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'TotalProductFee' => ['description' => 'The original price of the instance.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.0'."\n", 'title' => ''], + 'NeedOrderPay' => ['description' => 'Indicates whether the order is paid.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PayFee' => ['description' => 'The actual amount paid.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.0'."\n", 'title' => ''], 'ModuleAttrs' => [ 'type' => 'object', 'itemNode' => true, @@ -11918,103 +11680,52 @@ 'description' => 'The module attribute.'."\n", 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => 'The attribute type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'Value' => [ - 'description' => 'The attribute value.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'Code' => [ - 'description' => 'The attribute code.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'Name' => [ - 'description' => 'The attribute name.'."\n", - 'type' => 'string', - 'example' => '****', - ], + 'Type' => ['description' => 'The attribute type.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'Value' => ['description' => 'The attribute value.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'Code' => ['description' => 'The attribute code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'Name' => ['description' => 'The attribute name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => '****', - ], + 'ContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => '****', 'title' => ''], 'DepreciateInfo' => [ 'description' => 'The price reduction information.'."\n", 'type' => 'object', 'properties' => [ - 'ListPrice' => [ - 'description' => 'The list price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'OriginalStandAmount' => [ - 'description' => 'The original total price displayed on the official website.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'CheapStandAmount' => [ - 'description' => 'The new total price displayed on the official website.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'CheapRate' => [ - 'description' => 'The price reduction rate.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '******', - ], - 'Differential' => [ - 'description' => 'The promotional offer (displayed in the total order amount).'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'DifferentialName' => [ - 'description' => 'The name of the promotional offer.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'MonthPrice' => [ - 'description' => 'The monthly price.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'IsContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => '****', - ], - 'IsShow' => [ - 'description' => 'Indicates whether the price reduction rate is displayed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'StartTime' => [ - 'description' => 'The start time of the activity.'."\n", - 'type' => 'string', - 'example' => '2024-09-23T14:00:01Z', - ], + 'ListPrice' => ['description' => 'The list price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'OriginalStandAmount' => ['description' => 'The original total price displayed on the official website.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'CheapStandAmount' => ['description' => 'The new total price displayed on the official website.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'CheapRate' => ['description' => 'The price reduction rate.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '******', 'title' => ''], + 'Differential' => ['description' => 'The promotional offer (displayed in the total order amount).'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'DifferentialName' => ['description' => 'The name of the promotional offer.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'MonthPrice' => ['description' => 'The monthly price.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'IsContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => '****', 'title' => ''], + 'IsShow' => ['description' => 'Indicates whether the price reduction rate is displayed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the activity.'."\n", 'type' => 'string', 'example' => '2024-09-23T14:00:01Z', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'PromDetailList' => [ 'type' => 'object', @@ -12027,140 +11738,207 @@ 'description' => 'Details about the promotion.'."\n", 'type' => 'object', 'properties' => [ - 'PromotionName' => [ - 'description' => 'The promotion name.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'PromotionId' => [ - 'description' => 'The promotion ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '****', - ], - 'FinalPromFee' => [ - 'description' => 'The discount amount.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '****', - ], - 'OptionCode' => [ - 'description' => 'The coupon code.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'PromType' => [ - 'description' => 'The promotion type.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ActivityExtInfo' => [ - 'description' => 'The additional activity information.'."\n", - 'type' => 'object', - 'example' => '****', - ], - 'DerivedPromType' => [ - 'description' => 'The derived promotion type.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'PromotionCode' => [ - 'description' => 'The promotion code.'."\n", - 'type' => 'string', - 'example' => '****', - ], + 'PromotionName' => ['description' => 'The promotion name.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'PromotionId' => ['description' => 'The promotion ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '****', 'title' => ''], + 'FinalPromFee' => ['description' => 'The discount amount.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '****', 'title' => ''], + 'OptionCode' => ['description' => 'The coupon code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'PromType' => ['description' => 'The promotion type.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'ActivityExtInfo' => ['description' => 'The additional activity information.'."\n", 'type' => 'object', 'example' => '****', 'title' => ''], + 'DerivedPromType' => ['description' => 'The derived promotion type.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], + 'PromotionCode' => ['description' => 'The promotion code.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'ContractActivity' => [ - 'description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", - 'type' => 'boolean', - 'example' => '****', - ], + 'ContractActivity' => ['description' => 'Indicates whether eligibility for the contracted discount is met.'."\n", 'type' => 'boolean', 'example' => '****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidInstances.Format', - 'errorMessage' => 'The Specified parameter Instances is not valid.', - ], - [ - 'errorCode' => 'AlreadyHadTemporaryBandwidth', - 'errorMessage' => 'This instance have already had temporary bandwidth, please modify instance spec first.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidInstances.Format', 'errorMessage' => 'The Specified parameter Instances is not valid.', 'description' => 'The Instances parameter passed in is invalid'], + ['errorCode' => 'AlreadyHadTemporaryBandwidth', 'errorMessage' => 'This instance have already had temporary bandwidth, please modify instance spec first.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderParams\\": \\"String\\",\\n \\"RequestId\\": \\"3A40BE4E-1890-4972-889C-FEFA37663635\\",\\n \\"Order\\": {\\n \\"OriginalAmount\\": \\"0.21\\",\\n \\"HandlingFeeAmount\\": \\"0.1\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": \\"0.21\\",\\n \\"TradeAmount\\": \\"10\\",\\n \\"Coupons\\": {\\n \\"Coupon\\": [\\n {\\n \\"IsSelected\\": \\"true\\",\\n \\"CouponNo\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"coupondemo\\"\\n }\\n ]\\n },\\n \\"RuleIds\\": {\\n \\"RuleId\\": [\\n \\"[202]\\"\\n ]\\n },\\n \\"ShowDiscountInfo\\": true,\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"XXXXX\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": false,\\n \\"IsShow\\": true,\\n \\"ContractActivity\\": {\\n \\"FinalPromFee\\": 0,\\n \\"FinalFee\\": 0,\\n \\"ProdFee\\": 0,\\n \\"ActivityId\\": 0,\\n \\"OptionCode\\": \\"****\\",\\n \\"ActivityName\\": \\"合同优惠_整单_xxx折\\",\\n \\"OptionIds\\": {\\n \\"OptionId\\": [\\n 0\\n ]\\n }\\n }\\n },\\n \\"StandDiscountPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"StandPrice\\": 0,\\n \\"Code\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"Rules\\": {\\n \\"Rule\\": [\\n {\\n \\"RuleDescId\\": 1111111111,\\n \\"Title\\": \\"test\\",\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n },\\n \\"SubOrders\\": {\\n \\"SubOrder\\": [\\n {\\n \\"OriginalAmount\\": \\"0.21\\",\\n \\"InstanceId\\": \\"r-bp1xxxxxxxxxxxxx\\",\\n \\"DiscountAmount\\": \\"0.21\\",\\n \\"TradeAmount\\": \\"10\\",\\n \\"RuleIds\\": {\\n \\"RuleId\\": [\\n \\"RuleId: 1111111111\\"\\n ]\\n },\\n \\"OptionalPromotions\\": {\\n \\"OptionalPromotion\\": [\\n {\\n \\"Selected\\": false,\\n \\"CouponNo\\": \\"default\\",\\n \\"Name\\": \\"****\\",\\n \\"Description\\": \\"****\\",\\n \\"Show\\": true,\\n \\"ActivityExtInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"OptionCode\\": \\"****\\",\\n \\"PromotionName\\": \\"****\\",\\n \\"PromotionOptionNo\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"CanPromFee\\": \\"****\\"\\n }\\n ]\\n },\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"****\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": false,\\n \\"ContractActivity\\": {\\n \\"FinalPromFee\\": 0,\\n \\"FinalFee\\": 0,\\n \\"ProdFee\\": 0,\\n \\"ActivityId\\": 1412025702634847,\\n \\"OptionCode\\": \\"****\\",\\n \\"ActivityName\\": \\"****\\",\\n \\"OptionIds\\": {\\n \\"OptionId\\": [\\n 0\\n ]\\n }\\n },\\n \\"StartTime\\": \\"2024-11-18T00:00:00Z\\"\\n },\\n \\"StandDiscountPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"StandPrice\\": 0,\\n \\"ModuleInstance\\": {\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleCode\\": \\"****\\",\\n \\"ModuleId\\": \\"****\\",\\n \\"StandPrice\\": 0,\\n \\"PricingModule\\": true,\\n \\"ModuleName\\": \\"****\\",\\n \\"DiscountFee\\": 0,\\n \\"TotalProductFee\\": 0,\\n \\"NeedOrderPay\\": true,\\n \\"PayFee\\": 0,\\n \\"ModuleAttrs\\": {\\n \\"moduleAttr\\": [\\n {\\n \\"Type\\": 0,\\n \\"Value\\": \\"****\\",\\n \\"Code\\": \\"****\\",\\n \\"Name\\": \\"****\\"\\n }\\n ]\\n },\\n \\"ContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"****\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"IsShow\\": true,\\n \\"StartTime\\": \\"2024-09-23T14:00:01Z\\"\\n }\\n }\\n ]\\n },\\n \\"PromDetailList\\": {\\n \\"PromDetail\\": [\\n {\\n \\"PromotionName\\": \\"****\\",\\n \\"PromotionId\\": 0,\\n \\"FinalPromFee\\": 0,\\n \\"OptionCode\\": \\"****\\",\\n \\"PromType\\": \\"****\\",\\n \\"ActivityExtInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DerivedPromType\\": \\"****\\",\\n \\"PromotionCode\\": \\"****\\"\\n }\\n ]\\n },\\n \\"ContractActivity\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribePriceResponse>\\n <Order>\\n <Currency>CNY</Currency>\\n <RuleIds>\\n </RuleIds>\\n <TradeAmount>0</TradeAmount>\\n <OriginalAmount>0</OriginalAmount>\\n <Coupons>\\n </Coupons>\\n <DiscountAmount>0</DiscountAmount>\\n </Order>\\n <RequestId>3A40BE4E-1890-4972-889C-FEFA37663635</RequestId>\\n <SubOrders>\\n <SubOrder>\\n <RuleIds>\\n </RuleIds>\\n <TradeAmount>0</TradeAmount>\\n <OriginalAmount>0</OriginalAmount>\\n <DiscountAmount>0</DiscountAmount>\\n </SubOrder>\\n </SubOrders>\\n <Rules>\\n </Rules>\\n</DescribePriceResponse>\\n","errorExample":""}]', - 'title' => 'DescribePrice', - 'requestParamsDescription' => '### Additional description of the Instances parameter'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderParams\\": \\"String\\",\\n \\"RequestId\\": \\"3A40BE4E-1890-4972-889C-FEFA37663635\\",\\n \\"Order\\": {\\n \\"OriginalAmount\\": \\"0.21\\",\\n \\"HandlingFeeAmount\\": \\"0.1\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": \\"0.21\\",\\n \\"TradeAmount\\": \\"10\\",\\n \\"Coupons\\": {\\n \\"Coupon\\": [\\n {\\n \\"IsSelected\\": \\"true\\",\\n \\"CouponNo\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"coupondemo\\"\\n }\\n ]\\n },\\n \\"RuleIds\\": {\\n \\"RuleId\\": [\\n \\"[202]\\"\\n ]\\n },\\n \\"ShowDiscountInfo\\": false,\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"XXXXX\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": false,\\n \\"IsShow\\": true,\\n \\"ContractActivity\\": {\\n \\"FinalPromFee\\": 0,\\n \\"FinalFee\\": 0,\\n \\"ProdFee\\": 0,\\n \\"ActivityId\\": 0,\\n \\"OptionCode\\": \\"****\\",\\n \\"ActivityName\\": \\"合同优惠_整单_xxx折\\",\\n \\"OptionIds\\": {\\n \\"OptionId\\": [\\n 0\\n ]\\n }\\n }\\n },\\n \\"StandDiscountPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"StandPrice\\": 0,\\n \\"Code\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"Rules\\": {\\n \\"Rule\\": [\\n {\\n \\"RuleDescId\\": 1111111111,\\n \\"Title\\": \\"test\\",\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n },\\n \\"SubOrders\\": {\\n \\"SubOrder\\": [\\n {\\n \\"OriginalAmount\\": \\"0.21\\",\\n \\"InstanceId\\": \\"r-bp1xxxxxxxxxxxxx\\",\\n \\"DiscountAmount\\": \\"0.21\\",\\n \\"TradeAmount\\": \\"10\\",\\n \\"RuleIds\\": {\\n \\"RuleId\\": [\\n \\"RuleId: 1111111111\\"\\n ]\\n },\\n \\"OptionalPromotions\\": {\\n \\"OptionalPromotion\\": [\\n {\\n \\"Selected\\": false,\\n \\"CouponNo\\": \\"default\\",\\n \\"Name\\": \\"****\\",\\n \\"Description\\": \\"****\\",\\n \\"Show\\": true,\\n \\"ActivityExtInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"OptionCode\\": \\"****\\",\\n \\"PromotionName\\": \\"****\\",\\n \\"PromotionOptionNo\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"CanPromFee\\": \\"****\\"\\n }\\n ]\\n },\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"****\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": false,\\n \\"ContractActivity\\": {\\n \\"FinalPromFee\\": 0,\\n \\"FinalFee\\": 0,\\n \\"ProdFee\\": 0,\\n \\"ActivityId\\": 1412025702634847,\\n \\"OptionCode\\": \\"****\\",\\n \\"ActivityName\\": \\"****\\",\\n \\"OptionIds\\": {\\n \\"OptionId\\": [\\n 0\\n ]\\n }\\n },\\n \\"StartTime\\": \\"2024-11-18T00:00:00Z\\"\\n },\\n \\"StandDiscountPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"StandPrice\\": 0,\\n \\"ModuleInstance\\": {\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleCode\\": \\"****\\",\\n \\"ModuleId\\": \\"****\\",\\n \\"StandPrice\\": 0,\\n \\"PricingModule\\": true,\\n \\"ModuleName\\": \\"****\\",\\n \\"DiscountFee\\": 0,\\n \\"TotalProductFee\\": 0,\\n \\"NeedOrderPay\\": true,\\n \\"PayFee\\": 0,\\n \\"ModuleAttrs\\": {\\n \\"moduleAttr\\": [\\n {\\n \\"Type\\": 0,\\n \\"Value\\": \\"****\\",\\n \\"Code\\": \\"****\\",\\n \\"Name\\": \\"****\\"\\n }\\n ]\\n },\\n \\"ContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"ListPrice\\": 0,\\n \\"OriginalStandAmount\\": 0,\\n \\"CheapStandAmount\\": 0,\\n \\"CheapRate\\": 0,\\n \\"Differential\\": 0,\\n \\"DifferentialName\\": \\"****\\",\\n \\"MonthPrice\\": 0,\\n \\"IsContractActivity\\": true,\\n \\"IsShow\\": true,\\n \\"StartTime\\": \\"2024-09-23T14:00:01Z\\"\\n }\\n }\\n ]\\n },\\n \\"PromDetailList\\": {\\n \\"PromDetail\\": [\\n {\\n \\"PromotionName\\": \\"****\\",\\n \\"PromotionId\\": 0,\\n \\"FinalPromFee\\": 0,\\n \\"OptionCode\\": \\"****\\",\\n \\"PromType\\": \\"****\\",\\n \\"ActivityExtInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"DerivedPromType\\": \\"****\\",\\n \\"PromotionCode\\": \\"****\\"\\n }\\n ]\\n },\\n \\"ContractActivity\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Query price', + 'requestParamsDescription' => '### Additional Notes on the Instances Parameter '."\n" + .'The following notes apply only to the **Instances** parameter of the **DescribePrice** API and do not apply to other APIs. '."\n" ."\n" - .'The following description applies only to the Instances parameter of the DescribePrice operation.'."\n" + .'<table class="tg">'."\n" + .'<thead>'."\n" + .' <tr>'."\n" + .' <th class="tg-kk8z">Name</th>'."\n" + .' <th class="tg-kk8z">Type</th>'."\n" + .' <th class="tg-kk8z">Required</th>'."\n" + .' <th class="tg-fymr">Example Value</th>'."\n" + .' <th class="tg-kk8z">Description</th>'."\n" + .' </tr>'."\n" + .'</thead>'."\n" + .'<tbody>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">RegionId</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">Yes</td>'."\n" + .' <td class="tg-0pky">cn-hangzhou</td>'."\n" + .' <td class="tg-4nbs">The region ID.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">InstanceId</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">r-7xv4s7q131smyx****</td>'."\n" + .' <td class="tg-4nbs">The instance ID. This parameter is required when **OrderType** is **UPGRADE** or **RENEW**.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">InstanceClass</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">Yes</td>'."\n" + .' <td class="tg-0pky">redis.master.small.default</td>'."\n" + .' <td class="tg-4nbs">The instance type for classic edition instances. For more information, see <a href="~~26350~~">Instance Type Lookup Guide</a>.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">ShardClass</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">Yes</td>'."\n" + .' <td class="tg-0pky">tair.rdb.2g</td>'."\n" + .' <td class="tg-4nbs">The instance type for cloud-native edition instances. For more information, see <a href="~~26350~~">Instance Type Lookup Guide</a>.</br>You must specify either this parameter or **InstanceClass**.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">IzNo</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">cn-hangzhou-b</td>'."\n" + .' <td class="tg-4nbs">The zone ID.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">NodeType</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">MASTER_SLAVE</td>'."\n" + .' <td class="tg-4nbs">The node type. Valid values:<ul><li><b>STAND_ALONE</b>: single-replica edition.</li><li><b>MASTER_SLAVE</b> (default): high availability (dual-replica).</li></ul></td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">Period</td>'."\n" + .' <td class="tg-4nbs">Long</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">1</td>'."\n" + .' <td class="tg-4nbs">The subscription duration in months. Valid values: 1–9, 12, 24, and 36.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">Quantity</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">1</td>'."\n" + .' <td class="tg-4nbs">The number of instances to purchase. Valid values: 1–30. Default value: 1.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">VPCId</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">vpc-bp1nme44gek34slfc****</td>'."\n" + .' <td class="tg-4nbs">The VPC ID.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">VSwitchId</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">vsw-bp1e7clcw529l773d****</td>'."\n" + .' <td class="tg-4nbs">The virtual switch ID.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">AutoPay</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">true</td>'."\n" + .' <td class="tg-4nbs">Specifies whether to enable auto-payment. Valid values:<ul><li><b>true</b> (default): Yes</li><li><b>false</b>: No</li></ul></td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">InstanceName</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">test_123</td>'."\n" + .' <td class="tg-4nbs">The instance name.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">ShardCount</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">2</td>'."\n" + .' <td class="tg-4nbs">The number of shard nodes. Default value: 1. You do not need to specify this parameter when querying standard architecture or read/write splitting architecture instances. This parameter applies only to cloud-native edition cluster architecture instances and allows you to customize the number of shards.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">ReadOnlyCount</td>'."\n" + .' <td class="tg-4nbs">Integer</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">2</td>'."\n" + .' <td class="tg-4nbs">The total number of read-only nodes. This parameter applies only to creating cloud-native edition read/write splitting architecture instances.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">StorageType</td>'."\n" + .' <td class="tg-4nbs">String</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">essd_pl2</td>'."\n" + .' <td class="tg-4nbs">The storage class for Tair ESSD disk-based instances. Valid values: <b>essd_pl0</b>, <b>essd_pl1</b>, <b>essd_pl2</b>, and <b>essd_pl3</b>. When you specify this parameter, you must also set <b>Capacity</b> to a custom disk capacity. For more information, see <a href="~~2527111~~">Disk-Based Instance Types</a>.</td>'."\n" + .' </tr>'."\n" + .' <tr>'."\n" + .' <td class="tg-4nbs">Capacity</td>'."\n" + .' <td class="tg-4nbs">Long</td>'."\n" + .' <td class="tg-4nbs">No</td>'."\n" + .' <td class="tg-0pky">512000</td>'."\n" + .' <td class="tg-4nbs">The disk capacity for Tair ESSD disk-based instances. Unit: MB.</td>'."\n" + .' </tr>'."\n" + .'</tbody>'."\n" + .'</table>'."\n" ."\n" - .'|Parameter|Type|Required|Example|Description|'."\n" - .'|---|---|---|---|---|'."\n" - .'|RegionId|String|Yes|cn-hangzhou|The region ID.|'."\n" - .'|InstanceId|String|No|r-7xv4s7q131smyx\\*\\*\\*\\*|The instance ID. This parameter is required if the OrderType parameter is set to UPGRADE or RENEW.|'."\n" - .'|InstanceClass|String|Yes|redis.master.small.default|The instance type of the classic instance. For more information, see [Instance specifications](~~26350~~).|'."\n" - .'|ShardClass|String|Yes|tair.rdb.2g|The instance type of the cloud-native instance. For more information, see [Instance specifications](~~26350~~).You must specify this parameter or the InstanceClass parameter.|'."\n" - .'|IzNo|String|No|cn-hangzhou-b|The zone ID.|'."\n" - .'|NodeType|String|No|MASTER\\_SLAVE|The node type. Valid values:<ul data-sourcepos="55:33-55:116"><li data-sourcepos="55:37-55:69"><b data-sourcepos="55:41-55:59">STAND_ALONE</b>: standalone</li><li data-sourcepos="55:69-55:111"><b data-sourcepos="55:73-55:92">MASTER_SLAVE</b> (default): high availability (master-replica)</li></ul>|'."\n" - .'|Period|Long|No|1|The subscription duration. Unit: month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, and 36.|'."\n" - .'|Quantity|String|No|1|The number of instances that you want to purchase. Valid values: 1 to 30. Default value: 1.|'."\n" - .'|VPCId|String|No|vpc-bp1nme44gek34slfc\\*\\*\\*\\*|The virtual private cloud (VPC) ID.|'."\n" - .'|VSwitchId|String|No|vsw-bp1e7clcw529l773d\\*\\*\\*\\*|The vSwitch ID.|'."\n" - .'|AutoPay|String|No|true|Specifies whether to enable automatic payment. Valid values:<ul data-sourcepos="90:35-90:93"><li data-sourcepos="90:39-90:65"><b data-sourcepos="90:43-90:54">true</b> (default)</li><li data-sourcepos="90:65-90:88"><b data-sourcepos="90:69-90:81">false</b></li></ul>|'."\n" - .'|InstanceName|String|No|test\\_123|The instance name.|'."\n" - .'|ShardCount|String|No|2|The number of shards. Default value: 1. You do not need to specify this parameter when you query standard or read/write splitting instances. This parameter applies only to cloud-native cluster instances.|'."\n" - .'|ReadOnlyCount|Integer|No|2|The total number of read replicas. This parameter applies only to cloud-native read/write splitting instances.|'."\n" - .'|StorageType|String|No|essd\\_pl2|The storage type of the Tair ESSD-based instance. Valid values: **essd\\_pl0**, **essd\\_pl1**, **essd\\_pl2**, and **essd\\_pl3**. When you specify this parameter, you must also specify the **Capacity** parameter. For more information, see [Specifications of ESSD/SSD-based instances](~~2527111~~).|'."\n" - .'|Capacity|Long|No|512000|The disk capacity of the Tair ESSD-based instance. Unit: MB.|'."\n" + .'### Sample Requests '."\n" ."\n" - .'### Sample requests'."\n" - ."\n" - .'Sample request for querying a Tair cloud-native cluster instance (**Instances** not required in this scenario):'."\n" - ."\n" - .'```'."\n" - .'{'."\n" + .'Sample request to query the price for purchasing a new Tair cloud-native edition cluster architecture instance (in this scenario, the **Instances** parameter is not required): '."\n" + .'<pre>{'."\n" .' "RegionId": "cn-hangzhou",'."\n" .' "InstanceClass": "tair.rdb.with.proxy.2g",'."\n" .' "OrderType": "BUY",'."\n" .' "ChargeType": "PrePaid",'."\n" .' "Period": 1,'."\n" .' "ShardCount": 3'."\n" - .'}'."\n" - .'```'."\n" + .'}</pre> '."\n" ."\n" - .'Sample request for querying a Tair ESSD-based instance of a specific storage type:'."\n" - ."\n" - .'```'."\n" - .'{'."\n" + .'Sample request to query the price for purchasing a new Tair ESSD disk-based instance with a custom storage class: '."\n" + .'<pre>{'."\n" .' "RegionId": "cn-hangzhou",'."\n" .' "OrderType": "BUY",'."\n" .' "ChargeType": "PostPaid",'."\n" - .' "Instances": "[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-h", "ShardClass": "tair.essd.standard.2xlarge", "ShardCount": "1","Capacity": "512000","StorageType": "essd_pl2"}]",'."\n" - .'}'."\n" - .'```'."\n" + .' "Instances": "[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-h", "ShardClass": "tair.essd.standard.2xlarge", "ShardCount": "1","Capacity": "512000","StorageType": "essd_pl2"}]"'."\n" + .'}</pre> '."\n" ."\n" - .'Sample request for querying a Tair cloud-native read/write splitting instance:'."\n" - ."\n" - .'```'."\n" - .'{'."\n" + .'Sample request to query the price for purchasing a new Tair cloud-native edition read/write splitting architecture instance: '."\n" + .'<pre>{'."\n" .' "RegionId": "cn-hangzhou",'."\n" .' "InstanceClass": "tair.rdb.with.proxy.2g",'."\n" .' "OrderType": "BUY",'."\n" @@ -12168,24 +11946,20 @@ .' "Period": 1,'."\n" .' "Instances": "[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","ShardClass":"tair.rdb.with.proxy.2g","ReadOnlyCount":"2"}]"'."\n" .'}'."\n" - .'```'."\n" + .'</pre> '."\n" ."\n" - .'Sample request for querying multiple instances:'."\n" - ."\n" - .'```'."\n" - .'{'."\n" + .'Sample request to query the price for purchasing multiple instances: '."\n" + .'<pre>{'."\n" .' "RegionId": "cn-hangzhou",'."\n" .' "OrderType": "BUY",'."\n" .' "ChargeType": "PrePaid",'."\n" .' "Period": 1,'."\n" .' "Instances": "[{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","InstanceClass": "redis.master.small.default"}{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","InstanceClass": "redis.amber.logic.sharding.1g.2db.0rodb.6proxy.multithread"}{"RegionId": "cn-hangzhou","ZoneId": "cn-hangzhou-b","ShardClass":"tair.rdb.with.proxy.2g","ShardCount":"3"}]"'."\n" .'}'."\n" - .'```'."\n" + .'</pre> '."\n" ."\n" - .'Sample request for renewing a Tair cloud-native cluster instance (**Instances** not required in this scenario):'."\n" - ."\n" - .'```'."\n" - .'{'."\n" + .'Sample request to query the renewal price for a Tair cloud-native edition cluster architecture instance (in this scenario, the **Instances** parameter is not required): '."\n" + .'<pre>{'."\n" .' "RegionId": "cn-hangzhou",'."\n" .' "InstanceClass": "tair.rdb.with.proxy.1g",'."\n" .' "OrderType": "RENEW",'."\n" @@ -12194,91 +11968,62 @@ .' "InstanceId": "r-d7****l3v0xmorw1xp",'."\n" .' "ShardCount": 3'."\n" .'}'."\n" - .'```', - ], - 'DescribeInstanceAutoRenewalAttribute' => [ - 'summary' => 'Queries whether auto-renewal is enabled for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + .'</pre>', + 'changeSet' => [ + ['createdAt' => '2025-08-11T02:05:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-10T11:34:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-31T03:05:59.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-10T07:56:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-07T05:47:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-26T02:04:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-28T03:07:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-18T06:07:02.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribePrice'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeRegions' => [ + 'summary' => 'Queries all regions and zones supported for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'abilityTreeCode' => '56428', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'DBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> By default, the system checks whether auto-renewal is enabled for all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" - ."\n" - .'> The default value is **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '200', - 'minimum' => '30', - 'example' => '30', - 'default' => '30', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'AcceptLanguage', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer greater than **0**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The display language of the **LocalName** parameter value. Valid values:'."\n" + ."\n" + .'* **zh-CN**: Chinese'."\n" + .'* **en-US**: English'."\n" + ."\n" + .'> The default value is **zh-CN**.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], ], ], 'responses' => [ @@ -12286,164 +12031,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2B17D708-1D6D-49F3-B6D7-478371DD****', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageRecordCount' => [ - 'description' => 'The number of entries returned on the current page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****', 'title' => ''], + 'RegionIds' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Item' => [ - 'description' => 'Details of the auto-renewal information for the instance.'."\n", + 'KVStoreRegion' => [ + 'description' => 'The **region IDs**.'."\n", 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Duration' => [ - 'description' => 'The auto-renewal period. Unit: months.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DBInstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'AutoRenew' => [ - 'description' => 'Indicates whether auto-renewal is enabled. Valid values:'."\n" - ."\n" - .'* **true**: Auto-renewal is enabled.'."\n" - .'* **false**: Auto-renewal is disabled.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', + 'RegionEndpoint' => ['description' => 'The endpoint of the region.'."\n", 'type' => 'string', 'example' => 'r-kvstore.aliyuncs.com', 'title' => ''], + 'LocalName' => ['description' => 'The name of the region.'."\n", 'type' => 'string', 'example' => '华东1(杭州)', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ZoneIds' => ['description' => 'The IDs of the zones in the region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'ZoneIdList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ZoneId' => [ + 'description' => 'The zone IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the zone.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'Specified parameter exceeds range.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DD****\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 30,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Duration\\": 1,\\n \\"DBInstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"AutoRenew\\": \\"true\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Duration\\": 1,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"DBInstanceId\\": \\"r-xxxxxxxxxxxxxxx\\",\\n \\"AutoRenew\\": \\"true\\"\\n }\\n ]\\n },\\n \\"TotalRecordCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DDDBE8\\",\\n \\"PageRecordCount\\": 1\\n}"},{"type":"xml","example":"<DescribeInstanceAutoRenewalAttributeResponse>\\n <Items>\\n <Item>\\n <Duration>1</Duration>\\n <RegionId>cn-shanghai</RegionId>\\n <DBInstanceId>r-bp1zxszhcgatnx****</DBInstanceId>\\n <AutoRenew>true</AutoRenew>\\n </Item>\\n </Items>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageNumber>1</PageNumber>\\n <RequestId>2B17D708-1D6D-49F3-B6D7-478371DDDBE8</RequestId>\\n <PageRecordCount>1</PageRecordCount>\\n</DescribeInstanceAutoRenewalAttributeResponse>","errorExample":"<DescribeInstanceAutoRenewalAttributeResponse>\\n <Items>\\n <Item>\\n <Duration>1</Duration>\\n <RegionId>cn-shanghai</RegionId>\\n <DBInstanceId>r-xxxxxxxxxxxxxxx</DBInstanceId>\\n <AutoRenew>true</AutoRenew>\\n </Item>\\n </Items>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageNumber>1</PageNumber>\\n <RequestId>2B17D708-1D6D-49F3-B6D7-478371DDDBE8</RequestId>\\n <PageRecordCount>1</PageRecordCount>\\n</DescribeInstanceAutoRenewalAttributeResponse>"}]', - 'title' => 'DescribeInstanceAutoRenewalAttribute', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\",\\n \\"RegionIds\\": {\\n \\"KVStoreRegion\\": [\\n {\\n \\"RegionEndpoint\\": \\"r-kvstore.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneIds\\": \\"cn-hangzhou-h\\",\\n \\"ZoneIdList\\": {\\n \\"ZoneId\\": [\\n \\"cn-hangzhou-h\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":"{\\n \\"RequestId\\":\\"535A88D3-5408-4B29-AFD4-07319D97EBC4\\",\\n \\"RegionIds\\":\\n {\\n {\\n \\"ZoneIds\\":\\"cn-qingdao-b\\",\\n \\"RegionId\\":\\"cn-qingdao\\",\\n },\\n {\\n \\"ZoneIds\\":\\"cn-shenzhen-a\\",\\n \\"RegionId\\":\\"cn-shenzhen\\",\\n },\\n {\\n \\"ZoneIds\\":\\"cn-hangzhou-d,cn-hangzhou-b\\",\\n \\"RegionId\\":\\"cn-hangzhou\\"\\n },\\n {\\n \\"ZoneIds\\":\\"cn-beijing-a\\",\\n \\"RegionId\\":\\"cn-beijing\\"\\n }\\n }\\n}"}]', + 'title' => 'DescribeRegions', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RenewAdditionalBandwidth' => [ - 'summary' => 'This operation is not recommended now. The billing method for bandwidth of a Tair (Redis OSS-compatible) instance is changed to pay-as-you-go.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-10-25T13:32:25.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [], + ], + 'DescribeRoleZoneInfo' => [ + 'summary' => 'Queries the role, type, minor version, and zone of each node in a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'abilityTreeCode' => '56434', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the coupon.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-t4nlenc2p04uvb****', 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" - ."\n" - .'* **true**: enables automatic payment.'."\n" - .'* **false**: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the Tair (Redis OSS-compatible) console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.', - 'type' => 'boolean', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'The type of the node to query. Default value: 1. Valid values:'."\n" + ."\n" + .'* **0**: proxy node'."\n" + ."\n" + .' **'."\n" + ."\n" + .' **Note** This parameter is supported only for cluster instances and read/write splitting instances.'."\n" + ."\n" + .'* **1**: data node'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'default' => '', 'title' => ''], ], [ - 'name' => 'OrderTimeLength', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The validity period of the bandwidth that you purchase. Unit: days. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '30', - 'default' => '', - ], + 'schema' => ['description' => 'The page number. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'SourceBiz', + 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', + 'description' => 'The number of entries per page. Valid values: **10**, **20**, and **50**. Default value: **10**.'."\n", + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'SDK', + 'example' => '10', + 'default' => '10', + 'enum' => ['5', '10', '20', '50', '100', '200', '1'], + 'title' => '', ], ], ], @@ -12452,370 +12158,218 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '2084452111111', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'D622714-AEDD-4609-9167-F5DDD3D1**** ', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '224B97FB-A275-4EAC-86E9-8922FEA2****', 'title' => ''], + 'PageNumber' => ['description' => 'The number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'Node' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'NodeInfo' => [ + 'description' => 'Details about each node in the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DefaultBandWidth' => ['description' => 'The default bandwidth of the node. Unit: MB/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'CurrentMinorVersion' => ['description' => 'The minor version of the node.'."\n", 'type' => 'string', 'example' => 'redis-5.0_0.3.10', 'title' => ''], + 'CurrentBandWidth' => ['description' => 'The current bandwidth of the node, which consists of the default bandwidth and the increased bandwidth. Unit: MB/s.'."\n" + ."\n" + .'> * You can call the [EnableAdditionalBandwidth](~~473771~~) operation to specify the increased bandwidth.'."\n" + .'> * You can also use this parameter to calculate the increased bandwidth. For example, if the default bandwidth of the node is 96 MB/s and the returned value of this parameter is 100, the increased bandwidth is 4 MB/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'InsType' => ['description' => 'Indicates whether the node is a read replica. If the node is a read replica, **3** is returned.'."\n" + ."\n" + .'> If the node is not a read replica, no value is returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'IsLatestVersion' => ['description' => 'Indicates whether the minor version is the latest version. Valid values:'."\n" + ."\n" + .'* **0**: The minor version is not the latest version.'."\n" + .'* **1**: The minor version is the latest version.'."\n" + ."\n" + .'> To update the minor version, call the [ModifyInstanceMinorVersion](~~473777~~) operation.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InsName' => ['description' => 'The ID of the node.'."\n", 'type' => 'string', 'example' => 'r-t4nlenc2p04uvb****', 'title' => ''], + 'NodeType' => ['description' => 'The node type. Valid values:'."\n" + ."\n" + .'* **db**: data node.'."\n" + .'* **proxy**: proxy node.'."\n" + .'* **normal**: regular node. This value is returned when the instance runs in the standard architecture.'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'ZoneId' => ['description' => 'The ID of the zone.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'IsOpenBandWidthService' => ['description' => 'Indicates whether the bandwidth of the node is increased. Valid values:'."\n" + ."\n" + .'* **true**: The bandwidth of the node is not increased.'."\n" + .'* **false**: The bandwidth of the node is increased.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CustinsId' => ['description' => 'The ID of the data shard.'."\n", 'type' => 'string', 'example' => '30381****', 'title' => ''], + 'Role' => ['description' => 'The role of the node. Valid values:'."\n" + ."\n" + .'* **master**: master node'."\n" + .'* **slave**: replica node'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], + 'NodeId' => ['description' => 'This parameter is used only for internal maintenance of instances.'."\n", 'type' => 'string', 'example' => '10065****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"2084452111111\\",\\n \\"RequestId\\": \\"D622714-AEDD-4609-9167-F5DDD3D1****\\\\t\\"\\n}","errorExample":""},{"type":"xml","example":"<RenewAdditionalBandwidthResponse>\\r\\n <RequestId>D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n <OrderId>2084452111111</OrderId>\\r\\n</RenewAdditionalBandwidthResponse>","errorExample":""}]', - 'title' => 'RenewAdditionalBandwidth', - 'description' => 'You can adjust the bandwidth of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Adjust the bandwidth of an instance](~~102588~~). You can also call the [EnableAdditionalBandwidth](~~473771~~) operation to purchase bandwidth for an instance.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"224B97FB-A275-4EAC-86E9-8922FEA2****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"Node\\": {\\n \\"NodeInfo\\": [\\n {\\n \\"DefaultBandWidth\\": 96,\\n \\"CurrentMinorVersion\\": \\"redis-5.0_0.3.10\\",\\n \\"CurrentBandWidth\\": 100,\\n \\"InsType\\": 3,\\n \\"IsLatestVersion\\": 1,\\n \\"InsName\\": \\"r-t4nlenc2p04uvb****\\",\\n \\"NodeType\\": \\"normal\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"IsOpenBandWidthService\\": true,\\n \\"CustinsId\\": \\"30381****\\",\\n \\"Role\\": \\"master\\",\\n \\"NodeId\\": \\"10065****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRoleZoneInfoResponse>\\n <TotalCount>2</TotalCount>\\n <RequestId>224B97FB-A275-4EAC-86E9-8922FEA2****</RequestId>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <Node>\\n <NodeInfo>\\n <Role>slave</Role>\\n <IsLatestVersion>1</IsLatestVersion>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <NodeType>normal</NodeType>\\n <IsOpenBandWidthService>true</IsOpenBandWidthService>\\n <NodeId>10065****</NodeId>\\n <CurrentMinorVersion>redis-5.0_0.3.10</CurrentMinorVersion>\\n <CustinsId>30381****</CustinsId>\\n <DefaultBandWidth>96</DefaultBandWidth>\\n <InsName>r-t4nlenc2p04uvb****</InsName>\\n <CurrentBandWidth>100</CurrentBandWidth>\\n </NodeInfo>\\n <NodeInfo>\\n <Role>master</Role>\\n <IsLatestVersion>1</IsLatestVersion>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <NodeType>normal</NodeType>\\n <IsOpenBandWidthService>true</IsOpenBandWidthService>\\n <NodeId>10065****</NodeId>\\n <CurrentMinorVersion>redis-5.0_0.3.10</CurrentMinorVersion>\\n <CustinsId>30381****</CustinsId>\\n <DefaultBandWidth>96</DefaultBandWidth>\\n <InsName>r-t4nlenc2p04uvb****</InsName>\\n <CurrentBandWidth>100</CurrentBandWidth>\\n </NodeInfo>\\n </Node>\\n</DescribeRoleZoneInfoResponse>\\n","errorExample":""}]', + 'title' => 'DescribeRoleZoneInfo', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'TransformInstanceChargeType' => [ - 'summary' => 'Changes the billing method of a Tair (Redis OSS-compatible) instance from subscription to pay-as-you-go or from pay-as-you-go to subscription.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-09-26T13:08:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRoleZoneInfo'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeRoleZoneInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeRunningLogRecords' => [ + 'summary' => 'Queries the operational logs of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '56525', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56435', + 'abilityTreeNodes' => ['FEATUREkvstoreGDG2ED'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Period', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Unit: months. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, **36**.'."\n" - ."\n" - .'> This parameter is valid and required only if you set the **ChargeType** parameter to **PrePaid**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the node in the instance. You can set this parameter to query the operational logs of a specified node.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is available only for read/write splitting and cluster instances.'."\n" + ."\n" + .'* If you set this parameter, you must also set the **CharacterType** parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" - ."\n" - .'* **true**: Automatic payment is enabled.'."\n" - .'* **false**: Automatic payment is disabled. If automatic payment is disabled, you must perform the following steps to complete the payment: In the top navigation bar of the Tair (Redis OSS-compatible) console, choose **Expenses** > **Renewal Management**. In the left-side navigation pane of the Billing Management console, click **Orders**. On the **Orders** page, find the order and complete the payment.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-12-03T07:01Z', 'title' => ''], ], [ - 'name' => 'ChargeType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The new billing method. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription. If you set this parameter to PrePaid, you must also specify the **Period** parameter.'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'PrePaid', - 'default' => '', - 'enum' => [ - 'PostPaid', - 'PrePaid', - 'POSTPAID', - 'PREPAID', - 'PREPAY', - 'POSTPAY', - ], - ], + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-12-03T08:01Z', 'title' => ''], ], [ - 'name' => 'AutoRenew', + 'name' => 'DBName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false** (default): disables auto-renewal.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'false' => '', - 'true' => '', - ], - 'example' => 'false', - 'default' => 'false', - 'enum' => [ - 'true', - 'false', - ], - ], + 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'AutoRenewPeriod', + 'name' => 'RoleType', 'in' => 'query', 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + 'description' => 'The role of the data shard. Default value: master. Valid values:'."\n" ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ + .'* **master**: master node'."\n" + .'* **slave**: replica node'."\n", 'type' => 'string', 'required' => false, - 'default' => 'default', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => 'The time when the instance expires.'."\n" - ."\n" - .'> A value is returned for this parameter only if the instance was changed from pay-as-you-go to subscription.'."\n", - 'type' => 'string', - 'example' => '2021-05-13T00:00:00Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '82C791FB-8979-489E-853D-706D7743****', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '20881824000****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidParam', - 'errorMessage' => 'Period is invalid', - ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'Order.LatestOrderIsHanding', - 'errorMessage' => 'Latest order is handing, please retry later.', - ], - ], - 403 => [ - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2021-05-13T00:00:00Z\\",\\n \\"RequestId\\": \\"82C791FB-8979-489E-853D-706D7743****\\",\\n \\"OrderId\\": \\"20881824000****\\"\\n}","errorExample":""},{"type":"xml","example":"<TransformInstanceChargeTypeResponse>\\r\\n <EndTime>2021-05-13T00:00:00Z</EndTime>\\r\\n <RequestId>82C791FB-8979-489E-853D-706D7743****</RequestId>\\r\\n <OrderId>20881824000****</OrderId>\\r\\n</TransformInstanceChargeTypeResponse>","errorExample":""}]', - 'title' => 'TransformInstanceChargeType', - 'description' => 'Before you call this operation, make sure that you understand relevant precautions and billing rules. For more information, see the following topics:'."\n" - ."\n" - .'* [Change the billing method to subscription](~~54542~~).'."\n" - .'* [Change the billing method to pay-as-you-go](~~211549~~).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RenewInstance' => [ - 'summary' => 'Renews a Tair (Redis OSS-compatible) subscription instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'example' => 'master', + 'default' => 'master', + 'enum' => ['master', 'primary', 'secondary'], + 'title' => '', ], ], [ - 'name' => 'Capacity', + 'name' => 'PageSize', 'in' => 'query', 'schema' => [ - 'description' => 'The storage capacity of the instance. Unit: MB. When you renew the instance, you can specify this parameter to change specifications of the instance.'."\n" - ."\n" - .'> To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.'."\n", - 'type' => 'string', + 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => '1024', + 'example' => '30', + 'default' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], [ - 'name' => 'InstanceClass', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type code. For more information, see [Instance specifications overview](~~26350~~). When you renew the instance, you can specify this parameter to change specifications of the instance.'."\n" - ."\n" - .'> To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis.master.small.default', - ], + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'Period', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The renewal period. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**. Unit: months.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '6', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ - 'name' => 'AutoPay', + 'name' => 'CharacterType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" + 'description' => 'The shard type of the cluster instance. Valid values:'."\n" ."\n" - .'* **true**: enables automatic payment.'."\n" - .'* **false**: disables automatic payment.'."\n" + .'* **proxy**: proxy node'."\n" + .'* **db**: data node'."\n" + .'* **cs**: config server node'."\n" ."\n" - .'If you select false, you must choose **Expenses** > **Renewal Management** in the top navigation bar. In the left-side navigation pane, click **Orders**. Find the specified order and pay for it.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], - ], - [ - 'name' => 'FromApp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the request. The default value is **OpenAPI** and cannot be changed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'OpenAPI', - 'default' => 'OpenApi', - ], - ], - [ - 'name' => 'BusinessInfo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the promotional event or business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000', - ], - ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.'."\n", + .'> If you set this parameter, you must also set the **NodeId** parameter.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'youhuiquan_promotion_option_id_for_blank', + 'example' => 'proxy', + 'enum' => ['proxy', 'db', 'cs'], + 'title' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'QueryKeyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TF-ModifyInstanceSpec-1686645570-7dac7257-4a14-4811-939c-51a282f', - ], + 'schema' => ['description' => 'The keyword that is used to query operational logs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aof', 'title' => ''], ], [ - 'name' => 'AutoRenew', + 'name' => 'OrderType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal. The instance is renewed based on the specified renewal duration. For example, if you set the renewal duration to three months, you are charged for three months of service each time the instance is automatically renewed.'."\n" - .'* **false** (default): disables auto-renewal.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The method that is used to sort the returned log entries. Valid values:'."\n" + ."\n" + .'* **asc**: ascending order'."\n" + .'* **desc**: descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'asc', 'default' => 'desc', 'title' => ''], ], ], 'responses' => [ @@ -12823,153 +12377,111 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the order.'."\n", - 'type' => 'string', - 'example' => '2019-02-19T00:00:00Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2222245-222A-4155-9349-E22222****', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '111111111111111', + 'StartTime' => ['description' => 'The beginning of the time range to query.'."\n", 'type' => 'string', 'example' => '2018-12-03T07:01Z', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '093B8579-9264-43A0-ABA9-AA86****', 'title' => ''], + 'PageRecordCount' => ['description' => 'The number of log entries returned on the current page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'Engine' => ['description' => 'The type of the database engine.'."\n", 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'LogRecords' => [ + 'description' => 'Details about the log entries.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => ['description' => 'The time when the log was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2018-12-03T07:07:30Z', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'Content' => ['description' => 'The content of the log.'."\n", 'type' => 'string', 'example' => 'CONFIG REWRITE executed with success.', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the node.'."\n" + ."\n" + .'> If a standard instance is queried, `(null)` is returned.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'HasRenewChangeOrder', - 'errorMessage' => 'This instance has a renewChange order.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter StartTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter EndTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPageSize.Malformed', 'errorMessage' => 'The specified parameter PageSize is not valid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-02-19T00:00:00Z\\",\\n \\"RequestId\\": \\"2222245-222A-4155-9349-E22222****\\",\\n \\"OrderId\\": \\"111111111111111\\"\\n}","errorExample":""},{"type":"xml","example":"<RenewInstanceResponse>\\r\\n <OrderId>111111111111111</OrderId>\\r\\n <RequestId>4D425645-A8BA-4155-9349-2222222****</RequestId>\\r\\n <EndTime>2019-02-19T00:00:00Z</EndTime>\\r\\n</RenewInstanceResponse>","errorExample":""}]', - 'title' => 'RenewInstance', - 'description' => 'This operation is applicable only to subscription instances.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2018-12-03T07:01Z\\",\\n \\"RequestId\\": \\"093B8579-9264-43A0-ABA9-AA86****\\",\\n \\"PageRecordCount\\": 5,\\n \\"TotalRecordCount\\": 5,\\n \\"PageSize\\": 30,\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"LogRecords\\": [\\n {\\n \\"CreateTime\\": \\"2018-12-03T07:07:30Z\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Content\\": \\"CONFIG REWRITE executed with success.\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRunningLogRecordsResponse>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageRecordCount>1</PageRecordCount>\\n <RequestId>D73451AC-B9BA-46AA-8972-C17B967E****</RequestId>\\n <PageSize>30</PageSize>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <PageNumber>1</PageNumber>\\n <StartTime>2020-11-08T02:00Z</StartTime>\\n <Items>\\n <LogRecords>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <Content>126732:M 08 Nov 2020 10:02:03.955 # CONFIG REWRITE executed with success.</Content>\\n <CreateTime>2020-11-08T02:02:06Z</CreateTime>\\n </LogRecords>\\n </Items>\\n</DescribeRunningLogRecordsResponse>","errorExample":""}]', + 'title' => 'DescribeRunningLogRecords', + 'description' => 'For more information about how to view the operational logs of an instance in the Tair (Redis OSS-compatible) console, see [View active logs](~~101713~~).'."\n" + ."\n" + .'This operation can be called up to 100 times per minute.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateAccount' => [ - 'summary' => 'Creates an account that has specific permissions for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRunningLogRecords'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeRunningLogRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'DescribeSecurityGroupConfiguration' => [ + 'summary' => 'Queries the security groups that are added to the whitelists of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56348', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56436', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'AccountName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the account. The name must meet the following requirements:'."\n" - ."\n" - .'* The name must start with a lowercase letter and can contain lowercase letters, digits, and underscores (\\_).'."\n" - .'* The name can be up to 100 characters in length.'."\n" - .'* The name cannot be one of the reserved words listed in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/redis/user-guide/create-and-manage-database-accounts#section-u3q-817-om3) section.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoaccount', - ], - ], - [ - 'name' => 'AccountPrivilege', - 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions of the account. Valid values:'."\n" - ."\n" - .'* **RoleReadOnly**: The account has read-only permissions.'."\n" - .'* **RoleReadWrite**: The account has read and write permissions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RoleReadOnly', - ], - ], - [ - 'name' => 'AccountPassword', - 'in' => 'query', - 'schema' => [ - 'description' => 'The password of the account. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'uWonno21****', - ], - ], - [ - 'name' => 'AccountDescription', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the account.'."\n" - ."\n" - .'* The description must start with a letter, and cannot start with `http://` or `https://`.'."\n" - .'* The description can contain letters, digits, underscores (\\_), and hyphens (-).'."\n" - .'* The description must be 2 to 256 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testaccount', - ], - ], - [ - 'name' => 'AccountType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the account. Set the value to **Normal**, which indicates that the account is a standard account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], - ], - [ - 'name' => 'SourceBiz', - 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -12977,138 +12489,99 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'AcountName' => [ - 'description' => 'The name of the account.'."\n", - 'type' => 'string', - 'example' => 'demoaccount', - ], - 'AccountName' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '981C0D6A-D9DD-466C-92DA-F29DF755****', 'title' => ''], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EcsSecurityGroupRelation' => [ + 'description' => 'The list of security groups.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SecurityGroupId' => ['description' => 'The ID of the security group.'."\n", 'type' => 'string', 'example' => 'sg-bp14p9y07ns3gwq****', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the instance is deployed.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'NetType' => ['description' => 'The network type of the security group. Valid values:'."\n" + ."\n" + .'* **classic**: the classic network.'."\n" + .'* **vpc**: the virtual private cloud (VPC).'."\n", 'type' => 'string', 'example' => 'vpc', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', 'title' => '', - 'type' => 'string', + 'example' => '', ], ], + 'description' => '', 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidAccountName.Duplicate', - 'errorMessage' => 'Specified AccountName already exists in this instance.', - ], - [ - 'errorCode' => 'InvalidAccountName.Format', - 'errorMessage' => 'Specified AccountName is not valid.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Format', - 'errorMessage' => 'Current EngineVersion does not support operations.', - ], - [ - 'errorCode' => 'InvalidAccountDescription.Format', - 'errorMessage' => 'Specified AccountDescription is not valid.', - ], - [ - 'errorCode' => 'InvalidAccountPassword.Format', - 'errorMessage' => 'Specified AccountPassword is not valid.', - ], - [ - 'errorCode' => 'InvalidDBInstanceAccountMode.Format', - 'errorMessage' => 'Current DB instance AccountMode does not support this operation.', - ], - [ - 'errorCode' => 'InvalidAccountName.Forbid', - 'errorMessage' => 'Specified AccountName is a keyword.', - ], - [ - 'errorCode' => 'InvalidAccountPrivilege.Malformed', - 'errorMessage' => 'Specified account privilege is not valid.', - ], - ], - 403 => [ - [ - 'errorCode' => 'AccountLimitExceeded', - 'errorMessage' => 'Exceeding the allowed amount of account.', - ], + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The InstanceId provided does not exist in our records.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"AcountName\\": \\"demoaccount\\",\\n \\"AccountName\\": \\"demoaccount\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"ABAF95F6-35C1-4177-AF3A-70969EBDF624\\",\\n \\"AcountName\\":\\"test2\\"\\n}"},{"type":"xml","example":"<CreateAccountResponse>\\n <RequestId>D3876765-1983-4CBC-BB45-79EEBD6D****</RequestId>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <AcountName>demoaccount</AcountName>\\n</CreateAccountResponse>","errorExample":"<CreateAccountResponse>\\n <RequestId>ABAF95F6-35C1-4177-AF3A-70969EBDF624</RequestId>\\n <AcountName>test2</AcountName>\\n</CreateAccountResponse>"}]', - 'title' => 'CreateAccount', - 'description' => '* This operation is supported only for instances that are compatible with Redis 4.0 or later.'."\n" - .'* The instance must be in the running state.'."\n" - .'* You can create up to 18 accounts for an instance.'."\n" - ."\n" - .'> For more information about how to create an account in the console, see [Manage database accounts](~~92665~~).'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"981C0D6A-D9DD-466C-92DA-F29DF755****\\",\\n \\"Items\\": {\\n \\"EcsSecurityGroupRelation\\": [\\n {\\n \\"SecurityGroupId\\": \\"sg-bp14p9y07ns3gwq****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"NetType\\": \\"vpc\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSecurityGroupConfigurationResponse>\\n <RequestId>981C0D6A-D9DD-466C-92DA-F29DF755****</RequestId>\\n <Items>\\n <EcsSecurityGroupRelation>\\n <SecurityGroupId>sg-bp14p9y07ns3gwq****</SecurityGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n <NetType>vpc</NetType>\\n </EcsSecurityGroupRelation>\\n </Items>\\n</DescribeSecurityGroupConfigurationResponse>","errorExample":""}]', + 'title' => 'DescribeSecurityGroupConfiguration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAccount' => [ - 'summary' => 'Deletes an account from a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-08-16T03:15:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSecurityGroupConfiguration'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSecurityGroupConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'dbinstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], + ], + ], + 'DescribeSecurityIps' => [ + 'summary' => 'Queries the IP address whitelists of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '56365', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreXSBQ72', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56437', + 'abilityTreeNodes' => ['FEATUREkvstoreFPM1AL'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'AccountName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The username of the account. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoaccount', - ], - ], - [ - 'name' => 'SourceBiz', - 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -13116,120 +12589,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8129F11A-D70B-43A6-9455-CE9EAA71****', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'EFC9161F-15E3-4A6E-8A99-C09916D1****', 'title' => ''], + 'SecurityIpGroups' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SecurityIpGroup' => [ + 'description' => 'The whitelists of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SecurityIpGroupAttribute' => ['description' => 'The attribute of the whitelist. This parameter is empty by default.'."\n" + ."\n" + .'> If the instance is authorized to use a service such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), this service automatically generates a **hidden** whitelist for the instance. This type of whitelists cannot be modified or deleted.'."\n", 'type' => 'string', 'example' => 'hidden', 'title' => ''], + 'SecurityIpList' => ['description' => 'The IP addresses in the whitelist. A maximum of 1,000 IP addresses can be specified in a whitelist.'."\n", 'type' => 'string', 'example' => '100.100.202.***/24,10.10.10.***', 'title' => ''], + 'SecurityIpGroupName' => ['description' => 'The name of the whitelist.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidAccountName.Format', - 'errorMessage' => 'Specified AccountName is not valid.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Format', - 'errorMessage' => 'Current EngineVersion does not support operations.', - ], - ], - 403 => [ - [ - 'errorCode' => 'OperationDenied.AccountStatus', - 'errorMessage' => 'The operation is not permitted due to status of account.', - ], - ], - [ - [ - 'errorCode' => 'InvalidAccountName.NotFound', - 'errorMessage' => 'Specified AccountName does not exist.', - ], + 404 => [ + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'The InstanceId provided does not exist in our records.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8129F11A-D70B-43A6-9455-CE9EAA71****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8129F11A-D70B-43A6-9455-CE9EAA71F095\\"\\n}"},{"type":"xml","example":"<DeleteAccountResponse>\\n <RequestId>8129F11A-D70B-43A6-9455-CE9EAA71****</RequestId>\\n</DeleteAccountResponse>","errorExample":"<DeleteAccountResponse>\\n <RequestId>8129F11A-D70B-43A6-9455-CE9EAA71F095</RequestId>\\n</DeleteAccountResponse>"}]', - 'title' => 'DeleteAccount', - 'description' => '* This operation is supported only for instances that are compatible with Redis 4.0 or later.'."\n" - .'* The instance must be in the Running state.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EFC9161F-15E3-4A6E-8A99-C09916D1****\\",\\n \\"SecurityIpGroups\\": {\\n \\"SecurityIpGroup\\": [\\n {\\n \\"SecurityIpGroupAttribute\\": \\"hidden\\",\\n \\"SecurityIpList\\": \\"100.100.202.***/24,10.10.10.***\\",\\n \\"SecurityIpGroupName\\": \\"default\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"SecurityIpGroups\\":{\\n \\"SecurityIpGroup\\":[{\\n \\"SecurityIpList\\":\\"127.0.0.1\\",\\n\\t\\t\\"SecurityIpGroupAttribute\\":\\"\\",\\n\\t\\t\\"SecurityIpGroupName\\":\\"default\\"\\n\\t\\t\\t\\t\\t },{\\n \\"SecurityIpList\\":\\"11.xxx.xxx.xxx,10.xxx.xxx.xxx\\",\\n\\t\\t\\"SecurityIpGroupAttribute\\":\\"hidden\\",\\n\\t \\"SecurityIpGroupName\\":\\"rds_replica_group\\"\\n\\t\\t\\t\\t\\t\\t}]\\n\\t\\t\\t\\t\\t },\\n \\"RequestId\\":\\"EFC9161F-15E3-4A6E-8A99-C09916D1F464\\"\\n}"},{"type":"xml","example":"<DescribeSecurityIpsResponse>\\r\\n <SecurityIpGroups>\\r\\n <SecurityIpGroup>\\r\\n <SecurityIpList>127.0.0.1</SecurityIpList>\\r\\n <SecurityIpGroupAttribute/>\\r\\n <SecurityIpGroupName>default</SecurityIpGroupName>\\r\\n </SecurityIpGroup>\\r\\n <SecurityIpGroup>\\r\\n <SecurityIpList>100.100.202.***/24,10.10.10.***</SecurityIpList>\\r\\n <SecurityIpGroupAttribute>hidden</SecurityIpGroupAttribute>\\r\\n <SecurityIpGroupName>rds_replica_group</SecurityIpGroupName>\\r\\n </SecurityIpGroup>\\r\\n </SecurityIpGroups>\\r\\n <RequestId>EFC9161F-15E3-4A6E-8A99-C09916D1****</RequestId>\\r\\n</DescribeSecurityIpsResponse>","errorExample":"<DescribeSecurityIpsResponse>\\n <SecurityIpGroups>\\n <SecurityIpGroup>\\n <SecurityIpList>127.0.0.1</SecurityIpList>\\n <SecurityIpGroupAttribute></SecurityIpGroupAttribute>\\n <SecurityIpGroupName>default</SecurityIpGroupName>\\n </SecurityIpGroup>\\n <SecurityIpGroup>\\n <SecurityIpList>11.111.111.111,10.200.200.200</SecurityIpList>\\n <SecurityIpGroupAttribute>hidden</SecurityIpGroupAttribute>\\n <SecurityIpGroupName>rds_replica_group</SecurityIpGroupName>\\n </SecurityIpGroup>\\n </SecurityIpGroups>\\n <RequestId>EFC9161F-15E3-4A6E-8A99-C09916D1F464</RequestId>\\n</DescribeSecurityIpsResponse>"}]', + 'title' => 'DescribeSecurityIps', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyAccountDescription' => [ - 'summary' => 'Modifies the description of an account for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-08-16T03:19:50.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSecurityIps'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSecurityIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'DescribeServiceLinkedRoleExists' => [ + 'summary' => 'Queries whether the related service-linked role is created for Tair (Redis OSS-compatible) in the current account.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56463', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreXSBQ72', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56438', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'AccountName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The username of the account. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoaccount', - ], - ], - [ - 'name' => 'AccountDescription', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the account.'."\n" - ."\n" - .'* The description must start with a letter and cannot start with `http://` or `https://`.'."\n" - .'* The description can contain letters, digits, underscores (\\_), and hyphens (-).'."\n" - .'* The description must be 2 to 256 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'testescription', - ], + 'schema' => ['description' => 'The ID of the region where the instance resides.'."\n" + ."\n" + .'> This parameter does not affect the query results. You can specify any region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'SourceBiz', + 'name' => 'Engine', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is automatically generated by the service, You do not need to specify this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'schema' => ['description' => 'The database engine of the instance. Only Redis is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Redis', 'default' => 'Redis', 'title' => ''], ], ], 'responses' => [ @@ -13237,348 +12693,283 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', - ], + 'ExistsServiceLinkedRole' => ['description' => 'Indicates whether the service-linked role is created for Tair (Redis OSS-compatible) in the current account. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => '90B82DB7-FB28-4CC2-ADBF-1F8659F3****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidEngineVersion.Format', - 'errorMessage' => 'Current EngineVersion does not support operations.', - ], - [ - 'errorCode' => 'InvalidAccountDescription.Format', - 'errorMessage' => 'Specified AccountDescription is not valid.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExistsServiceLinkedRole\\": true,\\n \\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F3****\\"\\n}","type":"json"}]', + 'title' => 'DescribeServiceLinkedRoleExists', + 'description' => 'You can call this operation to query whether the service-lined role AliyunServiceRoleForKvstore is created for Tair (Redis OSS-compatible). For more information, see [Service-linked role of Tair (Redis OSS-compatible)](~~184337~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeServiceLinkedRoleExists'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeServiceLinkedRoleExists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}"},{"type":"xml","example":"<ModifyAccountDescriptionResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>\\n</ModifyAccountDescriptionResponse>","errorExample":"<ModifyAccountDescriptionResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyAccountDescriptionResponse>"}]', - 'title' => 'ModifyAccountDescription', - 'description' => 'This operation is supported only for instances that run Redis 4.0 or later.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyAccountPassword' => [ - 'summary' => 'Modifies the password of an account for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSlowLogRecords' => [ + 'summary' => 'Queries the slow query logs of a Tair (Redis OSS-compatible) instance that are generated within a specified period of time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56464', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreXSBQ72', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56440', + 'abilityTreeNodes' => ['FEATUREkvstoreS1FOWZ'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'AccountName', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The username of the account for which you want to change the password. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'testaccount', - ], + 'schema' => ['description' => 'The ID of the node in the instance. You can set this parameter to query the slow query logs of a specified node.'."\n" + ."\n" + .'> This parameter is available only for read/write splitting and cluster instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], [ - 'name' => 'OldAccountPassword', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The current password of the account.'."\n" - .' '."\n" - .'> If you forget your password, you can call the [ResetAccountPassword](~~473815~~) operation to reset your password.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'oldPassWd999****', - ], + 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-10T14:00Z', 'title' => ''], ], [ - 'name' => 'NewAccountPassword', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The new password to be set for the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'newPassWd888****', - ], + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-03-10T15:00Z', 'title' => ''], ], [ - 'name' => 'SourceBiz', + 'name' => 'DBName', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'PageSize', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - ], + 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + 'default' => '30', + 'enum' => ['30', '50', '100'], + 'title' => '', ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAccountPasswordResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyAccountPasswordResponse>","errorExample":""}]', - 'title' => 'ModifyAccountPassword', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAccounts' => [ - 'summary' => 'Queries a specified account of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56373', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SlowLogRecordType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", + 'description' => 'The type of the slow logs. Default value: db. Valid values:'."\n" + ."\n" + .'* **proxy**: slow logs of proxy nodes'."\n" + .'* **db**: slow logs of data nodes'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'example' => 'proxy', + 'default' => 'db', + 'enum' => ['proxy', 'db'], + 'title' => '', ], ], [ - 'name' => 'AccountName', + 'name' => 'QueryKeyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword based on which slow logs are queried. You can set this parameter to a value of the string type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'keyword1', 'title' => ''], + ], + [ + 'name' => 'OrderType', 'in' => 'query', 'schema' => [ - 'description' => 'The name of the account that you want to query.'."\n", + 'description' => 'The sorting order of the results to return. Default value: DESC. Valid values:'."\n" + ."\n" + .'* **ASC**: ascending order'."\n" + .'* **DESC**: descending order'."\n", 'type' => 'string', 'required' => false, - 'example' => 'demoaccount', + 'example' => 'ASC', + 'default' => 'DESC', + 'enum' => ['ASC', 'DESC'], + 'title' => '', ], ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => ['description' => 'The dimension by which to sort the results. Default value: execution_time. Valid values:'."\n" + ."\n" + .'* **execution_time**: sorts the results by query start time.'."\n" + .'* **latency**: sorts the results by query latency.'."\n", 'type' => 'string', 'required' => false, 'example' => 'execution_time', 'default' => 'execution_time', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6C9E114C-217C-4118-83C0-B4070222****', - ], - 'Accounts' => [ + 'StartTime' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2019-03-10T14:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****', 'title' => ''], + 'PageRecordCount' => ['description' => 'The number of log entries returned on the current page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalRecordCount' => ['description' => 'The total number of returned log entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of log entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp10n********', 'title' => ''], + 'Engine' => ['description' => 'The database engine that the instance runs.'."\n", 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Account' => [ - 'description' => 'Details about returned accounts of the instance.'."\n", + 'LogRecords' => [ + 'description' => 'The slow query log entries.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'Details about the account.'."\n", 'type' => 'object', 'properties' => [ - 'AccountDescription' => [ - 'description' => 'The description of the account.'."\n", - 'type' => 'string', - 'example' => 'testdec', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp10noxlhcoim2****', - ], - 'AccountType' => [ - 'description' => 'The type of the account. Valid values:'."\n" - ."\n" - .'* **Normal**: standard account'."\n" - .'* **Super**: super account'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'AccountStatus' => [ - 'description' => 'The state of the account. Valid values:'."\n" - ."\n" - .'* **Unavailable**: The account is unavailable.'."\n" - .'* **Available**: The account is available.'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'AccountName' => [ - 'description' => 'The name of the account.'."\n", - 'type' => 'string', - 'example' => 'demoaccount', - ], - 'DatabasePrivileges' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DatabasePrivilege' => [ - 'description' => 'Details about account permissions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The permission of the account.'."\n", - 'type' => 'object', - 'properties' => [ - 'AccountPrivilege' => [ - 'description' => 'The permission of the account. Default value: RoleReadWrite. Valid values:'."\n" - ."\n" - .'* **RoleReadOnly**: The account has the read-only permissions.'."\n" - .'* **RoleReadWrite**: The account has the read and write permissions.'."\n", - 'type' => 'string', - 'example' => 'RoleReadWrite', - ], - ], - ], - ], - ], - ], + 'Account' => ['description' => 'The ID of the account.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ElapsedTime' => ['description' => 'The amount of time consumed to execute the slow query statement. Unit: microseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '248', 'title' => ''], + 'Command' => ['description' => 'The slow query statement.'."\n", 'type' => 'string', 'example' => 'KEYS *', 'title' => ''], + 'DBName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'ExecuteTime' => ['description' => 'The start time when the slow query statement was executed. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format.'."\n", 'type' => 'string', 'example' => '2019-03-12T09:18:41Z', 'title' => ''], + 'DataBaseName' => ['description' => 'The database name. This parameter serves the same purpose as the **DBName** parameter. We recommend that you use the **DBName** parameter.'."\n", 'type' => 'string', 'example' => '0', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], + 'AccountName' => ['description' => 'The username of the account.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'IPAddress' => ['description' => 'The IP address of the client.'."\n", 'type' => 'string', 'example' => '172.16.88.***', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6C9E114C-217C-4118-83C0-B4070222****\\",\\n \\"Accounts\\": {\\n \\"Account\\": [\\n {\\n \\"AccountDescription\\": \\"testdec\\",\\n \\"InstanceId\\": \\"r-bp10noxlhcoim2****\\",\\n \\"AccountType\\": \\"Normal\\",\\n \\"AccountStatus\\": \\"Available\\",\\n \\"AccountName\\": \\"demoaccount\\",\\n \\"DatabasePrivileges\\": {\\n \\"DatabasePrivilege\\": [\\n {\\n \\"AccountPrivilege\\": \\"RoleReadWrite\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Accounts\\":{\\n \\"Account\\":[\\n {\\n \\"DatabasePrivileges\\":{\\n \\"DatabasePrivilege\\":[\\n {\\n \\"AccountPrivilege\\":\\"RoleReadWrite\\"\\n }\\n ]\\n },\\n \\"AccountStatus\\":\\"Available\\",\\n \\"InstanceId\\":\\"r-xxxxxxxxxxxxxxx\\",\\n \\"AccountName\\":\\"r-xxxxxxxxxxxxxxx\\",\\n \\"PrivExceeded\\":\\"0\\",\\n \\"AccountType\\":\\"Normal\\"\\n }\\n ]\\n },\\n \\"RequestId\\":\\"6C9E114C-217C-4118-83C0-B40702221161\\"\\n}"},{"type":"xml","example":"<DescribeAccountsResponse>\\n <RequestId>4A74FE3A-2BA8-4574-AB85-99C01707****</RequestId>\\n <Accounts>\\n <Account>\\n <AccountStatus>Available</AccountStatus>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <AccountType>Normal</AccountType>\\n <DatabasePrivileges>\\n <DatabasePrivilege>\\n <AccountPrivilege>RoleReadWrite</AccountPrivilege>\\n </DatabasePrivilege>\\n </DatabasePrivileges>\\n <AccountName>r-bp10noxlhcoim2****</AccountName>\\n </Account>\\n <Account>\\n <AccountDescription/>\\n <AccountStatus>Available</AccountStatus>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <AccountType>Normal</AccountType>\\n <DatabasePrivileges>\\n <DatabasePrivilege>\\n <AccountPrivilege>RoleReadWrite</AccountPrivilege>\\n </DatabasePrivilege>\\n </DatabasePrivileges>\\n <AccountName>testaccount</AccountName>\\n </Account>\\n </Accounts>\\n</DescribeAccountsResponse>","errorExample":"<DescribeAccountsResponse>\\n <Accounts>\\n <Account>\\n <DatabasePrivileges>\\n <DatabasePrivilege>\\n <AccountPrivilege>RoleReadWrite</AccountPrivilege>\\n </DatabasePrivilege>\\n </DatabasePrivileges>\\n <AccountStatus>Available</AccountStatus>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <AccountName>r-xxxxxxxxxxxxxxx</AccountName>\\n <PrivExceeded>0</PrivExceeded>\\n <AccountType>Normal</AccountType>\\n </Account>\\n </Accounts>\\n <RequestId>6C9E114C-217C-4118-83C0-B40702221161</RequestId>\\n</DescribeAccountsResponse>"}]', - 'title' => 'DescribeAccounts', - 'description' => '> Only Tair (Redis OSS-compatible) instances of Redis 4.0 or later are supported.', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The Specified parameter StartTime is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The Specified parameter EndTime is not valid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support operations.', 'description' => ''], + ['errorCode' => 'ServerBusy', 'errorMessage' => 'server busy now, please retry later.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-03-10T14:00Z\\",\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\",\\n \\"PageRecordCount\\": 1,\\n \\"TotalRecordCount\\": 1,\\n \\"PageSize\\": 30,\\n \\"InstanceId\\": \\"r-bp10n********\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"LogRecords\\": [\\n {\\n \\"Account\\": \\"0\\",\\n \\"ElapsedTime\\": 248,\\n \\"Command\\": \\"KEYS *\\",\\n \\"DBName\\": \\"0\\",\\n \\"ExecuteTime\\": \\"2019-03-12T09:18:41Z\\",\\n \\"DataBaseName\\": \\"0\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\",\\n \\"AccountName\\": \\"demo\\",\\n \\"IPAddress\\": \\"172.16.88.***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSlowLogRecordsResponse>\\r\\n\\t<Items>\\r\\n\\t\\t<LogRecords>\\r\\n\\t\\t\\t<Command>KEYS *</Command>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-20T09:18:41Z</ExecuteTime>\\r\\n\\t\\t\\t<ElapsedTime>248</ElapsedTime>\\r\\n\\t\\t\\t<IPAddress>172.16.88.***</IPAddress>\\r\\n\\t\\t\\t<Account>0</Account>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<DataBaseName>-1</DataBaseName>\\r\\n\\t\\t\\t<DBName>-1</DBName>\\r\\n\\t\\t</LogRecords>\\r\\n\\t</Items>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<TotalRecordCount>1</TotalRecordCount>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<InstanceId>r-bp1zxszhcgatnx****-db-1</InstanceId>\\r\\n\\t<RequestId>686BB8A6-BBA5-47E5-8A75-D2ADE433****</RequestId>\\r\\n\\t<StartTime>2019-03-10T13:11Z</StartTime>\\r\\n\\t<Engine>Redis</Engine>\\r\\n\\t<PageRecordCount>1</PageRecordCount>\\r\\n</DescribeSlowLogRecordsResponse>","errorExample":""}]', + 'title' => 'DescribeSlowLogRecords', + 'description' => 'You can also query slow logs in the Tair (Redis OSS-compatible) console. For more information, see [Query slow logs of an instance](~~95874~~). This operation can be called up to 100 times per minute.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ResetAccountPassword' => [ - 'summary' => 'Resets the password of an account for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:47.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSlowLogRecords'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSlowLogRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], ], + ], + 'DescribeTags' => [ + 'summary' => 'Queries all tags in a region.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56514', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreXSBQ72', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '56443', + 'abilityTreeNodes' => ['FEATUREkvstore9GDS4D'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which the account belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'AccountName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoaccount', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'AccountPassword', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => 'The new password for the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`'."\n", + 'description' => 'The resource type. Valid values: **INSTANCE** or **instance**.'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'uWonno_221****', + 'required' => false, + 'example' => 'INSTANCE', + 'default' => 'INSTANCE', + 'enum' => ['INSTANCE', 'instance'], + 'title' => '', ], ], [ - 'name' => 'SourceBiz', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SDK', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n" + ."\n" + .'> This parameter is not required for the first request. If not all results are returned in one query, you can specify the token that is obtained from the previous query as the value of **NextToken**.'."\n", 'type' => 'string', 'required' => false, 'example' => '212db86sca4384811e0b5e8707ec2****', 'title' => ''], ], ], 'responses' => [ @@ -13586,344 +12977,226 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8BE02313-5395-4EBE-BAE7-E90A053F****', + 'NextToken' => ['description' => 'The pagination token to use in the next request to get the next page. If this field is empty, there are no more results.'."\n" + ."\n" + .'> If not all results are returned in one query, this parameter is returned. You can pass in the returned value of this parameter for the next query.'."\n", 'type' => 'string', 'example' => '212db86sca4384811e0b5e8707ec2****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F3F44BE3-5419-4B61-9BAC-E66E295A****', 'title' => ''], + 'Tags' => [ + 'description' => 'The details of the tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagKey' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'size', 'title' => ''], + 'TagValues' => [ + 'description' => 'The tag values.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The value of the tag'."\n", 'type' => 'string', 'example' => '[\'test_value_2\']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidAccountName.Duplicate', - 'errorMessage' => 'Specified AccountName already exists in this instance.', - ], - [ - 'errorCode' => 'InvalidAccountName.Format', - 'errorMessage' => 'Specified AccountName is not valid.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Format', - 'errorMessage' => 'Current EngineVersion does not support operations.', - ], - [ - 'errorCode' => 'InvalidAccountPassword.Format', - 'errorMessage' => 'Specified AccountPassword is not valid.', - ], - [ - 'errorCode' => 'TaskExists', - 'errorMessage' => 'Specified task have existed.', - ], + ['errorCode' => 'InvalidTagKey.Malformed', 'errorMessage' => 'The specified parameter \'Tag.n.Key\' or \'TagKey.n\' is not valid.', 'description' => ''], + ['errorCode' => 'InvalidTagValue.Malformed', 'errorMessage' => 'The specified parameter \'Tag.n.Value\' is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The specified parameter \'ResourceId.n\' is not valid.', 'description' => ''], + ['errorCode' => 'MissParameter.TagOrResourceId', 'errorMessage' => 'The parameter \'Tag.n\'\' or \'ResourceId.n\' is needed.', 'description' => ''], + ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The specified parameter \'Scope\' is not valid.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter\'s number is exceed.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The Tags parameter\'s number is exceed.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The specified parameter \'Tag.n.Key\' is duplicated.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter \'ResourceType\' is not valid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8BE02313-5395-4EBE-BAE7-E90A053F****\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"8BE02313-5395-4EBE-BAE7-E90A053F1E07\\"\\n}"},{"type":"xml","example":"<ResetAccountResponse>\\n <RequestId>8BE02313-5395-4EBE-BAE7-E90A053F****</RequestId>\\n</ResetAccountResponse>","errorExample":"<ResetAccountResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ResetAccountResponse>"}]', - 'title' => 'ResetAccountPassword', - 'description' => '> Only Tair (Redis OSS-compatible) instances of Redis 4.0 or later are supported.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GrantAccountPrivilege' => [ - 'summary' => 'Modifies the permissions of an account for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"212db86sca4384811e0b5e8707ec2****\\",\\n \\"RequestId\\": \\"F3F44BE3-5419-4B61-9BAC-E66E295A****\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"size\\",\\n \\"TagValues\\": [\\n \\"[\'test_value_2\']\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeTags', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeTairKVCacheInferInstances' => [ + 'summary' => 'Queries information about one or more Tair KVCache instances.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56458', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreXSBQ72', - ], + 'abilityTreeCode' => '265688', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which the account belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'AccountName', + 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoaccount', - ], + 'schema' => ['description' => 'The IDs of the instances that you want to query.'."\n" + .'> To specify multiple instance IDs, separate them with commas (,). You can specify up to 30 instance IDs in a single request.', 'type' => 'string', 'required' => false, 'example' => 'tk-2zefe7728c2c****', 'title' => ''], ], [ - 'name' => 'AccountPrivilege', + 'name' => 'InstanceStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions of the account. Default value: RoleReadWrite. Valid values:'."\n" - ."\n" - .'* RoleReadOnly: The account has the read-only permissions.'."\n" - .'* RoleReadWrite: The account has the read and write permissions.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'RoleReadWrite', - ], + 'schema' => ['description' => 'The instance status. Valid values:'."\n" + .'* **Normal**: Normal.'."\n" + .'* **Creating**: The instance is being created.'."\n" + ."\n" + .'> For more information about instance statuses, see [Instance states and impacts](~~200740~~).', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], ], [ - 'name' => 'SourceBiz', + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", + 'description' => 'The billing method of the instance. Valid values:'."\n" + .'- **PrePaid**: subscription.'."\n" + .'- **PostPaid**: pay-as-you-go.', 'type' => 'string', 'required' => false, - 'example' => 'SDK', + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PrePaid', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'NetworkType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3845BDF5-15A6-4444-B770-78501819****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidAccountName.Format', - 'errorMessage' => 'Specified AccountName is not valid.', - ], - [ - 'errorCode' => 'InvalidAccountPrivilege.Format', - 'errorMessage' => 'Specified AccountPrivilege is not valid.', - ], - [ - 'errorCode' => 'IncorrectAccount', - 'errorMessage' => 'Current DB instance account does not support this operation.', - ], - [ - 'errorCode' => 'IncorrectMinorVersion', - 'errorMessage' => 'Current engine minor version does not support operations.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidAccountName.NotFound', - 'errorMessage' => 'Specified AccountName does not exist.', + 'description' => 'The network type. Valid values:'."\n" + .'* **VPC**: virtual private cloud (VPC). This is the default value.', + 'type' => 'string', + 'required' => false, + 'enum' => ['CLASSIC', 'VPC'], + 'example' => 'VPC', + 'title' => '', ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3845BDF5-15A6-4444-B770-78501819****\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"3845BDF5-15A6-4444-B770-785018191E25\\"\\n}"},{"type":"xml","example":"<GrantAccountPrivilegeResponse>\\n <RequestId>3845BDF5-15A6-4444-B770-78501819****</RequestId>\\n</GrantAccountPrivilegeResponse>","errorExample":"<GrantAccountPrivilegeResponse>\\n <RequestId>3845BDF5-15A6-4444-B770-785018191E25</RequestId>\\n</GrantAccountPrivilegeResponse>"}]', - 'title' => 'GrantAccountPrivilege', - 'description' => '> '."\n" - ."\n" - .'* Only Tair (Redis OSS-compatible) instances of Redis 4.0 or later are supported.'."\n" - .'* The Tair (Redis OSS-compatible) instance must be in the running state.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateBackup' => [ - 'summary' => 'Backs up a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '56349', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'example' => 'kvcache.cu.g4c.2', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], ], [ - 'name' => 'BackupRetentionPeriod', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'BackupJobID' => [ - 'description' => 'The ID of the backup task.'."\n", - 'type' => 'string', - 'example' => '1162****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2FF6158E-3394-4A90-B634-79C49184****', - ], - ], - 'description' => '', - ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. The value starts from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"BackupJobID\\": \\"\\\\\\"1022,2480\\\\\\"\\",\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"2D719BD9-A536-4D8B-BEA9-CD299DE2AE1B\\",\\n\\t\\"BackupJobID\\": \\"4679933\\"\\n}"},{"type":"xml","example":"<CreateBackupResponse>\\n <RequestId>2FF6158E-3394-4A90-B634-79C49184****</RequestId>\\n <BackupJobID>1162****</BackupJobID>\\n</CreateBackupResponse>","errorExample":"<CreateBackupResponse>\\n <RequestId>2D719BD9-A536-4D8B-BEA9-CD299DE2AE1B</RequestId>\\n <BackupJobID>4679933</BackupJobID>\\n</CreateBackupResponse>"}]', - 'title' => 'CreateBackup', - 'description' => 'You can also back up an instance in the Tair (Redis OSS-compatible) console. For more information, see [Backup and recovery](~~43886~~).', - 'extraInfo' => ' ', - ], - 'ModifyBackupPolicy' => [ - 'summary' => 'Modifies the automatic backup policy of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Default value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'default' => '30', 'example' => '30', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56470', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreQ7TNCG', - 'FEATUREkvstore6TUUNS', - 'FEATUREkvstoreHXG88M', - 'FEATUREkvstoreGDR25F', + [ + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['description' => 'The keyword used for fuzzy search by instance name or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'apitest', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Expired', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The expiration status of the instance. Valid values:'."\n" + ."\n" + .'* **true**: expired.'."\n" + .'* **false**: not expired.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'PreferredBackupTime', + 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time range to back up data. Specify the time in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.'."\n" - ."\n" - .'> The beginning and end of the time range must be on the hour. The duration must be an hour.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '07:00Z-08:00Z', - ], + 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-e', 'title' => ''], ], [ - 'name' => 'PreferredBackupPeriod', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The days of the week to back up data. Valid values:'."\n" - ."\n" - .'* **Monday**'."\n" - .'* **Tuesday**'."\n" - .'* **Wednesday**'."\n" - .'* **Thursday**'."\n" - .'* **Friday**'."\n" - .'* **Saturday**'."\n" - .'* **Sunday**'."\n" - ."\n" - .'> Separate multiple options with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Tuesday', - ], + 'schema' => ['description' => 'The resource group ID. This parameter can be left empty.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ - 'name' => 'EnableBackupLog', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to enable the data flashback feature for the instance. Valid values:'."\n" - ."\n" - .'* **1**: enables the data flashback feature. You must also enable append-only file (AOF) persistence by setting `appendonly` to `yes` in the parameter settings of the instance. Then, you can use the data flashback feature.'."\n" - .'* **0** (default): disables the data flashback feature.'."\n" - ."\n" - .'> This parameter is available only for Tair (Enterprise Edition) DRAM-based and persistent memory-optimized instances. For more information, see [Data flashback](~~148479~~).', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The tags of the instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags of the instance.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag. The key and value of a tag form a key-value pair.'."\n" + .'> You can specify up to 5 key-value pairs of tags in a single request.', 'type' => 'string', 'required' => false, 'example' => 'key1_test', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.'."\n" + .'> **N** specifies the sequence number of the tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.', 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '1', - 'default' => '0', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'BackupRetentionPeriod', + 'name' => 'PrivateIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days for which you want to retain data backup files. Valid values: 7 to 730. Default value: 7.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '730', - 'example' => '7', - 'default' => '7', - ], + 'schema' => ['description' => 'The private IP address in the VPC. This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '172.16.49.***', 'title' => ''], ], ], 'responses' => [ @@ -13931,32 +13204,131 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CD225838-7069-5CE4-89E1-67B83AC149C8', 'title' => ''], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Instances' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TairInferInstanceDTO' => [ + 'description' => 'The list of Tair KVCache instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-2zef5w848p4j5g***', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2025-04-07T04:46Z', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'kvcache-7', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'kvcache.cu.g4b.2', 'title' => ''], + 'DestroyTime' => ['description' => 'The time when the instance was destroyed.', 'type' => 'string', 'example' => '2025-04-07T04:46Z'."\n", 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'tk-9dp7e37bab*****', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + .'* **TairInfer**: inference operator instance.'."\n" + .'* **TairKVCacheVnode**: virtual cluster instance.'."\n" + .'* **TairKVCacheService**: cache service instance.', 'type' => 'string', 'example' => 'TairInfer', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'EndTime' => ['description' => 'The time when the upfront instance expires.', 'type' => 'string', 'example' => '2025-11-04T02:09:26Z', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-8vbf0ksk774ai6q1d****', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm4bdru5z****', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''], + 'InstanceStatus' => ['description' => 'The instance status. Valid values:'."\n" + .'* **Normal**: Normal.'."\n" + .'* **Creating**: The instance is being created.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'Tags' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Tag' => [ + 'description' => 'The tags of the instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags of the instance.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'thread', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => '900', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'PrivateIp' => ['description' => 'The private IP address in the VPC. This parameter is deprecated.', 'type' => 'string', 'example' => '172.16.49.***', 'title' => ''], + 'Capacity' => ['description' => 'The KVCache storage capacity. Unit: GB.', 'type' => 'integer', 'format' => 'int64', 'example' => '256', 'title' => ''], + 'Model' => ['description' => 'The built-in model of the inference operator instance.', 'type' => 'string', 'example' => 'DeepSeek-OCR', 'title' => ''], + 'ModelServiceNum' => ['description' => 'The number of model services for the inference operator instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ComputeUnitNum' => ['description' => 'The number of compute units.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'VNodeName' => ['description' => 'The list of VNode instance names under the virtual cluster instance. This parameter is deprecated.', 'type' => 'string', 'example' => 'tv-xxxxx', 'title' => ''], + 'AckId' => ['description' => 'The ACK ID associated with the virtual cluster instance.', 'type' => 'string', 'example' => 'c809******************************', 'title' => ''], + 'VNodeCount' => ['description' => 'The number of virtual nodes in the virtual cluster instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'FixedVNodeCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'ElasticVNodeCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":"{\\n\\"RequestId\\" : \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76”\\n}"},{"type":"xml","example":"<ModifyBackupPolicyResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>\\n</ModifyBackupPolicyResponse>","errorExample":"<ModifyBackupPolicyResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyBackupPolicyResponse>"}]', - 'title' => 'ModifyBackupPolicy', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeBackupTasks' => [ - 'summary' => 'Queries the execution status of backup tasks for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidInstanceIds.Malformed', 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', 'description' => ''], + ], + ], + 'title' => 'Query tair kVCache instances', + 'description' => 'This operation supports querying Tair KVCache inference operator instances, virtual cluster instances, and cache service instances.', + 'changeSet' => [ + ['createdAt' => '2025-12-04T14:07:01.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTairKVCacheInferInstances'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairKVCacheInferInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD225838-7069-5CE4-89E1-67B83AC149C8\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 3,\\n \\"Instances\\": {\\n \\"TairInferInstanceDTO\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef5w848p4j5g***\\",\\n \\"CreateTime\\": \\"2025-04-07T04:46Z\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"InstanceName\\": \\"kvcache-7\\",\\n \\"InstanceClass\\": \\"kvcache.cu.g4b.2\\",\\n \\"DestroyTime\\": \\"2025-04-07T04:46Z\\\\n\\",\\n \\"InstanceId\\": \\"tk-9dp7e37bab*****\\",\\n \\"InstanceType\\": \\"TairInfer\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EndTime\\": \\"2025-11-04T02:09:26Z\\",\\n \\"VSwitchId\\": \\"vsw-8vbf0ksk774ai6q1d****\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4bdru5z****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"thread\\",\\n \\"Value\\": \\"900\\"\\n }\\n ]\\n },\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 256,\\n \\"Model\\": \\"DeepSeek-OCR\\",\\n \\"ModelServiceNum\\": 1,\\n \\"ComputeUnitNum\\": 1,\\n \\"VNodeName\\": \\"tv-xxxxx\\",\\n \\"AckId\\": \\"c809******************************\\",\\n \\"VNodeCount\\": 2,\\n \\"FixedVNodeCount\\": 0,\\n \\"ElasticVNodeCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeTairSkvDdbTable' => [ + 'summary' => 'Queries all Tair Serverless KV table instances in a specified workspace.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -13966,197 +13338,89 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '56386', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreQ7TNCG', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56403', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'BackupJobId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup task.'."\n" - ."\n" - .'> If you call the [CreateBackup](~~473819~~) operation to perform a manual backup task, you can set this parameter to the returned backup ID to query the backup progress of the task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1162****', - 'pattern' => '^\\d+$', - ], - ], - [ - 'name' => 'JobMode', - 'in' => 'query', - 'schema' => [ - 'description' => 'The backup mode. Valid values:'."\n" - ."\n" - .'* **Automated**: automatic backup. You can call the [DescribeBackupPolicy](~~473822~~) operation to query the automatic backup policy.'."\n" - .'* **Manual**: manual backup.'."\n" - ."\n" - .'> By default, the information about backup tasks in both modes is returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Manual', - 'enum' => [ - 'Manual', - 'Automated', - ], - ], + 'schema' => ['description' => 'The ID of the instance to query.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tt-bp1zxszhcgatnx\\*\\*\\*\\*', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BB73740C-23E2-4392-9DA4-2660C74C****', - ], - 'BackupJobs' => [ - 'description' => 'The details of the backup tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => 'The start time of the backup task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2021-01-05T19:24:00Z', - ], - 'Process' => [ - 'description' => 'The progress of the backup task in percentage.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'JobMode' => [ - 'description' => 'The backup mode. Valid values:'."\n" - ."\n" - .'* **Automated**: automatic backup'."\n" - .'* **Manual**: manual backup'."\n", - 'type' => 'string', - 'example' => 'Manual', - ], - 'BackupJobID' => [ - 'description' => 'The ID of the backup task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8491111', - ], - 'BackupProgressStatus' => [ - 'description' => 'The state of the backup task. Valid values:'."\n" - ."\n" - .'* **NoStart**: The backup task is not started.'."\n" - .'* **Preparing**: The backup task is being prepared.'."\n" - .'* **Waiting**: The backup task is pending.'."\n" - .'* **Uploading**: The system is uploading the backup file.'."\n" - .'* **Checking**: The system is checking the uploaded backup file.'."\n" - .'* **Finished**: The backup task is completed.'."\n", - 'type' => 'string', - 'example' => 'Automated', - ], - 'NodeId' => [ - 'description' => 'The ID of the data node.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'TaskAction' => [ - 'description' => 'The type of the backup task. Valid values:'."\n" - ."\n" - .'* **TempBackupTask**: The backup task was manually performed.'."\n" - .'* **NormalBackupTask**: The backup task was automatically performed.'."\n", - 'type' => 'string', - 'example' => 'NormalBackupTask', - ], - 'Progress' => [ - 'description' => 'The backup progress.'."\n", - 'type' => 'string', - 'example' => '27', - ], - ], - 'description' => '', - ], - ], - 'AccessDeniedDetail' => [ - 'description' => 'The following parameters are no longer used. Ignore the parameters.'."\n", + 'RequestId' => ['description' => 'The request ID, which is used to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '2363CEDF-C697-14B6-AB9E-C57A4AA0EAD4', 'title' => ''], + 'Tables' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'AuthAction' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'NoPermissionType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'PolicyType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', + 'Table' => [ + 'description' => 'The array of Table objects.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TableId' => ['description' => 'The table ID, which is globally unique.', 'type' => 'string', 'example' => 'tt-2zelkttksbyc12x6c', 'title' => ''], + 'TableName' => ['description' => 'The table name, which is unique within the workspace.', 'type' => 'string', 'example' => 'table1', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => ''], + 'Connections' => ['description' => 'The maximum number of connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"BB73740C-23E2-4392-9DA4-2660C74C****\\",\\n \\"BackupJobs\\": [\\n {\\n \\"StartTime\\": \\"2021-01-05T19:24:00Z\\",\\n \\"Process\\": \\"0\\",\\n \\"JobMode\\": \\"Manual\\",\\n \\"BackupJobID\\": 0,\\n \\"BackupProgressStatus\\": \\"NoStart\\",\\n \\"NodeId\\": \\"****\\",\\n \\"TaskAction\\": \\"NormalBackupTask\\",\\n \\"Progress\\": \\"27\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeBackupTasksResponse>\\r\\n <RequestId>BB73740C-23E2-4392-9DA4-2660C74C****</RequestId>\\r\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\r\\n <BackupJobs>\\r\\n <JobMode>Automated</JobMode>\\r\\n <TaskAction>NormalBackupTask</TaskAction>\\r\\n <StartTime>2021-01-05T19:24:00Z</StartTime>\\r\\n <BackupProgressStatus>NoStart</BackupProgressStatus>\\r\\n <Process>0</Process>\\r\\n <BackupJobID>8491111</BackupJobID>\\r\\n </BackupJobs>\\r\\n</DescribeBackupTasksResponse>","errorExample":""}]', - 'title' => 'DescribeBackupTasks', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeBackupPolicy' => [ - 'summary' => 'Queries the backup policy of a Tair (Redis OSS-compatible) instance, including the backup cycle and backup time.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query tair serverless KV table instances', + 'description' => '## Operation description'."\n" + ."\n" + .'- You must specify the InstanceId parameter when you call this operation.'."\n" + .'- The response includes basic information about each table, such as the table ID, name, bandwidth, and maximum number of connections.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairSkvDdbTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2363CEDF-C697-14B6-AB9E-C57A4AA0EAD4\\",\\n \\"Tables\\": {\\n \\"Table\\": [\\n {\\n \\"TableId\\": \\"tt-2zelkttksbyc12x6c\\",\\n \\"TableName\\": \\"table1\\",\\n \\"Bandwidth\\": 96,\\n \\"Connections\\": 1000\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeTairSkvDdbTableSchema' => [ + 'summary' => 'Retrieves the table schema and configuration information of a specified instance.', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -14166,139 +13430,79 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56403', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance to query.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tt-bp1zxszhcgatnx\\\\*\\\\*\\\\*\\\\*', 'title' => ''], + ], + [ + 'name' => 'BackupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the backup file.', 'type' => 'string', 'required' => false, 'example' => '78241****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'BackupRetentionPeriod' => [ - 'description' => 'The retention period of the backup data. Unit: days.'."\n", - 'type' => 'string', - 'example' => '7', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '90B82DB7-FB28-4CC2-ADBF-1F8659F3****', - ], - 'PreferredBackupPeriod' => [ - 'description' => 'The backup cycle. Valid values:'."\n" - ."\n" - .'* **Monday**'."\n" - .'* **Tuesday**'."\n" - .'* **Wednesday**'."\n" - .'* **Thursday**'."\n" - .'* **Friday**'."\n" - .'* **Saturday**'."\n" - .'* **Sunday**'."\n", - 'type' => 'string', - 'example' => 'Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday', - ], - 'PreferredNextBackupTime' => [ - 'description' => 'The next backup time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2019-03-14T05:28Z', - ], - 'PreferredBackupTime' => [ - 'description' => 'The time range during which the backup was created. The time follows the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '05:00Z-06:00Z', - ], - 'EnableBackupLog' => [ - 'description' => 'Indicates whether incremental data backup is enabled. Valid values:'."\n" - ."\n" - .'* **1**: Incremental data backup is enabled.'."\n" - .'* **0**: Incremental data backup is disabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AccessDeniedDetail' => [ - 'description' => 'The following parameters are no longer used. Ignore the parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthAction' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '_', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'NoPermissionType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'PolicyType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - ], - 'required' => false, - ], - 'DbsInstance' => [ - 'description' => 'Indicates whether the backup-as-a-service feature is enabled for the instance. Valid values:'."\n" - ."\n" - .'* **1**: The backup-as-a-service feature is enabled for the instance.'."\n" - .'* **0**: The backup-as-a-service feature is disabled for the instance.'."\n", - 'type' => 'string', - 'example' => '0', - ], + 'RequestId' => ['description' => 'The request ID. For more information, see common parameters.', 'type' => 'string', 'example' => 'A1604E1B-6825-1577-BBDA-2A64E8D5F126', 'title' => ''], + 'Schema' => ['description' => 'The table schema information in JSON format.', 'type' => 'string', 'example' => '{"attributeDefinitions":[{"attributeType":"S","attributeName":"pk"},{"attributeType":"S","attributeName":"sk"}],"keySchema":[{"attributeName":"pk","keyType":"HASH"},{"attributeName":"sk","keyType":"RANGE"}]}', 'title' => ''], + 'TtlSpec' => ['description' => 'The TTL property. The parameter settings toggle in JSON format.', 'type' => 'string', 'example' => '{"attributeName":"Expiretime","enabled":true}', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"BackupRetentionPeriod\\": \\"7\\",\\n \\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F3****\\",\\n \\"PreferredBackupPeriod\\": \\"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday\\",\\n \\"PreferredNextBackupTime\\": \\"2019-03-14T05:28Z\\",\\n \\"PreferredBackupTime\\": \\"05:00Z-06:00Z\\",\\n \\"EnableBackupLog\\": 1,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n },\\n \\"DbsInstance\\": \\"0\\"\\n}","errorExample":"{\\n\\t\\"PreferredBackupPeriod\\": \\"Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday\\",\\n\\t\\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F30C26\\",\\n\\t\\"PreferredNextBackupTime\\": \\"2018-10-26T19:05Z\\",\\n\\t\\"PreferredBackupTime\\": \\"19:00Z-20:00Z\\",\\n\\t\\"BackupRetentionPeriod\\": \\"7\\"\\n}"},{"type":"xml","example":"<DescribeBackupPolicyResponse>\\n <PreferredBackupPeriod>Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday</PreferredBackupPeriod>\\n <RequestId>90B82DB7-FB28-4CC2-ADBF-1F8659F3****</RequestId>\\n <PreferredNextBackupTime>2018-10-26T19:05Z</PreferredNextBackupTime>\\n <PreferredBackupTime>19:00Z-20:00Z</PreferredBackupTime>\\n <BackupRetentionPeriod>7</BackupRetentionPeriod>\\n</DescribeBackupPolicyResponse>","errorExample":"<PreferredBackupPeriod>Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday</PreferredBackupPeriod>\\n<RequestId>90B82DB7-FB28-4CC2-ADBF-1F8659F30C26</RequestId>\\n<PreferredNextBackupTime>2018-10-26T19:05Z</PreferredNextBackupTime>\\n<PreferredBackupTime>19:00Z-20:00Z</PreferredBackupTime>\\n<BackupRetentionPeriod>7</BackupRetentionPeriod>"}]', - 'title' => 'DescribeBackupPolicy', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeBackups' => [ - 'summary' => 'Queries the backup files of the Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query tair serverless KV table schema', + 'description' => '## Operation description'."\n" + .'- This operation queries the table schema and configuration information of a Tair Serverless KV table instance.'."\n" + .'- You must specify the InstanceId parameter. Set this parameter to the instance ID of the instance that you want to query.'."\n" + .'- The BackupId parameter specifies the backup set of the table to query.'."\n" + .'- The response packet includes the time-to-live (TTL) specifications and detailed table schema definition.'."\n" + ."\n" + .'To invoke this operation, see the request parameters below.', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "TtlSpec":"{\\"attributeName\\":\\"Expiretime\\",\\"enabled\\":true}",'."\n" + .' "RequestId":"A1604E1B-6825-1577-BBDA-2A64E8D5F126",'."\n" + .' "Schema":"{\\"attributeDefinitions\\":[{\\"attributeType\\":\\"S\\",\\"attributeName\\":\\"pk\\"},{\\"attributeType\\":\\"S\\",\\"attributeName\\":\\"sk\\"}],\\"keySchema\\":[{\\"attributeName\\":\\"pk\\",\\"keyType\\":\\"HASH\\"},{\\"attributeName\\":\\"sk\\",\\"keyType\\":\\"RANGE\\"}]}"'."\n" + .' }'."\n" + .'```', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairSkvDdbTableSchema', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1604E1B-6825-1577-BBDA-2A64E8D5F126\\",\\n \\"Schema\\": \\"{\\\\\\"attributeDefinitions\\\\\\":[{\\\\\\"attributeType\\\\\\":\\\\\\"S\\\\\\",\\\\\\"attributeName\\\\\\":\\\\\\"pk\\\\\\"},{\\\\\\"attributeType\\\\\\":\\\\\\"S\\\\\\",\\\\\\"attributeName\\\\\\":\\\\\\"sk\\\\\\"}],\\\\\\"keySchema\\\\\\":[{\\\\\\"attributeName\\\\\\":\\\\\\"pk\\\\\\",\\\\\\"keyType\\\\\\":\\\\\\"HASH\\\\\\"},{\\\\\\"attributeName\\\\\\":\\\\\\"sk\\\\\\",\\\\\\"keyType\\\\\\":\\\\\\"RANGE\\\\\\"}]}\\",\\n \\"TtlSpec\\": \\"{\\\\\\"attributeName\\\\\\":\\\\\\"Expiretime\\\\\\",\\\\\\"enabled\\\\\\":true}\\"\\n}","type":"json"}]', + ], + 'DescribeTaskDetail' => [ + 'summary' => '', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -14310,113 +13514,79 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56385', - 'abilityTreeNodes' => [ - 'FEATUREkvstore6TUUNS', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance whose backup files you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'BackupId', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '11611111', - ], + 'schema' => ['type' => 'string', 'required' => true, 'example' => '674546459', 'description' => '', 'title' => ''], ], [ - 'name' => 'BackupJobId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup task ID, returned by CreateBackup. If CreateBackup returns multiple BackupJobIds, you need to use this interface to query each of them separately.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10001', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The maximum number of entries per page. Valid values: 30, 50, 100, 200, and 300.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - '200', - '300', - '1000', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****'], + 'Status' => [ + 'type' => 'string', + 'description' => '', + 'enumValueTitles' => ['COMPLETED' => 'COMPLETED', 'RUNNING' => 'RUNNING'], + 'example' => 'RUNNING', + 'title' => '', + ], + 'BeginTime' => ['type' => 'string', 'description' => '', 'example' => '2026-05-12T07:18:57Z', 'title' => ''], ], + 'title' => '', + 'description' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"BeginTime\\": \\"2026-05-12T07:18:57Z\\"\\n}","type":"json"}]', + ], + 'DescribeZones' => [ + 'summary' => 'Queries the zones that support Tair (Redis OSS-compatible) in a specific region. To query the zones where Tair (Redis OSS-compatible) instances can be purchased, call the DescribeAvailableResource operation.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-11T10:00Z', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '56451', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + ], + 'parameters' => [ [ - 'name' => 'EndTime', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-14T18:00Z', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote', 'title' => ''], ], [ - 'name' => 'NeedAof', + 'name' => 'AcceptLanguage', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable append-only files (AOFs) persistence. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n" - ."\n" - .'> The default value is **0**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The display language of the zone names to return. Valid values:'."\n" + ."\n" + .'* **zh-CN** (default): Chinese'."\n" + .'* **en-US**: English'."\n", 'type' => 'string', 'required' => false, 'example' => 'en-US', 'default' => 'zh', 'title' => ''], ], ], 'responses' => [ @@ -14424,346 +13594,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '963C20F0-7CE1-4591-AAF3-6F3CD1CE****', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => 'The total number of backup files that were returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'FullStorageSize' => [ - 'description' => 'The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.'."\n" - ."\n" - .'> The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid full backups of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'LogStorageSize' => [ - 'description' => 'The size of the log backup file of the instance. Unit: bytes. This value is valid only when flashback is enabled.'."\n" - ."\n" - .'> The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid log backups of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5000', - ], - 'FreeSize' => [ - 'description' => 'This parameter does not take effect. Ignore this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'Backups' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1D42F072-72FE-4DC4-BB8E-64B1D298****', 'title' => ''], + 'Zones' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Backup' => [ - 'description' => 'The queried backup sets.'."\n", + 'KVStoreZone' => [ + 'description' => 'The queried zones.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The queried backup set.'."\n", 'type' => 'object', 'properties' => [ - 'BackupStatus' => [ - 'description' => 'The status of the backup. Valid values:'."\n" - ."\n" - .'* **Success**'."\n" - .'* **Failed**'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'BackupStartTime' => [ - 'description' => 'The start time of the backup.'."\n", - 'type' => 'string', - 'example' => '2019-03-14T05:28:50Z', - ], - 'BackupType' => [ - 'description' => 'The backup type. Valid values:'."\n" - ."\n" - .'* **FullBackup**'."\n" - .'* **IncrementalBackup**'."\n", - 'type' => 'string', - 'example' => 'FullBackup', - ], - 'BackupDownloadURL' => [ - 'description' => 'The public download URL of the backup file.'."\n", - 'type' => 'string', - 'example' => 'https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********', - ], - 'NodeInstanceId' => [ - 'description' => 'The node ID.'."\n" - ."\n" - .'> If the instance uses the standard architecture, this parameter returns the instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp10noxlhcoim2****-db-1', - ], - 'BackupEndTime' => [ - 'description' => 'The end time of the backup.'."\n", - 'type' => 'string', - 'example' => '2019-03-14T05:31:13Z', - ], - 'BackupId' => [ - 'description' => 'The ID of the backup file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '165*****50', - ], - 'BackupDBNames' => [ - 'description' => 'The names of the databases that are backed up. The default value is **all**, which indicates that all databases are backed up.'."\n", - 'type' => 'string', - 'example' => 'all', - ], - 'EngineVersion' => [ - 'description' => 'The engine version (major version) of the instance.'."\n", - 'type' => 'string', - 'example' => '4.0', - ], - 'BackupIntranetDownloadURL' => [ - 'description' => 'The internal download URL of the backup file.'."\n" - ."\n" - .'> You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the Tair instance. The ECS instance must belong to the same classic network or reside in the same virtual private cloud (VPC) as the Tair instance.', - 'type' => 'string', - 'example' => 'https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********', - ], - 'BackupSize' => [ - 'description' => 'The size of the backup file.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'BackupMode' => [ - 'description' => 'The backup mode. Valid values:'."\n" - ."\n" - .'* **Automated**'."\n" - .'* **Manual**'."\n", - 'type' => 'string', - 'example' => 'Automated', - ], - 'BackupMethod' => [ - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'* **Logical**'."\n" - .'* **Physical**'."\n", - 'type' => 'string', - 'example' => 'Physical', - ], - 'BackupJobID' => [ - 'description' => 'The ID of the backup task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24340', - ], - 'RecoverConfigMode' => [ - 'description' => 'If the backup includes account information, kernel parameters and whitelist details.', - 'type' => 'string', - 'example' => '{"whitelist":true,"config":true,"account":true}', - ], - 'ExpectExpireTime' => [ - 'type' => 'string', - ], + 'IsRds' => ['description' => 'Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is **true** in Tair (Redis OSS-compatible).', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ZoneId' => ['description' => 'The ID of the zone within the specified region.'."\n", 'type' => 'string', 'example' => 'cn-huhehaote-b', 'title' => ''], + 'Disabled' => ['description' => 'Indicates whether Tair (Redis OSS-compatible) instances can be created in the current zone. Valid values:'."\n" + ."\n" + .'* **true**: Tair (Redis OSS-compatible) instances cannot be created in the current zone.'."\n" + .'* **false**: Tair (Redis OSS-compatible) instances can be created in the current zone.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SwitchNetwork' => ['description' => 'Indicates whether the network type of the instance can be changed from the classic network to Virtual Private Cloud (VPC). Valid values:'."\n" + ."\n" + .'* **true**: The network type of the instance can be changed from the classic network to VPC.'."\n" + .'* **false**: The network type of the instance cannot be changed from the classic network to VPC.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ZoneName' => ['description' => 'The name of the zone within the specified region.'."\n", 'type' => 'string', 'example' => '呼和浩特 可用区B', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-huhehaote', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - ], - 'AccessDeniedDetail' => [ - 'description' => 'The following parameters are no longer used. Ignore the parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthAction' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'AuthPrincipalType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'NoPermissionType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - 'PolicyType' => [ - 'description' => 'This parameter is no longer used. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => '_', - ], - ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter StartTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter EndTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEngineVersion.Malformed', - 'errorMessage' => 'The Specified EngieVersion is not valid.', - ], - [ - 'errorCode' => 'InvalidStartTimeAndEndTime.Malformed', - 'errorMessage' => 'The end time must be greater than the start time.', - ], - [ - 'errorCode' => 'InvalidPageSize.Malformed', - 'errorMessage' => 'The specified parameter PageSize is not valid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"963C20F0-7CE1-4591-AAF3-6F3CD1CE****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 5,\\n \\"FullStorageSize\\": 1000,\\n \\"LogStorageSize\\": 5000,\\n \\"FreeSize\\": 100000,\\n \\"Backups\\": {\\n \\"Backup\\": [\\n {\\n \\"BackupStatus\\": \\"Success\\",\\n \\"BackupStartTime\\": \\"2019-03-14T05:28:50Z\\",\\n \\"BackupType\\": \\"FullBackup\\",\\n \\"BackupDownloadURL\\": \\"https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********\\",\\n \\"NodeInstanceId\\": \\"r-bp10noxlhcoim2****-db-1\\",\\n \\"BackupEndTime\\": \\"2019-03-14T05:31:13Z\\",\\n \\"BackupId\\": 0,\\n \\"BackupDBNames\\": \\"all\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"BackupIntranetDownloadURL\\": \\"https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/********\\",\\n \\"BackupSize\\": 1024,\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupMethod\\": \\"Physical\\",\\n \\"BackupJobID\\": 24340,\\n \\"RecoverConfigMode\\": \\"{\\\\\\"whitelist\\\\\\":true,\\\\\\"config\\\\\\":true,\\\\\\"account\\\\\\":true}\\",\\n \\"ExpectExpireTime\\": \\"2025-06-01T21:51:22Z\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"-\\",\\n \\"AuthPrincipalDisplayName\\": \\"-\\",\\n \\"AuthPrincipalOwnerId\\": \\"-\\",\\n \\"AuthPrincipalType\\": \\"-\\",\\n \\"EncodedDiagnosticMessage\\": \\"-\\",\\n \\"NoPermissionType\\": \\"-\\",\\n \\"PolicyType\\": \\"-\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeBackupsResponse>\\n <TotalCount>1</TotalCount>\\n <RequestId>721E2D39-351D-40E2-BF7C-B5075B0A****</RequestId>\\n <PageSize>30</PageSize>\\n <PageNumber>1</PageNumber>\\n <Backups>\\n <Backup>\\n <BackupMethod>Physical</BackupMethod>\\n <EngineVersion>4.0</EngineVersion>\\n <BackupIntranetDownloadURL>http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/********</BackupIntranetDownloadURL>\\n <BackupMode>Automated</BackupMode>\\n <BackupSize>2263040</BackupSize>\\n <BackupId>775661111</BackupId>\\n <NodeInstanceId>r-bp12fdcf4dea****</NodeInstanceId>\\n <BackupDBNames>all</BackupDBNames>\\n <BackupDownloadURL>http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/********</BackupDownloadURL>\\n <BackupEndTime>2020-10-30T17:31:26Z</BackupEndTime>\\n <BackupStartTime>2020-10-30T17:28:28Z</BackupStartTime>\\n <BackupType>FullBackup</BackupType>\\n <BackupJobID>27717</BackupJobID>\\n <BackupStatus>Success</BackupStatus>\\n </Backup>\\n </Backups>\\n</DescribeBackupsResponse>","errorExample":""}]', - 'title' => 'DescribeBackups', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1D42F072-72FE-4DC4-BB8E-64B1D298****\\",\\n \\"Zones\\": {\\n \\"KVStoreZone\\": [\\n {\\n \\"IsRds\\": true,\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"Disabled\\": true,\\n \\"SwitchNetwork\\": true,\\n \\"ZoneName\\": \\"呼和浩特 可用区B\\",\\n \\"RegionId\\": \\"cn-huhehaote\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'DescribeZones', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RestoreInstance' => [ - 'summary' => 'Restores the data in a backup file to a specified Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-05-08T09:40:55.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeZones'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [], + ], + 'DestroyInstance' => [ + 'summary' => 'Permanently destroys instances and their data backups in the recycle bin.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', + 'abilityTreeCode' => '56452', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'BackupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup file. You can call the [DescribeBackups](~~473823~~)operation to query the IDs of backup files.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '78241****', - 'default' => '0', - ], - ], - [ - 'name' => 'RestoreType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The restoration mode. Valid values:'."\n" - ."\n" - .'* **0** (default): The parameter is invalid.'."\n" - .'* **1**: restores data to a specified point in time. You can specify this value only if the [data flashback](~~148479~~) feature is enabled for the instance. If you specify this value, you also need to set the **RestoreTime** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'pattern' => '^\\d+$', - 'default' => '0', - 'enum' => [ - '0', - '1', - ], - ], - ], - [ - 'name' => 'RestoreTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time to which you want to restore data. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n" - ."\n" - .'> The point in time cannot be earlier than the point in time when the data flashback feature is enabled.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2021-07-06T07:25:57Z', - ], - ], - [ - 'name' => 'FilterKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The key that you want to restore. You can specify multiple keys. Separate multiple keys with commas (,). Regular expressions are supported.'."\n" - ."\n" - .'* If you do not specify this parameter, the entire instance is restored.'."\n" - .'* If you specify this parameter, only the involved keys are restored. Only classic instances support this feature.'."\n" - ."\n" - .'> In a regular expression, an asterisk (`*`) matches zero or more occurrences of a subexpression that occurs before. For example, if you set this parameter to `h.*llo`, strings such as `hllo` and `heeeello` are matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key:00000007198*', - ], - ], - [ - 'name' => 'TimeShift', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'When you restore a classic instance, regardless of whether you choose to restore all data or specific keys, you can apply an offset to the expiration time of the keys. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. A key expires after the remaining validity period of the key elapses based on the expiration offset time point.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This feature applies only to keys and does not work on elements in the self-developed data structures of Tair, such as fields in exHash and skeys in TairTS.'."\n" - ."\n" - .'* This time point must be between the specified flashback time point and the submission time of the data restoration task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2021-07-06T08:25:57Z', - ], + 'schema' => ['description' => 'The ID of the instance in the recycle bin.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-8vb2rhccnvd82f****', 'title' => ''], ], ], 'responses' => [ @@ -14771,468 +13680,231 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '870422DE-B64C-5A15-9C48-4A9485D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ServiceNotSupport', - 'errorMessage' => 'This service not supported.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Missing Required Param: BackupId or RestoreTime or RestoreType.', - ], - [ - 'errorCode' => 'ResroreParamNotMatch', - 'errorMessage' => 'restoreType is not match with backupId or restoreTime.', - ], - [ - 'errorCode' => 'InvalidRestoreTime.Format', - 'errorMessage' => 'Specified restore time is not valid.', - ], - [ - 'errorCode' => 'ZoneMigrationError.StillingRunning', - 'errorMessage' => 'Zone migration task is still running', - ], - [ - 'errorCode' => 'InvalidBinlog.NotValid', - 'errorMessage' => 'The available binlog is not valid in recovery time.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"870422DE-B64C-5A15-9C48-4A9485D1****\\"\\n}","type":"json"}]', + 'title' => 'DestroyInstance', + 'description' => 'Before you call this operation, instances must be available in the recycle bin. For more information, see [Instance recycle bin](~~86114~~).'."\n" + ."\n" + .'> Calling this operation permanently deletes the instances and their data backups in the recycle bin.'."\n" + ."\n" + .'**'."\n" + ."\n" + .'**Warning** After you destroy the instance, data in the instance is permanently deleted and can no longer be restored. Proceed with caution.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DestroyInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DestroyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":"{\\n\\"RequestId\\" : \\"AFA391BF-808F-4DA6-80A2-A382108A0945\\"\\n}"},{"type":"xml","example":"<RestoreInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>\\n</RestoreInstanceResponse>","errorExample":"<RestoreInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</RestoreInstanceResponse>"}]', - 'title' => 'RestoreInstance', - 'description' => '* If your instance is a [DRAM-based instance](~~126164~~) or a [persistent memory-optimized instance](~~183956~~) and has the [data flashback](~~148479~~) feature enabled, you can call this operation to restore the entire instance or specific keys to a specific point in time accurate to the second. This way, you can achieve more fine-grained data restoration.'."\n" - .'* For other types of instances, we recommend that you call the [CreateInstance](~~473757~~) or [CreateTairInstance](~~473770~~) operation to restore the backup data to a new instance.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeClusterBackupList' => [ - 'summary' => 'Queries the backup sets of a Tair (Redis OSS-compatible) cluster instance.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EnableAdditionalBandwidth' => [ + 'summary' => 'This operation adjusts the bandwidth for an ApsaraDB for Redis instance that uses the pay-as-you-go billing method. You need to specify only the InstanceId, NodeId (optional), Bandwidth, and ChargeType parameters.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '187788', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '56453', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-zhangjiakou', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-t4nj72oug5r5646qog', - ], + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'default' => 'youhuiquan_promotion_option_id_for_blank', 'example' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'ClusterBackupId', + 'name' => 'AutoPay', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup set ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cb-hyxdof5x9kqbtust'."\n", - ], + 'schema' => ['description' => 'Specifies whether to enable auto-payment. Valid values:'."\n" + ."\n" + .'- **true**: Enables auto-payment. This is the default. Ensure that your account has a sufficient balance.'."\n" + ."\n" + .'- **false**: Disables auto-payment. You must manually complete the payment.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'default' => 'true', 'example' => 'true', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* 30'."\n" - .'* 50'."\n" - .'* 100'."\n" - .'* 200'."\n" - .'* 300'."\n" - .'* 5'."\n" - .'* 10'."\n" - .'* 15'."\n" - .'* 20'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - '200', - '300', - '5', - '10', - '15', - '20', - ], - ], + 'schema' => ['description' => 'The ID of the data shard. You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query data shard IDs. Separate multiple data shard IDs with commas (,). You can also set this parameter to **All** to specify all data shards.'."\n" + ."\n" + .'> This parameter is required only when the instance uses the [cluster architecture](~~52228~~) or the [read/write splitting architecture](~~62870~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'default' => '', 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Bandwidth', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The amount of bandwidth to add, in MB/s. The value must be an integer greater than or equal to **0**. The maximum value is six times the default bandwidth of the instance type or a single data shard, with an upper limit of 192 MB/s. For example, if the default bandwidth of an instance is 10 MB/s, the valid values for this parameter are **0** to **60**.'."\n" + ."\n" + .'> - You can call the [DescribeRoleZoneInfo](~~473782~~) operation and check the value of the **DefaultBandWidth** parameter in the response to get the default maximum bandwidth. For more information about instance types, see [Instance types](~~26350~~).'."\n" + .'>'."\n" + .'> - If you specified multiple data shard IDs for the **NodeId** parameter, the bandwidth values that you specify for this parameter must correspond to the order of the data shard IDs. Separate multiple bandwidth values with commas (,).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '20', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'OrderTimeLength', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-12-03T07:01Z', - ], + 'schema' => ['description' => 'The subscription duration, in days. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.'."\n" + ."\n" + .'> To continue using the purchased bandwidth, you must call the [RenewAdditionalBandwidth](~~473804~~) operation to renew the bandwidth before it expires.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'default' => '1', 'example' => '30', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021-05-13T00:00:00Z', - ], + 'schema' => ['description' => 'The source of the call. This parameter is used for internal maintenance. Do not specify it.', 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], [ - 'name' => 'NoShardBackup', + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" + ."\n" + .'- **true**: Enables auto-renewal.'."\n" + ."\n" + .'- **false**: Disables auto-renewal. This is the default.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'AutoRenewPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The auto-renewal period, in months. Valid values: **1**, **2**, **3**, **4**, **5**, **6**, **7**, **8**, **9**, **12**, **24**, **36**, and **60**.'."\n" + ."\n" + .'> - This parameter is required only when **AutoRenew** is set to **true**.'."\n" + .'>'."\n" + .'> - After you set this parameter, you cannot query its value by calling API operations. To check this setting, go to the console. In the top navigation bar, choose **Billing** > **Renewal Management**. Then, in the **Instance ID** field, enter the instance ID followed by the `-bw` suffix (for example, r-bp1zxszhcgatnx\\*\\*\\*\\*-bw).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ChargeType', 'in' => 'query', - 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'Specifies whether to show backup set information for shards in the instance.'."\n" + 'description' => 'The billing method for the additional bandwidth. Valid values:'."\n" ."\n" - .'* **true**: does not show backup set information for shards in the instance.'."\n" - .'* **false** (default): shows backup set information for shards in the instance.'."\n" - ."\n" - .'Valid values:'."\n" + .'- **PrePaid**: subscription.'."\n" ."\n" - .'* True'."\n" - .'* False'."\n", + .'- **PostPaid**: pay-as-you-go. This is the only supported billing method.', 'type' => 'string', 'required' => false, - 'example' => 'True', - 'enum' => [ - 'True', - 'False', - ], + 'docRequired' => true, + 'enum' => ['PostPaid', 'PrePaid'], + 'example' => 'PrePaid', + 'title' => '', ], ], + [ + 'name' => 'BandWidthBurst', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C009DA42-3B19-5B81-963D-1509DE2408DD', - ], - 'MaxResults' => [ - 'title' => 'MaxResults本次请求所返回的最大记录条数', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'PageNumber' => [ - 'title' => '第几页,同请求参数', - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '一页最大多少条记录,同请求参数', - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'FullStorageSize' => [ - 'title' => '当前实例全量备份大小', - 'description' => 'The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.'."\n" - ."\n" - .'> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid full backups of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'LogStorageSize' => [ - 'title' => '当前实例日志备份大小', - 'description' => 'The size of the log backup file of the instance. Unit: bytes. This parameter is valid only when flashback is enabled.'."\n" - ."\n" - .'> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid log backups of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5000', - ], - 'FreeSize' => [ - 'title' => '当前实例备份免费量', - 'description' => 'This parameter does not take effect. Ignore this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'ClusterBackups' => [ - 'title' => '集群备份集列表,一个集群备份里面包含各个节点的备份集', - 'description' => 'The backup sets of the instance. A backup contains the backup sets of all shards in the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The backup set of the instance. A backup contains the backup sets of all shards in the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'IsAvail' => [ - 'title' => '集群备份集是否有效,子节点的备份集未完成或者失败时,为0', - 'description' => 'Indicates whether the backup set is valid. A value of 0 indicates that shard-level backups failed or have not been completed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ClusterBackupId' => [ - 'title' => '集群备份集ID', - 'description' => 'The ID of the backup set.'."\n", - 'type' => 'string', - 'example' => 'cb-zmdqj2m3xyxjtdt0', - ], - 'ClusterBackupStatus' => [ - 'title' => '集群备份集状态', - 'description' => 'The status of the backup set.'."\n" - ."\n" - .'* OK'."\n" - .'* RUNNING'."\n" - .'* Failed'."\n", - 'type' => 'string', - 'example' => 'OK', - ], - 'ClusterBackupSize' => [ - 'title' => '集群备份集大小', - 'description' => 'The size of the backup set.'."\n", - 'type' => 'string', - 'example' => '2048', - ], - 'ClusterBackupStartTime' => [ - 'description' => 'The start time of the backup.'."\n", - 'type' => 'string', - 'example' => '2024-01-10T17:21:25Z', - ], - 'ClusterBackupEndTime' => [ - 'description' => 'The end time of the backup.'."\n", - 'type' => 'string', - 'example' => '2024-01-10T17:21:55Z', - ], - 'ClusterBackupMode' => [ - 'description' => 'The backup mode.'."\n", - 'type' => 'string', - 'example' => 'Automated', - ], - 'ShardClassMemory' => [ - 'title' => '做全量备份时,当时单个DB节点的内存规格大小,单位为MB', - 'description' => 'The memory size of a single shard during a full backup. Unit: MB.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'Backups' => [ - 'title' => '单个集群备份集下,各个子节点的备份集集合', - 'description' => 'The backup sets of all shards in the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The queried backup set.'."\n", - 'type' => 'object', - 'properties' => [ - 'BackupId' => [ - 'description' => 'The ID of the backup file.'."\n", - 'type' => 'string', - 'example' => '514645788', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'hins100322105_data_20240108012127.rdb', - ], - 'BackupDownloadURL' => [ - 'description' => 'The public download URL of the backup file.'."\n", - 'type' => 'string', - 'example' => 'http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb', - ], - 'BackupIntranetDownloadURL' => [ - 'description' => 'The internal download URL of the backup file.'."\n" - ."\n" - .'> You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the Tair (Redis OSS-compatible) instance. The ECS instance must reside in the same virtual private cloud (VPC) as the Tair (Redis OSS-compatible) instance.'."\n", - 'type' => 'string', - 'example' => 'http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb', - ], - 'RecoverConfigMode' => [ - 'description' => 'This parameter does not take effect. Ignore this parameter.'."\n", - 'type' => 'string', - 'example' => 'null', - ], - 'BackupStartTime' => [ - 'description' => 'The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2024-01-09T17:21:30Z', - ], - 'BackupEndTime' => [ - 'description' => 'The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2024-01-09T17:21:57', - ], - 'BackupSize' => [ - 'description' => 'The size of the backup file. Unit: bytes.'."\n", - 'type' => 'string', - 'example' => '1024', - ], - 'IsAvail' => [ - 'description' => 'Indicates whether the backup set is available. Valid values:'."\n" - ."\n" - .'* **0**: unavailable'."\n" - .'* **1**: available'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'BackupStatus' => [ - 'description' => 'The status of the backup. Valid values:'."\n" - ."\n" - .'* **OK**'."\n" - .'* **ERROR**'."\n", - 'type' => 'string', - 'example' => 'OK', - ], - 'BackupName' => [ - 'description' => 'The name of the backup.'."\n", - 'type' => 'string', - 'example' => 'hins100322105_data_20240110012135.rdb', - ], - 'Engine' => [ - 'description' => 'The database engine. The return value is **redis**.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'ExtraInfo' => [ - 'description' => 'The additional information.'."\n", - 'type' => 'object', - 'properties' => [ - 'CustinsDbVersion' => [ - 'description' => 'The engine version.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - ], - ], - ], - ], - ], - 'Progress' => [ - 'title' => '备份进度,仅正在运行的备份才会显示进度', - 'description' => 'The backup progress. The system displays only the progress of running backup tasks.'."\n", - 'type' => 'string', - 'example' => '100%', - ], - 'ExpectExpireTime' => [ - 'type' => 'string', - ], - ], - ], - ], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '2084452111111', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => 'The response parameters.', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"2084452111111\\",\\n \\"RequestId\\": \\"D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', + 'title' => 'EnableAdditionalBandwidth', + 'description' => 'If auto scaling of bandwidth is enabled when you call this operation, the auto scaling feature takes precedence. When the bandwidth scales back, it reverts to the default bandwidth of the instance type. For more information about the feature\'s limitations, billing details, and FAQ, see [Adjust instance bandwidth](~~102588~~).'."\n" + ."\n" + .'> Before you call this operation, you can call the [DescribeRoleZoneInfo](~~473782~~) operation to query the current bandwidth for each data node of the instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-12-12T02:45:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-06T08:07:31.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C009DA42-3B19-5B81-963D-1509DE2408DD\\",\\n \\"MaxResults\\": 4,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"FullStorageSize\\": 1000,\\n \\"LogStorageSize\\": 5000,\\n \\"FreeSize\\": 100000,\\n \\"ClusterBackups\\": [\\n {\\n \\"IsAvail\\": 1,\\n \\"ClusterBackupId\\": \\"cb-zmdqj2m3xyxjtdt0\\",\\n \\"ClusterBackupStatus\\": \\"OK\\",\\n \\"ClusterBackupSize\\": \\"2048\\",\\n \\"ClusterBackupStartTime\\": \\"2024-01-10T17:21:25Z\\",\\n \\"ClusterBackupEndTime\\": \\"2024-01-10T17:21:55Z\\",\\n \\"ClusterBackupMode\\": \\"Automated\\",\\n \\"ShardClassMemory\\": 1024,\\n \\"Backups\\": [\\n {\\n \\"BackupId\\": \\"514645788\\",\\n \\"InstanceName\\": \\"r-bp1y4is8svonly****-db-0\\",\\n \\"BackupDownloadURL\\": \\"http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb\\",\\n \\"BackupIntranetDownloadURL\\": \\"http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb\\",\\n \\"RecoverConfigMode\\": \\"null\\",\\n \\"BackupStartTime\\": \\"2024-01-09T17:21:30Z\\",\\n \\"BackupEndTime\\": \\"2024-01-09T17:21:57\\",\\n \\"BackupSize\\": \\"1024\\",\\n \\"IsAvail\\": \\"1\\",\\n \\"BackupStatus\\": \\"OK\\",\\n \\"BackupName\\": \\"hins100322105_data_20240110012135.rdb\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ExtraInfo\\": {\\n \\"CustinsDbVersion\\": \\"5.0\\"\\n }\\n }\\n ],\\n \\"Progress\\": \\"100%\\",\\n \\"ExpectExpireTime\\": \\"2025-06-01T21:51:22Z\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeClusterBackupList', - 'description' => 'This operation is applicable only to cloud-native instances.'."\n", - ], - 'DescribeDBInstanceMonitor' => [ - 'summary' => 'Queries the collection frequency of monitoring data for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableAdditionalBandwidth'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:EnableAdditionalBandwidth', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'FlushExpireKeys' => [ + 'summary' => 'Clears all expired keys in a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56393', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', - ], - ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'The time when you want to delete the expired keys. Default value: Immediately. Valid values:'."\n" + ."\n" + .'* **Immediately**: deletes the keys immediately.'."\n" + .'* **MaintainTime**: deletes the keys during the maintenance window.'."\n" + ."\n" + .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1xp9esa45nll****', + 'required' => false, + 'example' => 'Immediately', + 'default' => '0', + 'enum' => ['Immediately', 'MaintainTime'], + 'title' => '', ], ], ], @@ -15241,312 +13913,178 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Interval' => [ - 'description' => 'The collection frequency of the monitoring data. Unit: second.'."\n", - 'type' => 'string', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '276F582D-C6B2-519C-A5ED-2A92BB15EC07', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '82E30AB7-E3A4-46AC-88A0-3E4DCDC5****', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '21986****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": \\"5\\",\\n \\"RequestId\\": \\"276F582D-C6B2-519C-A5ED-2A92BB15EC07\\"\\n}","type":"json"}]', - 'title' => 'DescribeDBInstanceMonitor', - ], - 'DescribeMonitorItems' => [ - 'summary' => 'Queries the metrics of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"82E30AB7-E3A4-46AC-88A0-3E4DCDC5****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"21986****\\"\\n}","errorExample":""},{"type":"xml","example":"<FlushExpireKeysResponse>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>82E30AB7-E3A4-46AC-88A0-3E4DCDC5****</RequestId>\\n <TaskId>21986****</TaskId>\\n</FlushExpireKeysResponse>","errorExample":""}]', + 'title' => 'FlushExpireKeys', + 'description' => 'For more information about how to clear the expired keys in the Tair (Redis OSS-compatible) console, see [Clear data](~~43881~~).'."\n" + ."\n" + .'> Expired keys cannot be recovered after they are deleted. Exercise caution when you call this operation.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:32:40.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'FlushExpireKeys'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushExpireKeys', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], + ], + ], + 'FlushInstance' => [ + 'summary' => 'Clears the data of a Tair (Redis OSS-compatible) instance. The cleared data cannot be restored.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56416', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8BEB2618-9517-43F3-A233-E0B34512****', - ], - 'MonitorItems' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'KVStoreMonitorItem' => [ - 'description' => 'The returned metrics.'."\n" - ."\n" - .'> * **memoryUsage**, **GetQps**, and **PutQps** are supported only by Tair instances that use Redis 4.0 or later. **GetQps** and **PutQps** require the latest minor version. You can upgrade the major version or minor version of the instance as needed. For more information, see [Upgrade the major version](~~101764~~) and [Upgrade the minor version](~~56450~~).'."\n" - .'> * When you use instances of Redis 2.8, if the **hit_rate** metric is not displayed, you must upgrade the minor version of the instance. For more information, see [Upgrade the minor version](~~56450~~).', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'Counts/s', - ], - 'MonitorKey' => [ - 'description' => 'The metric.'."\n", - 'type' => 'string', - 'example' => 'select', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The operation that you want to perform. Set the value to **FlushInstance**.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8BEB2618-9517-43F3-A233-E0B34512****\\",\\n \\"MonitorItems\\": {\\n \\"KVStoreMonitorItem\\": [\\n {\\n \\"Unit\\": \\"Counts/s\\",\\n \\"MonitorKey\\": \\"select\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeMonitorItemsResponse>\\n\\t<RequestId>8BEB2618-9517-43F3-A233-E0B34512****</RequestId>\\n\\t<MonitorItems>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>discard</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zcount</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>select</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>sunionstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zunionstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>del</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>zinterstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>echo</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>hscan</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>psubscribe</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>type</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>sinterstore</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>multi</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>randomkey</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t\\t<KVStoreMonitorItem>\\n\\t\\t\\t<Unit>Counts/s</Unit>\\n\\t\\t\\t<MonitorKey>setex</MonitorKey>\\n\\t\\t</KVStoreMonitorItem>\\n\\t</MonitorItems>\\n</DescribeMonitorItemsResponse>","errorExample":"{\\n \\"MonitorItems\\" : {\\n \\"MonitorItem\\" : [{\\n \\"MonitorKey\\" : \\"GetQ\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }, {\\n \\"MonitorKey\\" : \\"Flush\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }, {\\n \\"MonitorKey\\" : \\"UsedMemCache\\",\\n \\"Unit\\" : \\"Bytes\\"\\n }, {\\n \\"MonitorKey\\" : \\"ReplaceQ\\",\\n \\"Unit\\" : \\"Counts/s\\"\\n }\\n ]\\n },\\n \\"RequestId\\" : \\"B906A893-58A3-4644-AC2D-A2C9B08706C1\\"\\n}"}]', - 'title' => 'DescribeMonitorItems', - 'description' => '> To improve user experience, Tair has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see [The DescribeMonitorItems operation of Tair (Redis OSS-compatible) is phased out](~~189893~~).'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7\\"\\n}"},{"type":"xml","example":"<FlushInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</FlushInstanceResponse>","errorExample":"<FlushInstanceResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</FlushInstanceResponse>"}]', + 'title' => 'FlushInstance', + 'description' => '该API对应的控制台操作请参见[清除数据](~~43881~~)。'."\n" ."\n" - .'After you call this operation to retrieve a list of metrics for a specified instance, you can call the [DescribeHistoryMonitorValues](~~473827~~) operation to query the monitoring history of the instance.', + .'> 调用此API删除数据前请妥善备份数据或确认数据无需备份。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeHistoryMonitorValues' => [ - 'summary' => 'Queries the performance monitoring data of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-04-26T08:33:34.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FlushInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'FlushInstanceForDB' => [ + 'summary' => 'Cleans the data of specified databases in a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56402', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', - ], - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-11-06T00:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" - ."\n" - .'> You can query the monitoring data of the previous month. The maximum time range that you can specify for a query is seven days.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-11-06T00:30:00Z', - ], - ], - [ - 'name' => 'IntervalForHistory', - 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated. Set the value to `01m`.'."\n" - ."\n" - .'The **interval at which a query is performed** is automatically determined based on the start time and end time of the query. For example, if the query time range is less than or equal to 10 minutes, data is aggregated at a frequency of every 5 seconds and the results are returned at 5-second intervals.'."\n" - ."\n" - .'> * The query result is aligned with the data aggregation frequency. If the specified StartTime value does not coincide with a point in time for data aggregation, the system returns the latest point in time for data aggregation as the first point in time. For example, if you set the StartTime parameter to 2022-01-20T12:01:48Z, the first point in time returned is 2022-01-20T12:01:45Z.'."\n" - .'> * If the number of data shards is greater than or equal to 32, the minimum data aggregation frequency is 1 minute.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '01m', - 'enum' => [ - '01m', - '05m', - '15m', - '60m', - ], - ], - ], - [ - 'name' => 'MonitorKeys', - 'in' => 'query', - 'schema' => [ - 'description' => 'The monitoring metrics. Separate the metrics with commas (,). Take CpuUsage as an example:'."\n" - ."\n" - .'* Cluster or read/write splitting instances'."\n" - ."\n" - .' * To query the overall CPU utilization of all data nodes, specify **CpuUsage$db**.'."\n" - .' * To query the CPU utilization of a single data node, specify **CpuUsage** and NodeId.'."\n" - ."\n" - .'* Standard master-replica instances: Specify only **CpuUsage**.'."\n" - ."\n" - .'For more information about monitoring metrics and their descriptions, see [Additional description of MonitorKeys](https://www.alibabacloud.com/help/zh/redis/developer-reference/api-r-kvstore-2015-01-01-describehistorymonitorvalues-redis#monitorKeys-note).'."\n" - ."\n" - .'> * This parameter is empty by default, which indicates that the UsedMemory and quotaMemory metrics are returned.'."\n" - .'> * To ensure query efficiency, we recommend that you specify no more than five metrics for a single node at a time, and specify only a single metric when you query aggregate metrics.', - 'type' => 'string', - 'required' => false, - 'example' => 'memoryUsage', - ], - ], - [ - 'name' => 'NodeId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node in the instance. You can set this parameter to query the data of a specified node.'."\n" - ."\n" - .'* This parameter is available only for read/write splitting or cluster instances of Tair.'."\n" - ."\n" - .'* You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query node IDs.', - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0#1679****', - ], - ], - [ - 'name' => 'NodeRole', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you want to query the metrics of the read replicas in a cloud-native read/write splitting instance, you must set this parameter to **READONLY** and specify **NodeId**.'."\n" - ."\n" - .'> In other cases, you do not need to specify this parameter or you can set this parameter to **MASTER**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'READONLY', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'DbIndex', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The index number of the database. Valid values: 0 to 255.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response body.'."\n", 'type' => 'object', 'properties' => [ - 'MonitorHistory' => [ - 'description' => 'The monitoring information returned in the JSON format. For more information, see [View performance monitoring data](~~122091~~).'."\n" - ."\n" - .'* Only metrics whose values are not 0 are returned. This improves data transmission efficiency. Metrics that are not displayed are represented by the **0** default value.'."\n" - ."\n" - .'* The query result is aligned with the data aggregation frequency. If the specified time range to query is less than or equal to 10 minutes and the data is aggregated once every 5 seconds, query results are returned at an interval of 5 seconds. If the specified StartTime value does not coincide with a point in time for data aggregation, the system returns the latest point in time for data aggregation as the first point in time. For example, if you set the StartTime parameter to 2022-01-20T12:01:48Z, the first point in time returned is 2022-01-20T12:01:45Z.', - 'type' => 'string', - 'example' => '"{\\"2022-11-06T00:00:00Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:05Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:10Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:15Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:20Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:25Z\\":{\\"memoryUsage\\":\\"6.67\\"}}"', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F0997EE8-F4C2-4503-9168-85177ED7****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****'], ], - 'description' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter "StartTime" is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter "EndTime" is not valid.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', + 'title' => 'FlushInstanceForDB', + 'description' => 'Each Tair (Redis OSS-compatible) instance can contain up to 256 databases named from DB0 to DB255. Each database does not have a separate memory usage limit. The memory capacity that a database can use is subject to the total memory limit of the instance. You can execute the `SELECT` statement to switch between databases. For more information, see [What is the size of each database on a Tair (Redis OSS-compatible) instance, and how can I choose databases?](~~38688~~)'."\n" + ."\n" + .'> This operation is available only for cloud-native instances that use cloud disks.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FlushInstanceForDB'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushInstanceForDB', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"MonitorHistory\\": \\"\\\\\\"{\\\\\\\\\\\\\\"2022-11-06T00:00:00Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:05Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:10Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:15Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:20Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"2022-11-06T00:00:25Z\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"memoryUsage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.67\\\\\\\\\\\\\\"}}\\\\\\"\\",\\n \\"RequestId\\": \\"F0997EE8-F4C2-4503-9168-85177ED7****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeHistoryMonitorValuesResponse>\\n <MonitorHistory>{\\"2022-11-06T00:00:00Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:05Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:10Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:15Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:20Z\\":{\\"memoryUsage\\":\\"6.67\\"},\\"2022-11-06T00:00:25Z\\":{\\"memoryUsage\\":\\"6.67\\"}}</MonitorHistory>\\n <RequestId>88523C30-8416-56E8-AAEF-64F849803C7C</RequestId>\\n</DescribeHistoryMonitorValuesResponse>","errorExample":""}]', - 'title' => 'DescribeHistoryMonitorValues', - 'description' => 'You can also query the performance monitoring data of an instance in the Tair console. For more information, see [Metrics](~~43887~~).', - 'requestParamsDescription' => '<h3 id="monitorKeys-note"> Additional description of MonitorKeys </h3>'."\n" - ."\n" - .'When you call the operation, you must specify the parameters in the <b>MonitorKeys</b> column of the following table. The system returns submetrics. General monitoring metrics and command-related monitoring metrics are available for instances.'."\n" - .'#### General monitoring metrics'."\n" - .'In this example, the CpuUsage metric is used to describe how to use a general monitoring metric.'."\n" - .'* Cluster or read/write splitting instances:'."\n" - .' <ul id="856d247230qr6"><li id="856d247030hj3"> To query the overall CPU utilization of all data nodes, you must specify <b>CpuUsage$db</b>.</li><li id="c0832e1030amj"> To query the CPU utilization of all proxy nodes, you must specify <b>CpuUsage$proxy</b>.</li><li id="d57d34a030dzn"> To query the CPU utilization of a single data node or proxy node, you must specify <b>CpuUsage</b> and NodeId.</li></ul>'."\n" - ."\n" - .'* Standard master-replica instances: Specify only **CpuUsage**.'."\n" - ."\n" - .'<table id="c63b44c030kq4" tablewidth="747" tablecolswidth="133 150 81 521 134" autofit="false"><colgroup colwidth="0.89*" style="width:17.80%"></colgroup><colgroup colwidth="1.01*" style="width:20.08%"></colgroup><colgroup colwidth="0.54*" style="width:10.84%"></colgroup><colgroup colwidth="3.5*" style="width:69.75%"></colgroup><colgroup colwidth="0.9*" style="width:17.94%"></colgroup><tbody><tr id="c63b6bd030k9l"><td id="c63b6bd1306my" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="c63b6bd230r3j"><b>MonitorKeys</b></p></td><td id="c63b6bd330km4" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="c63b6bd430i9j"><b> Submetric</b></p></td><td id="c63b6bd530kvm" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="c63b6bd630w20"><b>Unit</b></p></td><td id="c63b6bd73070x" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="c63b6bd830u1v"><b>Description</b></p></td><td id="f1c6459030y64" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="f1c64591304n3"><b>Applicable scope</b></p></td></tr><tr id="d3bb144030wtu"><td id="d3bb144130cyw" colspan="1" rowspan="1"><p id="e971db2030kck">CpuUsage</p></td><td id="d3bb3b5130bwo" colspan="1" rowspan="1"><p id="d92caa1030n9z">CpuUsage</p></td><td id="d3bb3b5330ymf" colspan="1" rowspan="1"><p id="da72e5b03052x">%</p></td><td id="495781e07a4xf" colspan="1" rowspan="1"><p id="495781e17ano3"> The CPU utilization. Valid values: 0 to 100.</p><note type="note" id="8ce84d307anl4"><p id="8ce7ff107aagm"> If the RedisCpuUsage parameter is specified or returned for your instance in the previous request, you can continue to use the parameter.</p></note></td><td id="495781e27apho" colspan="1" rowspan="1"><ul id="7dcde0807abib"><li id="7dcde0817alfq"><p id="7dcde0827a5ou">DB</p></li><li id="1376630030px9"><p id="13752a80300e0"> Database aggregation </p></li><li id="16e9dee030nde"><p id="16e91b9030u73">Proxy</p></li><li id="1a97a4a030chn"><p id="1a9708603072u"> Proxy node aggregation </p></li></ul></td></tr><tr id="c63b6be730754"><td id="c63b6be830jua" colspan="1" rowspan="1"><p id="c63b6be930yxk">MemoryUsage</p></td><td id="c63b6bea307ps" colspan="1" rowspan="1"><p id="c63b6beb30ant">memoryUsage</p></td><td id="c63b6bec30ae9" colspan="1" rowspan="1"><p id="c63b6bed30ubt">%</p></td><td id="c63b6bee30man" colspan="1" rowspan="1"><p id="c63b6bef30yra">The memory usage.</p></td><td id="f1c66ca4308je" colspan="1" rowspan="1"><ul id="5347dc6030gnj"><li id="5347dc61306lq"><p id="5347dc6230hvz">DB</p></li><li id="5347dc63303ee"><p id="5347dc6430rgd">Database aggregation </p></li></ul></td></tr><tr id="c63b6bf0306xf"><td id="c63b6bf1305zy" colspan="1" rowspan="1"><p id="c63b6bf230x9h">quotaMemory</p></td><td id="c63b6bf33006m" colspan="1" rowspan="1"><p id="c63b6bf430flh">quotaMemory</p></td><td id="c63b6bf530j2x" colspan="1" rowspan="1"><p id="c63b6bf630rz1">Bytes</p></td><td id="c63b6bf73034k" colspan="1" rowspan="1"><p id="c63b6bf8305yd">The total memory of the data shard.</p></td><td id="f1c66ca630wx6" colspan="1" rowspan="1"><ul id="82644150307ze"><li id="8264686030684"><p id="8264686130nwh">DB</p></li><li id="8264686230z4n"><p id="8264686330tj5">DB aggregation</p></li></ul></td></tr><tr id="c63b6bf930dnw" style="height:42px"><td id="c63b6bfa30gnm" colspan="1" rowspan="1"><p id="c63b6bfb30mix">UsedMemory</p></td><td id="c63b6bfc30ki8" colspan="1" rowspan="1"><p id="c63b6bfd30mpo">UsedMemory</p></td><td id="c63b6bfe304te" colspan="1" rowspan="1"><p id="c63b6bff303op">Bytes</p></td><td id="c63b6c0030ffn" colspan="1" rowspan="1"><p id="c63b6c01308w3">The amount of used memory, which includes the memory consumed by data and cache.</p></td><td id="f1c66ca830tap" colspan="1" rowspan="1"><ul id="c29360803068r"><li id="c2936081307in"><p id="c293608230qaz">DB</p></li><li id="c293608330wte"><p id="c293608430n66">DB aggregation</p></li></ul></td></tr><tr id="c63b6c0230kh0"><td id="c63b6c0330f6d" colspan="1" rowspan="1"><p id="c63b6c0430osx">Tair_PmemUsage</p></td><td id="c63b6c0530kpz" colspan="1" rowspan="1"><p id="c63b6c0630sv3">PmemUsage</p></td><td id="c63b6c0730np7" colspan="1" rowspan="1"><p id="c63b6c0830h5v">%</p></td><td id="c63b6c0930q11" colspan="1" rowspan="3"><p id="c63b6c0a305xq">The Persistent Memory (PMem) usage, the amount of PMem used, and the total amount of PMem.</p><p id="c63b6c0b30vcf"> These submetrics are available only for persistent memory-optimized instances.</p></td><td id="f1c66caa30dqz" colspan="1" rowspan="3"><ul id="e083810030msg"><li id="e083810130pze"><p id="e083810230xnn">DB</p></li><li id="e083810330b1s"><p id="e0838104305mo">DB aggregation</p></li></ul></td></tr><tr id="c63b92e030rk9" style="height:42px"><td id="c63b92e1309h5" colspan="1" rowspan="2"><p id="c63b92e230b26">Tair_Pmem</p></td><td id="c63b92e330jq3" colspan="1" rowspan="1"><p id="c63b92e4304y6">PmemUsed</p></td><td id="c63b92e530r56" colspan="1" rowspan="1"><p id="c63b92e630cel">Bytes</p></td></tr><tr id="c63b92e9307gl"><td id="c63b92ec303py" colspan="1" rowspan="1"><p id="c63b92ed30ap4">PmemQuota</p></td><td id="c63b92ee30b4c" colspan="1" rowspan="1"><p id="c63b92ef3016m">Bytes</p></td></tr><tr id="c63b92f230gec" style="height:42px"><td id="c63b92f330zt3" colspan="1" rowspan="3"><p id="c63b92f430yxi">Redis_DetailedSpaceUsage</p></td><td id="c63b92f530gzw" colspan="1" rowspan="1"><p id="c63b92f630xvv">ins_size</p></td><td id="c63b92f7304c4" colspan="1" rowspan="1"><p id="c63b92f8302j6">MB</p></td><td id="c63b92f930tr5" colspan="1" rowspan="3"><p id="c63b92fa30hpm"> The total disk space used by the instance, the disk space used by data files such as append-only files (AOFs) and Redis Database (RDB) files, and the disk space used by logs such as active logs. These submetrics are available only for DRAM-based instances that are deployed in classic (local disk-based) mode.</p></td><td id="f1c693b130n84" colspan="1" rowspan="3"><ul id="fee907503078b"><li id="fee9075130tp4"><p id="fee9075230x12">DB</p></li><li id="fee9075330zv2"><p id="fee90754303ia">DB aggregation</p></li></ul></td></tr><tr id="c63b92fb30za1"><td id="c63b92fe30l3q" colspan="1" rowspan="1"><p id="c63b92ff30fl1">data_size</p></td><td id="c63b930030gns" colspan="1" rowspan="1"><p id="c63b930130hyk">MB</p></td></tr><tr id="c63b930430qmp"><td id="c63b930730u5l" colspan="1" rowspan="1"><p id="c63b930830bcr">log_size</p></td><td id="c63b930930d89" colspan="1" rowspan="1"><p id="c63b930a30ppb">MB</p></td></tr><tr id="c63b930d30bdl"><td id="c63b930e3035s" colspan="1" rowspan="6"><p id="c63b930f308tv">Redis_Memory_Monitor</p></td><td id="c63b931030qp5" colspan="1" rowspan="1"><p id="c63b9311308tl">used_memory_rss</p></td><td id="c63b931230f8u" colspan="1" rowspan="1"><p id="c63b931330qjm">Bytes</p></td><td id="c63b931430ad6" colspan="1" rowspan="1"><p id="c63b9315303d0"> The physical memory used by the process, which is the memory allocated by the operating system to Tair.</p></td><td id="f1c693b7301xs" colspan="1" rowspan="6"><ul id="139f4e2230606"><li id="139f4e2030c2g"><p id="11a6645030qym">DB</p></li></ul></td></tr><tr id="c63b9316306e9"><td id="c63b931930u1x" colspan="1" rowspan="1"><p id="c63b931a30rsw">used_memory_lua</p></td><td id="c63b931b30fz2" colspan="1" rowspan="1"><p id="c63b931c30ubl">Bytes</p></td><td id="c63b931d30y0i" colspan="1" rowspan="1"><p id="c63b931e300k6"> The amount of memory used by Lua scripts.</p></td></tr><tr id="c63b931f30w9u"><td id="c63b932230xed" colspan="1" rowspan="1"><p id="c63b932330q5c">used_memory_startup</p></td><td id="c63bb9f0307de" colspan="1" rowspan="1"><p id="c63bb9f1309gw">Bytes</p></td><td id="c63bb9f230kp8" colspan="1" rowspan="1"><p id="c63bb9f330xgj"> The amount of memory used by Tair during startup.</p></td></tr><tr id="c63bb9f430avn"><td id="c63bb9f7303gk" colspan="1" rowspan="1"><p id="c63bb9f8309qy">lazyfree_pending_objects</p></td><td id="c63bb9f930xt1" colspan="1" rowspan="1"><p id="c63bb9fa303td">Counts</p></td><td id="c63bb9fb30d3x" colspan="1" rowspan="1"><p id="c63bb9fc30y3s"> The number of keys pending to be reclaimed when Tair performs lazy free operations.</p></td></tr><tr id="c63bb9fd30w5v"><td id="c63bba0030arw" colspan="1" rowspan="1"><p id="c63bba0130183">used_memory_overhead</p></td><td id="c63bba0230ig5" colspan="1" rowspan="1"><p id="c63bba0330xo8">Bytes</p></td><td id="c63bba0430m33" colspan="1" rowspan="1"><p id="c63bba0530pat"> The amount of memory that is used to support the internal mechanisms of Tair for maintaining datasets, including the output buffers, query buffers, and AOFs for all clients.</p></td></tr><tr id="c63bba063012j"><td id="c63bba0930psb" colspan="1" rowspan="1"><p id="c63bba0a30ll1">used_memory_dataset</p></td><td id="c63bba0b30kd8" colspan="1" rowspan="1"><p id="c63bba0c30rcu">Bytes</p></td><td id="c63bba0d30e0b" colspan="1" rowspan="1"><p id="c63bba0e30jxq"> The amount of memory used by data.</p></td></tr><tr id="c63bba0f309w3"><td id="c63bba1030jim" colspan="1" rowspan="4"><p id="c63bba11306w7">UsedQPS</p></td><td id="c63bba1230nea" colspan="1" rowspan="1"><p id="c63bba13302nv">TotalQps</p></td><td id="c63bba1430pbc" colspan="1" rowspan="1"><p id="c63bba1530k1p">Counts/s</p></td><td id="c63bba16301mx" colspan="1" rowspan="1"><p id="c63bba1730ci1"> The total number of requests per second, including both read and write requests.</p></td><td id="f1c6bac430r6i" colspan="1" rowspan="4"><ul id="36e9baa030srl"><li id="36e9baa13016k"><p id="36e9baa2301ka">DB</p></li><li id="36e9baa330341"><p id="36e9baa4308sa">DB aggregation</p></li><li id="36e9baa530i8d"><p id="36e9baa63034k">Proxy</p></li><li id="36e9baa730i1k"><p id="36e9baa83063g">Proxy aggregation</p></li></ul></td></tr><tr id="c63bba1830rdd"><td id="c63bba1b309sv" colspan="1" rowspan="1"><p id="c63bba1c30vpu">GetQps</p></td><td id="c63bba1d30r8l" colspan="1" rowspan="1"><p id="c63bba1e30ju0">Counts/s</p></td><td id="c63bba1f30vkk" colspan="1" rowspan="2"><p id="c63bba2030fii"> The number of read requests per second and the number of write requests per second. These submetrics are available only for instances that run Redis 4.0 or later.</p></td></tr><tr id="c63bba2130q03"><td id="c63bba2430ja6" colspan="1" rowspan="1"><p id="c63bba2530d44">PutQps</p></td><td id="c63bba26304v6" colspan="1" rowspan="1"><p id="c63bba27302aq">Counts/s</p></td></tr><tr id="c63be10030y6i"><td id="c63be10330xbq" colspan="1" rowspan="1"><p id="c63be10430ydt">OtherOps</p></td><td id="c63be10530bvb" colspan="1" rowspan="1"><p id="c63be10630hz2">Counts/s</p></td><td id="c63be10730h2d" colspan="1" rowspan="1"><p id="c63be108304i4"> The number of non-read/write requests per second, such as PING, INFO, SELECT, and AUTH requests. For instances that contain proxy nodes, the OtherOps submetric indicates only the number of INFO requests per second.</p></td></tr><tr id="c63be11230bz2"><td id="c63be11330ikn" colspan="1" rowspan="1"><p id="c63be114304g1">ConnectionUsage</p></td><td id="c63be11530vwn" colspan="1" rowspan="1"><p id="c63be11630hlm">connectionUsage</p></td><td id="c63be11730x08" colspan="1" rowspan="1"><p id="c63be11830sc8">%</p></td><td id="c63be1193041o" colspan="1" rowspan="1"><p id="c63be11a300wu"> The connection usage, which is calculated by using the following formula: Number of used connections/Number of total supported connections. When the client connects to the cluster instance by using a private endpoint, this submetric is meaningful. </p></td><td id="f1c6e1d030254" colspan="1" rowspan="2"><ul id="5f663b90306sr"><li id="5f663b9130jjy"><p id="5f663b9230avr">DB</p></li><li id="5f663b9330qyp"><p id="5f663b9430ig1">DB aggregation</p></li></ul></td></tr><tr id="c63be11b301r3"><td id="c63be11c30r67" colspan="1" rowspan="1"><p id="c63be11d30ign">UsedConnection</p></td><td id="c63be11e30065" colspan="1" rowspan="1"><p id="c63be11f30vhw">ConnCount</p></td><td id="c63be12030f66" colspan="1" rowspan="1"><p id="c63be12130o6e">Counts</p></td><td id="c63be122307xc" colspan="1" rowspan="1"><p id="c63be12330alh"> The number of used connections. </p></td></tr><tr id="d42769a0309qb"><td id="d42769a130xwq" colspan="1" rowspan="1"><p id="53cc913030pjt">QPSUsage</p></td><td id="d42790b0308lf" colspan="1" rowspan="1"><p id="551a46e030hrk">qpsUsage</p></td><td id="d42790b230spk" colspan="1" rowspan="1"><p id="56aad1f030b69">%</p></td><td id="d42790b430sd2" colspan="1" rowspan="1"><p id="594d1b2030b3q"> The queries per second (QPS) usage.</p></td><td id="d42790b630ofr" colspan="1" rowspan="1"><ul id="67a2ff5230qp2"><li id="67a2ff5030x4f"><p id="623f4c3030c85">DB</p></li></ul></td></tr><tr id="c63be124308i8"><td id="c63be12530a5k" colspan="1" rowspan="1"><p id="c63be12630hrl">IntranetIn</p></td><td id="c63be12730lux" colspan="1" rowspan="1"><p id="c63be12830oq2">InFlow</p></td><td id="c63be12930ta5" colspan="1" rowspan="1"><p id="c63be12a301ki">KB/s</p></td><td id="c63be12b30ir9" colspan="1" rowspan="2"><p id="c63be12c30ecn">The inbound and outbound traffic rates. </p></td><td id="f1c6e1d430gth" colspan="1" rowspan="2"><ul id="38fc2a70309gd"><li id="38fc2a7130gcp"><p id="38fc2a72308lx">DB</p></li><li id="38fc2a7330exh"><p id="38fc2a7430gvq">DB aggregation</p></li><li id="38fc2a7530tym"><p id="38fc2a7630jce">Proxy</p></li><li id="38fc2a7730trw"><p id="38fc2a7830j2a">Proxy aggregation</p></li></ul></td></tr><tr id="c63be12d3034k"><td id="c63be12e30gxr" colspan="1" rowspan="1"><p id="c63be12f30grp">IntranetOut</p></td><td id="c63be13030f54" colspan="1" rowspan="1"><p id="c63be13130knr">OutFlow</p></td><td id="c63be13230vx4" colspan="1" rowspan="1"><p id="c63be13330z3t">KB/s</p></td></tr><tr id="c63be13630cea"><td id="c63be13730cz8" colspan="1" rowspan="1"><p id="c63be1383081f">IntranetInRatio</p></td><td id="c63be1393096a" colspan="1" rowspan="1"><p id="c63be13a30hde">intranetInRatio</p></td><td id="c63be13b30y65" colspan="1" rowspan="1"><p id="c63be13c300x7">%</p></td><td id="c63be13d3092t" colspan="1" rowspan="2"><p id="c63be13e303w5"> The inbound and outbound traffic usage. </p></td><td id="f1c6e1d830kuo" colspan="1" rowspan="2"><ul id="3e77f97030x0x"><li id="3e77f97130leq"><p id="3e77f97230jf2">DB</p></li><li id="3e77f97330n5d"><p id="3e77f97430nfl">DB aggregation</p></li></ul></td></tr><tr id="c63be13f30g3a"><td id="c63be14030unf" colspan="1" rowspan="1"><p id="c63be141300be">IntranetOutRatio</p></td><td id="c63be142302xp" colspan="1" rowspan="1"><p id="c63be14330zuz">intranetOutRatio</p></td><td id="c63be144307xr" colspan="1" rowspan="1"><p id="c63be145305g1">%</p></td></tr><tr id="c63be148306x6"><td id="c63be14930236" colspan="1" rowspan="1"><p id="c63be14a30wze">Redis_Avg_Rt_Monitor</p></td><td id="c63be14b30cdc" colspan="1" rowspan="1"><p id="c63be14c30qeb">AvgRt</p></td><td id="c63be14d30jx1" colspan="1" rowspan="1"><p id="c63be14e30ubd">us</p></td><td id="c63be14f30obk" colspan="1" rowspan="1"><p id="c63be150301gb">The average response time of all commands, which indicates the average time that is measured from the time when a data node receives a command to the time when the data node returns the command output. </p><ul id=""><li id="">This metric for a DB node does not include the response time of the proxy node and load balancing. </li><li id="">This metric for a proxy node includes the response time of the DB and proxy nodes but not the time for load balancing.</li></ul></td><td id="f1c708e230q7v" colspan="1" rowspan="2"><ul id="695bbdc030g38"><li id="695bbdc130oae"><p id="695bbdc230jkj">DB</p></li><li id="695bbdc330hno"><p id="695bbdc430adk">DB aggregation</p></li><li id="695bbdc530l40"><p id="695bbdc6303e8">Proxy</p></li><li id="695bbdc73089w"><p id="695bbdc8304gr">Proxy aggregation</p></li></ul></td></tr><tr id="c63be151305k7"><td id="c63be15230s4e" colspan="1" rowspan="1"><p id="c63be15330dsq">Redis_Max_Rt_Monitor</p></td><td id="c63be15430a80" colspan="1" rowspan="1"><p id="c63be15530l3y">MaxRt</p></td><td id="c63be15630ex1" colspan="1" rowspan="1"><p id="c63be15730uv8">us</p></td><td id="c63be15830j3n" colspan="1" rowspan="1"><p id="c63be159308w9">The maximum latency for commands, which indicates the maximum time period from the time when the replica node receives a command to the time when the replica node returns the command output.</p><ul id=""><li id=""> This metric for a DB node does not include the response time of the proxy node and load balancing. </li><li id="">This metric for a proxy node includes the response time of the DB and proxy nodes but not the time for load balancing.</li></ul></td></tr><tr id="c63be15a30l0m"><td id="c63be15b30n5j" colspan="1" rowspan="8"><p id="c63be15c307sl">Redis_Basic_Monitor</p></td><td id="c63be15d3052k" colspan="1" rowspan="1"><p id="c63be15e304ux">Keys</p></td><td id="c63be15f30law" colspan="1" rowspan="1"><p id="c63be160302r5">Counts</p></td><td id="c63be16130n3q" colspan="1" rowspan="1"><p id="c63be162305ei">The total number of keys, which indicates the number of primary keys stored in the instance. </p></td><td id="f1c72ff130jqy" colspan="1" rowspan="8"><ul id="d1f2f2e030sd7"><li id="d1f2f2e130bq0"><p id="d1f2f2e230v49">DB</p></li><li id="d1f2f2e330mug"><p id="d1f2f2e430zqd">DB aggregation</p></li></ul></td></tr><tr id="c63c081030wmq"><td id="c63c081330u60" colspan="1" rowspan="1"><p id="c63c081430zxw">Expires</p></td><td id="c63c081530g02" colspan="1" rowspan="1"><p id="c63c081630syi">Counts</p></td><td id="c63c081730uwh" colspan="1" rowspan="1"><p id="c63c081830e2w">The number of keys that has a time to live (TTL) value configured. This submetric displays the instantaneous value when data is collected.</p></td></tr><tr id="c63c0819305f9"><td id="c63c081c30tq5" colspan="1" rowspan="1"><p id="c63c081d30xmf">ExpiredKeys</p></td><td id="c63c081e30f27" colspan="1" rowspan="1"><p id="c63c081f300u0">Counts</p></td><td id="c63c08203067e" colspan="1" rowspan="1"><p id="c63c0821304sx">The total number of expired keys. </p></td></tr><tr id="c63c0822309ui"><td id="c63c082530a2e" colspan="1" rowspan="1"><p id="c63c082630lvv">EvictedKeys</p></td><td id="c63c082730f30" colspan="1" rowspan="1"><p id="c63c082830s5s">Counts</p></td><td id="c63c082930no8" colspan="1" rowspan="1"><p id="c63c082a30p8z">The total number of evicted keys.</p></td></tr><tr id="c63c082b30wsq"><td id="c63c082e30shr" colspan="1" rowspan="1"><p id="c63c082f30y5d">ExpiredKeysPerSecond</p></td><td id="c63c083030ymm" colspan="1" rowspan="1"><p id="c63c083130dg3">Counts/s</p></td><td id="c63c083230tlx" colspan="1" rowspan="1"><p id="c63c0833307eh">The number of keys that are expired per second.</p></td></tr><tr id="c63c083430h12"><td id="c63c083730mwa" colspan="1" rowspan="1"><p id="c63c083830yrr">EvictedKeysPerSecond</p></td><td id="c63c0839307g7" colspan="1" rowspan="1"><p id="c63c083a30tg8">Counts/s</p></td><td id="c63c083b30o0w" colspan="1" rowspan="1"><p id="c63c083c306kr">The number of keys that are evicted per second.</p></td></tr><tr id="c63c083d30nie"><td id="c63c084030v9j" colspan="1" rowspan="1"><p id="c63c0841308sb">inmem_keys</p></td><td id="c63c0842301xw" colspan="1" rowspan="1"><p id="c63c084330jtc">Counts</p></td><td id="c63c084430aiv" colspan="1" rowspan="2"><p id="c63c084530c6r">These submetics are available only for hybrid-storage instances (phased out). You can ignore these submetrics.</p></td></tr><tr id="c63c084630orl"><td id="c63c0849305l9" colspan="1" rowspan="1"><p id="c63c084a30gmp">swapped_keys</p></td><td id="c63c084b30w0p" colspan="1" rowspan="1"><p id="c63c084c30vxr">Counts</p></td></tr><tr id="c63c084f30jag"><td id="c63c085030d2r" colspan="1" rowspan="4"><p id="c63c085130ung">Hit_Rate_Monitor</p><p id="c63c085230u65"></p></td><td id="c63c085330x3c" colspan="1" rowspan="1"><p id="c63c085430klt">hit_rate</p></td><td id="c63c085530l4j" colspan="1" rowspan="1"><p id="c63c085630fpi">%</p></td><td id="c63c085730n1s" colspan="1" rowspan="1"><p id="c63c085830bga">The hit ratio of keys, which is calculated by using the following formula: Total key hits/(Total key hits + Total key misses).</p></td><td id="f1c77e1630u88" colspan="1" rowspan="4"><ul id="aaaa7dc030f07"><li id="aaaa7dc13096z"><p id="aaaa7dc230ssx">DB</p></li><li id="aaaa7dc330fkl"><p id="aaaa7dc430svp">DB aggregation</p></li></ul></td></tr><tr id="c63c08593027z"><td id="c63c085c30mlg" colspan="1" rowspan="1"><p id="c63c085d30g0w">hit</p></td><td id="c63c085e30ubl" colspan="1" rowspan="1"><p id="c63c085f30130">Counts</p></td><td id="c63c086030x0t" colspan="1" rowspan="1"><p id="c63c08613082q">The number of key hits per second.</p></td></tr><tr id="c63c08623090g"><td id="c63c086530qm8" colspan="1" rowspan="1"><p id="c63c086630ujk">miss</p></td><td id="c63c086730i2j" colspan="1" rowspan="1"><p id="c63c0868307io">Counts</p></td><td id="c63c0869306c2" colspan="1" rowspan="1"><p id="c63c086a30zu0">The number of key misses per second.</p></td></tr><tr id="c63c086b30625"><td id="c63c086e307rx" colspan="1" rowspan="1"><p id="c63c086f30klt">evicted_keys_per_sec</p></td><td id="c63c087030o3g" colspan="1" rowspan="1"><p id="c63c087130lro">Counts</p></td><td id="c63c2f2030du0" colspan="1" rowspan="1"><p id="c63c2f2130xd7">The number of keys that are evicted per second.</p></td></tr><tr id="c63c2f2230bhq"><td id="c63c2f2330fou" colspan="1" rowspan="1"><p id="c63c2f24302kl">DiskUsage</p></td><td id="c63c2f25305rv" colspan="1" rowspan="1"><p id="c63c2f2630edf">disk_usage</p></td><td id="c63c2f2730asz" colspan="1" rowspan="1"><p id="c63c2f283029i">%</p></td><td id="c63c2f29303bz" colspan="1" rowspan="4"><p id="c63c2f2a30yxn">The disk space usage, the size of the input buffer, the size of the output buffer, and the monitoring metrics related to disk performance. These submetics are available only for ESSD/SSD-based instances.</p></td><td id="f1c7a52030pjl" colspan="1" rowspan="4"><ul id="eda89b7230jhq"><li id="eda89b7030pna"><p id="ec19be1030hmx">DB</p></li></ul></td></tr><tr id="c63c2f2b30kxn"><td id="c63c2f2c307qp" colspan="1" rowspan="2"><p id="c63c2f2d304cn">RocksDBConn</p></td><td id="c63c2f2e304rf" colspan="1" rowspan="1"><p id="c63c2f2f304ap">Tair_Connection_Monitor</p></td><td id="c63c2f3030lf1" colspan="1" rowspan="1"><p id="c63c2f3130nnw">Bytes</p></td></tr><tr id="c63c2f3430jm5"><td id="c63c2f3730axh" colspan="1" rowspan="1"><p id="c63c2f3830snm">Tair_Connection_Monitor</p></td><td id="c63c2f3930qkp" colspan="1" rowspan="1"><p id="c63c2f3a30d7f">Bytes</p></td></tr><tr id="c63c2f3d303g4"><td id="c63c2f3e30drp" colspan="1" rowspan="1"><p id="c63c2f3f30fmo">Tair_Disk_Monitor</p></td><td id="c63c2f4030e32" colspan="1" rowspan="1"><p id="c63c2f4130w6m">Submetrics such as io_bandwidth_kbps, iops, and iops_usage</p></td></tr><tr id="a087786030rk9"><td id="aa1e4de230r06" colspan="1" rowspan="3"><p id="110ee39330c46"></p><p id="110ee39430ydg">UsedConnection</p></td><td id="aa1e4de530ki5" colspan="1" rowspan="1"><p id="110ee397305d8">ConnectionUsage</p></td><td id="aa1e4de730rs0" colspan="1" rowspan="1"><p id="110ee39930mj7">%</p></td><td id="aa1e4de930xhx" colspan="1" rowspan="1"><p id="110ee39b30dmc">The connection usage, which is calculated by using the following formula: Number of used connections/Number of total supported connections. When the client connects to the cluster or read/write splitting instance by using a proxy node, this submetric is meaningful.</p></td><td id="a0879f70304rx" colspan="1" rowspan="3"><ul id="b22e836030wep"><li id="b22e836130v5b"><p id="b22e8362301kw">Proxy</p></li><li id="b22e836330ryz"><p id="b22e8364300y0">Proxy aggregation</p></li></ul></td></tr><tr id="9eff2ab030jco"><td id="aa1e4dee30iy1" colspan="1" rowspan="1"><p id="110ee3a0307l0">UsedConnection</p></td><td id="aa1e4df0306co" colspan="1" rowspan="1"><p id="110ee3a2302nr">Counts</p></td><td id="aa1e4df230yb0" colspan="1" rowspan="1"><p id="110ee3a430sx3">The number of used connections.</p></td></tr><tr id="9da7ff20301dj"><td id="aa1e4df730qfz" colspan="1" rowspan="1"><p id="110ee3a930c08">NewUserConnQps</p></td><td id="aa1e4df930qle" colspan="1" rowspan="1"><p id="110ee3ab300t3">Counts/s</p></td><td id="aa1e4dfb30ran" colspan="1" rowspan="1"><p id="110ee3ad3043p">The number of connections that are established per second from clients to proxy nodes.</p></td></tr><tr id="5ef1c450306s1"><td id="7c9ea90230ruk" colspan="1" rowspan="4"><p id="110ee3c230csb">Redis_Package_Monitor</p></td><td id="7c9ea90430xtu" colspan="1" rowspan="1"><p id="110ee3c430zqx">request</p></td><td id="7c9ea90630gll" colspan="1" rowspan="1"><p id="110ee3c630s2t">Byte</p></td><td id="7c9ea90830dze" colspan="1" rowspan="1"><p id="110ee3c830xwv">The average bytes of a single request.</p></td><td id="5ef1eb66300np" colspan="1" rowspan="12"><ul id="86883262300vb"><li id="86883260308ci"><p id="5ef1eb6730uxk">Proxy</p></li></ul></td></tr><tr id="650c445030re2"><td id="7c9ea90d305xv" colspan="1" rowspan="1"><p id="110ee3cd30mu7">response</p></td><td id="7c9ea90f30wiw" colspan="1" rowspan="1"><p id="110ee3cf30y9f">Byte</p></td><td id="7c9ea91130r7u" colspan="1" rowspan="1"><p id="110ee3d130wx5">The average bytes of a single response.</p></td></tr><tr id="70a0e5a03011z"><td id="7c9ea91630zmp" colspan="1" rowspan="1"><p id="110ee3d6305uq">request_max</p></td><td id="7c9ea918308k4" colspan="1" rowspan="1"><p id="110ee3d8306p0">Byte</p></td><td id="7c9ea91a309ex" colspan="1" rowspan="1"><p id="110ee3da30z6t">The maximum bytes of a single request.</p></td></tr><tr id="6f12cb90306op"><td id="7c9ea91f30qdj" colspan="1" rowspan="1"><p id="110ee3df3009t">response_max</p></td><td id="7c9ea92130l5y" colspan="1" rowspan="1"><p id="110ee3e130avq">Byte</p></td><td id="7c9ea923304c9" colspan="1" rowspan="1"><p id="110ee3e330iux">The maximum bytes of a single response.</p></td></tr><tr id="6e0fb37030kkb"><td id="7c9ea92630tag" colspan="1" rowspan="4"><p id="110ee3f830ke9">RedisProxyConn</p></td><td id="7c9ea928306u3" colspan="1" rowspan="1"><p id="110ee3fa30hnk">RedisUsedConnection</p></td><td id="7c9ea92a30u4b" colspan="1" rowspan="1"><p id="110ee3fc3014l">Counts</p></td><td id="7c9ea92c303m6" colspan="1" rowspan="1"><p id="110ee3fe30xor">The number of connections that are established from proxy nodes to data nodes.</p></td></tr><tr id="6d07924030v06"><td id="7c9ea93130bpl" colspan="1" rowspan="1"><p id="110ee40330ok8">NewDBConnQps</p></td><td id="7c9ea9333090d" colspan="1" rowspan="1"><p id="110ee40530hym">Counts/s</p></td><td id="7c9ea93530rvn" colspan="1" rowspan="1"><p id="110ee40730hgw">The number of connections that are established per second from proxy nodes to data nodes.</p></td></tr><tr id="6c064ee0308x9"><td id="7c9ea93a30w7l" colspan="1" rowspan="1"><p id="110ee40c300uv">DisconnectDBConn</p></td><td id="7c9ea93c30vdh" colspan="1" rowspan="1"><p id="110ee40e305s1">Counts</p></td><td id="7c9ea93e30fpp" colspan="1" rowspan="1"><p id="110ee410306m7">The cumulative number of disconnections from proxy nodes to data nodes.</p></td></tr><tr id="6ae8d0f030mne"><td id="7c9ea94330zqr" colspan="1" rowspan="1"><p id="110ee41530itw">DisconnectUserConn</p></td><td id="7c9ea94530kqt" colspan="1" rowspan="1"><p id="110ee41730wyo">Counts</p></td><td id="7c9ea947306dn" colspan="1" rowspan="1"><p id="110ee41930j2t">The cumulative number of disconnections from clients to proxy nodes.</p></td></tr><tr id="69c5adb030tk6"><td id="7c9ea94a30mgo" colspan="1" rowspan="4"><p id="110ee41c30kmp">TotalCalls</p></td><td id="7c9ea94c30w9i" colspan="1" rowspan="1"><p id="110ee41e30z01">TotalRefusedCommands</p></td><td id="7c9ea94e301wh" colspan="1" rowspan="1"><p id="110ee42030ns6">Counts</p></td><td id="7c9ea95030ean" colspan="1" rowspan="1"><p id="110ee42230d6w">The cumulative number of rejected commands. </p></td></tr><tr id="68884bb030eup"><td id="7c9ea955301od" colspan="1" rowspan="1"><p id="110ee427306rl">TotalCallsPerSecCalls</p></td><td id="7c9ea95730lry" colspan="1" rowspan="1"><p id="110ee42930plh">Counts/s</p></td><td id="7c9ea95930i5z" colspan="1" rowspan="1"><p id="110ee42b30h2c">The QPS.</p></td></tr><tr id="66e60d6030fok"><td id="7c9ea95e30pq8" colspan="1" rowspan="1"><p id="110f0a8430ybh">TotalCallsPerSecRetryCalls</p></td><td id="7c9ea96030ei2" colspan="1" rowspan="1"><p id="110f0a86303pv">Counts/s</p></td><td id="7c9ea96230wcg" colspan="1" rowspan="1"><p id="110f0a8830txl">The number of request retries per second.</p></td></tr><tr id="60c795c030hzr"><td id="7c9ea967306mv" colspan="1" rowspan="1"><p id="110f0a8d308hl">TotalCallsPerSecRetryFailed</p></td><td id="7c9ea969305s1" colspan="1" rowspan="1"><p id="110f0a8f30lyy">Counts/s</p></td><td id="7c9ea96b30djk" colspan="1" rowspan="1"><p id="110f0a9130mhi">The number of failed requests per second.</p></td></tr></tbody></table>'."\n" - ."\n" - .'<details>'."\n" - .'<summary>Command-related monitoring metrics (expand to view the metrics)</summary>'."\n" - .'Command-related monitoring metrics are supported only when you query a specific database. When you query the monitoring data of a specific database, you must specify the <b>MonitorKeys</b> and NodeId parameters.'."\n" - ."\n" - .'> Monitoring metrics related to extended data structures of Tair are available only for DRAM-based instances that are deployed in classic (local-disk based) mode.'."\n" - .'<table id="86147d7030q32" tablewidth="929" tablecolswidth="129 148 86 520" autofit="false"><colgroup colwidth="0.56*" style="width:13.89%"></colgroup><colgroup colwidth="0.64*" style="width:15.93%"></colgroup><colgroup colwidth="0.37*" style="width:9.26%"></colgroup><colgroup colwidth="2.24*" style="width:55.97%"></colgroup><tbody><tr id="86147d71304op"><td id="86147d7230sgw" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="86147d7330301"><b>MonitorKeys</b></p></td><td id="86147d7430rur" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="86147d7530ypj"><b>Submetric</b></p></td><td id="86147d7630ppo" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="86147d77309de"><b>Unit </b></p></td><td id="86147d7830hzn" colspan="1" rowspan="1" style="background-color:#e5e5e5"><p id="86147d7930wb2"><b>Description</b></p></td></tr><tr id="86147d7a3041m"><td id="86147d7b30kct" colspan="1" rowspan="1"><p id="86147d7c30a22">Redis_Keys_Monitor</p></td><td id="86147d7d30vnn" colspan="1" rowspan="1"><p id="86147d7e30qn8">del, dump, exists, expire, expireat, move, persist, pexpire, pexpireat, pttl, randomkey, rename, renamenx, restore, sort, ttl, type, and scan</p></td><td id="86147d7f30kgi" colspan="1" rowspan="1"><p id="86147d8030eld">Counts/s</p></td><td id="86147d8130fbi" colspan="1" rowspan="1"><p id="86147d8230gdl">The monitoring information about the use of key-value related commands, such as the number of times that <b>DEL</b> and <b>EXISTS</b> are executed per second.</p></td></tr><tr id="86147d8330vs2"><td id="86147d84300q2" colspan="1" rowspan="1"><p id="86147d8530myn">Redis_String_Monitor</p></td><td id="86147d8630rvg" colspan="1" rowspan="1"><p id="86147d8730aag">append, bitcount, bitop, decr, decrby, get, getbit, getrange, getset, incr, incrby, incrbyfloat, mget, mset, msetnx, psetex, set, setbit, setex, setnx, setrange, and strlen </p></td><td id="86147d88306m6" colspan="1" rowspan="1"><p id="86147d8930s4b">Counts/s</p></td><td id="86147d8a303k8" colspan="1" rowspan="1"><p id="86147d8b30ag0">The monitoring information about the use of string-related commands, such as the number of times APPEND and MGET are executed per second.</p></td></tr><tr id="86147d8c30pw7"><td id="86147d8d30pv4" colspan="1" rowspan="1"><p id="86147d8e309sw">Redis_Hashes_Monitor</p></td><td id="86147d8f304lm" colspan="1" rowspan="1"><p id="86147d9030dri"> hdel, hexists, hget, hgetall, hincrby, hincrbyfloat, hkeys, hlen, hmget, hmset, hset, hsetnx, hvals, and hscan</p></td><td id="86147d91300ac" colspan="1" rowspan="1"><p id="86147d92307hj">Counts/s</p></td><td id="86147d93300v7" colspan="1" rowspan="1"><p id="86147d9430sbe">The monitoring information about the use of hash-related commands, such as the number of times HGET and HDEL are executed per second.</p></td></tr><tr id="86147d9530zau"><td id="86147d9630awq" colspan="1" rowspan="1"><p id="86147d9730505">Redis_Lists_Monitor</p></td><td id="86147d9830e2k" colspan="1" rowspan="1"><p id="86147d9930f7u">blpop, brpop, brpoplpush, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, rpop, rpoplpush, rpush, and rpushx</p></td><td id="86147d9a30d1m" colspan="1" rowspan="1"><p id="86147d9b30b63">Counts/s</p></td><td id="86147d9c30dee" colspan="1" rowspan="1"><p id="86147d9d30tqm">The monitoring information about the use of list-related commands, such as the number of times BLPOP and BRPOP are executed per second.</p></td></tr><tr id="86147d9e30i0g"><td id="86147d9f30ca5" colspan="1" rowspan="1"><p id="8614a48030jqh">Redis_Sets_Monitor</p></td><td id="8614a48130rfm" colspan="1" rowspan="1"><p id="8614a48230umy">sadd, scard, sdiff, sdiffstore, sinter, sinterstore, sismember, smembers, smove, spop, srandmember, srem, sunion, sunionstore, and sscan</p></td><td id="8614a48330xkf" colspan="1" rowspan="1"><p id="8614a48430wa7">Counts/s</p></td><td id="8614a4853004j" colspan="1" rowspan="1"><p id="8614a48630m2l">The monitoring information about the use of set-related commands, such as the number of times that <b>SADD</b> and <b>SCARD</b> are executed per second.</p></td></tr><tr id="8614a487305x6"><td id="8614a48830xxk" colspan="1" rowspan="1"><p id="8614a48930c3a">Redis_Zset_Monitor</p></td><td id="8614a48a30tul" colspan="1" rowspan="1"><p id="8614a48b30wbp">zadd, zcard, zcount, zincrby, zrange, zrangebyscore, zrank, zrem, zremrangebyrank, zremrangebyscore, zrevrange, zrevrangebyscore, zrevrank, zscore, zunionstore, zinterstore, zscan, zrangebylex, zlexcount, zremrangebylex, zpopmin, zpopmax, bzpopmin, and bzpopmax</p></td><td id="8614a48c30xg1" colspan="1" rowspan="1"><p id="8614a48d30p0h">Counts/s</p></td><td id="8614a48e303yv" colspan="1" rowspan="1"><p id="8614a48f30ohj">The monitoring information about the use of zset-related commands, such as the number of times that <b>ZADD</b> and <b>ZCARD</b> are executed per second.</p></td></tr><tr id="8614a49030lhe"><td id="8614a491302ih" colspan="1" rowspan="1"><p id="8614a49230mhb">Redis_Hyperlog_Monitor</p></td><td id="8614a493308wi" colspan="1" rowspan="1"><p id="8614a49430a8o">pfadd, pfcount, and pfmerge</p></td><td id="8614a49530f5p" colspan="1" rowspan="1"><p id="8614a49630jau">Counts/s</p></td><td id="8614a49730i5p" colspan="1" rowspan="1"><p id="8614a49830gw5">The monitoring information about the use of HyperLogLog-related commands, such as the number of times that <b>PFADD</b> and <b>PFCOUNT</b> are executed per second.</p></td></tr><tr id="8614a49930gm2"><td id="8614a49a303il" colspan="1" rowspan="1"><p id="8614a49b30428">Redis_Pub_Sub_Monitor</p></td><td id="8614a49c301gf" colspan="1" rowspan="1"><p id="8614a49d30rcg">psubscribe, publish, pubsub, punsubscribe, subscribe, and unsubscribe</p></td><td id="8614a49e30omp" colspan="1" rowspan="1"><p id="8614a49f30ryn">Counts/s</p></td><td id="8614a4a030m4t" colspan="1" rowspan="1"><p id="8614a4a130r7u">The monitoring information about the use of commands related to the Pub/Sub command group, such as the number of times that <b>PUBLISH</b> and <b>SUBSCRIBE</b> are executed per second.</p></td></tr><tr id="8614a4a230qbn"><td id="8614a4a330c6y" colspan="1" rowspan="1"><p id="8614a4a4308vv">Redis_Transaction_Monitor</p></td><td id="8614a4a5305wu" colspan="1" rowspan="1"><p id="8614a4a630tdv">discard, exec, multi, unwatch, and watch</p></td><td id="8614a4a7305mo" colspan="1" rowspan="1"><p id="8614a4a8306oz">Counts/s</p></td><td id="8614a4a9303g4" colspan="1" rowspan="1"><p id="8614a4aa30k5y">The monitoring information about the use of transaction-related commands, such as the number of times that <b>WATCH</b> and <b>MULTI</b> are executed per second.</p></td></tr><tr id="8614a4ab30siu"><td id="8614a4ac30wee" colspan="1" rowspan="1"><p id="8614a4ad30t3q">Redis_Scripting_Monitor</p></td><td id="8614a4ae30p4d" colspan="1" rowspan="1"><p id="8614a4af30gld">eval, evalsha, and script</p></td><td id="8614a4b030nbe" colspan="1" rowspan="1"><p id="8614a4b130dsd">Counts/s</p></td><td id="8614a4b230dy0" colspan="1" rowspan="1"><p id="8614a4b330mm9">The monitoring information about the use of scripting-related commands, such as the number of times that <b>EVAL</b> and <b>EVALSHA</b> are executed per second.</p></td></tr><tr id="8614a4b430a58"><td id="8614a4b530ldt" colspan="1" rowspan="1"><p id="8614a4b6309kv">Calls_Monitor</p></td><td id="8614a4b730eut" colspan="1" rowspan="1"><p id="8614a4b83044t">flushall_calls, flushdb_calls, and keys_calls</p></td><td id="8614a4b930jnl" colspan="1" rowspan="1"><p id="8614a4ba309aw">Counts</p></td><td id="8614a4bb302we" colspan="1" rowspan="1"><p id="8614a4bc30zcf">The cumulative number of times that <b>FLUSHALL</b>, <b>FLUSHDB</b>, <b>KEYS</b> are executed per second.</p></td></tr><tr id="8614a4bd30fe5"><td id="8614a4be30w6k" colspan="1" rowspan="1"><p id="8614a4bf30mc0">Redis_Connection_Monitor</p></td><td id="8614a4c030umk" colspan="1" rowspan="1"><p id="8614a4c130tsn">auth, echo, ping, quit, and select</p></td><td id="8614a4c230dah" colspan="1" rowspan="1"><p id="8614a4c33094g">Counts/s</p></td><td id="8614a4c430r27" colspan="1" rowspan="1"><p id="8614a4c530k0o">The monitoring information about the use of connection-related commands, such as the number of times <b>AUTH</b> and <b>ECHO</b> are executed per second.</p></td></tr><tr id="8614a4c630a07"><td id="8614a4c730kbq" colspan="1" rowspan="1"><p id="8614a4c830aun">Redis_Server_Monitor</p></td><td id="8614a4c930d0x" colspan="1" rowspan="1"><p id="8614a4ca30wn1">bgsave, client, command, config, dbsize, debug, flushall, flushdb, info, monitor, slowlog, and time</p></td><td id="8614a4cb30far" colspan="1" rowspan="1"><p id="8614a4cc30zbb">Counts/s</p></td><td id="8614a4cd308jk" colspan="1" rowspan="1"><p id="8614a4ce30uyb">The monitoring information about the use of server-related commands, such as the number of times <b>BGSAVE</b> and <b>CONFIG</b> are executed per second.</p></td></tr><tr id="8614a4ea301xn"><td id="8614a4eb3081s" colspan="1" rowspan="1"><p id="8614a4ec30zn9">Redis_TairDoc_Monitor</p></td><td id="8614a4ed30cec" colspan="1" rowspan="1"><p id="8614a4ee30ong">jsondel, jsonget, jsonmget, jsonset, jsontype, jsonnumincrby, jsonstrappend, jsonstrlen, jsonarrappend, jsonarrpop, jsonarrinsert, jsonarrlen, and jsonarrtrim</p></td><td id="8614a4ef30lxd" colspan="1" rowspan="1"><p id="8614a4f030a7c">Counts/s</p></td><td id="8614a4f130esr" colspan="1" rowspan="1"><p id="8614a4f2303uz">The monitoring information about the use of Doc-related commands, such as the number of times <b>JSON.SET</b> and <b>JSON.GET</b> are executed per second.</p></td></tr><tr id="8614a4f330qbm"><td id="8614a4f430vmj" colspan="1" rowspan="1"><p id="8614a4f5301e3">Redis_TairHash_Monitor</p></td><td id="8614a4f630jiv" colspan="1" rowspan="1"><p id="8614a4f7301j2">exhset, exhsetnx, exhmset, exhexpireat, exhexpire, exhmsetwithopts, exhpexpireat, exhpexpire, exhpttl, exhttl, exhver, exhsetver, exhincrby, exhincrbyfloat, exhget, exhgetwithver, exhmget, exhdel, exhlen, exhexists, exhkeys, exhvals, exhgetall, exhmgetwithver, exhsterlen, and exhscan</p></td><td id="8614a4f830zca" colspan="1" rowspan="1"><p id="8614a4f930pxj">Counts/s</p></td><td id="8614a4fa30h7n" colspan="1" rowspan="1"><p id="8614a4fb303ks">The monitoring information about the use of exHash-related commands, such as the number of times <b>EXHSET</b> and <b>EXHMSET</b> are executed per second.</p></td></tr><tr id="8614a4fc30vnd"><td id="8614a4fd30ua3" colspan="1" rowspan="1"><p id="8614a4fe30pm6">Redis_TairString_Monitor</p></td><td id="8614a4ff30t6e" colspan="1" rowspan="1"><p id="8614a50030kwb"> cas, cad, exset, exget, exsetver, exincrby, exincrbyfloat, excas, and excad</p></td><td id="8614a501305na" colspan="1" rowspan="1"><p id="8614a50230mpr">Counts/s</p></td><td id="8614a503308ga" colspan="1" rowspan="1"><p id="8614a50430tuw">The monitoring information about the use of exString-related commands, such as the number of times <b>EXSET</b> and <b>EXGET</b> are executed per second.</p></td></tr><tr id="8614a50530nn5"><td id="8614a50630vk5" colspan="1" rowspan="1"><p id="8614a50730870">Redis_TairGis_Monitor</p></td><td id="8614a50830xvp" colspan="1" rowspan="1"><p id="8614a50930461">gisadd, gisget, gisdel, gissearch, giscontains, gisintersects, and gisgetall</p></td><td id="8614a50a302fe" colspan="1" rowspan="1"><p id="8614a50b30wx5">Counts/s</p></td><td id="8614a50c301n0" colspan="1" rowspan="1"><p id="8614a50d30tj4">The monitoring information about the use of GIS-related commands, such as the number of times <b>GIS.ADD</b>, <b>GIS.GET</b>, and <b>GIS.DEL</b> are executed per second.</p></td></tr><tr id="8614a50e308l4"><td id="8614a50f30sbo" colspan="1" rowspan="1"><p id="8614a510307ug">Redis_TairBloom_Monitor</p></td><td id="8614a51130n3n" colspan="1" rowspan="1"><p id="8614a51230lvz">bfadd, bfmadd, bfexists, bfmexists, bfinsert, bfreserve, and bfdebug</p></td><td id="8614a51330ea8" colspan="1" rowspan="1"><p id="8614a51430bux">Counts/s</p></td><td id="8614a5153002k" colspan="1" rowspan="1"><p id="8614a51630u6d">The monitoring information about the use of Bloom-related commands, such as the number of times <b>BF.RESERVE</b> and <b>BF.ADD</b> are executed per second. </p></td></tr></tbody></table>'."\n" - .'</details>', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyAuditLogConfig' => [ - 'summary' => 'Enables the audit log feature or modifies the audit log settings for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GrantAccountPrivilege' => [ + 'summary' => 'Modifies the permissions of an account for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15558,57 +14096,32 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56469', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreE2TR4H', - ], + 'abilityTreeCode' => '56458', + 'abilityTreeNodes' => ['FEATUREkvstoreXSBQ72'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance to which the account belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Retention', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'The retention period of audit logs. Valid values: **1** to **365**. Unit: days.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is required only when the **DbAudit** parameter is set to **true**.'."\n" - ."\n" - .'* The value of this parameter takes effect for all instances in the current region.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '365', - 'minimum' => '1', - 'example' => '10', - ], + 'schema' => ['description' => 'The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoaccount', 'title' => ''], ], [ - 'name' => 'DbAudit', + 'name' => 'AccountPrivilege', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the audit log feature. Default value: true. Valid values:'."\n" - ."\n" - .'* **true**: enables the audit log feature.'."\n" - .'* **false**: disables the audit log feature.'."\n" - ."\n" - .'> If the instance uses the [cluster architecture](~~52228~~) or [read/write splitting architecture](~~62870~~), the audit log feature is enabled or disabled for both the data nodes and proxy nodes. You cannot separately enable the audit log feature for the data nodes or proxy nodes.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => 'The permissions of the account. Default value: RoleReadWrite. Valid values:'."\n" + ."\n" + .'* RoleReadOnly: The account has the read-only permissions.'."\n" + .'* RoleReadWrite: The account has the read and write permissions.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RoleReadWrite', 'title' => ''], + ], + [ + 'name' => 'SourceBiz', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ @@ -15616,150 +14129,122 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '3845BDF5-15A6-4444-B770-78501819****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRetention', - 'errorMessage' => 'The Retention is invalid.', - ], - [ - 'errorCode' => 'ResourceConfigError', - 'errorMessage' => 'The request processing has failed due to resource config error.', - ], + ['errorCode' => 'InvalidAccountName.Format', 'errorMessage' => 'Specified AccountName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidAccountPrivilege.Format', 'errorMessage' => 'Specified AccountPrivilege is not valid.', 'description' => ''], + ['errorCode' => 'IncorrectAccount', 'errorMessage' => 'Current DB instance account does not support this operation.', 'description' => ''], + ['errorCode' => 'IncorrectMinorVersion', 'errorMessage' => 'Current engine minor version does not support operations.', 'description' => 'The operation is not supported by the minor version of the instance. Update the instance to the latest minor version and try again.'], ], - 403 => [ - [ - 'errorCode' => 'TaskHasExist', - 'errorMessage' => 'The task already exists.', - ], + 404 => [ + ['errorCode' => 'InvalidAccountName.NotFound', 'errorMessage' => 'Specified AccountName does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","type":"json"}]', - 'title' => 'ModifyAuditLogConfig', - 'description' => 'Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of the audit log feature.'."\n" - ."\n" - .'Before you call this operation, make sure that the Tair (Redis OSS-compatible) instance meets the following requirements:'."\n" - ."\n" - .'* The instance is a Tair (Redis OSS-compatible) Community Edition instance or Tair [DRAM-based instance](~~126164~~).'."\n" - .'* The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~473781~~) operation to check whether the instance uses the latest major version and minor version.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3845BDF5-15A6-4444-B770-78501819****\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"3845BDF5-15A6-4444-B770-785018191E25\\"\\n}"},{"type":"xml","example":"<GrantAccountPrivilegeResponse>\\n <RequestId>3845BDF5-15A6-4444-B770-78501819****</RequestId>\\n</GrantAccountPrivilegeResponse>","errorExample":"<GrantAccountPrivilegeResponse>\\n <RequestId>3845BDF5-15A6-4444-B770-785018191E25</RequestId>\\n</GrantAccountPrivilegeResponse>"}]', + 'title' => 'GrantAccountPrivilege', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAuditLogConfig' => [ - 'summary' => 'Queries the audit log configurations of a Tair (Redis OSS-compatible) instance. The configurations include whether the audit log feature is enabled and the retention period of audit logs.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GrantAccountPrivilege'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:GrantAccountPrivilege', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56380', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'description' => '> '."\n" + ."\n" + .'* Only Tair (Redis OSS-compatible) instances of Redis 4.0 or later are supported.'."\n" + .'* The Tair (Redis OSS-compatible) instance must be in the running state.', + ], + 'InitializeKvstorePermission' => [ + 'summary' => 'Assigns a service-linked role to Tair (Redis OSS-compatible).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeInstanceAttribute](~~473779~~) operation to query the region ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hanghzou', - ], - ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'default' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Retention' => [ - 'description' => 'The retention period of audit logs. Unit: days.'."\n", - 'type' => 'string', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - 'DbAudit' => [ - 'description' => 'Indicates whether the audit log feature is enabled. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n" - ."\n" - .'> You can call the [ModifyAuditLogConfig](~~473829~~) operation to enable or disable the audit log feature for a Tair (Redis OSS-compatible) instance.', - 'type' => 'string', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D2****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The InstanceId provided does not exist in our records.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Retention\\": \\"5\\",\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"DbAudit\\": \\"true\\"\\n}","type":"json"}]', - 'title' => 'DescribeAuditLogConfig', - 'description' => 'Before you call this operation, you must enable the audit log feature for the instance. For more information, see [ModifyAuditLogConfig](~~473829~~) or [Enable the audit log feature](~~102015~~).', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D2****\\"\\n}","errorExample":""},{"type":"xml","example":"<InitializeKvstorePermissionResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</InitializeKvstorePermissionResponse>","errorExample":""}]', + 'title' => 'InitializeKvstorePermission', + 'description' => 'The log management feature of Tair (Redis OSS-compatible) requires the resources of [Simple Log Service](~~48869~~). To use the log management feature, you can call this operation to assign the AliyunServiceRoleForKvstore service-linked role to Tair (Redis OSS-compatible). For more information, see [Service-linked role of Tair (Redis OSS-compatible)](~~184337~~).'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAuditRecords' => [ - 'summary' => 'Queries the audit logs of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitializeKvstorePermission'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:InitializeKvstorePermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListTagResources' => [ + 'summary' => 'Queries the relationships between Tair (Redis OSS-compatible) instances and tags.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15768,766 +14253,476 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '56381', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreE2TR4H', - ], + 'abilityTreeCode' => '56460', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'NodeId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node in the instance. You can set this parameter to query the monitoring data of a specified node.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is available only for read/write splitting and cluster instances.'."\n" - ."\n" - .'* You can call the [DescribeLogicInstanceTopology](~~473786~~) operation to query node IDs.', - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'AccountName', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => 'The username of the account. If you do not specify this parameter, all accounts of the instance are queried.'."\n", + 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", 'type' => 'string', - 'required' => false, - 'example' => 'demo', + 'required' => true, + 'docRequired' => true, + 'example' => 'INSTANCE', + 'enum' => ['INSTANCE', 'instance'], + 'title' => '', ], ], [ - 'name' => 'DatabaseName', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database in the instance. If you do not specify this parameter, all databases are queried. Valid values: 0 to 255. 0 specifies database 0.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The token used to start the next query to retrieve more results.'."\n" + ."\n" + .'> This parameter is not required in the first query. If not all results are returned in one query, you can specify the **NextToken** value returned for the query to perform the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => '212db86sca4384811e0b5e8707ec2****', 'title' => ''], ], [ - 'name' => 'QueryKeywords', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The keyword based on which the audit logs are queried. You can specify a command as a keyword to query logs. By default, all commands are queried.'."\n" + 'description' => 'The IDs of the instances.'."\n" ."\n" - .'> You can specify only a single keyword in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'maxclients', - ], - ], - [ - 'name' => 'HostAddress', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the client. If you do not specify this parameter, this call applies to all clients.'."\n", - 'type' => 'string', + .'> * You must specify this parameter or the **Tag** parameter.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], 'required' => false, - 'example' => '127.0.0.1', + 'example' => 'r-bp1zxszhcgatnx****', + 'maxItems' => 51, + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', + 'description' => 'The tags of the instance. You must specify this parameter or the **ResourceId** parameter.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The keys of the tags associated with the instances you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demokey', 'title' => ''], + 'Value' => ['description' => 'The values of the tags associated with the instances you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demovalue', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-24T12:10:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" - ."\n" - .'> We recommend that you specify a time range of 10 minutes or less because audit logs contain a great number of entries. Do not specify a time range that is longer than one day.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-25T12:10:00Z', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the query.'."\n", - 'type' => 'string', - 'example' => '2019-03-25T12:10:00Z', - ], - 'StartTime' => [ - 'description' => 'The start time of the query.'."\n", - 'type' => 'string', - 'example' => '2019-03-24T12:10:00Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9F5EB478-824E-4AC4-8D2B-58F31A02****', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '22222', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'Items' => [ + 'NextToken' => ['description' => 'The token required to obtain more results. If a query does not return all results, in the next query, you can provide the token returned by the previous query to obtain more results.'."\n", 'type' => 'string', 'example' => '212db86sca4384811e0b5e8707ec2****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '47A514A1-4B77-4E30-B4C5-2A880650****', 'title' => ''], + 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'SQL' => [ - 'description' => 'The collection of returned audit log entries.'."\n", + 'TagResource' => [ + 'description' => 'Details about the instances and tags.'."\n", 'type' => 'array', 'items' => [ + 'description' => 'The tag that is added to the instance.'."\n", 'type' => 'object', 'properties' => [ - 'HostAddress' => [ - 'description' => 'The IP address of the client.'."\n", - 'type' => 'string', - 'example' => '127.0.0.1', - ], - 'SQLText' => [ - 'description' => 'The command that was run.'."\n", - 'type' => 'string', - 'example' => 'CONFIG GET maxmemory', - ], - 'DatabaseName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'SQLType' => [ - 'description' => 'The type of the command.'."\n", - 'type' => 'string', - 'example' => 'non_read_write', - ], - 'ExecuteTime' => [ - 'description' => 'The time when the command was run.'."\n", - 'type' => 'string', - 'example' => '2019-03-25T03:22:08Z', - ], - 'TotalExecutionTimes' => [ - 'description' => 'The amount of time consumed to run the command.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n" - ."\n" - .'> A specific node ID is returned only if the instance uses the cluster or read/write splitting architecture.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], - 'AccountName' => [ - 'description' => 'The username of the account.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'IPAddress' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '192.16.100.***', - ], + 'TagValue' => ['description' => 'The values of the tags.'."\n", 'type' => 'string', 'example' => 'demovalue', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type. The return value is **ALIYUN::KVSTORE::INSTANCE**. This value indicates a Tair (Redis OSS-compatible) instance.'."\n", 'type' => 'string', 'example' => 'ALIYUN::KVSTORE::INSTANCE', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID, which is also the ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TagKey' => ['description' => 'The keys of the tags.'."\n", 'type' => 'string', 'example' => 'demokey', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IncorrectDBInstance.NotSupported', - 'errorMessage' => 'This instance do not support log audit.', - ], - [ - 'errorCode' => 'InvalidEndTime.Invalid', - 'errorMessage' => 'pecified end time is before this service active time.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter StartTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter EndTime is not valid.', - ], - [ - 'errorCode' => 'InvalidPageSize.Malformed', - 'errorMessage' => 'The specified parameter PageSize is not valid.', - ], - [ - 'errorCode' => 'InvalidPageNumbers.Malformed', - 'errorMessage' => 'Specified page number is not valid.', - ], - [ - 'errorCode' => 'InvalidQueryTime.Format', - 'errorMessage' => 'Specified query time is not valid.', - ], + ['errorCode' => 'InvalidTagKey.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', 'description' => ''], + ['errorCode' => 'InvalidTagValue.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', 'description' => ''], + ['errorCode' => 'MissParameter.TagOrResourceId', 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', 'description' => 'The parameters Tag and ResourceId cannot all be empty. At least one of them is passed in.'], + ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The specified parameter Scope is not valid.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter number is exceed.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The Tags parameter number is exceed.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-03-25T12:10:00Z\\",\\n \\"StartTime\\": \\"2019-03-24T12:10:00Z\\",\\n \\"RequestId\\": \\"9F5EB478-824E-4AC4-8D2B-58F31A02****\\",\\n \\"InstanceName\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TotalRecordCount\\": 22222,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"SQL\\": [\\n {\\n \\"HostAddress\\": \\"127.0.0.1\\",\\n \\"SQLText\\": \\"CONFIG GET maxmemory\\",\\n \\"DatabaseName\\": \\"demo\\",\\n \\"SQLType\\": \\"non_read_write\\",\\n \\"ExecuteTime\\": \\"2019-03-25T03:22:08Z\\",\\n \\"TotalExecutionTimes\\": \\"0\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\",\\n \\"AccountName\\": \\"demo\\",\\n \\"IPAddress\\": \\"192.16.100.***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAuditRecordsResponse>\\r\\n\\t<Items>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET band-width</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxmemory</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxclients</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:08Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET qps</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET qps</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxclients</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t\\t<SQL>\\r\\n\\t\\t\\t<TotalExecutionTimes>0</TotalExecutionTimes>\\r\\n\\t\\t\\t<DatabaseName>0</DatabaseName>\\r\\n\\t\\t\\t<HostAddress>127.0.0.1</HostAddress>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-25T03:22:03Z</ExecuteTime>\\r\\n\\t\\t\\t<SQLText>CONFIG GET maxmemory</SQLText>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<SQLType>non_read_write</SQLType>\\r\\n\\t\\t</SQL>\\r\\n\\t</Items>\\r\\n\\t<TotalRecordCount>36559</TotalRecordCount>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<RequestId>9F5EB478-824E-4AC4-8D2B-58F31A02****</RequestId>\\r\\n\\t<EndTime>2019-03-25T12:10:00Z</EndTime>\\r\\n\\t<StartTime>2019-03-24T12:10:00Z</StartTime>\\r\\n\\t<InstanceName>r-bp1zxszhcgatnx****</InstanceName>\\r\\n</DescribeAuditRecordsResponse>","errorExample":""}]', - 'title' => 'DescribeAuditRecords', - 'description' => 'Before you call this operation, you must enable the audit log feature for the instance. For more information, see [ModifyAuditLogConfig](~~473829~~).', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"212db86sca4384811e0b5e8707ec2****\\",\\n \\"RequestId\\": \\"47A514A1-4B77-4E30-B4C5-2A880650****\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"demovalue\\",\\n \\"ResourceType\\": \\"ALIYUN::KVSTORE::INSTANCE\\",\\n \\"ResourceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TagKey\\": \\"demokey\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <TagResources>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue1</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue1</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue2</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey2</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue2</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey2</TagKey>\\n </TagResource>\\n </TagResources>\\n <RequestId>47A514A1-4B77-4E30-B4C5-2A880650****</RequestId>\\n</ListTagResourcesResponse>","errorExample":""}]', + 'title' => 'ListTagResources', + 'description' => 'You can also query the relationships between instances and tags in the Tair (Redis OSS-compatible) console. For more information, see [Filter Tair (Redis OSS-compatible) instances by tag](~~119160~~) and [View tags bound to an instance](~~134038~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRunningLogRecords' => [ - 'summary' => 'Queries the operational logs of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], + ], + 'LockDBInstanceWrite' => [ + 'summary' => 'Locks an instance. After the instance is locked, you can only read data from the instance, but cannot write data to the instance.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56435', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreGDG2ED', - ], + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '192854', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'LockReason', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node in the instance. You can set this parameter to query the operational logs of a specified node.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* This parameter is available only for read/write splitting and cluster instances.'."\n" - ."\n" - .'* If you set this parameter, you must also set the **CharacterType** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'The reason why write operations on the instance are locked.'."\n", 'type' => 'string', 'required' => true, 'example' => '锁写操作验证。', 'title' => ''], ], - [ - 'name' => 'StartTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-12-03T07:01Z', + 'title' => '', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****'], + 'DBInstanceName' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-2ev03avw0r0552***', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '21986****', 'title' => ''], + 'LockReason' => ['description' => 'The reason why write operations on the instance are locked.'."\n", 'type' => 'string', 'example' => '锁定写操作测试。', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"DBInstanceName\\": \\"r-2ev03avw0r0552***\\",\\n \\"TaskId\\": 0,\\n \\"LockReason\\": \\"锁定写操作测试。\\"\\n}","type":"json"}]', + 'title' => 'LockDBInstanceWrite', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LockDBInstanceWrite'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-12-03T08:01Z', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:LockDBInstanceWrite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'MasterNodeShutDownFailOver' => [ + 'summary' => 'Simulates database node failures.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'DBName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '240096', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], + 'autoTest' => true, + ], + 'parameters' => [ [ - 'name' => 'RoleType', + 'name' => 'FailMode', 'in' => 'query', 'schema' => [ - 'description' => 'The role of the data shard. Default value: master. Valid values:'."\n" + 'description' => '* **Hard**: stimulates a hardware failure that cannot be recovered. In this case, a high-availability switchover is triggered.'."\n" + .'* **Soft** (default): stimulates a hardware failure that can be recovered. In this case, the system first attempts to recover the faulty node. If the attempt fails, a high-availability switchover is triggered.'."\n" ."\n" - .'* **master**: master node'."\n" - .'* **slave**: replica node'."\n", + .'Valid values:'."\n" + ."\n" + .'* Safe'."\n" + .'* UnSafe'."\n" + .'* Hard'."\n" + .'* Soft'."\n", 'type' => 'string', 'required' => false, - 'example' => 'master', - 'default' => 'master', - 'enum' => [ - 'master', - 'primary', - 'secondary', - ], + 'enumValueTitles' => ['UnSafe' => '', 'Hard' => 'Hard', 'Safe' => '', 'Soft' => 'Soft'], + 'example' => 'Hard', + 'default' => 'Safe', + 'enum' => ['Safe', 'UnSafe', 'Hard', 'Soft'], + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'DBNodes', 'in' => 'query', 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The IDs of the database nodes.'."\n", + 'type' => 'string', 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - ], + 'enumValueTitles' => [], + 'example' => 'r-rdsdavinx01003-db-0,r-rdsdavinx01003-db-1', + 'title' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'ProxyInstanceIds', 'in' => 'query', 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The IDs of the proxy nodes.'."\n", + 'type' => 'string', 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'enumValueTitles' => [], + 'example' => '6981,6982', + 'title' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ProxyFaultMode', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", + 'description' => '* Specify: This mode allows you to specify a proxy node to use.'."\n" + .'* Random: In this mode, a random proxy node is selected when no proxy node is specified.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', + 'example' => 'Specify', + 'enum' => ['Specify', 'Random'], + 'title' => '', ], ], [ - 'name' => 'CharacterType', + 'name' => 'DBFaultMode', 'in' => 'query', 'schema' => [ - 'description' => 'The shard type of the cluster instance. Valid values:'."\n" - ."\n" - .'* **proxy**: proxy node'."\n" - .'* **db**: data node'."\n" - .'* **cs**: config server node'."\n" - ."\n" - .'> If you set this parameter, you must also set the **NodeId** parameter.'."\n", + 'description' => '* Specify: This mode allows you to specify a database node to use.'."\n" + .'* Random: In this mode, a random database node is selected when no database node is specified.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'proxy', - 'enum' => [ - 'proxy', - 'db', - 'cs', - ], + 'example' => 'Random', + 'enum' => ['Specify', 'Random'], + 'title' => '', ], ], [ - 'name' => 'QueryKeyword', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to query operational logs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aof', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'OrderType', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The method that is used to sort the returned log entries. Valid values:'."\n" - ."\n" - .'* **asc**: ascending order'."\n" - .'* **desc**: descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'asc', - 'default' => 'desc', - ], + 'schema' => ['description' => 'The resource category. Set the value to instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance', 'default' => 'instance', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range to query.'."\n", - 'type' => 'string', - 'example' => '2018-12-03T07:01Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '093B8579-9264-43A0-ABA9-AA86****', - ], - 'PageRecordCount' => [ - 'description' => 'The number of log entries returned on the current page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'PageSize' => [ - 'description' => 'The maximum number of entries returned on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'Engine' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LogRecords' => [ - 'description' => 'Details about the log entries.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CreateTime' => [ - 'description' => 'The time when the log was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-12-03T07:07:30Z', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'Content' => [ - 'description' => 'The content of the log.'."\n", - 'type' => 'string', - 'example' => 'CONFIG REWRITE executed with success.', - ], - 'NodeId' => [ - 'description' => 'The ID of the node.'."\n" - ."\n" - .'> If a standard instance is queried, `(null)` is returned.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], - ], - 'description' => '', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '12123216-4B00-4378-BE4B-08005BFC****'], + 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TaskID' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '17566', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter StartTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter EndTime is not valid.', - ], - [ - 'errorCode' => 'InvalidPageSize.Malformed', - 'errorMessage' => 'The specified parameter PageSize is not valid.', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12123216-4B00-4378-BE4B-08005BFC****\\",\\n \\"DBInstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskID\\": \\"17566\\"\\n}","type":"json"}]', + 'title' => 'MasterNodeShutDownFailOver', + 'description' => '- 调用本接口时,指定的节点会关闭。实例会自动触发主备切换,将备节点提升为主节点。'."\n" + .'- 模拟故障的节点会在稍后自动恢复。'."\n" + .'- 单节点(单副本)不支持调用本接口。', + 'changeSet' => [ + ['createdAt' => '2025-09-15T05:58:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-12T09:28:36.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 30, 'regionId' => '*', 'api' => 'MasterNodeShutDownFailOver'], ], - 404 => [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'kvstore:MasterNodeShutDownFailOver', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2018-12-03T07:01Z\\",\\n \\"RequestId\\": \\"093B8579-9264-43A0-ABA9-AA86****\\",\\n \\"PageRecordCount\\": 5,\\n \\"TotalRecordCount\\": 5,\\n \\"PageSize\\": 30,\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"LogRecords\\": [\\n {\\n \\"CreateTime\\": \\"2018-12-03T07:07:30Z\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"Content\\": \\"CONFIG REWRITE executed with success.\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRunningLogRecordsResponse>\\n <TotalRecordCount>1</TotalRecordCount>\\n <PageRecordCount>1</PageRecordCount>\\n <RequestId>D73451AC-B9BA-46AA-8972-C17B967E****</RequestId>\\n <PageSize>30</PageSize>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <PageNumber>1</PageNumber>\\n <StartTime>2020-11-08T02:00Z</StartTime>\\n <Items>\\n <LogRecords>\\n <InstanceId>r-bp10noxlhcoim2****</InstanceId>\\n <Content>126732:M 08 Nov 2020 10:02:03.955 # CONFIG REWRITE executed with success.</Content>\\n <CreateTime>2020-11-08T02:02:06Z</CreateTime>\\n </LogRecords>\\n </Items>\\n</DescribeRunningLogRecordsResponse>","errorExample":""}]', - 'title' => 'DescribeRunningLogRecords', - 'description' => 'For more information about how to view the operational logs of an instance in the Tair (Redis OSS-compatible) console, see [View active logs](~~101713~~).'."\n" - ."\n" - .'This operation can be called up to 100 times per minute.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeSlowLogRecords' => [ - 'summary' => 'Queries the slow query logs of a Tair (Redis OSS-compatible) instance that are generated within a specified period of time.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'MigrateToOtherZone' => [ + 'summary' => 'Migrates a Tair (Redis OSS-compatible) instance to another zone in the same region.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56440', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreS1FOWZ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56462', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'NodeId', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node in the instance. You can set this parameter to query the slow query logs of a specified node.'."\n" - ."\n" - .'> This parameter is available only for read/write splitting and cluster instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'The ID of the Tair (Redis OSS-compatible) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-10T14:11Z', - ], + 'schema' => ['description' => 'The ID of the destination primary zone. You can call the [DescribeZones](~~473764~~) operation to query zone IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou-g', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-03-22T14:11Z', - ], + 'schema' => ['description' => 'The ID of the vSwitch.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The zone where the vSwitch resides must be the same as the ID of the destination zone.'."\n" + ."\n" + .'* If the network type of the instance is VPC, this parameter is required.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1e7clcw529l773d****', 'default' => 'OpenApi', 'title' => ''], ], [ - 'name' => 'DBName', + 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The name of the database.'."\n", + 'description' => 'The time when the database is switched after the instance is migrated. Valid values:'."\n" + ."\n" + .'* **Immediately**: The database is immediately switched after the instance is migrated.'."\n" + .'* **MaintainTime**: The database is switched within the maintenance window.'."\n" + ."\n" + .'> Default value: Immediately.'."\n", 'type' => 'string', 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - ], + 'example' => 'Immediately', + 'default' => '0', + 'enum' => ['0', '1', 'Immediately', 'MaintainTime'], + 'title' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'SecondaryZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The ID of the secondary zone to which you want to migrate the instance. You can call the [DescribeZones](~~473764~~) operation to query zone IDs.'."\n" + ."\n" + .'> If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], ], [ - 'name' => 'SlowLogRecordType', + 'name' => 'ReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the slow logs. Default value: db. Valid values:'."\n" - ."\n" - .'* **proxy**: slow logs of proxy nodes'."\n" - .'* **db**: slow logs of data nodes'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'proxy', - 'default' => 'db', - 'enum' => [ - 'proxy', - 'db', - ], - ], + 'schema' => ['description' => 'The number of replica nodes in the primary zone.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The **ReplicaCount** and **SlaveReplicaCount** parameters are applicable only to cloud-native instances. When you migrate an instance to multiple zones, you can use these parameters to adjust the distribution of replica nodes in the primary and secondary zones of the instance. This operation does not allow you to increase or decrease the number of nodes. Therefore, the sum of the values of `ReplicaCount and SlaveReplicaCount` must be the same as that before the migration.'."\n" + ."\n" + .'* If you do not specify these parameters when you migrate an instance from a single zone to multiple zones, one replica node is migrated to the secondary zone, and all other replica nodes remain in the primary zone.'."\n" + ."\n" + .'* If the instance is a cluster instance, the preceding parameters indicate the number of replica nodes per shard in the primary and secondary zones of the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ - 'name' => 'QueryKeyword', + 'name' => 'SlaveReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword based on which slow logs are queried. You can set this parameter to a value of the string type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyword1', - ], + 'schema' => ['description' => 'The number of replica nodes in the secondary zone.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ - 'name' => 'OrderType', + 'name' => 'ReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The sorting order of the results to return. Default value: DESC. Valid values:'."\n" - ."\n" - .'* **ASC**: ascending order'."\n" - .'* **DESC**: descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - 'default' => 'DESC', - 'enum' => [ - 'ASC', - 'DESC', - ], - ], + 'schema' => ['description' => 'The number of read replicas in the primary zone.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The **ReadOnlyCount** and **SlaveReadOnlyCount** parameters are applicable only to cloud-native instances for which read/write splitting is enabled. When you migrate an instance to multiple zones, you can use these parameters to adjust the distribution of read replicas in the primary and secondary zones of the instance. This operation does not allow you to increase or decrease the number of nodes. Therefore, the sum of the values of `ReadOnlyCount and SlaveReadOnlyCount` must be the same as that before the migration.'."\n" + ."\n" + .'* If you do not specify these parameters when you migrate an instance from a single zone to multiple zones, one read replica is migrated to the secondary zone, and all other read replicas remain in the primary zone.'."\n" + ."\n" + .'* If the instance is a cluster instance, the preceding parameters indicate the number of read replicas per shard in the primary and secondary zones of the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9', 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ - 'name' => 'OrderBy', + 'name' => 'SlaveReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The dimension by which to sort the results. Default value: execution_time. Valid values:'."\n" - ."\n" - .'* **execution_time**: sorts the results by query start time.'."\n" - .'* **latency**: sorts the results by query latency.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'execution_time', - 'default' => 'execution_time', - ], + 'schema' => ['description' => 'The number of read replicas in the secondary zone.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9', 'minimum' => '0', 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -16535,251 +14730,203 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => 'The start time of the query.'."\n", - 'type' => 'string', - 'example' => '2019-03-10T13:11Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****', - ], - 'PageRecordCount' => [ - 'description' => 'The number of log entries returned on the current page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of returned log entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The maximum number of log entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp10n********', - ], - 'Engine' => [ - 'description' => 'The database engine that the instance runs.'."\n", - 'type' => 'string', - 'example' => 'Redis', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LogRecords' => [ - 'description' => 'The slow query log entries.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Account' => [ - 'description' => 'The ID of the account.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ElapsedTime' => [ - 'description' => 'The amount of time consumed to execute the slow query statement. Unit: microseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '248', - ], - 'Command' => [ - 'description' => 'The slow query statement.'."\n", - 'type' => 'string', - 'example' => 'KEYS *', - ], - 'DBName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => '-1', - ], - 'ExecuteTime' => [ - 'description' => 'The start time when the slow query statement was executed. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format.'."\n", - 'type' => 'string', - 'example' => '2019-03-20T09:18:41Z', - ], - 'DataBaseName' => [ - 'description' => 'The database name. This parameter serves the same purpose as the **DBName** parameter. We recommend that you use the **DBName** parameter.'."\n", - 'type' => 'string', - 'example' => '-1', - ], - 'NodeId' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], - 'AccountName' => [ - 'description' => 'The username of the account.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'IPAddress' => [ - 'description' => 'The IP address of the client.'."\n", - 'type' => 'string', - 'example' => '172.16.88.***', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '29B0BF34-D069-4495-92C7-FA6D9452****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter StartTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter EndTime is not valid.', - ], + ['errorCode' => 'NetworkType.NotSupport', 'errorMessage' => 'Specified network type does not support this operation.', 'description' => 'The operation cannot be performed on an instance that has a public endpoint or a private endpoint. Release the endpoint and try again.'], + ['errorCode' => 'InstanceStatus.NotSupport', 'errorMessage' => 'Instance status does not support this operation.', 'description' => 'The error message returned because the operation is not supported while the instance is in the current state.'], + ['errorCode' => 'MissingSwitchId', 'errorMessage' => 'VSwitchId is mandatory for this action.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify zone not support VPC.', 'description' => ''], + ['errorCode' => 'InvalidReginAvzNotFound', 'errorMessage' => 'Specified user does not find the region and zone.', 'description' => ''], + ['errorCode' => 'ClusterNotSupport', 'errorMessage' => 'The Specified cluster does not support.', 'description' => ''], + ['errorCode' => 'InvalidVSwitchId.Mismatch', 'errorMessage' => 'The Specified vSwitchId does not matched VPC.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'The Specified Zone does not supported.', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support operations.', - ], - [ - 'errorCode' => 'ServerBusy', - 'errorMessage' => 'server busy now, please retry later.', - ], + 404 => [ + ['errorCode' => 'DBInstanceNotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke VPC service failed.', 'description' => ''], + ['errorCode' => 'ZoneMigrationError.StillingRunning', 'errorMessage' => 'Zone migration task is still running.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-03-10T14:00Z\\",\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\",\\n \\"PageRecordCount\\": 1,\\n \\"TotalRecordCount\\": 1,\\n \\"PageSize\\": 30,\\n \\"InstanceId\\": \\"r-bp10n********\\",\\n \\"Engine\\": \\"Redis\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"LogRecords\\": [\\n {\\n \\"Account\\": \\"0\\",\\n \\"ElapsedTime\\": 248,\\n \\"Command\\": \\"KEYS *\\",\\n \\"DBName\\": \\"0\\",\\n \\"ExecuteTime\\": \\"2019-03-12T09:18:41Z\\",\\n \\"DataBaseName\\": \\"0\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\",\\n \\"AccountName\\": \\"demo\\",\\n \\"IPAddress\\": \\"172.16.88.***\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSlowLogRecordsResponse>\\r\\n\\t<Items>\\r\\n\\t\\t<LogRecords>\\r\\n\\t\\t\\t<Command>KEYS *</Command>\\r\\n\\t\\t\\t<ExecuteTime>2019-03-20T09:18:41Z</ExecuteTime>\\r\\n\\t\\t\\t<ElapsedTime>248</ElapsedTime>\\r\\n\\t\\t\\t<IPAddress>172.16.88.***</IPAddress>\\r\\n\\t\\t\\t<Account>0</Account>\\r\\n\\t\\t\\t<AccountName>0</AccountName>\\r\\n\\t\\t\\t<DataBaseName>-1</DataBaseName>\\r\\n\\t\\t\\t<DBName>-1</DBName>\\r\\n\\t\\t</LogRecords>\\r\\n\\t</Items>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<TotalRecordCount>1</TotalRecordCount>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<InstanceId>r-bp1zxszhcgatnx****-db-1</InstanceId>\\r\\n\\t<RequestId>686BB8A6-BBA5-47E5-8A75-D2ADE433****</RequestId>\\r\\n\\t<StartTime>2019-03-10T13:11Z</StartTime>\\r\\n\\t<Engine>Redis</Engine>\\r\\n\\t<PageRecordCount>1</PageRecordCount>\\r\\n</DescribeSlowLogRecordsResponse>","errorExample":""}]', - 'title' => 'DescribeSlowLogRecords', - 'description' => 'You can also query slow logs in the Tair (Redis OSS-compatible) console. For more information, see [Query slow logs of an instance](~~95874~~). This operation can be called up to 100 times per minute.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29B0BF34-D069-4495-92C7-FA6D9452****\\"\\n}","errorExample":""},{"type":"xml","example":"<MigrateToOtherZoneResponse>\\r\\n <RequestId>29B0BF34-D069-4495-92C7-FA6D9452****</RequestId>\\r\\n</MigrateToOtherZoneResponse>","errorExample":"<MigrateToOtherZoneResponse>\\n <RequestId>29B0BF34-D069-4495-92C7-FA6D94528A9E</RequestId>\\n</MigrateToOtherZoneResponse>"}]', + 'title' => 'MigrateToOtherZone', + 'description' => 'Before you call this operation, you must release the public endpoint (if any) of the instance. For more information, see [Migrate an instance across zones](~~106272~~).'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If the network type of an Tair (Redis OSS-compatible) instance is switched from classic network to Virtual Private Cloud (VPC), and the classic network endpoint is retained, you can migrate the instance across zones only after the classic network endpoint is released upon expiration.'."\n" + ."\n" + .'* After the instance is migrated, the endpoint of the instance remains unchanged. However, the virtual IP address (VIP) is changed. We recommend that you use the endpoint instead of the VIP to connect to the instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'InitializeKvstorePermission' => [ - 'summary' => 'Assigns a service-linked role to Tair (Redis OSS-compatible).', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-19T09:15:46.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MigrateToOtherZone'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:MigrateToOtherZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'ModifyAccountDescription' => [ + 'summary' => 'Modifies the description of an account for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56463', + 'abilityTreeNodes' => ['FEATUREkvstoreXSBQ72'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'default' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'AccountName', + 'in' => 'query', + 'schema' => ['description' => 'The username of the account. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoaccount', 'title' => ''], + ], + [ + 'name' => 'AccountDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the account.'."\n" + ."\n" + .'* The description must start with a letter and cannot start with `http://` or `https://`.'."\n" + .'* The description can contain letters, digits, underscores (\\_), and hyphens (-).'."\n" + .'* The description must be 2 to 256 characters in length.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testescription', 'title' => ''], + ], + [ + 'name' => 'SourceBiz', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is automatically generated by the service, You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D2****\\"\\n}","errorExample":""},{"type":"xml","example":"<InitializeKvstorePermissionResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</InitializeKvstorePermissionResponse>","errorExample":""}]', - 'title' => 'InitializeKvstorePermission', - 'description' => 'The log management feature of Tair (Redis OSS-compatible) requires the resources of [Simple Log Service](~~48869~~). To use the log management feature, you can call this operation to assign the AliyunServiceRoleForKvstore service-linked role to Tair (Redis OSS-compatible). For more information, see [Service-linked role of Tair (Redis OSS-compatible)](~~184337~~).'."\n", + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidEngineVersion.Format', 'errorMessage' => 'Current EngineVersion does not support operations.', 'description' => 'The operation is not supported while the instance runs this engine version.'], + ['errorCode' => 'InvalidAccountDescription.Format', 'errorMessage' => 'Specified AccountDescription is not valid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}"},{"type":"xml","example":"<ModifyAccountDescriptionResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>\\n</ModifyAccountDescriptionResponse>","errorExample":"<ModifyAccountDescriptionResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyAccountDescriptionResponse>"}]', + 'title' => 'ModifyAccountDescription', + 'description' => 'This operation is supported only for instances that run Redis 4.0 or later.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeServiceLinkedRoleExists' => [ - 'summary' => 'Queries whether the related service-linked role is created for Tair (Redis OSS-compatible) in the current account.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAccountDescription'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAccountDescription', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'ModifyAccountPassword' => [ + 'summary' => 'Modifies the password of an account for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56438', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56464', + 'abilityTreeNodes' => ['FEATUREkvstoreXSBQ72'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides.'."\n" - ."\n" - .'> This parameter does not affect the query results. You can specify any region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Engine', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine of the instance. Only Redis is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - 'default' => 'Redis', - ], + 'schema' => ['description' => 'The username of the account for which you want to change the password. You can call the [DescribeAccounts](~~473816~~) operation to query the username of the account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testaccount', 'title' => ''], + ], + [ + 'name' => 'OldAccountPassword', + 'in' => 'query', + 'schema' => ['description' => 'The current password of the account.'."\n" + .' '."\n" + .'> If you forget your password, you can call the [ResetAccountPassword](~~473815~~) operation to reset your password.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oldPassWd999****', 'title' => ''], + ], + [ + 'name' => 'NewAccountPassword', + 'in' => 'query', + 'schema' => ['description' => 'The new password to be set for the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'newPassWd888****', 'title' => ''], + ], + [ + 'name' => 'SourceBiz', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ @@ -16787,38 +14934,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ExistsServiceLinkedRole' => [ - 'description' => 'Indicates whether the service-linked role is created for Tair (Redis OSS-compatible) in the current account. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The unique ID of the request.'."\n", - 'type' => 'string', - 'example' => '90B82DB7-FB28-4CC2-ADBF-1F8659F3****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExistsServiceLinkedRole\\": true,\\n \\"RequestId\\": \\"90B82DB7-FB28-4CC2-ADBF-1F8659F3****\\"\\n}","type":"json"}]', - 'title' => 'DescribeServiceLinkedRoleExists', - 'description' => 'You can call this operation to query whether the service-lined role AliyunServiceRoleForKvstore is created for Tair (Redis OSS-compatible). For more information, see [Service-linked role of Tair (Redis OSS-compatible)](~~184337~~).'."\n", - ], - 'ModifySecurityIps' => [ - 'summary' => 'Configures an IP address whitelist for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAccountPasswordResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyAccountPasswordResponse>","errorExample":""}]', + 'title' => 'ModifyAccountPassword', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAccountPassword'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAccountPassword', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + ], + 'ModifyActiveOperationMaintainConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16828,68 +14982,55 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56500', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreFPM1AL', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194537', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'CycleType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The cycle type of the maintenance window. Valid values:'."\n" + ."\n" + .'- `Month`'."\n" + ."\n" + .'- `Week`', 'type' => 'string', 'required' => false, 'example' => 'Week', 'title' => ''], ], [ - 'name' => 'SecurityIps', + 'name' => 'CycleTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '100.64.***.0/24,10.101.11.***', - ], + 'schema' => ['description' => 'The days of the cycle.'."\n" + ."\n" + .'- If `CycleType` is `Month`, specify the days of the month (1 to 28). Separate multiple days with a comma (,).'."\n" + ."\n" + .'- If `CycleType` is `Week`, specify the days of the week (1 to 7). Separate multiple days with a comma (,).', 'type' => 'string', 'required' => false, 'example' => '1,2,3,4,5', 'title' => ''], ], [ - 'name' => 'SecurityIpGroupName', + 'name' => 'MaintainStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the IP address whitelist.'."\n" - .'><warning>You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.></warning>', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The start time of the maintenance window, specified in *HH:mm:ss*Z format (UTC time).', 'type' => 'string', 'required' => false, 'example' => '16:00:00Z', 'title' => ''], ], [ - 'name' => 'SecurityIpGroupAttribute', + 'name' => 'MaintainEndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is **hidden**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'hidden', - ], + 'schema' => ['description' => 'The end time of the maintenance window, specified in *HH:mm:ss*Z format (UTC time).', 'type' => 'string', 'required' => false, 'example' => '20:00:00Z', 'title' => ''], ], [ - 'name' => 'ModifyMode', + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => 'The method that is used to modify the whitelist. Valid values:'."\n" + 'description' => 'Specifies whether the configuration is enabled. Valid values:'."\n" ."\n" - .'* **Cover** (default): overwrites the original whitelist.'."\n" - .'* **Append**: appends data to the whitelist.'."\n" - .'* **Delete**: deletes the whitelist.'."\n", - 'type' => 'string', + .'- 1: enabled'."\n" + ."\n" + .'- 2: disabled', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'Append', - 'default' => '0', + 'enum' => ['1', '2'], + 'example' => '2', + 'title' => '', ], ], ], @@ -16898,60 +15039,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AAAF99B1-69ED-4E80-8CD5-272C09E4****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbbiden.MinorVersion', - 'errorMessage' => 'The operation is not permitted for current minor version. ', - ], - [ - 'errorCode' => 'InvalidGroupName.Format', - 'errorMessage' => 'Sepecified group name is not valid.', - ], - [ - 'errorCode' => 'LockTimeout', - 'errorMessage' => 'The request processing has failed due to lock timeout.', - ], + 'title' => 'Modify O&M Job Configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyActiveOperationMaintainConfig'], ], - 404 => [ - [ - 'errorCode' => 'InvalidSecurityIPList.NotFound', - 'errorMessage' => 'Specified same security IP does not exist or at least one security IP need.', - ], - ], - 409 => [ - [ - 'errorCode' => 'SecurityIPList.Duplicate', - 'errorMessage' => 'Specified same security IP already exists.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationMaintainConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AAAF99B1-69ED-4E80-8CD5-272C09E4****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySecurityIpsResponse>\\n <RequestId>AAAF99B1-69ED-4E80-8CD5-272C09E4****</RequestId>\\n</ModifySecurityIpsResponse>","errorExample":"{\\n\\"RequestId\\" : \\"AAAF99B1-69ED-4E80-8CD5-272C09E46ACF\\"\\n}"}]', - 'title' => 'ModifySecurityIps', - 'description' => 'You can also modify the whitelists of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Configure a whitelist for an instance](~~56464~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\"\\n}","type":"json"}]', + 'summary' => 'ModifyActiveOperationMaintainConf', ], - 'ModifySecurityGroupConfiguration' => [ - 'summary' => 'Resets the security groups that are added to the whitelists of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyActiveOperationTask' => [ + 'summary' => 'Changes the scheduled switchover time of an O\\&M task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16960,33 +15083,23 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56499', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreN9BAYI', - ], + 'abilityTreeCode' => '56467', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'DBInstanceId', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the O\\&M task. Separate multiple IDs with commas (,).'."\n" + ."\n" + .'> You can call the [DescribeActiveOperationTask](~~473865~~) operation to query the ID of an O\\&M task.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '11111,22222', 'title' => ''], ], [ - 'name' => 'SecurityGroupId', + 'name' => 'SwitchTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the security group that you want to manage. You can specify up to 10 security groups. Separate multiple security group IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sg-bpcfmyiu4ekp****', - ], + 'schema' => ['description' => 'The scheduled switchover time to be specified. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" + ."\n" + .'> The time cannot be later than the latest operation time. You can call the [DescribeActiveOperationTask](~~473865~~) operation to obtain the latest operation time, which is the value of the **Deadline** parameter in the response.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-10-17T18:50:00Z', 'title' => ''], ], ], 'responses' => [ @@ -16994,76 +15107,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '147CAC09-E8C6-43F8-9599-982A43D6****', - ], + 'Ids' => ['description' => 'The ID of the O\\&M task. IDs are separated by commas (,).'."\n", 'type' => 'string', 'example' => '11111,22222', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'EngineNotSupported', - 'errorMessage' => 'Engine specified cannot be supported the operation.', - ], - [ - 'errorCode' => 'AssociatedEcsSecurityGroupIdQuotaExceed', - 'errorMessage' => 'SecurityGroupId参数超过能使用的最大数量.', - ], - [ - 'errorCode' => 'MissingInstanceId', - 'errorMessage' => 'InstanceId is mandatory for this action.', - ], - [ - 'errorCode' => 'InvalidParam', - 'errorMessage' => 'Specified ecs security group id is not valid.', - ], - [ - 'errorCode' => 'InvalidIzNo.NotSupported', - 'errorMessage' => 'the Specified Zone not supported.', - ], + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ['errorCode' => 'TaskModifyError', 'errorMessage' => 'Part of the tasks cannot be modified.', 'description' => ''], + ['errorCode' => 'SwitchTimeAfterDeadline', 'errorMessage' => 'The switch time should be earlier than deadline.', 'description' => ''], + ['errorCode' => 'StartTimeBeforeNow', 'errorMessage' => 'The start time should not be earlier than the current time.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AssociatedEcsSecurityGroupId.QuotaExceed', - 'errorMessage' => 'SecurityGroupIdQuotaExceeded exceeding the allowed amount of SecurityGroupId.', - ], - ], - [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter “DBInstanceId” that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', - ], - [ - 'errorCode' => 'InvalidRegionZoneNotFound', - 'errorMessage' => 'Specified Region does not exist in RDS.', - ], + ['errorCode' => 'IncorrectTaskStatus', 'errorMessage' => 'Certain task\'s status does not support this operation.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"147CAC09-E8C6-43F8-9599-982A43D6****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySecurityGroupConfigurationResponse>\\r\\n <RequestId>147CAC09-E8C6-43F8-9599-982A43D6****</RequestId>\\r\\n</ModifySecurityGroupConfigurationResponse>","errorExample":""}]', - 'title' => 'ModifySecurityGroupConfiguration', - 'description' => '> After you call this operation, the security groups that are added to the whitelists of the Tair instance are deleted, and the security group specified by the **SecurityGroupId** parameter is added to the whitelists. For more information about how to reset security groups in the Tair console, see [Add security groups](~~148267~~).', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Ids\\": \\"11111,22222\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyActiveOperationTaskResponse>\\n <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n <Ids>11111,22222</Ids>\\n</ModifyActiveOperationTaskResponse>","errorExample":""}]', + 'title' => 'ModifyActiveOperationTask', + 'description' => 'You can receive notifications for Tair (Redis OSS-compatible) events such as instance migration and version upgrade by text message, phone call, email, internal message, or by using the console. You can also change the scheduled switchover time of a task by using the console. For more information, see [Query or manage pending events](~~187022~~).'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstanceSSL' => [ - 'summary' => 'Enables Transport Layer Security (TLS) for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyActiveOperationTask'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyActiveOperationTasks' => [ + 'summary' => 'Modifies the switching time of scheduled O\\\\\\&M events for an instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17073,45 +15167,31 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56487', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56468', + 'abilityTreeNodes' => ['FEATUREkvstoreJ3DM1I'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The IDs of the O\\&M events. Separate multiple event IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1111721,1111718', 'title' => ''], ], [ - 'name' => 'SSLEnabled', + 'name' => 'SwitchTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable TLS (SSL) encryption. Valid values:'."\n" - ."\n" - .'* **Disable**: disables SSL encryption.'."\n" - .'* **Enable**: enables SSL encryption.'."\n" - .'* **Update**: updates the SSL certificate.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Enable', - 'enum' => [ - 'Disable', - 'Enable', - 'Update', - ], - ], + 'schema' => ['description' => 'The scheduled switching time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n" + ."\n" + .'> The time that is specified by the SwitchTime parameter cannot be later than the time that is specified by the Deadline parameter. You can call the DescribeActiveOperationTasks operation to query the latest switching time that is returned for the Deadline parameter.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-10-17T18:50:00Z'."\n", 'title' => ''], + ], + [ + 'name' => 'ImmediateStart', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to immediately start scheduling. Valid values:'."\n" + ."\n" + .'* 0 (default): Scheduling is not started immediately.'."\n" + .'* 1: Scheduling is started immediately.'."\n" + ."\n" + .'> If you set this parameter to 0, the SwitchTime parameter takes effect. If you set this parameter to 1, the SwitchTime parameter does not take effect. In this case, the start time of the event is set to the current time, and the system determines the switching time based on the start time. Scheduling is started immediately, which is a prerequisite for the switchover. Then, the switchover is performed. You can call the DescribeActiveOperationTasks operation to query the preparation time that is returned for the PrepareInterval parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'."\n", 'title' => ''], ], ], 'responses' => [ @@ -17119,77 +15199,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AD7E16AA-6B23-43BF-979C-07D957FB****', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '32184****', - ], + 'Ids' => ['description' => 'The IDs of the O\\&M events. Separate multiple event IDs with commas (,).'."\n", 'type' => 'string', 'example' => '11111,22222', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'E278D833-BB4B-50BF-8646-7BC1BAB2373B', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameters.Format', - 'errorMessage' => 'Specified parameters is not valid.', - ], - ], - 403 => [ - [ - 'errorCode' => 'IncorrectCharacterType', - 'errorMessage' => 'Current DB instance CharacterType does not support this operation.', - ], - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support operations.', - ], - [ - 'errorCode' => 'IncorrectDBInstanceState', - 'errorMessage' => 'Current DB instance state does not support this operation.', - ], - [ - 'errorCode' => 'IncorrectDBInstanceLockMode', - 'errorMessage' => 'Current DB instance lock mode does not support this operation.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ids\\": \\"11111,22222\\",\\n \\"RequestId\\": \\"E278D833-BB4B-50BF-8646-7BC1BAB2373B\\"\\n}","type":"json"}]', + 'title' => 'ModifyActiveOperationTasks', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyActiveOperationTasks'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'EnabledSSLNotSupport', - 'errorMessage' => 'Specified region does not support enable ssl.', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AD7E16AA-6B23-43BF-979C-07D957FB****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"32184****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceSSLResponse>\\n <TaskId>32184****</TaskId>\\n <RequestId>AD7E16AA-6B23-43BF-979C-07D957FB****</RequestId>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n</ModifyInstanceSSLResponse>","errorExample":"<ModifyInstanceSSLResponse>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <RequestId>52D901ED-E0A5-42FB-B9DB-39C295C37738</RequestId>\\n <TaskId>111</TaskId>\\n</ModifyInstanceSSLResponse>"}]', - 'title' => 'ModifyInstanceSSL', - 'description' => 'You can also configure SSL encryption in the console. For more information, see [Configure SSL encryption](~~84898~~).'."\n" - ."\n" - .'> To specify the earliest supported SSL version, you can call the [ModifyInstanceConfig](~~473844~~) operation to modify the required parameter.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyInstanceVpcAuthMode' => [ - 'summary' => 'Enables or disables password-free access for a Tair (Redis OSS-compatible) instance. This way, you can connect to a database in a convenient and secure manner.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAuditLogConfig' => [ + 'summary' => 'Enables the audit log feature or modifies the audit log settings for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17199,47 +15244,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56490', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56469', + 'abilityTreeNodes' => ['FEATUREkvstoreE2TR4H'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'VpcAuthMode', + 'name' => 'Retention', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to disable password-free access. Valid values:'."\n" - ."\n" - .'* **Open**: disables password-free access.'."\n" - .'* **Close**: enables password-free access.'."\n" - ."\n" - .'> Default value: **Open**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Close', - 'enum' => [ - 'Open', - 'Close', - 'OPEN', - 'CLOSE', - ], - ], + 'schema' => ['description' => 'The retention period of audit logs. Valid values: **1** to **365**. Unit: days.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is required only when the **DbAudit** parameter is set to **true**.'."\n" + ."\n" + .'* The value of this parameter takes effect for all instances in the current region.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '365', 'minimum' => '1', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'DbAudit', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the audit log feature. Default value: true. Valid values:'."\n" + ."\n" + .'* **true**: enables the audit log feature.'."\n" + .'* **false**: disables the audit log feature.'."\n" + ."\n" + .'> If the instance uses the [cluster architecture](~~52228~~) or [read/write splitting architecture](~~62870~~), the audit log feature is enabled or disabled for both the data nodes and proxy nodes. You cannot separately enable the audit log feature for the data nodes or proxy nodes.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -17247,168 +15282,187 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRetention', 'errorMessage' => 'The Retention is invalid.', 'description' => ''], + ['errorCode' => 'ResourceConfigError', 'errorMessage' => 'The request processing has failed due to resource config error.', 'description' => ''], + ], 403 => [ - [ - 'errorCode' => 'ParamNotSupportedForCurrentVersion', - 'errorMessage' => 'Parameter is not supported for current version.', - ], + ['errorCode' => 'TaskHasExist', 'errorMessage' => 'The task already exists.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\"\\n}","errorExample":"{ \\n \\"RequestId\\":\\"29896E96-E8C4-4F24-868A-6xxxxxxxx3\\"\\n}"},{"type":"xml","example":"<ModifyInstanceVpcAuthModeResponse>\\n <RequestId>ABAF95F6-35C1-4177-AF3A-70969EBD****</RequestId>\\n</ModifyInstanceVpcAuthModeResponse>","errorExample":"<ModifyInstanceVpcAuthModeResponse>\\n <RequestId>EFC9161F-15E3-4A6E-8A99-Cxxxxxxxxx4</RequestId>\\n</ModifyInstanceVpcAuthModeResponse>"}]', - 'title' => 'ModifyInstanceVpcAuthMode', - 'description' => 'When the password-free access feature is enabled, Elastic Compute Service (ECS) instances in the same virtual private cloud (VPC) can connect to the Tair instance without a password. You can also use the username and password to connect to the Tair instance.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","type":"json"}]', + 'title' => 'ModifyAuditLogConfig', + 'description' => 'Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of the audit log feature.'."\n" ."\n" - .'> The Tair instance is deployed in a VPC. For more information, see [Enable password-free access](~~85168~~).', + .'Before you call this operation, make sure that the Tair (Redis OSS-compatible) instance meets the following requirements:'."\n" + ."\n" + .'* The instance is a Tair (Redis OSS-compatible) Community Edition instance or Tair [DRAM-based instance](~~126164~~).'."\n" + .'* The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~473781~~) operation to check whether the instance uses the latest major version and minor version.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSecurityIps' => [ - 'summary' => 'Queries the IP address whitelists of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAuditLogConfig'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAuditLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:DbAudit', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + ], + 'ModifyBackupExpireTime' => [ + 'summary' => 'Extends the expiration time of manual backup data.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56437', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreFPM1AL', - ], + 'abilityTreeCode' => '269550', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'BackupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the backup file. You can call the [DescribeBackups](~~473823~~) operation to query the IDs of backup files.'."\n", 'type' => 'string', 'required' => false, 'example' => '521****66', 'title' => ''], + ], + [ + 'name' => 'ExpectExpireTime', + 'in' => 'query', + 'schema' => ['description' => 'The point in time to which you want to extend the expiration time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. The time cannot be earlier than the current expiration time.'."\n", 'type' => 'string', 'required' => true, 'example' => '2025-07-06T07:25:57Z', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'EFC9161F-15E3-4A6E-8A99-C09916D1****', - ], - 'SecurityIpGroups' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'SecurityIpGroup' => [ - 'description' => 'The whitelists of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SecurityIpGroupAttribute' => [ - 'description' => 'The attribute of the whitelist. This parameter is empty by default.'."\n" - ."\n" - .'> If the instance is authorized to use a service such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), this service automatically generates a **hidden** whitelist for the instance. This type of whitelists cannot be modified or deleted.'."\n", - 'type' => 'string', - 'example' => 'hidden', - ], - 'SecurityIpList' => [ - 'description' => 'The IP addresses in the whitelist. A maximum of 1,000 IP addresses can be specified in a whitelist.'."\n", - 'type' => 'string', - 'example' => '100.100.202.***/24,10.10.10.***', - ], - 'SecurityIpGroupName' => [ - 'description' => 'The name of the whitelist.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B560AAD5-5027-51AD-A0D4-FA4DB1A76F40'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The InstanceId provided does not exist in our records.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B560AAD5-5027-51AD-A0D4-FA4DB1A76F40\\"\\n}","type":"json"}]', + 'title' => 'ModifyBackupExpireTime', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupExpireTime'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyBackupExpireTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EFC9161F-15E3-4A6E-8A99-C09916D1****\\",\\n \\"SecurityIpGroups\\": {\\n \\"SecurityIpGroup\\": [\\n {\\n \\"SecurityIpGroupAttribute\\": \\"hidden\\",\\n \\"SecurityIpList\\": \\"100.100.202.***/24,10.10.10.***\\",\\n \\"SecurityIpGroupName\\": \\"default\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"SecurityIpGroups\\":{\\n \\"SecurityIpGroup\\":[{\\n \\"SecurityIpList\\":\\"127.0.0.1\\",\\n\\t\\t\\"SecurityIpGroupAttribute\\":\\"\\",\\n\\t\\t\\"SecurityIpGroupName\\":\\"default\\"\\n\\t\\t\\t\\t\\t },{\\n \\"SecurityIpList\\":\\"11.xxx.xxx.xxx,10.xxx.xxx.xxx\\",\\n\\t\\t\\"SecurityIpGroupAttribute\\":\\"hidden\\",\\n\\t \\"SecurityIpGroupName\\":\\"rds_replica_group\\"\\n\\t\\t\\t\\t\\t\\t}]\\n\\t\\t\\t\\t\\t },\\n \\"RequestId\\":\\"EFC9161F-15E3-4A6E-8A99-C09916D1F464\\"\\n}"},{"type":"xml","example":"<DescribeSecurityIpsResponse>\\r\\n <SecurityIpGroups>\\r\\n <SecurityIpGroup>\\r\\n <SecurityIpList>127.0.0.1</SecurityIpList>\\r\\n <SecurityIpGroupAttribute/>\\r\\n <SecurityIpGroupName>default</SecurityIpGroupName>\\r\\n </SecurityIpGroup>\\r\\n <SecurityIpGroup>\\r\\n <SecurityIpList>100.100.202.***/24,10.10.10.***</SecurityIpList>\\r\\n <SecurityIpGroupAttribute>hidden</SecurityIpGroupAttribute>\\r\\n <SecurityIpGroupName>rds_replica_group</SecurityIpGroupName>\\r\\n </SecurityIpGroup>\\r\\n </SecurityIpGroups>\\r\\n <RequestId>EFC9161F-15E3-4A6E-8A99-C09916D1****</RequestId>\\r\\n</DescribeSecurityIpsResponse>","errorExample":"<DescribeSecurityIpsResponse>\\n <SecurityIpGroups>\\n <SecurityIpGroup>\\n <SecurityIpList>127.0.0.1</SecurityIpList>\\n <SecurityIpGroupAttribute></SecurityIpGroupAttribute>\\n <SecurityIpGroupName>default</SecurityIpGroupName>\\n </SecurityIpGroup>\\n <SecurityIpGroup>\\n <SecurityIpList>11.111.111.111,10.200.200.200</SecurityIpList>\\n <SecurityIpGroupAttribute>hidden</SecurityIpGroupAttribute>\\n <SecurityIpGroupName>rds_replica_group</SecurityIpGroupName>\\n </SecurityIpGroup>\\n </SecurityIpGroups>\\n <RequestId>EFC9161F-15E3-4A6E-8A99-C09916D1F464</RequestId>\\n</DescribeSecurityIpsResponse>"}]', - 'title' => 'DescribeSecurityIps', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeSecurityGroupConfiguration' => [ - 'summary' => 'Queries the security groups that are added to the whitelists of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyBackupPolicy' => [ + 'summary' => 'Modifies the automatic backup policy of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56436', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56470', + 'abilityTreeNodes' => ['FEATUREkvstoreQ7TNCG', 'FEATUREkvstore6TUUNS', 'FEATUREkvstoreHXG88M', 'FEATUREkvstoreGDR25F'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'PreferredBackupTime', + 'in' => 'query', + 'schema' => ['description' => 'The time range to back up data. Specify the time in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.'."\n" + ."\n" + .'> The beginning and end of the time range must be on the hour. The duration must be an hour.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '07:00Z-08:00Z', 'title' => ''], + ], + [ + 'name' => 'PreferredBackupPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The days of the week to back up data. Valid values:'."\n" + ."\n" + .'* **Monday**'."\n" + .'* **Tuesday**'."\n" + .'* **Wednesday**'."\n" + .'* **Thursday**'."\n" + .'* **Friday**'."\n" + .'* **Saturday**'."\n" + .'* **Sunday**'."\n" + ."\n" + .'> Separate multiple options with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Tuesday', 'title' => ''], + ], + [ + 'name' => 'EnableBackupLog', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the data flashback feature for the instance. Valid values:'."\n" + ."\n" + .'* **1**: enables the data flashback feature. You must also enable append-only file (AOF) persistence by setting `appendonly` to `yes` in the parameter settings of the instance. Then, you can use the data flashback feature.'."\n" + .'* **0** (default): disables the data flashback feature.'."\n" + ."\n" + .'> This parameter is available only for Tair (Enterprise Edition) DRAM-based and persistent memory-optimized instances. For more information, see [Data flashback](~~148479~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '0', 'title' => ''], + ], + [ + 'name' => 'BackupRetentionPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The number of days for which you want to retain data backup files. Valid values: 7 to 730. Default value: 7.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '730', 'example' => '7', 'default' => '7', 'title' => ''], ], ], 'responses' => [ @@ -17416,196 +15470,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '981C0D6A-D9DD-466C-92DA-F29DF755****', - ], - 'Items' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'EcsSecurityGroupRelation' => [ - 'description' => 'The list of security groups.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-bp14p9y07ns3gwq****', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the instance is deployed.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'NetType' => [ - 'description' => 'The network type of the security group. Valid values:'."\n" - ."\n" - .'* **classic**: the classic network.'."\n" - .'* **vpc**: the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The InstanceId provided does not exist in our records.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"981C0D6A-D9DD-466C-92DA-F29DF755****\\",\\n \\"Items\\": {\\n \\"EcsSecurityGroupRelation\\": [\\n {\\n \\"SecurityGroupId\\": \\"sg-bp14p9y07ns3gwq****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"NetType\\": \\"vpc\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSecurityGroupConfigurationResponse>\\n <RequestId>981C0D6A-D9DD-466C-92DA-F29DF755****</RequestId>\\n <Items>\\n <EcsSecurityGroupRelation>\\n <SecurityGroupId>sg-bp14p9y07ns3gwq****</SecurityGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n <NetType>vpc</NetType>\\n </EcsSecurityGroupRelation>\\n </Items>\\n</DescribeSecurityGroupConfigurationResponse>","errorExample":""}]', - 'title' => 'DescribeSecurityGroupConfiguration', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":"{\\n\\"RequestId\\" : \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76”\\n}"},{"type":"xml","example":"<ModifyBackupPolicyResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>\\n</ModifyBackupPolicyResponse>","errorExample":"<ModifyBackupPolicyResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyBackupPolicyResponse>"}]', + 'title' => 'ModifyBackupPolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceSSL' => [ - 'summary' => 'Queries whether TLS (SSL) encryption is enabled for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-05-16T15:55:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-30T11:36:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-03T12:59:16.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyBackupPolicy'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyBackupPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:EnableBackupLog', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyDBInstanceAutoUpgrade' => [ + 'summary' => 'Modifies the settings related to the automatic minor version update for an instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '56411', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'DBInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID. You can call the DescribeDBInstances operation to obtain the ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'Value', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the instance.'."\n", + 'description' => 'Specifies whether to enable automatic minor version update. Valid values:'."\n" + ."\n" + .'* **1**: enables automatic minor version update.'."\n" + .'* **0**: disables automatic minor version update.'."\n", 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'enumValueTitles' => ['0', '1'], + 'example' => '0', + 'enum' => ['0', '1'], + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response.', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '02260F96-913E-4655-9BA5-A3651CAF****', - ], - 'SSLEnabled' => [ - 'description' => 'The status of the TLS (SSL) encryption feature. Valid values:'."\n" - ."\n" - .'* **Enable**: SSL encryption is enabled.'."\n" - .'* **Disable**: SSL encryption is disabled.'."\n", - 'type' => 'string', - 'example' => 'Enable', - ], - 'SSLExpiredTime' => [ - 'description' => 'The time when the CA certificate expires.'."\n", - 'type' => 'string', - 'example' => '2020-08-05T09:05:53Z', - ], - 'CertCommonName' => [ - 'description' => 'The common name of the CA certificate. The default value is the internal endpoint of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', - ], - 'CertDownloadURL' => [ - 'description' => 'The download URL of the CA certificate.'."\n", - 'type' => 'string', - 'example' => 'https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip', - ], + 'RequestId' => ['title' => '', 'description' => 'ID of the request.', 'type' => 'string', 'example' => '2FF6158E-3394-4A90-B634-79C49184****'], ], - 'description' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRedisVersionPattern', - 'errorMessage' => 'Redis db or proxy version does not match specified pattern.', - ], - ], - 403 => [ - [ - 'errorCode' => 'IncorrectCharacterType', - 'errorMessage' => 'Current DB instance CharacterType does not support this operation.', - ], - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support operations.', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\"\\n}","type":"json"}]', + 'title' => 'ModifyDBInstanceAutoUpgrade', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceAutoUpgrade'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The InstanceId provided does not exist in our records.', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceAutoUpgrade', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"02260F96-913E-4655-9BA5-A3651CAF****\\",\\n \\"SSLEnabled\\": \\"Enable\\",\\n \\"SSLExpiredTime\\": \\"2020-08-05T09:05:53Z\\",\\n \\"CertCommonName\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"CertDownloadURL\\": \\"https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceSSLResponse>\\n <SSLEnabled>Enable</SSLEnabled>\\n <SSLExpiredTime>2020-08-05T09:05:53Z</SSLExpiredTime>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>02260F96-913E-4655-9BA5-A3651CAF****</RequestId>\\n <CertCommonName>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</CertCommonName>\\n</DescribeInstanceSSLResponse>","errorExample":""}]', - 'title' => 'DescribeInstanceSSL', - 'description' => 'SSL encryption is supported for Tair (Redis OSS-compatible) 2.8 standard master-replica instances, Tair (Redis OSS-compatible) 2.8 master-replica cluster instances, and Tair (Redis OSS-compatible) 4.0 master-replica cluster instances. You can enable SSL encryption to enhance data transmission security.'."\n" - ."\n" - .'You can use one of the following methods to enable or disable SSL encryption or update the SSL certificate for a Tair (Redis OSS-compatible) instance:'."\n" - ."\n" - .'* Call the [ModifyInstanceSSL](~~473838~~) operation.'."\n" - .'* Enable or disable SSL encryption or update the SSL certificate in the Tair (Redis OSS-compatible) console. For more information, see [Configure SSL encryption](~~84898~~).'."\n" - ."\n" - .'> After SSL encryption is enabled, the instance may respond slower.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ModifyInstanceConfig' => [ - 'summary' => 'Modifies the parameter settings of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyDBInstanceConnectionString' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17615,111 +15594,43 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56480', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56472', + 'abilityTreeNodes' => ['FEATUREkvstoreS0D17V'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'Config', - 'in' => 'query', - 'schema' => [ - 'description' => '需修改的实例参数,格式为JSON,修改后的值会覆盖原来的值。例如您只希望修改**maxmemory-policy**参数为**noeviction**,您可以传入`{"maxmemory-policy":"noeviction"}`。'."\n" - .'> 关于各参数的详细说明,请参见[参数说明](~~259681~~)。', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '{"maxmemory-policy":"volatile-lru","zset-max-ziplist-entries":128,"zset-max-ziplist-value":64,"hash-max-ziplist-entries":512,"set-max-intset-entries":512}', - ], - ], - [ - 'name' => 'ParamReplMode', - 'in' => 'query', - 'schema' => [ - 'description' => '同步模式:'."\n" - .'* **async**(默认):异步'."\n" - .'* **semisync**:半同步', - 'type' => 'string', - 'required' => false, - 'example' => 'async', - ], - ], - [ - 'name' => 'ParamSemisyncReplTimeout', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '半同步模式的降级阈值。仅半同步支持配置该参数,单位为ms,取值范围为10~60000,默认为500。'."\n" - .'> * 当同步延迟超出该阈值时,同步模式会自动转为异步,当同步延迟消除后,同步模式会自动转换为半同步。'."\n" - .'> * 仅Tair企业版实例支持,该功能公测中。', - 'type' => 'string', - 'required' => false, - 'example' => '500', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ParamNoLooseSentinelEnabled', + 'name' => 'NewConnectionString', 'in' => 'query', - 'schema' => [ - 'description' => '哨兵兼容模式,适用于非集群实例。取值说明:'."\n" - .'* **no**(默认):未开启'."\n" - .'* **yes**:开启'."\n" - .'> 更多信息请参见[Sentinel兼容模式](~~178911~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'yes', - ], + 'schema' => ['description' => 'The prefix of the new endpoint. Specify the endpoint in the `<prefix>.redis.rds.aliyuncs.com` format. The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.'."\n" + ."\n" + .'> You must specify one of the **NewConnectionString** and **Port** parameters.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'standardredis123', 'title' => ''], ], [ - 'name' => 'ParamSentinelCompatEnable', + 'name' => 'CurrentConnectionString', 'in' => 'query', - 'schema' => [ - 'description' => '哨兵兼容模式,适用于集群架构代理连接模式或读写分离架构的实例,取值说明:'."\n" - .'* **0**(默认):未开启'."\n" - .'* **1**:开启'."\n" - .'> 更多信息请参见[Sentinel兼容模式](~~178911~~)。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The current endpoint of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], ], [ - 'name' => 'ParamNoLooseSentinelPasswordFreeAccess', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '开启哨兵模式时,是否允许免密执行Sentinel相关命令,取值说明:'."\n" - .'* **no**(默认):关闭。'."\n" - .'* **yes**:开启。开启后,可以在任意连接上免密执行Sentinel命令以及使用SENTINEL命令监听+switch-master通道。', - 'type' => 'string', - 'required' => false, - 'example' => '****', - ], + 'schema' => ['description' => 'The port number of the instance. Valid values: **1024** to **65535**.'."\n" + ."\n" + .'> You must specify one of the **NewConnectionString** and **Port** parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => '6379', 'maxLength' => 5, 'minLength' => 1, 'pattern' => '^\\d+$', 'title' => ''], ], [ - 'name' => 'ParamNoLooseSentinelPasswordFreeCommands', + 'name' => 'IPType', 'in' => 'query', - 'schema' => [ - 'description' => '启用哨兵模式及ParamNoLooseSentinelPasswordFreeAccess参数后,可通过本参数添加额外的免密命令列表(默认为空)。'."\n" - .'> * 设置后可在任意连接上无需密码执行对应命令,请谨慎操作。'."\n" - .'> * 命令需使用小写字母,多个命令以英文逗号(,)分隔。', - 'type' => 'string', - 'required' => false, - 'example' => '****', - ], + 'schema' => ['description' => 'The network type of the endpoint. Valid values:'."\n" + ."\n" + .'* **Private**: internal network'."\n" + .'* **Public**: Internet'."\n", 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], ], ], 'responses' => [ @@ -17727,125 +15638,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1790D68A-465C-44E3-BC24-9732652961F9', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameters.Format', - 'errorMessage' => 'Specified parameters is not valid.', - ], - [ - 'errorCode' => 'ParamNotSupportedForCurrentVersion', - 'errorMessage' => 'Parameter is not supported for current version.', - ], + ['errorCode' => 'NewConnectionStringNotSupport', 'errorMessage' => 'Specified newConnectionString is not supported.', 'description' => ''], + ['errorCode' => 'InvalidIPType.Format', 'errorMessage' => 'Specified parameter IPType is not supported.', 'description' => ''], + ['errorCode' => 'InvalidConnectionStringOrPort.Duplicate', 'errorMessage' => 'Specified connection string or port want to be modified is the same with current net type.', 'description' => 'The connection string or port already exists.'], + ['errorCode' => 'InvalidConnectionString.Format', 'errorMessage' => 'Specified connection string is not valid.', 'description' => 'The connection string is invalid. Use a different one.'], ], - 403 => [ - [ - 'errorCode' => 'InstanceType.NotSupport', - 'errorMessage' => 'Current instance type does not support this operation.', - ], - [ - 'errorCode' => 'NetworkType.NotSupport', - 'errorMessage' => 'Current network type does not support this operation.', + ], + 'title' => 'ModifyDBInstanceConnectionString', + 'summary' => 'Changes the endpoint or port number of a Tair (Redis OSS-compatible) instance.', + 'description' => 'You can also modify the endpoint or port number of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Change the endpoint or port number of an instance](~~85683~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConnectionString'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceConnectionString', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceConfigResponse>\\n <requestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</requestId>\\n</ModifyInstanceConfigResponse>","errorExample":""}]', - 'title' => 'ModifyInstanceConfig', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1790D68A-465C-44E3-BC24-9732652961F9\\"\\n}","errorExample":"{\\n\\t\\"code\\": \\"200\\",\\n\\t\\"data\\": {\\n\\t\\t\\"RequestId\\": \\"A7CCD05D-74FE-44DE-A4F0-C3EE58A252BE\\"\\n\\t},\\n\\t\\"successResponse\\": true\\n}"},{"type":"xml","example":"<ModifyDBInstanceConnectionStringResponse>\\n\\t<RequestId>1790D68A-465C-44E3-BC24-9732652961F9</RequestId>\\n</ModifyDBInstanceConnectionStringResponse>","errorExample":"<ModifyDBInstanceConnectionStringResponse>\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>A7CCD05D-74FE-44DE-A4F0-C3EE58A252BE</RequestId>\\n\\t</data>\\n\\t<successResponse>true</successResponse>\\n</ModifyDBInstanceConnectionStringResponse>"}]', ], - 'DescribeParameterTemplates' => [ - 'summary' => 'Queries the parameters and their default values that are supported by Tair (Redis OSS-compatible) instances of different architectures and major versions.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyDBInstanceMonitor' => [ + 'summary' => 'Modifies the monitoring granularity for a Tair instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56423', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56473', + 'abilityTreeNodes' => ['FEATUREkvstoreW1V0SW'], ], 'parameters' => [ [ - 'name' => 'CharacterType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The architecture of the instance. For more information, see [Overview](~~86132~~). Valid values:'."\n" - ."\n" - .'* **logic**: The instance is a cluster master-replica instance or a read/write splitting instance.'."\n" - .'* **normal**: The instance is a standard master-replica instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'logic', - 'enum' => [ - 'logic', - 'normal', - ], - ], - ], - [ - 'name' => 'Engine', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine that is run on the instance. Set the value to **Redis**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Redis', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'Interval', 'in' => 'query', 'schema' => [ - 'description' => 'The major version of the instance. Valid values: **4.0**, **5.0**, **6.0**, and **7.0**.'."\n", + 'description' => 'This parameter is deprecated. The monitoring granularity is fixed at 60 seconds.', + 'enumValueTitles' => [60 => ''], 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => '5.0', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.'."\n" - ."\n" - .'> You can also query the ID of a resource group in the Resource Management console. For more information, see [View the basic information of a resource group](~~151181~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], - ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the IDs of instances.', - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', + 'enum' => ['5', '60'], + 'example' => '60', + 'title' => '', ], ], ], @@ -17854,795 +15722,396 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9DA28D8E-514D-4F12-ADED-70A9C818****', - ], - 'Engine' => [ - 'description' => 'The database engine that is run on the instance. The value **Redis** is returned for this parameter.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'EngineVersion' => [ - 'description' => 'The major version of the instance.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'ParameterCount' => [ - 'description' => 'The number of parameters that are supported by the instance.'."\n", - 'type' => 'string', - 'example' => '24', - ], - 'Parameters' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TemplateRecord' => [ - 'description' => 'An array that consists of the details about the parameters returned.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CheckingCode' => [ - 'description' => 'The valid values of the parameter.'."\n", - 'type' => 'string', - 'example' => '[yes|no]', - ], - 'ParameterName' => [ - 'description' => 'The name of the parameter. For more information about the parameters and the parameter settings, see [Parameters](~~259681~~).'."\n", - 'type' => 'string', - 'example' => 'appendonly', - ], - 'ParameterValue' => [ - 'description' => 'The default value of the parameter.'."\n", - 'type' => 'string', - 'example' => 'yes', - ], - 'ForceModify' => [ - 'description' => 'Indicates whether the parameter can be reconfigured. Valid values:'."\n" - ."\n" - .'* **true**: The parameter can be reconfigured.'."\n" - .'* **false**: The parameter cannot be reconfigured.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ForceRestart' => [ - 'description' => 'Indicates whether a restart of the instance is required after the parameter is reconfigured. Valid values:'."\n" - ."\n" - .'* **true**: After the parameter is reconfigured, you must restart the instance to make the new value of the parameter take effect.'."\n" - .'* **false**: After the parameter is reconfigured, the new value of the parameter immediately takes effect. You do not need to restart the instance.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ParameterDescription' => [ - 'description' => 'The description of the parameter.'."\n", - 'type' => 'string', - 'example' => 'test description'."\n", - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameters.Format', - 'errorMessage' => 'Specified parameters is not valid.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\"\\n}","type":"json"}]', + 'title' => 'ModifyDBInstanceMonitor', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyDBInstanceMonitor'], ], - 403 => [ - [ - 'errorCode' => 'ParamNotSupportedForCurrentVersion', - 'errorMessage' => 'Parameter is not supported for current version.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceMonitor', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9DA28D8E-514D-4F12-ADED-70A9C818****\\",\\n \\"Engine\\": \\"redis\\",\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"ParameterCount\\": \\"24\\",\\n \\"Parameters\\": {\\n \\"TemplateRecord\\": [\\n {\\n \\"CheckingCode\\": \\"[yes|no]\\",\\n \\"ParameterName\\": \\"appendonly\\",\\n \\"ParameterValue\\": \\"yes\\",\\n \\"ForceModify\\": true,\\n \\"ForceRestart\\": true,\\n \\"ParameterDescription\\": \\"开启aof持久化模式\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeParameterTemplatesResponse>\\r\\n <ParameterCount>24</ParameterCount>\\r\\n <EngineVersion>5.0</EngineVersion>\\r\\n <Parameters>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>no</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>#no_loose_check-whitelist-always</ParameterName>\\r\\n <ParameterDescription>check whitelist always</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>.*</CheckingCode>\\r\\n <ParameterValue/>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>#no_loose_disabled-commands</ParameterName>\\r\\n <ParameterDescription>You can disable some dangerous commands, for example \\"keys,flushdb,flushall\\", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>no</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>#no_loose_sentinel-enabled</ParameterName>\\r\\n <ParameterDescription>Be compatible with sentinel mode.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>yes</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>appendonly</ParameterName>\\r\\n <ParameterDescription>开启aof持久化模式</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>\\\\d+\\\\s+\\\\d+\\\\s+\\\\d+</CheckingCode>\\r\\n <ParameterValue>33554432 8388608 60</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>client-output-buffer-limit pubsub</ParameterName>\\r\\n <ParameterDescription>发布订阅客户端写缓冲区MB</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>yes</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>dynamic-hz</ParameterName>\\r\\n <ParameterDescription>是否设置动态hz</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>512</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>hash-max-ziplist-entries</ParameterName>\\r\\n <ParameterDescription>If hash fields are less than this value and hash value sizes are less than hash-max-ziplist-value, the ziplist will be used.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>64</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>hash-max-ziplist-value</ParameterName>\\r\\n <ParameterDescription>If hash value sizes are than less this value and hash fields are less than hash-max-ziplist-entries, the ziplist will be used.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[1-500]</CheckingCode>\\r\\n <ParameterValue>10</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>hz</ParameterName>\\r\\n <ParameterDescription>设置Redis后台任务执行频率,比如清除过期键任务,设置范围为1到500,默认为10.越大CPU消耗越大,延迟越小,建议不要超过100</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>no</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>lazyfree-lazy-eviction</ParameterName>\\r\\n <ParameterDescription>lazyfree switch on eviction.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>yes</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>lazyfree-lazy-expire</ParameterName>\\r\\n <ParameterDescription>lazyfree switch on expire.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[yes|no]</CheckingCode>\\r\\n <ParameterValue>yes</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>lazyfree-lazy-server-del</ParameterName>\\r\\n <ParameterDescription>lazyfree switch on server implicit deletion.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-65535]</CheckingCode>\\r\\n <ParameterValue>0</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>list-compress-depth</ParameterName>\\r\\n <ParameterDescription>The number of entries on the list that are not compressed at both ends.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[-5-99999999]</CheckingCode>\\r\\n <ParameterValue>-2</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>list-max-ziplist-size</ParameterName>\\r\\n <ParameterDescription>Threadhold of ziplist size on quicklist.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[volatile-lru|allkeys-lru|volatile-random|allkeys-random|volatile-ttl|volatile-lfu|allkeys-lfu|noeviction]</CheckingCode>\\r\\n <ParameterValue>volatile-lru</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>maxmemory-policy</ParameterName>\\r\\n <ParameterDescription>To config how Redis will select what to remove when maxmemory is reached. There are eight behaviors that can be chose : volatile-lru,allkeys-lru,volatile-lfu,allkeys-lfu,volatile-random,allkeys-random,volatile-ttl,noeviction</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>.*</CheckingCode>\\r\\n <ParameterValue/>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>notify-keyspace-events</ParameterName>\\r\\n <ParameterDescription>keyspace-event notification feature.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>512</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>set-max-intset-entries</ParameterName>\\r\\n <ParameterDescription>Sets have a special encoding in just one case: when a set is composed of just strings that happen to be integers in radix 10 in the range of 64 bit signed integers. The following configuration setting sets the limit in the size of the set in order to use this special memory saving encoding.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[10000-10000000]</CheckingCode>\\r\\n <ParameterValue>20000</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>slowlog-log-slower-than</ParameterName>\\r\\n <ParameterDescription>The time is expressed in microseconds, so 1000000 is equivalent to one second. The default setting for this is 20000 (20ms) and the lower bound of this setting is 10000 (10ms). </ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[100-10000]</CheckingCode>\\r\\n <ParameterValue>1024</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>slowlog-max-len</ParameterName>\\r\\n <ParameterDescription>The max slowlog count.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>4096</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>stream-node-max-bytes</ParameterName>\\r\\n <ParameterDescription>stream节点大小限制,默认4096, 取值范围:>=0, 0代表并没有限制</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>100</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>stream-node-max-entries</ParameterName>\\r\\n <ParameterDescription>stream节点个数限制,默认100, 取值范围:>=0, 0代表并没有限制</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-100000]</CheckingCode>\\r\\n <ParameterValue>0</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>timeout</ParameterName>\\r\\n <ParameterDescription>Close the connection after a client is idle for N seconds (0 to disable)</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>128</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>zset-max-ziplist-entries</ParameterName>\\r\\n <ParameterDescription>Similarly to hashes and lists, sorted sets are also specially encoded in order to save a lot of space.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n <TemplateRecord>\\r\\n <ForceModify>1</ForceModify>\\r\\n <CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n <ParameterValue>64</ParameterValue>\\r\\n <ForceRestart>false</ForceRestart>\\r\\n <ParameterName>zset-max-ziplist-value</ParameterName>\\r\\n <ParameterDescription>Similarly to hashes and lists, sorted sets are also specially encoded in order to save a lot of space.</ParameterDescription>\\r\\n </TemplateRecord>\\r\\n </Parameters>\\r\\n <RequestId>9DA28D8E-514D-4F12-ADED-70A9C818F0A0</RequestId>\\r\\n <Engine>redis</Engine>\\r\\n</DescribeParameterTemplatesResponse>","errorExample":""}]', - 'title' => 'DescribeParameterTemplates', - 'description' => 'After you call this operation to query the parameters and default values of an instance, you can call the [ModifyInstanceConfig](~~473844~~) operation to reconfigure the parameters of the instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeInstanceConfig' => [ - 'summary' => 'Queries the default parameter configurations of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyEventInfo' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '56407', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '232944', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the event. You can specify up to 20 event IDs. Separate multiple IDs with commas.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '5422964'."\n"], + ], + [ + 'name' => 'EventAction', + 'in' => 'query', + 'schema' => ['description' => 'The action to perform on the event. Valid values:'."\n" + ."\n" + .'- **archive**: Archives the event.'."\n" + ."\n" + .'- **undo**: Cancels processing for the event.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'archive'], + ], + [ + 'name' => 'ActionParams', + 'in' => 'query', + 'schema' => ['description' => 'The parameters for the action, in JSON format. For example: `{"recoverMode": "xxx", "recoverTime": "xxx"}`.'."\n" + ."\n" + .'- **recoverMode**: The recovery mode. Valid values:'."\n" + ."\n" + .' - **timePoint**: Executes the task at the time specified by `recoverTime`.'."\n" + ."\n" + .' - **immediate**: Executes the task immediately.'."\n" + ."\n" + .' - **maintainTime**: Executes the task during the maintenance window.'."\n" + ."\n" + .'- **recoverTime**: The time to execute the task. This parameter is required when **recoverMode** is set to **timePoint**. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{"recoverTime":"2023-04-17T14:02:35Z","recoverMode":"timePoint"}'."\n"], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'Config' => [ - 'description' => 'The parameter settings of the instance. For more information, see [Parameter overview and configuration guide](~~43885~~).'."\n", - 'type' => 'string', - 'example' => '{\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64}', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****', - ], - 'ParamReplMode' => [ - 'description' => 'The synchronization mode.'."\n" - ."\n" - .'* **semisync**'."\n" - .'* **async**'."\n", - 'type' => 'string', - 'example' => 'async', - ], - 'ParamReplTimeout' => [ - 'description' => 'The degradation threshold time of the semi-synchronous replication mode. This parameter is required only when semi-synchronous replication is enabled. Unit: milliseconds. Valid values: 10 to 60000.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ParamNoLooseSentinelEnabled' => [ - 'description' => 'The Sentinel-compatible mode, which is applicable to non-cluster instances. For more information about the parameter, see the relevant documentation.'."\n", - 'type' => 'string', - 'example' => '****', - ], - 'ParamSentinelCompatEnable' => [ - 'description' => 'The Sentinel-compatible mode, which is applicable to cluster instances in proxy mode or read/write splitting instances. For more information about the parameter, see the relevant documentation.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ParamNoLooseSentinelPasswordFreeAccess' => [ - 'description' => 'Indicates whether Sentinel commands can be run without requiring a password when the Sentinel mode is enabled. Valid values: Valid values: yes and no. Default value: no. After you set this parameter to yes, you can run Sentinel commands in a virtual private cloud (VPC) without the need to enable the password-free access feature.'."\n", - 'type' => 'string', - 'example' => 'no', - ], - 'ParamNoLooseSentinelPasswordFreeCommands' => [ - 'description' => 'After you enable the Sentinel mode and set the ParamNoLooseSentinelPasswordFreeAccess parameter to yes, you can use this parameter to specify an additional list of commands that can be run without requiring a password. By default, this parameter is empty. After you configure this parameter, you can run the specified commands without a password on any connection. Proceed with caution. The commands must be written in lowercase letters. Multiple commands are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6C9E114C-217C-4118-83C0-B4070222****'], + 'ErrorEventId' => ['description' => 'The IDs of the events that failed to be processed.', 'type' => 'string', 'example' => '12343', 'title' => ''], + 'SuccessCount' => ['description' => 'The number of events that were successfully processed.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'mst.errorcode.success.errormessage', 'title' => ''], + 'SuccessEventId' => ['description' => 'The IDs of the events that were successfully processed.', 'type' => 'string', 'example' => '234221', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"EvictionPolicy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"volatile-lru\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hash-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"zset-max-ziplist-entries\\\\\\\\\\\\\\":128,\\\\\\\\\\\\\\"list-max-ziplist-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"list-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"zset-max-ziplist-value\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"set-max-intset-entries\\\\\\\\\\\\\\":512,\\\\\\\\\\\\\\"hash-max-ziplist-value\\\\\\\\\\\\\\":64}\\",\\n \\"RequestId\\": \\"4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****\\",\\n \\"ParamReplMode\\": \\"async\\",\\n \\"ParamReplTimeout\\": \\"500\\",\\n \\"ParamNoLooseSentinelEnabled\\": \\"no\\",\\n \\"ParamSentinelCompatEnable\\": \\"0\\",\\n \\"ParamNoLooseSentinelPasswordFreeAccess\\": \\"no\\",\\n \\"ParamNoLooseSentinelPasswordFreeCommands\\": \\"****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceConfigResponse>\\n <RequestId>4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****</RequestId>\\n <Config>{\\"#no_loose_statistics-cmds\\":\\"SET,GET\\",\\"EvictionPolicy\\":\\"volatile-lru\\",\\"hash-max-ziplist-entries\\":512,\\"slowlog-log-slower-than\\":\\"1000\\",\\"notify-keyspace-events\\":\\"$\\",\\"zset-max-ziplist-entries\\":128,\\"list-max-ziplist-entries\\":512,\\"list-max-ziplist-value\\":64,\\"zset-max-ziplist-value\\":64,\\"set-max-intset-entries\\":512,\\"hash-max-ziplist-value\\":64,\\"#no_loose_disabled-commands\\":\\"flushall\\"}</Config>\\n</DescribeInstanceConfigResponse>","errorExample":""}]', - 'title' => 'DescribeInstanceConfig', - 'description' => 'This operation is available only for instances that use cloud disks.'."\n" - ."\n" - .'> You can call the [DescribeParameters](~~473847~~) operation to query the parameter settings of instances that use local disks.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeParameters' => [ - 'summary' => 'Queries the configuration parameters and running parameters of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Modify event information ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventInfo'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyEventInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C9E114C-217C-4118-83C0-B4070222****\\",\\n \\"ErrorEventId\\": \\"12343\\",\\n \\"SuccessCount\\": 2,\\n \\"ErrorCode\\": \\"mst.errorcode.success.errormessage\\",\\n \\"SuccessEventId\\": \\"234221\\"\\n}","type":"json"}]', + 'summary' => 'Modify event information in Event Center ', + ], + 'ModifyGlobalSecurityIPGroup' => [ + 'summary' => 'Modifies a global IP whitelist template.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56422', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], + ], + [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DBInstanceId', + 'name' => 'GlobalIgName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The name of the IP whitelist template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" + .'* The name must start with a letter and end with a letter or a digit.'."\n" + .'* The name must be 2 to 120 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_123', 'maxLength' => 120, 'minLength' => 2, 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'GlobalSecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node.'."\n" - ."\n" - .'> You can set this parameter to query the parameter settings of the specified node in a cluster instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1xxxxxxxxxxxxx-db-0', - ], + 'schema' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], + ], + [ + 'name' => 'GIpList', + 'in' => 'query', + 'schema' => ['description' => 'The IP addresses in the IP whitelist template.'."\n", 'type' => 'string', 'required' => true, 'example' => '192.168.0.1,10.10.10.10,172.16.0.1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9C1338BE-8DE8-4890-A900-E1BC06BF****', - ], - 'Engine' => [ - 'description' => 'The database engine that the instance runs.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'EngineVersion' => [ - 'description' => 'The database engine version of the instance.'."\n", - 'type' => 'string', - 'example' => '4.0', - ], - 'ConfigParameters' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Parameter' => [ - 'description' => 'The configuration parameters that have not taken effect.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the array object.'."\n", - 'type' => 'object', - 'properties' => [ - 'CheckingCode' => [ - 'description' => 'The check code that indicates the valid values of the parameter.'."\n", - 'type' => 'string', - 'example' => '[0|1]', - ], - 'ParameterName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'script_check_enable', - ], - 'ParameterValue' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ForceRestart' => [ - 'description' => 'Indicates whether the instance must be restarted for the modifications to take effect. Valid values:'."\n" - ."\n" - .'* **True**: The instance must be restarted for the modifications to take effect.'."\n" - .'* **False**: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ParameterDescription' => [ - 'description' => 'The description of the parameter.'."\n", - 'type' => 'string', - 'example' => 'Check all keys passed in the KEYS array map to the same slot.', - ], - 'ModifiableStatus' => [ - 'description' => 'Indicates whether the parameter can be reset. Valid values:'."\n" - ."\n" - .'* **False**: The parameter cannot be reset.'."\n" - .'* **True**: The parameter can be reset.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - ], - 'RunningParameters' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Parameter' => [ - 'description' => 'The running parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the array object.'."\n", - 'type' => 'object', - 'properties' => [ - 'CheckingCode' => [ - 'description' => 'The check code that indicates the valid values of the parameter.'."\n", - 'type' => 'string', - 'example' => '[0|1]', - ], - 'ParameterName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => '#no_loose_disabled-commands', - ], - 'ParameterValue' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => 'keys,flushall,flushdb', - ], - 'ForceRestart' => [ - 'description' => 'Indicates whether the instance must be restarted for the modifications to take effect. Valid values:'."\n" - ."\n" - .'* **True**: The instance must be restarted for the modifications to take effect.'."\n" - .'* **False**: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'ParameterDescription' => [ - 'description' => 'The description of the parameter.'."\n", - 'type' => 'string', - 'example' => 'You can disable some dangerous commands, for example \\"keys,flushdb,flushall\\", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].', - ], - 'ModifiableStatus' => [ - 'description' => 'Indicates whether the parameter can be reset. Valid values:'."\n" - ."\n" - .'* **False**: The parameter cannot be reset.'."\n" - .'* **True**: The parameter can be reset.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'IncorrectDBInstanceType', - 'errorMessage' => 'Current DB instance type does not support this operation.', - ], + 400 => [ + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ['errorCode' => 'InvalidSecurityIPList.QuotaExceeded', 'errorMessage' => 'Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.', 'description' => 'The number of IP addresses in the list exceeds the limit'], + ['errorCode' => 'InvalidSecurityIPList.Format', 'errorMessage' => 'Specified security IP list format is not valid.', 'description' => ''], + ['errorCode' => 'InvalidSecurityIPList.Duplicate', 'errorMessage' => 'Specified security IP list is not valid: Duplicate IP address in the list', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\"\\n}","type":"json"}]', + 'title' => 'ModifyGlobalSecurityIPGroup', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroup'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'InvalidDBInstanceClass.NotFound', - 'errorMessage' => 'Specified DB instance class is not found.', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9C1338BE-8DE8-4890-A900-E1BC06BF****\\",\\n \\"Engine\\": \\"redis\\",\\n \\"EngineVersion\\": \\"4.0\\",\\n \\"ConfigParameters\\": {\\n \\"Parameter\\": [\\n {\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterName\\": \\"script_check_enable\\",\\n \\"ParameterValue\\": \\"1\\",\\n \\"ForceRestart\\": true,\\n \\"ParameterDescription\\": \\"Check all keys passed in the KEYS array map to the same slot.\\",\\n \\"ModifiableStatus\\": true\\n }\\n ]\\n },\\n \\"RunningParameters\\": {\\n \\"Parameter\\": [\\n {\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterName\\": \\"#no_loose_disabled-commands\\",\\n \\"ParameterValue\\": \\"keys,flushall,flushdb\\",\\n \\"ForceRestart\\": \\"true\\",\\n \\"ParameterDescription\\": \\"You can disable some dangerous commands, for example \\\\\\\\\\\\\\"keys,flushdb,flushall\\\\\\\\\\\\\\", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].\\",\\n \\"ModifiableStatus\\": \\"true\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeParametersResponse>\\r\\n\\t<ConfigParameters></ConfigParameters>\\r\\n\\t<RequestId>9C1338BE-8DE8-4890-A900-E1BC06BF****</RequestId>\\r\\n\\t<RunningParameters>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>check whitelist always</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>no</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[yes|no]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>#no_loose_check-whitelist-always</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>You can disable some dangerous commands, for example "keys,flushdb,flushall", the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>keys,flushall,flushdb</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>.*</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>#no_loose_disabled-commands</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>开启关闭SSL</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>yes</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[yes|no]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>#no_loose_ssl-enabled</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>Be compatible with cluster mode.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>0</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0|1]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>cluster_compat_enable</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>Check all keys passed in the KEYS array map to the same slot.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>1</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0|1]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>script_check_enable</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>If hash fields are less than this value and hash value sizes are less than hash-max-ziplist-value, the ziplist will be used.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>512</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>hash-max-ziplist-entries</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>If hash value sizes are than less this value and hash fields are less than hash-max-ziplist-entries, the ziplist will be used.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>64</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>hash-max-ziplist-value</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>lazyfree switch on eviction.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>yes</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[yes|no]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>lazyfree-lazy-eviction</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>lazyfree switch on expire.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>yes</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[yes|no]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>lazyfree-lazy-expire</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>lazyfree switch on server implicit deletion.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>yes</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[yes|no]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>lazyfree-lazy-server-del</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>The number of entries on the list that are not compressed at both ends.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>0</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-65535]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>list-compress-depth</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>Threadhold of ziplist size on quicklist.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>-2</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[-5-99999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>list-max-ziplist-size</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>To config how Redis will select what to remove when maxmemory is reached. There are eight behaviors that can be chose : volatile-lru,allkeys-lru,volatile-lfu,allkeys-lfu,volatile-random,allkeys-random,volatile-ttl,noeviction</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>volatile-lfu</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[volatile-lru|allkeys-lru|volatile-random|allkeys-random|volatile-ttl|volatile-lfu|allkeys-lfu|noeviction]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>maxmemory-policy</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>\\r\\n\\t\\t\\t\\tSets have a special encoding in just one case: when a set is composed\\r\\n\\t\\t\\t\\tof just strings that happen to be integers in radix 10 in the range\\r\\n\\t\\t\\t\\tof 64 bit signed integers.\\r\\n\\t\\t\\t\\tThe following configuration setting sets the limit in the size of the\\r\\n\\t\\t\\tset in order to use this special memory saving encoding.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>512</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>set-max-intset-entries</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>\\r\\n\\t\\t\\t\\tThe time is expressed in microseconds, so 1000000 is equivalent\\r\\n\\t\\t\\t\\tto one second. Note that a negative number disables the slow log,\\r\\n\\t\\t\\twhile a value of zero forces the logging of every command.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>10000</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-10000000]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>slowlog-log-slower-than</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>The max slowlog count.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>1024</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[100-10000]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>slowlog-max-len</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>\\r\\n\\t\\t\\t\\tSimilarly to hashes and lists, sorted sets are also specially encoded in\\r\\n\\t\\t\\torder to save a lot of space.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>128</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>zset-max-ziplist-entries</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t\\t<Parameter>\\r\\n\\t\\t\\t<ParameterDescription>\\r\\n\\t\\t\\t\\tSimilarly to hashes and lists, sorted sets are also specially encoded in\\r\\n\\t\\t\\torder to save a lot of space.</ParameterDescription>\\r\\n\\t\\t\\t<ParameterValue>64</ParameterValue>\\r\\n\\t\\t\\t<CheckingCode>[0-999999999999999]</CheckingCode>\\r\\n\\t\\t\\t<ForceRestart>false</ForceRestart>\\r\\n\\t\\t\\t<ModifiableStatus>true</ModifiableStatus>\\r\\n\\t\\t\\t<ParameterName>zset-max-ziplist-value</ParameterName>\\r\\n\\t\\t</Parameter>\\r\\n\\t</RunningParameters>\\r\\n\\t<EngineVersion>4.0</EngineVersion>\\r\\n\\t<Engine>redis</Engine>\\r\\n</DescribeParametersResponse>","errorExample":"{\\n \\"ConfigParameters\\":{\\n \\"Parameter\\":[\\n\\n ]\\n },\\n \\"RequestId\\":\\"90A7936F-B9A3-4226-9B47-CF1D0EF81604\\",\\n \\"RunningParameters\\":{\\n \\"Parameter\\":[\\n {\\n \\"ParameterDescription\\":\\"Redis可支持的最大key,value长度\\",\\n \\"ParameterValue\\":\\"4194304\\",\\n \\"CheckingCode\\":\\"[0-9]+\\",\\n \\"ForceRestart\\":\\"false\\",\\n \\"ModifiableStatus\\":\\"true\\",\\n \\"ParameterName\\":\\"#no_loose_max-memcached-allow-request-length\\"\\n },\\n {\\n \\"ParameterValue\\":\\"512\\",\\n \\"CheckingCode\\":\\"[0-999999999999999]\\",\\n \\"ForceRestart\\":\\"false\\",\\n \\"ModifiableStatus\\":\\"true\\",\\n \\"ParameterName\\":\\"set-max-intset-entries\\"\\n },\\n {\\n \\"ParameterValue\\":\\"64\\",\\n \\"CheckingCode\\":\\"[0-999999999999999]\\",\\n \\"ForceRestart\\":\\"false\\",\\n \\"ModifiableStatus\\":\\"true\\",\\n \\"ParameterName\\":\\"zset-max-ziplist-value\\"\\n }\\n ]\\n },\\n \\"EngineVersion\\":\\"2.8\\",\\n \\"Engine\\":\\"redis\\"\\n}"}]', - 'title' => 'DescribeParameters', - 'description' => 'This operation is applicable only to classic instances.'."\n" - ."\n" - .'> If the instance is deployed in cloud-native mode, you can use the [DescribeInstanceConfig](~~473846~~) operation to query the configuration and operational parameters of the instance.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeParameterModificationHistory' => [ - 'summary' => 'Queries the parameter modification history of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyGlobalSecurityIPGroupName' => [ + 'summary' => 'Modifies the name of a global IP whitelist template.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56421', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - 'FEATUREkvstoreDVVZYL', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'NodeId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the node.'."\n" - ."\n" - .'> You can set this parameter to query the parameter settings of the specified node in a cluster instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1xxxxxxxxxxxxx-db-0', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'GlobalIgName', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-09-05T08:49:27Z', - ], + 'schema' => ['description' => 'The name of the global IP whitelist template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" + .'* The name must start with a letter and end with a letter or a digit.'."\n" + .'* The name must be 2 to 120 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test_123', 'maxLength' => 120, 'minLength' => 2, 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'GlobalSecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-09-05T09:49:27Z', - ], + 'schema' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-kd2iop4aur9qwxnvh***', 'title' => ''], ], [ - 'name' => 'ParameterName', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'script_check_enable', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '963C20F0-7CE1-4591-AAF3-6F3CD1CE****', - ], - 'HistoricalParameters' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'HistoricalParameter' => [ - 'description' => 'The modification records of the parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The modification records of the parameter.'."\n", - 'type' => 'object', - 'properties' => [ - 'OldParameterValue' => [ - 'description' => 'The parameter value before modification.'."\n", - 'type' => 'string', - 'example' => '-2', - ], - 'ParameterName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'script_check_enable', - ], - 'NewParameterValue' => [ - 'description' => 'The parameter value after modification.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'ModifyTime' => [ - 'description' => 'The time when the parameter was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-09-05T09:56:10Z', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2B17D708-1D6D-49F3-B6D7-478371DD****'], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The Specified parameter StartTime is not valid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The Specified parameter EndTime is not valid.', - ], + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"963C20F0-7CE1-4591-AAF3-6F3CD1CE****\\",\\n \\"HistoricalParameters\\": {\\n \\"HistoricalParameter\\": [\\n {\\n \\"OldParameterValue\\": \\"-2\\",\\n \\"ParameterName\\": \\"script_check_enable\\",\\n \\"NewParameterValue\\": \\"0\\",\\n \\"ModifyTime\\": \\"2022-09-05T09:56:10Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeParameterModificationHistoryResponse>\\n <RequestId>F8A9016D-51B4-56FF-AF08-2660FB8E92A8</RequestId>\\n <HistoricalParameters>\\n <HistoricalParameter>\\n <NewParameterValue>-1</NewParameterValue>\\n <ModifyTime>2022-09-05T09:56:10Z</ModifyTime>\\n <OldParameterValue>-2</OldParameterValue>\\n <ParameterName>list-max-ziplist-size</ParameterName>\\n </HistoricalParameter>\\n </HistoricalParameters>\\n</DescribeParameterModificationHistoryResponse>","errorExample":""}]', - 'title' => 'DescribeParameterModificationHistory', - ], - 'ListTagResources' => [ - 'summary' => 'Queries the relationships between Tair (Redis OSS-compatible) instances and tags.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DD****\\"\\n}","type":"json"}]', + 'title' => 'ModifyGlobalSecurityIPGroupName', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroupName'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroupName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyGlobalSecurityIPGroupRelation' => [ + 'summary' => 'Adds a specified instance to a specified IP whitelist template.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56460', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreDER7E8', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'INSTANCE', - 'enum' => [ - 'INSTANCE', - 'instance', - ], - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'DBClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'The token used to start the next query to retrieve more results.'."\n" - ."\n" - .'> This parameter is not required in the first query. If not all results are returned in one query, you can specify the **NextToken** value returned for the query to perform the next query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '212db86sca4384811e0b5e8707ec2****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-t4n885e834f6****', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'GlobalSecurityGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the instances.'."\n" - ."\n" - .'> * You must specify this parameter or the **Tag** parameter.', - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - 'maxItems' => 51, - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the IP whitelist template.'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-zsldxfiwjmti0kcm****', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags of the instance. You must specify this parameter or the **ResourceId** parameter.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The keys of the tags associated with the instances you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demokey', - ], - 'Value' => [ - 'description' => 'The values of the tags associated with the instances you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demovalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token required to obtain more results. If a query does not return all results, in the next query, you can provide the token returned by the previous query to obtain more results.'."\n", - 'type' => 'string', - 'example' => '212db86sca4384811e0b5e8707ec2****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '47A514A1-4B77-4E30-B4C5-2A880650****', - ], - 'TagResources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TagResource' => [ - 'description' => 'Details about the instances and tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag that is added to the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'The values of the tags.'."\n", - 'type' => 'string', - 'example' => 'demovalue', - ], - 'ResourceType' => [ - 'description' => 'The resource type. The return value is **ALIYUN::KVSTORE::INSTANCE**. This value indicates a Tair (Redis OSS-compatible) instance.'."\n", - 'type' => 'string', - 'example' => 'ALIYUN::KVSTORE::INSTANCE', - ], - 'ResourceId' => [ - 'description' => 'The resource ID, which is also the ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TagKey' => [ - 'description' => 'The keys of the tags.'."\n", - 'type' => 'string', - 'example' => 'demokey', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTagKey.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', - ], - [ - 'errorCode' => 'InvalidTagValue.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceId', - 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', - ], - [ - 'errorCode' => 'MissParameter.TagOrResourceId', - 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', - ], - [ - 'errorCode' => 'InvalidParameter.Scope', - 'errorMessage' => 'The specified parameter Scope is not valid.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The ResourceIds parameter number is exceed.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The Tags parameter number is exceed.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceType', - 'errorMessage' => 'The specified parameter ResourceType is not valid.', - ], + ['errorCode' => 'RequiredParam.NotFound', 'errorMessage' => 'Required input param is not found.', 'description' => 'Missing input parameter'], + ['errorCode' => 'InvalidParameters.Format', 'errorMessage' => 'The specified parameters are invalid.', 'description' => ''], ], - 404 => [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\"\\n}","type":"json"}]', + 'title' => 'ModifyGlobalSecurityIPGroupRelation', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroupRelation'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroupRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"212db86sca4384811e0b5e8707ec2****\\",\\n \\"RequestId\\": \\"47A514A1-4B77-4E30-B4C5-2A880650****\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"demovalue\\",\\n \\"ResourceType\\": \\"ALIYUN::KVSTORE::INSTANCE\\",\\n \\"ResourceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TagKey\\": \\"demokey\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <TagResources>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue1</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue1</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue2</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey2</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>ALIYUN::KVSTORE::INSTANCE</ResourceType>\\n <TagValue>demovalue2</TagValue>\\n <ResourceId>r-bp1zxszhcgatnx****</ResourceId>\\n <TagKey>demokey2</TagKey>\\n </TagResource>\\n </TagResources>\\n <RequestId>47A514A1-4B77-4E30-B4C5-2A880650****</RequestId>\\n</ListTagResourcesResponse>","errorExample":""}]', - 'title' => 'ListTagResources', - 'description' => 'You can also query the relationships between instances and tags in the Tair (Redis OSS-compatible) console. For more information, see [Filter Tair (Redis OSS-compatible) instances by tag](~~119160~~) and [View tags bound to an instance](~~134038~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'TagResources' => [ - 'summary' => 'Adds tags to Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstanceAttribute' => [ + 'summary' => 'Modifies the specific information of a Tair (Redis OSS-compatible) instance, such as the password and the name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18651,97 +16120,37 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56477', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'INSTANCE', - 'enum' => [ - 'INSTANCE', - 'instance', - ], - ], + 'schema' => ['description' => 'The new name of the instance. The name must be 2 to 80 characters in length. The name must start with a letter and cannot contain spaces and the following special characters: `@ / : = " < > { [ ] }`'."\n", 'type' => 'string', 'required' => false, 'example' => 'newinstancename', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'NewPassword', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance. You can specify multiple IDs.'."\n" - ."\n" - .'> This parameter indicates the ID of the **Nth** instance. For example, **ResourceId.1** specifies the ID of the first instance and **ResourceId.2** specifies the ID of the second instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - 'maxItems' => 51, - ], + 'schema' => ['description' => 'The new password for the default account. The default account is named after the instance ID. Example: r-bp10noxlhcoim2\\*\\*\\*\\*.'."\n" + ."\n" + .'> The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", 'type' => 'string', 'required' => false, 'example' => 'uW8+nsrp', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'InstanceReleaseProtection', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The object.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag associated with the instance.'."\n" - ."\n" - .'> * **N** specifies the serial number of the tag. For example, **Tag.1.Key** specifies the key of the first tag and **Tag.2.Key** specifies the key of the second tag.'."\n" - .'> * If the key of the tag does not exist, the key is automatically created.', - 'type' => 'string', - 'required' => true, - 'example' => 'demokey', - ], - 'Value' => [ - 'description' => 'The value of the tag associated with the instance.'."\n" - ."\n" - .'> **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag and **Tag.2.Value** specifies the value of the second tag.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'demovalue', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 21, - ], + 'schema' => ['description' => '[Specifies whether to enable release protection for the instance.](~~165005~~) Valid values:'."\n" + ."\n" + .'* **true**: enables release protection.'."\n" + .'* **false**: disables release protection.'."\n" + ."\n" + .'> This parameter is available only for pay-as-you-go instances.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -18749,94 +16158,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4BD4E308-A3D8-4CD1-98B3-0ADAEE38****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The Tags parameter number is exceed, Valid is 20.', - ], - [ - 'errorCode' => 'InvalidTagKey.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', - ], - [ - 'errorCode' => 'InvalidTagValue.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceId', - 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', - ], - [ - 'errorCode' => 'MissParameter.TagOrResourceId', - 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', - ], - [ - 'errorCode' => 'InvalidParameter.Scope', - 'errorMessage' => 'The specified parameter Scope is not valid.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The ResourceIds parameter number is exceed.', - ], - [ - 'errorCode' => 'NumberExceed.CustomTags', - 'errorMessage' => 'The Custom Tags parameter number is exceed. Valid is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceType', - 'errorMessage' => 'The specified parameter ResourceType is not valid.', - ], - [ - 'errorCode' => 'OperationDenied.QuotaExceed', - 'errorMessage' => 'The Tags parameter number is exceed. Valid is 20.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'InstanceName or NewPassword at least one is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidPassword.Malformed', 'errorMessage' => 'The Specified parameter NewPassword is not valid.', 'description' => ''], + ['errorCode' => 'TaskExists', 'errorMessage' => 'Specified task have existed.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4BD4E308-A3D8-4CD1-98B3-0ADAEE38****\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\r\\n <RequestId>4BD4E308-A3D8-4CD1-98B3-0ADAEE38****</RequestId>\\r\\n</TagResourcesResponse>","errorExample":""}]', - 'title' => 'TagResources', - 'description' => 'If you have a large number of instances, you can create multiple tags and add these tags to the instances. Then, you can filter instances by tag.'."\n" - ."\n" - .'* A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.'."\n" - .'* If the tag that you specify does not exist, this tag is automatically created and added to the specified instance.'."\n" - .'* If the key of the specified tag is the same as that of an existing tag, the specified tag overwrites the existing tag.'."\n" - .'* You can add up to 20 tags to each instance.'."\n" - .'* You can add tags to up to 50 instances in each request.'."\n" - ."\n" - .'You can also add tags to instances in the Tair (Redis OSS-compatible) console. For more information, see [Create a tag](~~118779~~).', + 'title' => 'ModifyInstanceAttribute', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UntagResources' => [ - 'summary' => 'Removes tags from Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:43.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"EFC9161F-15E3-4A6E-8A99-C09916D1F464\\"\\n}"},{"type":"xml","example":"<ModifyInstanceAttributeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceAttributeResponse>","errorExample":"<ModifyInstanceAttributeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceAttributeResponse>"}]', + 'description' => 'You can also modify the information of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Change or reset the password](~~43874~~).', + ], + 'ModifyInstanceAutoRenewalAttribute' => [ + 'summary' => 'Enables or disables auto-renewal for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18845,94 +16216,41 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56478', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceType', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'INSTANCE', - 'enum' => [ - 'INSTANCE', - 'instance', - ], - ], + 'schema' => ['description' => 'The ID of the instance. Separate multiple instance IDs with commas (,).'."\n" + ."\n" + .'> You can specify up to 30 instance IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'All', + 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to remove all tags from the instance. Valid values:'."\n" - ."\n" - .'* **true**: removes all tags from the instance.'."\n" - .'* **false** (default): does not remove all tags from the instance.'."\n" - ."\n" - .'> If you specify both this parameter and the **TagKey.N** parameter, this parameter does not take effect.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['description' => 'The auto-renewal period. Valid values: **1** to **12**. Unit: months. When the instance is about to expire, the instance is automatically renewed based on the number of months specified by this parameter.'."\n" + ."\n" + .'> This parameter is available and required only if the **AutoRenew** parameter is set to **true**.'."\n", 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'AutoRenew', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - 'maxItems' => 51, - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n" + ."\n" + .'> The default value is **false**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'true', 'default' => 'False', 'title' => ''], ], [ - 'name' => 'TagKey', + 'name' => 'Product', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The list of tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demokey', - ], - 'required' => false, - 'example' => 'demokey', - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The service. Set the value to kvstore.'."\n", 'type' => 'string', 'required' => false, 'example' => 'kvstore', 'default' => 'kvstore', 'title' => ''], ], ], 'responses' => [ @@ -18940,109 +16258,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '601B6F25-21E7-4484-99D5-3EF2625C****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '52D901ED-E0A5-42FB-B9DB-39C295C3****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidTagKey.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', - ], - [ - 'errorCode' => 'InvalidTagValue.Malformed', - 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceId', - 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', - ], - [ - 'errorCode' => 'MissParameter.TagOrResourceId', - 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', - ], - [ - 'errorCode' => 'InvalidParameter.Scope', - 'errorMessage' => 'The specified parameter Scope is not valid.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The ResourceIds parameter number is exceed.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The Tags parameter number is exceed.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', - ], - [ - 'errorCode' => 'InvalidParameter.ResourceType', - 'errorMessage' => 'The specified parameter ResourceType is not valid.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"601B6F25-21E7-4484-99D5-3EF2625C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\r\\n <RequestId>601B6F25-21E7-4484-99D5-3EF2625C****</RequestId>\\r\\n</UntagResourcesResponse>","errorExample":""}]', - 'title' => 'UntagResources', - 'description' => '* You can remove up to 20 tags at a time.'."\n" - .'* If a tag is removed from an instance and is not added to other instances, the tag is deleted.'."\n" - ."\n" - .'You can also remove tags from instances in the Tair (Redis OSS-compatible) console. For more information, see [Remove a tag](~~119157~~).', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52D901ED-E0A5-42FB-B9DB-39C295C3****\\"\\n}","type":"json"}]', + 'title' => 'ModifyInstanceAutoRenewalAttribute', + 'description' => '> Auto-renewal is triggered seven days before the expiration date of the instance.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateCacheAnalysisTask' => [ - 'summary' => 'Creates a cache analysis task.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-27T12:09:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceAutoRenewalAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceAutoRenewalAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ModifyInstanceBandwidth' => [ + 'summary' => 'Sets the intended bandwidth value of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '56350', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '233858', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'TargetIntranetBandwidth', + 'in' => 'query', + 'schema' => ['description' => 'The total expected bandwidth of the instance.'."\n" + ."\n" + .'> If the instance is a cluster instance, the TargetIntranetBandwidth must be divisible by the number of shards in the instance. This operation is not supported for read/write splitting instances.', 'type' => 'string', 'required' => true, 'example' => '260', 'title' => ''], ], ], 'responses' => [ @@ -19050,137 +16333,111 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****', - ], + 'OrderId' => ['description' => 'The ID of the order.'."\n", 'type' => 'string', 'example' => '236934422960904', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support this operation.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"236934422960904\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', + 'title' => 'ModifyInstanceBandwidth', + 'description' => '* Before you call this operation, make sure that you understand the billing methods and pricing of instance bandwidth. Tair (Redis OSS-compatible) charges fees per hour based on the amount and usage duration of the extra bandwidth that you purchase. The fees vary based on the region that you select. For more information, see [Billable items](~~54532~~).'."\n" + .'* The bandwidth of an instance or a shard can be increased by up to six times the default bandwidth of the instance, but the increase in bandwidth cannot exceed 192 Mbit/s. For example, if the default bandwidth of a Tair DRAM-based master-replica instance equipped with 2 GB of memory is 96 Mbit/s, you can increase the bandwidth of the instance by up to 192 Mbit/s. As a result, the maximum bandwidth of the instance is 288 Mbit/s. If the default bandwidth of a Redis Open-Source Edition master-replica instance equipped with 256 MB of memory is 10 Mbit/s, you can increase the bandwidth of the instance by up to 60 Mbit/s. As a result, the maximum bandwidth of the instance is 70 Mbit/s.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceBandwidth'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceBandwidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCacheAnalysisTaskResponse>\\r\\n <RequestId>BBC1E3D6-7C88-4DF5-9A3D-0DB1E6D9****</RequestId>\\r\\n</CreateCacheAnalysisTaskResponse>","errorExample":""}]', - 'title' => 'CreateCacheAnalysisTask', - 'description' => 'This operation is no longer available. Use the new operation. For more information, see [Real-time key statistics and offline key analysis](~~184226~~).'."\n", - 'extraInfo' => ' ', ], - 'DescribeCacheAnalysisReport' => [ - 'summary' => 'Queries the cache analysis report of an instance on a specified date.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstanceConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56387', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreIG5O17', - 'FEATUREkvstoreUR6WYE', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56480', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Date', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => 'The date to query. You can query the report for one day each time. Specify the date in the *yyyy-MM-dd*Z format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-08-05Z', - ], + 'schema' => ['description' => 'The instance parameters to modify, in JSON format. The new values overwrite the existing values. For example, if you want to set only the **maxmemory-policy** parameter to **noeviction**, pass in `{"maxmemory-policy":"noeviction"}`.'."\n" + .'> For more information about each parameter, see [Metric description](~~259681~~).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{"maxmemory-policy":"volatile-lru","zset-max-ziplist-entries":128,"zset-max-ziplist-value":64,"hash-max-ziplist-entries":512,"set-max-intset-entries":512}', 'title' => ''], ], [ - 'name' => 'AnalysisType', + 'name' => 'ParamReplMode', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of analytics. Set the value to **BigKey**.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'BigKey', - 'enum' => [ - 'HotKey', - 'BigKey', - ], - ], + 'schema' => ['description' => 'The synchronization pattern. Valid values:'."\n" + .'* **async** (default): asynchronous'."\n" + .'* **semisync**: semi-synchronous.', 'type' => 'string', 'required' => false, 'example' => 'async', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ParamSemisyncReplTimeout', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" - ."\n" - .'> The default value is **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - ], - ], + 'schema' => ['description' => 'The degradation threshold for semi-synchronous mode. This parameter is supported only in semi-synchronous mode. Unit: ms. Valid values: 10 to 60000. Default value: 500.'."\n" + .'> * When the synchronization latency exceeds this threshold, the synchronous mode automatically transforms to asynchronous. When the latency is eliminated, the synchronous mode automatically transforms back to semi-synchronous.'."\n" + .'> * This parameter is supported only by Tair Enterprise instances. This feature is in public preview.', 'type' => 'string', 'required' => false, 'example' => '500', 'title' => ''], ], [ - 'name' => 'PageNumbers', + 'name' => 'ParamNoLooseSentinelEnabled', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'> If the parameter value exceeds the maximum number of the returned pages, an empty large key list is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The Sentinel compatibility mode. This parameter applies to non-cluster instances. Valid values:'."\n" + .'* **no** (default): disabled.'."\n" + .'* **yes**: enabled.'."\n" + .'> For more information, see [Sentinel compatibility mode](~~178911~~).', 'type' => 'string', 'required' => false, 'example' => 'yes', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'ParamSentinelCompatEnable', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the child node in the cluster instance.'."\n" - ."\n" - .'> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'The Sentinel compatibility mode. This parameter applies to instances that use the proxy connection mode in cluster architecture or instances that use the read/write splitting architecture. Valid values:'."\n" + .'* **0** (default): disabled.'."\n" + .'* **1**: enabled.'."\n" + .'> For more information, see [Sentinel compatibility mode](~~178911~~).', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ParamNoLooseSentinelPasswordFreeAccess', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to allow password-free execution of Sentinel-related commands when Sentinel mode is enabled. Valid values:'."\n" + .'* **no** (default): disabled.'."\n" + .'* **yes**: enabled. After this parameter is enabled, you can run Sentinel commands without a password on any connection and use the SENTINEL command to listen on the +switch-master channel.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], + ], + [ + 'name' => 'ParamNoLooseSentinelPasswordFreeCommands', + 'in' => 'query', + 'schema' => ['description' => 'After Sentinel mode and the ParamNoLooseSentinelPasswordFreeAccess parameter are enabled, use this parameter to add additional password-free commands (empty by default).'."\n" + .'> * After this parameter is set, the specified commands can be run without a password on any connection. Proceed with caution.'."\n" + .'> * Commands must be in lowercase letters. Separate multiple commands with commas (,).', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], ], ], 'responses' => [ @@ -19188,86 +16445,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A057C066-C3F5-4CC9-9FE4-A8D8B0DC****', - ], - 'PageRecordCount' => [ - 'description' => 'The number of entries returned on the current page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '160', - ], - 'BigKeys' => [ - 'description' => 'Details of the large keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The large key involved.'."\n", - 'type' => 'object', - 'example' => '[{"db": "0", "qps": 0, "keyType": "list", "isExpired": "no", "analysisType": "BIGKEY", "key": "mylist", "memory": 1005377, "size": 200000}]', - ], - ], - 'HotKeys' => [ - 'description' => 'Details of the hotkeys.'."\n" - ."\n" - .'> This parameter is not returned because Tair (Redis OSS-compatible) does not support hotkey analytics.', - 'type' => 'array', - 'items' => [ - 'description' => 'The hot key involved.'."\n", - 'type' => 'object', - 'example' => '[]', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameters.Format', 'errorMessage' => 'Specified parameters is not valid.', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ParamNotSupportedForCurrentVersion', 'errorMessage' => 'Parameter is not supported for current version.', 'description' => ''], + ], 403 => [ - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support this operation.', - ], + ['errorCode' => 'InstanceType.NotSupport', 'errorMessage' => 'Current instance type does not support this operation.', 'description' => ''], + ['errorCode' => 'NetworkType.NotSupport', 'errorMessage' => 'Current network type does not support this operation.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"RequestId\\": \\"A057C066-C3F5-4CC9-9FE4-A8D8B0DC****\\",\\n \\"PageRecordCount\\": 30,\\n \\"TotalRecordCount\\": 160,\\n \\"BigKeys\\": [\\n [\\n {\\n \\"db\\": \\"0\\",\\n \\"qps\\": 0,\\n \\"keyType\\": \\"list\\",\\n \\"isExpired\\": \\"no\\",\\n \\"analysisType\\": \\"BIGKEY\\",\\n \\"key\\": \\"mylist\\",\\n \\"memory\\": 1005377,\\n \\"size\\": 200000\\n }\\n ]\\n ],\\n \\"HotKeys\\": [\\n []\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCacheAnalysisReportResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n\\t<TotalRecordCount>160</TotalRecordCount>\\r\\n\\t<PageSize>30</PageSize>\\r\\n\\t<RequestId>A057C066-C3F5-4CC9-9FE4-A8D8B0DC****</RequestId>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>list</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>mylist</key>\\r\\n\\t\\t<memory>1005377</memory>\\r\\n\\t\\t<size>200000</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23124</key>\\r\\n\\t\\t<memory>970</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:167541</key>\\r\\n\\t\\t<memory>967</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:152015</key>\\r\\n\\t\\t<memory>958</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:30883</key>\\r\\n\\t\\t<memory>955</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:81031</key>\\r\\n\\t\\t<memory>953</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:152007</key>\\r\\n\\t\\t<memory>952</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:161880</key>\\r\\n\\t\\t<memory>951</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:194610</key>\\r\\n\\t\\t<memory>949</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:53620</key>\\r\\n\\t\\t<memory>948</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23525</key>\\r\\n\\t\\t<memory>946</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:89333</key>\\r\\n\\t\\t<memory>946</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:23687</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:32653</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:72166</key>\\r\\n\\t\\t<memory>945</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:195881</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:160121</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:93626</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:138451</key>\\r\\n\\t\\t<memory>944</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:183732</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:143393</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:109289</key>\\r\\n\\t\\t<memory>943</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:153637</key>\\r\\n\\t\\t<memory>942</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:171049</key>\\r\\n\\t\\t<memory>942</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:53013</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:103664</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:180733</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:69766</key>\\r\\n\\t\\t<memory>941</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:125910</key>\\r\\n\\t\\t<memory>940</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<BigKeys>\\r\\n\\t\\t<db>0</db>\\r\\n\\t\\t<qps>0</qps>\\r\\n\\t\\t<keyType>hash</keyType>\\r\\n\\t\\t<isExpired>no</isExpired>\\r\\n\\t\\t<analysisType>BIGKEY</analysisType>\\r\\n\\t\\t<key>customer:10653</key>\\r\\n\\t\\t<memory>940</memory>\\r\\n\\t\\t<size>11</size>\\r\\n\\t</BigKeys>\\r\\n\\t<PageRecordCount>30</PageRecordCount>\\r\\n</DescribeCacheAnalysisReportResponse>","errorExample":""}]', - 'title' => 'DescribeCacheAnalysisReport', - 'description' => '> Tair (Redis OSS-compatible) has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).'."\n" - ."\n" - .'Before you call this operation, make sure that the instance meets the following requirements:'."\n" - ."\n" - .'* The engine version of the instance is Redis 4.0 or later.'."\n" - .'* The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of a Tair (Redis OSS-compatible) instance is the latest?](~~129203~~)', - ], - 'DescribeCacheAnalysisReportList' => [ - 'summary' => 'Queries a list of cache analysis reports for an instance.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Modify instance parameter settings', + 'summary' => 'Modifies the parameter settings of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.', + 'changeSet' => [ + ['createdAt' => '2024-12-11T07:48:01.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-03T02:42:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-05T14:48:25.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceConfig'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceConfig', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceAofConfig', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:TLSVersion', 'validationType' => 'conditional'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","type":"json"}]', + ], + 'ModifyInstanceMaintainTime' => [ + 'summary' => 'Modifies the maintenance window of a Tair (Redis OSS-compatible) instance. Alibaba Cloud maintains Tair (Redis OSS-compatible) instances during the specified maintenance window.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19275,84 +16505,27 @@ ], 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56388', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56481', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'Days', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time range to query. Default value: 7. Unit: days.'."\n" - ."\n" - .'> If daily automatic analysis has not started and manual analysis is not performed, no records are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '7', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **30**, **50**, and **100**.'."\n" - ."\n" - .'> The default value is **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - 'enum' => [ - '30', - '50', - '100', - ], - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'PageNumbers', + 'name' => 'MaintainStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to start at 1:00 (UTC+8), set this parameter to `17:00Z`. After you call the API operation, you can view the actual time in the Tair (Redis OSS-compatible) console. For more information, see [Set a maintenance window](~~55252~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '03:00Z', 'title' => ''], ], [ - 'name' => 'NodeId', + 'name' => 'MaintainEndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the child node in the cluster instance.'."\n" - ."\n" - .'> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], + 'schema' => ['description' => 'The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance window to end at 2:00 (UTC+8), set this parameter to `18:00Z`.'."\n" + ."\n" + .'> The interval between the start time and the end time cannot be less than 1 hour.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '04:00Z', 'title' => ''], ], ], 'responses' => [ @@ -19360,108 +16533,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => '1041xxxx', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '743D0A03-52DE-4E6F-8D09-EC1414CF****', - ], - 'DailyTasks' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DailyTask' => [ - 'description' => 'The list of the offline key analysis reports.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'description' => 'The date when the offline key analytics task was performed.'."\n", - 'type' => 'string', - 'example' => '2019-08-01Z', - ], - 'Tasks' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Task' => [ - 'description' => 'Details about the offline key analysis reports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details about the offline key analysis report.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The state of the offline key analytics task. Valid values:'."\n" - ."\n" - .'* **success**'."\n" - .'* **running**'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'StartTime' => [ - 'description' => 'The start time of the offline key analytics task.'."\n", - 'type' => 'string', - 'example' => '2019-08-01T19:08:49Z', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '156465****', - ], - 'NodeId' => [ - 'description' => 'The ID of the child node in the cluster instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****-db-0', - ], - ], - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'IncorrectEngineVersion', - 'errorMessage' => 'Current engine version does not support this operation.', - ], + 400 => [ + ['errorCode' => 'InvalidEndTime.Format', 'errorMessage' => 'Specified end time is not valid.', 'description' => 'The incoming end time does not meet the specification.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"1041xxxx\\",\\n \\"RequestId\\": \\"743D0A03-52DE-4E6F-8D09-EC1414CF****\\",\\n \\"DailyTasks\\": {\\n \\"DailyTask\\": [\\n {\\n \\"Date\\": \\"2019-08-01Z\\",\\n \\"Tasks\\": {\\n \\"Task\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"StartTime\\": \\"2019-08-01T19:08:49Z\\",\\n \\"TaskId\\": \\"156465****\\",\\n \\"NodeId\\": \\"r-bp1zxszhcgatnx****-db-0\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCacheAnalysisReportListResponse>\\r\\n <InstanceId>1041xxxx</InstanceId>\\r\\n <RequestId>BFB9478A-119E-4589-B02C-2D2EBE5E****</RequestId>\\r\\n <DailyTasks>\\r\\n <DailyTask>\\r\\n <Date>2019-08-03Z</Date>\\r\\n <Tasks>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-0</NodeId>\\r\\n <StartTime>2019-08-03T19:08:48Z</StartTime>\\r\\n <TaskId>156483****</TaskId>\\r\\n </Task>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-1</NodeId>\\r\\n <StartTime>2019-08-03T19:08:49Z</StartTime>\\r\\n <TaskId>156483****</TaskId>\\r\\n </Task>\\r\\n </Tasks>\\r\\n </DailyTask>\\r\\n <DailyTask>\\r\\n <Date>2019-08-02Z</Date>\\r\\n <Tasks>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-0</NodeId>\\r\\n <StartTime>2019-08-02T19:08:55Z</StartTime>\\r\\n <TaskId>156474****</TaskId>\\r\\n </Task>\\r\\n <Task>\\r\\n <Status>success</Status>\\r\\n <NodeId>r-bp1zxszhcgatnx****-db-1</NodeId>\\r\\n <StartTime>2019-08-02T19:08:55Z</StartTime>\\r\\n <TaskId>156474****</TaskId>\\r\\n </Task>\\r\\n </Tasks>\\r\\n </DailyTask>\\r\\n </DailyTasks>\\r\\n</DescribeCacheAnalysisReportListResponse>","errorExample":""}]', - 'title' => 'DescribeCacheAnalysisReportList', - 'description' => '> Tair (Redis OSS-compatible) has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).'."\n" - ."\n" - .'Before you call this operation, make sure that the instance meets the following requirements:'."\n" - ."\n" - .'* The engine version of the instance is Redis 4.0 or later.'."\n" - .'* The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of a Tair (Redis OSS-compatible) instance is the latest?](~~129203~~)', - ], - 'ModifyInstanceTDE' => [ - 'summary' => 'Enables transparent data encryption (TDE) for a Tair (Redis OSS-compatible) instance. You can use existing custom keys.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyInstanceMaintainTime', + 'description' => 'You can also modify the maintenance window of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Set a maintenance window](~~55252~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:42.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMaintainTime'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMaintainTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76\\"\\n}"},{"type":"xml","example":"<ModifyInstanceMaintainTimeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceMaintainTimeResponse>","errorExample":"<ModifyInstanceMaintainTimeResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ModifyInstanceMaintainTimeResponse>"}]', + ], + 'ModifyInstanceMajorVersion' => [ + 'summary' => 'Upgrades the major version of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19471,81 +16589,36 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56488', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreZ21KYW', - 'FEATUREkvstoreJ7QDWH', - ], + 'abilityTreeCode' => '56482', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'TDEStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable TDE. Set the value to **Enabled**.'."\n" - ."\n" - .'> TDE cannot be disabled after it is enabled. Before you enable it, evaluate whether this feature affects your business. For more information, see [Enable TDE](~~265913~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Enabled', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EncryptionName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The encryption algorithm. Default value: AES-CTR-256.'."\n" - ."\n" - .'> This parameter is available only if the **TDEStatus** parameter is set to **Enabled**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AES-CTR-256', - ], - ], - [ - 'name' => 'EncryptionKey', + 'name' => 'MajorVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~473860~~) operation to query the key ID.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* If you do not specify this parameter, [Key Management Service (KMS)](~~28935~~) automatically generates a key.'."\n" - ."\n" - .'* To create a custom key, you can call the [CreateKey](~~28947~~) operation of the KMS API.', - 'type' => 'string', - 'required' => false, - 'example' => 'ad463061-992d-4195-8a94-ed63********', - ], + 'schema' => ['description' => 'The major version to which you want to upgrade the instance. Valid values: **4.0** and **5.0**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5.0', 'title' => ''], ], [ - 'name' => 'RoleArn', + 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your Tair (Redis OSS-compatible) instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your Tair (Redis OSS-compatible) instance can use KMS.'."\n" - ."\n" - .'> '."\n" + 'description' => 'The time when you want to upgrade the major version. Valid values:'."\n" ."\n" - .'* `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.'."\n" + .'* **Immediately** (default): immediately upgrades the major version.'."\n" + .'* **MaintainTime**: upgrades the major version within the maintenance window.'."\n" ."\n" - .'* `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.', + .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', 'type' => 'string', 'required' => false, - 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', + 'example' => 'Immediately', + 'default' => '0', + 'enum' => ['0', '1', 'Immediately', 'MaintainTime'], + 'title' => '', ], ], ], @@ -19554,68 +16627,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'AA587FB2-2593-4DFE-BE13-2494C2DF****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter InstanceName is not valid.', - ], - [ - 'errorCode' => 'TaskExists', - 'errorMessage' => 'Specified task have existed.', - ], + 403 => [ + ['errorCode' => 'NoQuota', 'errorMessage' => 'Request zone has no quota to sell.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceTDEResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyInstanceTDEResponse>","errorExample":""}]', - 'title' => 'ModifyInstanceTDE', - 'description' => '> For more information about TDE and the impact of TDE, see [Enable TDE](~~265913~~).'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA587FB2-2593-4DFE-BE13-2494C2DF****\\"\\n}","errorExample":"{\\n \\"RequestId\\":\\"AA587FB2-2593-4DFE-BE13-2494C2DF0CBF\\"\\n}"},{"type":"xml","example":"<ModifyInstanceMajorVersionResponse> \\n <RequestId>AA587FB2-2593-4DFE-BE13-2494C2DF****</RequestId>\\n</ModifyInstanceMajorVersionResponse>","errorExample":"<ModifyInstanceMajorVersionResponse> \\n <RequestId>AA587FB2-2593-4DFE-BE13-2494C2DF0CBF</RequestId>\\n</ModifyInstanceMajorVersionResponse>"}]', + 'title' => 'ModifyInstanceMajorVersion', + 'description' => 'For more information about the precautions and impacts of the upgrade, see [Upgrade the major version](~~101764~~).'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceTDEStatus' => [ - 'summary' => 'Queries whether transparent data encryption (TDE) is enabled for a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceMajorVersion'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMajorVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyInstanceMinorVersion' => [ + 'summary' => 'Updates the minor version of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56412', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56483', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'Minorversion', + 'in' => 'query', + 'schema' => ['description' => 'The minor version to which you want to update. Default value: **latest_version**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'latest_version', 'default' => 'latest_version', 'title' => ''], + ], + [ + 'name' => 'EffectiveTime', + 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the Tair (Redis OSS-compatible) instance. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', + 'description' => 'The time when you want to update the minor version. Valid values:'."\n" + ."\n" + .'* **Immediately** (default): immediately updates the minor version.'."\n" + .'* **MaintainTime**: updates the minor version during the maintenance window.'."\n" + ."\n" + .'> You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to modify the maintenance window of an instance.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', + 'required' => false, + 'example' => 'Immediately', + 'default' => '0', + 'enum' => ['0', '1', 'Immediately', 'MaintainTime'], + 'title' => '', ], ], ], @@ -19624,78 +16718,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TDEStatus' => [ - 'description' => 'Indicates whether TDE is enabled. Valid values:'."\n" - ."\n" - .'* **Enabled**: TDE is enabled.'."\n" - .'* **Disable**: TDE is disabled.'."\n", - 'type' => 'string', - 'example' => 'Enabled', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '28761557-0B33-41DF-AEEB-322DFF96****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidInstanceId.NotFound', - 'errorMessage' => 'The InstanceId provided does not exist in our records.', - ], + 403 => [ + ['errorCode' => 'NoQuota', 'errorMessage' => 'Request zone has no quota to sell.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TDEStatus\\": \\"Enabled\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceTDEStatusResponse>\\n <TDEStatus>Enabled</TDEStatus>\\n <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n</DescribeInstanceTDEStatusResponse>","errorExample":""}]', - 'title' => 'DescribeInstanceTDEStatus', - 'description' => 'For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"28761557-0B33-41DF-AEEB-322DFF96****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceMinorVersionResponse>\\r\\n <RequestId>28761557-0B33-41DF-AEEB-322DFF96****</RequestId>\\r\\n</ModifyInstanceMinorVersionResponse>","errorExample":""}]', + 'title' => 'ModifyInstanceMinorVersion', + 'description' => 'The procedure to update the minor version of an instance varies based on types of Tair (Redis OSS-compatible) instances. For more information, see [Upgrade the minor version](~~56450~~).'."\n" ."\n" - .'> You can call the [ModifyInstanceTDE](~~473859~~) to enable or disable TDE.', + .'> '."\n" + ."\n" + .'* Before you call this operation, you can call the [DescribeEngineVersion](~~473781~~) operation to query the minor version of the current instance.'."\n" + .'* When you switch your workloads over from the original instance to a new instance or from the master node to the replica node in the original instance, you may experience disconnections that last a few seconds. The original instance stays in the read-only state within 60 seconds until all data is synchronized. We recommend that you upgrade the original instance during off-peak hours and make sure that your application is configured to automatically reconnect to the original instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeEncryptionKeyList' => [ - 'summary' => 'Queries a list of custom keys used by Tair (Redis OSS-compatible) instances.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceMinorVersion'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMinorVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyInstanceNetExpireTime' => [ + 'summary' => 'Extends the retention period of the classic network endpoint of a Tair (Redis OSS-compatible) instance. You can call this operation after you change the network type of the Tair (Redis OSS-compatible) instance from classic network to Virtual Private Cloud (VPC) with the classic network endpoint retained.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56398', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56484', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'ConnectionString', + 'in' => 'query', + 'schema' => ['description' => 'The endpoint of the classic network.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + ], + [ + 'name' => 'ClassicExpiredDays', + 'in' => 'query', + 'schema' => ['description' => 'The extension period to retain the classic network endpoint of the instance. Unit: days. Valid values: **14**, **30**, **60**, and **120**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '14', 'title' => ''], ], ], 'responses' => [ @@ -19703,222 +16801,200 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '10E2160B-959C-5C3E-BFE6-86EC5925****', - ], - 'KeyIds' => [ + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9C4AF387-1EA3-4C84-8013-3F6B973EDDF5', 'title' => ''], + 'NetInfoItems' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'KeyId' => [ - 'description' => 'The custom keys that are available in the region.'."\n", + 'NetInfoItem' => [ + 'description' => 'Details about the extension period for which the classic network endpoint of the instance is retained.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The custom key.'."\n", - 'type' => 'string', - 'example' => 'a0e7e2c9-8ee5-40ed-bbca-7dbc********', + 'description' => 'The classic network information about the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'Port' => ['description' => 'The port number that is used to connect to the instance.'."\n", 'type' => 'string', 'example' => '6379', 'title' => ''], + 'DBInstanceNetType' => ['description' => 'The network type of the instance. The returned value is **Classic**.'."\n", 'type' => 'string', 'example' => 'Classic', 'title' => ''], + 'ConnectionString' => ['description' => 'The endpoint of the classic network.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], + 'ExpiredTime' => ['description' => 'The expiration time of the classic network endpoint.'."\n", 'type' => 'string', 'example' => '2019-08-01T09:29:18Z', 'title' => ''], + 'IPAddress' => ['description' => 'The IP address of the instance in the classic network.'."\n", 'type' => 'string', 'example' => '100.118.142.***', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"10E2160B-959C-5C3E-BFE6-86EC5925****\\",\\n \\"KeyIds\\": {\\n \\"KeyId\\": [\\n \\"a0e7e2c9-8ee5-40ed-bbca-7dbc********\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeEncryptionKeyListResponse>\\n <RequestId>10E2160B-959C-5C3E-BFE6-86EC5925****</RequestId>\\n <KeyIds>\\n <KeyId>a0e7e2c9-8ee5-40ed-bbca-7dbc********</KeyId>\\n <KeyId>ad463061-992d-4195-8a94-ed63********</KeyId>\\n </KeyIds>\\n</DescribeEncryptionKeyListResponse>","errorExample":""}]', - 'title' => 'DescribeEncryptionKeyList', - 'description' => '* You can specify a custom key when you call the [ModifyInstanceTDE](~~473859~~) operation to enable Transparent Data Encryption (TDE). You can call the DescribeEncryptionKeyList operation to query the custom keys that are in use. To create a custom key, you can call the [CreateKey](~~28947~~) operation of Key Management Service (KMS).'."\n" - .'* For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ClassicExpiredDaysError', 'errorMessage' => 'The ClassicExpiredDays can not set to 0.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"RequestId\\": \\"9C4AF387-1EA3-4C84-8013-3F6B973EDDF5\\",\\n \\"NetInfoItems\\": {\\n \\"NetInfoItem\\": [\\n {\\n \\"Port\\": \\"6379\\",\\n \\"DBInstanceNetType\\": \\"Classic\\",\\n \\"ConnectionString\\": \\"r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com\\",\\n \\"ExpiredTime\\": \\"2019-08-01T09:29:18Z\\",\\n \\"IPAddress\\": \\"100.118.142.***\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n\\t\\"InstanceId\\": \\"r-xxxxxxxxxxxxxxx\\",\\n\\t\\"RequestId\\": \\"9C4AF387-1EA3-4C84-8013-3F6B973EDDF5\\",\\n\\t\\"NetInfoItems\\": {\\n\\t\\t\\"NetInfoItem\\": [{\\n\\t\\t\\t\\t\\"ConnectionString\\": \\"r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com\\",\\n\\t\\t\\t\\t\\"Port\\": \\"6379\\",\\n\\t\\t\\t\\t\\"DBInstanceNetType\\": \\"Classic\\",\\n\\t\\t\\t\\t\\"IPAddress\\": \\"xxx.xxx.xxx.xxx\\",\\n\\t\\t\\t\\t\\"ExpiredTime\\": \\"2018-11-18T08:04:46Z\\"\\n\\t\\t\\t}\\n\\t\\t]\\n\\t}\\n}"},{"type":"xml","example":"<ModifyInstanceNetExpireTimeResponse>\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\n <RequestId>9C4AF387-1EA3-4C84-8013-3F6B973EDDF5</RequestId>\\n <NetInfoItems>\\n <NetInfoItem>\\n <ConnectionString>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</ConnectionString>\\n <Port>6379</Port>\\n <DBInstanceNetType>Classic</DBInstanceNetType>\\n <IPAddress>100.118.142.***</IPAddress>\\n <ExpiredTime>2019-08-01T09:29:18Z</ExpiredTime>\\n </NetInfoItem>\\n </NetInfoItems>\\n</ModifyInstanceNetExpireTimeResponse>","errorExample":"<ModifyInstanceNetExpireTimeResponse>\\n <InstanceId>r-xxxxxxxxxxxxxxx</InstanceId>\\n <RequestId>9C4AF387-1EA3-4C84-8013-3F6B973EDDF5</RequestId>\\n <NetInfoItems>\\n <NetInfoItem>\\n <ConnectionString>r-xxxxxxxxxxxxxxx.redis.rds.aliyuncs.com</ConnectionString>\\n <Port>6379</Port>\\n <DBInstanceNetType>Classic</DBInstanceNetType>\\n <IPAddress>xxx.xxx.xxx.xxx</IPAddress>\\n <ExpiredTime>2018-11-18T08:04:46Z</ExpiredTime>\\n </NetInfoItem>\\n </NetInfoItems>\\n</ModifyInstanceNetExpireTimeResponse>"}]', + 'title' => 'ModifyInstanceNetExpireTime', + 'description' => 'You can also perform this operation in the Tair (Redis OSS-compatible) console. For more information, see [Change the expiration time for the endpoint of the classic network](~~60062~~).'."\n" + ."\n" + .'> For more information about how to switch the network type of a Tair (Redis OSS-compatible) instance from classic network to VPC, see [SwitchNetwork](~~473797~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeEncryptionKey' => [ - 'summary' => 'Queries the details of a custom key for a Tair (Redis OSS-compatible) instance to use transparent data encryption (TDE).', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceNetExpireTime'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceNetExpireTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyInstanceParameter' => [ + 'summary' => 'Applies a parameter template to specific instances. This indicates that the parameter values in the template take effect on the instances. After you modify a parameter template, you must reapply it to specific instances for the new parameter values to take effect on the instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56397', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstore4XSUU7', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '180441', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region ID.'."\n", 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ParameterGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The parameter template ID.'."\n" + ."\n" + .'> You can view the list of parameter templates in the target region, including the parameter template ID, through the DescribeParameterGroups interface.', 'type' => 'string', 'required' => false, 'example' => 'g-idhwofwofewhf****', 'title' => ''], + ], + [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EncryptionKey', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~473860~~) operation to query the ID of the key.', - 'type' => 'string', - 'required' => false, - 'example' => 'ad463061-992d-4195-8a94-ed63********', - ], + 'schema' => ['description' => 'The information about parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"hz": "50"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => '', 'type' => 'object', 'properties' => [ - 'DeleteDate' => [ - 'description' => 'The time when the custom key is expected to be deleted. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" - ."\n" - .'> If the return value is an empty string, the custom key cannot be automatically deleted.'."\n", - 'type' => 'string', - 'example' => '2021-09-24T18:22:03Z', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9A931CE5-C926-5E09-B0EC-6299C4A6****', - ], - 'Description' => [ - 'description' => 'The description of the custom key. By default, an empty string is returned.'."\n", - 'type' => 'string', - 'example' => 'testkey', - ], - 'Origin' => [ - 'description' => 'The source of the custom key. A value of **Aliyun_KMS** indicates [Key Management Service (KMS)](~~28935~~) of Alibaba Cloud.'."\n", - 'type' => 'string', - 'example' => 'Aliyun_KMS', - ], - 'MaterialExpireTime' => [ - 'description' => 'The time when the custom key expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" - ."\n" - .'> If the return value is an empty string, the custom key does not expire.'."\n", - 'type' => 'string', - 'example' => '2021-09-24T18:22:03Z', - ], - 'EncryptionKeyStatus' => [ - 'description' => 'The state of the custom key. Valid values:'."\n" - ."\n" - .'* **Enabled**: The custom key is available.'."\n" - .'* **Disabled**: The custom key is unavailable.'."\n", - 'type' => 'string', - 'example' => 'Enabled', - ], - 'KeyUsage' => [ - 'description' => 'The purpose of the custom key. A value of `ENCRYPT/DECRYPT` indicates encryption and decryption.'."\n", - 'type' => 'string', - 'example' => 'ENCRYPT/DECRYPT', - ], - 'EncryptionKey' => [ - 'description' => 'The ID of the custom key.'."\n", - 'type' => 'string', - 'example' => 'ad463061-992d-4195-8a94-ed63********', - ], - 'Creator' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to create the custom key.'."\n", - 'type' => 'string', - 'example' => '17649847********', - ], - 'EncryptionName' => [ - 'description' => 'The encryption algorithm.'."\n", - 'type' => 'string', - 'example' => 'AES-CTR-256', - ], - 'RoleArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role to which you want to grant permissions.'."\n", - 'type' => 'string', - 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****'], + 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '578678678', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InstanceType.NotSupport', - 'errorMessage' => 'Current instance type does not support this operation.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": 578678678\\n}","type":"json"}]', + 'title' => 'ModifyInstanceParameter', + 'changeSet' => [ + ['createdAt' => '2024-08-05T08:39:27.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceParameter'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceParameter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeleteDate\\": \\"2021-09-24T18:22:03Z\\",\\n \\"RequestId\\": \\"9A931CE5-C926-5E09-B0EC-6299C4A6****\\",\\n \\"Description\\": \\"testkey\\",\\n \\"Origin\\": \\"Aliyun_KMS\\",\\n \\"MaterialExpireTime\\": \\"2021-09-24T18:22:03Z\\",\\n \\"EncryptionKeyStatus\\": \\"Enabled\\",\\n \\"KeyUsage\\": \\"ENCRYPT/DECRYPT\\",\\n \\"EncryptionKey\\": \\"ad463061-992d-4195-8a94-ed63********\\",\\n \\"Creator\\": \\"17649847********\\",\\n \\"EncryptionName\\": \\"AES-CTR-256\\",\\n \\"RoleArn\\": \\"acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeEncryptionKeyResponse>\\n <Origin>Aliyun_KMS</Origin>\\n <Description>testkey</Description>\\n <EncryptionKeyStatus>Enabled</EncryptionKeyStatus>\\n <RequestId>9A931CE5-C926-5E09-B0EC-6299C4A6****</RequestId>\\n <MaterialExpireTime>2021-09-24T18:22:03Z</MaterialExpireTime>\\n <KeyUsage>ENCRYPT/DECRYPT</KeyUsage>\\n <EncryptionKey>ad463061-992d-4195-8a94-ed63********</EncryptionKey>\\n <Creator>17649847********</Creator>\\n <DeleteDate>2021-09-24T18:22:03Z</DeleteDate>\\n</DescribeEncryptionKeyResponse>","errorExample":""}]', - 'title' => 'DescribeEncryptionKey', - 'description' => 'Before you call this operation, TDE must be enabled for the Tair (Redis OSS-compatible) instance by using a custom key. For more information, see [ModifyInstanceTDE](~~473859~~).'."\n" - ."\n" - .'> For more information about TDE, see [Enable TDE](~~265913~~).', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CheckCloudResourceAuthorized' => [ - 'summary' => 'Queries whether a Tair (Redis OSS-compatible) instance has the permissions to use Key Management Service (KMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstanceSSL' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '56487', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'RoleArn', + 'name' => 'SSLEnabled', 'in' => 'query', 'schema' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your Tair (Redis OSS-compatible) instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your Tair (Redis OSS-compatible) instance can use KMS.'."\n" + 'description' => 'Specifies whether to enable TLS (SSL) encryption. Valid values:'."\n" ."\n" - .'> '."\n" + .'- **Disable**: disables SSL encryption.'."\n" ."\n" - .'* `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.'."\n" + .'- **Enable**: enables SSL encryption.'."\n" ."\n" - .'* `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.', + .'- **Update**: updates the SSL certificate.', 'type' => 'string', - 'required' => false, + 'required' => true, 'docRequired' => true, - 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', + 'enum' => ['Disable', 'Enable', 'Update'], + 'example' => 'Enable', + 'title' => '', ], ], ], @@ -19927,749 +17003,402 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AuthorizationState' => [ - 'description' => 'Indicates whether the instance is authorized to use KMS. Valid values:'."\n" - ."\n" - .'* **0**: The instance is authorized to use KMS.'."\n" - .'* **1**: The instance is not authorized to use KMS.'."\n" - .'* **2**: KMS is not activated. For more information, see [Activate KMS](~~153781~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A501A191-BD70-5E50-98A9-C2A486A82****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AD7E16AA-6B23-43BF-979C-07D957FB****', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => '32184****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AuthorizationState\\": 1,\\n \\"RequestId\\": \\"A501A191-BD70-5E50-98A9-C2A486A82****\\"\\n}","errorExample":""},{"type":"xml","example":"<CheckCloudResourceAuthorizedResponse>\\n <AuthorizationState>1</AuthorizationState>\\n <RequestId>A501A191-BD70-5E50-98A9-C2A486A82****</RequestId>\\n</CheckCloudResourceAuthorizedResponse>","errorExample":""}]', - 'title' => 'CheckCloudResourceAuthorized', - 'description' => '* For information about Transparent Data Encryption (TDE) and the usage notes of TDE, see [Enable TDE](~~265913~~).'."\n" - .'* If the Tair (Redis OSS-compatible) instance is authorized to use KMS, you can call the [ModifyInstanceTDE](~~473859~~) operation to enable TDE.', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameters.Format', 'errorMessage' => 'Specified parameters is not valid.', 'description' => 'The parameter is invalid.'], + ], + 403 => [ + ['errorCode' => 'IncorrectCharacterType', 'errorMessage' => 'Current DB instance CharacterType does not support this operation.', 'description' => ''], + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support operations.', 'description' => ''], + ['errorCode' => 'IncorrectDBInstanceState', 'errorMessage' => 'Current DB instance state does not support this operation.', 'description' => 'The operation cannot be performed until the instance is in the running state.'], + ['errorCode' => 'IncorrectDBInstanceLockMode', 'errorMessage' => 'Current DB instance lock mode does not support this operation.', 'description' => ''], + ], + [ + ['errorCode' => 'EnabledSSLNotSupport', 'errorMessage' => 'Specified region does not support enable ssl.', 'description' => ''], + ], + ], + 'title' => 'ModifyInstanceSSL', + 'summary' => 'Enables Transport Layer Security (TLS) for a Tair (Redis OSS-compatible) instance.', + 'description' => 'You can also configure SSL encryption in the console. For more information, see [Configure SSL encryption](~~84898~~).'."\n" + ."\n" + .'> To specify the earliest supported SSL version, you can call the [ModifyInstanceConfig](~~473844~~) operation to modify the required parameter.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeActiveOperationTaskCount' => [ - 'summary' => 'Queries the number of O\\\\\\&M tasks on a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceSSL'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - 'default' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TaskCount' => [ - 'description' => 'The number of pending O\\&M tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NeedPop' => [ - 'description' => 'Indicates whether any O\\&M tasks need pop-up windows to notify users actions. Valid values:'."\n" - ."\n" - .'* **0**: No O\\&M tasks need pop-up windows to notify users actions.'."\n" - .'* **1**: Some O\\&M tasks need pop-up windows to notify users actions.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => 'Request ID.'."\n", - 'type' => 'string', - 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceSSL', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:SSLEnabled', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskCount\\": 1,\\n \\"NeedPop\\": 0,\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\"\\n}","type":"json"}]', - 'title' => 'DescribeActiveOperationTaskCount', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD7E16AA-6B23-43BF-979C-07D957FB****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"32184****\\"\\n}","type":"json"}]', ], - 'DescribeHistoryTasks' => [ - 'summary' => 'Queries a list of tasks in the task center.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstanceSpec' => [ + 'summary' => 'Changes the configurations of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '134634', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56485', + 'abilityTreeNodes' => ['FEATUREkvstore6PLKNO', 'FEATUREkvstore6VEW31', 'FEATUREkvstore1Q5K7Z'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The new instance type. You can call the [DescribeAvailableResource](~~473765~~) operation to query the instance types available for configuration change within the zone to which the instance belongs.'."\n" + ."\n" + .'> For more information about the instance types, see [Overview](~~26350~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'redis.master.small.default', 'title' => ''], ], [ - 'name' => 'InstanceType', + 'name' => 'BusinessInfo', 'in' => 'query', - 'schema' => [ - 'description' => 'Set the value to Instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Instance', - ], + 'schema' => ['description' => 'The ID of the promotional event or the business information.'."\n", 'type' => 'string', 'required' => false, 'example' => '000000001', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The task status. Valid values:'."\n" - ."\n" - .'* **Scheduled**'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Cancelling**'."\n" - .'* **Canceled**'."\n" - .'* **Waiting**'."\n" - ."\n" - .'> This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Scheduled', - ], + 'schema' => ['description' => 'The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'default' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ForceUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-uf62br2491p5l****'."\n", - ], + 'schema' => ['description' => 'Specifies whether to forcibly change the configurations. Valid values:'."\n" + ."\n" + .'* **false**: The system does not forcefully change the configurations.'."\n" + .'* **true** (default): The system forcefully changes the configurations.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'EffectiveTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The task ID. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 't-83br18hloy3faf****'."\n", - ], + 'schema' => ['description' => 'The time when you want the configurations to be changed. Valid values:'."\n" + ."\n" + .'* **Immediately** (default): immediately changes the configurations.'."\n" + .'* **MaintainTime**: changes the configurations within the maintenance window. You can call the [ModifyInstanceMaintainTime](~~473775~~) operation to change the maintenance window.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Immediately', 'default' => 'Immediately', 'title' => ''], ], [ - 'name' => 'TaskType', + 'name' => 'AutoPay', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable automatic payment. Valid values:'."\n" + ."\n" + .'* **true** (default): enables automatic payment.'."\n" + .'* **false**: disables automatic payment. If you set this parameter to **false**, the instance must be manually renewed before it expires. For more information, see [Renew an instance](~~26352~~).'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], + ], + [ + 'name' => 'OrderType', 'in' => 'query', 'schema' => [ - 'description' => 'The task type. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.'."\n" + 'description' => 'The change type. This parameter is required when you change the configurations of a subscription instance. Valid values:'."\n" ."\n" - .'* **ModifyInsSpec**'."\n" - .'* **DeleteInsNode**'."\n" - .'* **AddInsNode**'."\n" - .'* **HaSwitch**'."\n" - .'* **RestartIns**'."\n" - .'* **CreateIns**'."\n" - .'* **ModifyInsConfig**'."\n" + .'* **UPGRADE** (default): upgrades the configurations of the subscription instance.'."\n" + .'* **DOWNGRADE**: downgrades the configurations of the subscription instance.'."\n" ."\n" - .'> Separate multiple task types with commas (,).'."\n", + .'> '."\n" + ."\n" + .'* To downgrade a subscription instance, you must set this parameter to **DOWNGRADE**.'."\n" + ."\n" + .'* If the price of an instance increases after its configurations are changed, the instance is upgraded. If the price decreases, the instance is downgraded. For example, the price of an 8 GB read/write splitting instance with five read replicas is higher than that of a 16 GB cluster instance. If you want to change a 16 GB cluster instance to an 8 GB read/write splitting instance with five read replicas, you must upgrade the instance.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'ModifyInsSpec', + 'docRequired' => false, + 'enumValueTitles' => ['DOWNGRADE' => 'DOWNGRADE', 'UPGRADE' => 'UPGRADE'], + 'example' => 'DOWNGRADE', + 'default' => 'UPGRADE', + 'enum' => ['UPGRADE', 'DOWNGRADE', 'AUTO'], + 'title' => '', ], ], [ - 'name' => 'FromStartTime', + 'name' => 'MajorVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time.'."\n", + 'description' => 'The major version of the classic instance that you want to upgrade. Valid values: **2.8**, **4.0**, and **5.0**.'."\n" + ."\n" + .'> The **InstanceClass** parameter is required when you upgrade the instance version. This parameter indicates that you can upgrade the instance version only when you update the instance specifications. If you only need to upgrade the instance version, call the [ModifyInstanceMajorVersion](~~473776~~) operation.'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-01-02T11:31:03Z', + 'required' => false, + 'enumValueTitles' => [], + 'example' => '5.0', + 'enum' => ['2.8', '4.0', '5.0', '6.0'], + 'title' => '', ], ], [ - 'name' => 'ToStartTime', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-03-02T11:31:03Z', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], [ - 'name' => 'FromExecTime', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], [ - 'name' => 'ToExecTime', + 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The number of shards. This parameter is applicable only to cloud-native cluster instances.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you want to change a cloud-native cluster instance to a standard instance, you must explicitly set the ShardCount parameter to 1 and specify the specifications of the master-replica instance.'."\n" + ."\n" + .'* To change a cloud-native standard instance to a cluster instance, you must explicitly set the ShardCount parameter to a value greater than 1 and specify the specifications of the cluster instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '4092', 'minimum' => '1', 'example' => '8', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - 'PageSize' => [ - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of tasks that meet these constraints without taking pagination into account.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Items' => [ - 'description' => 'The queried task objects.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The task status.'."\n" - ."\n" - .'* **Scheduled**'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Cancelling**'."\n" - .'* **Canceled**'."\n" - .'* **Waiting**'."\n", - 'type' => 'string', - 'format' => 'int32', - 'example' => 'Running', - ], - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 't-83br18hloy3faf****', - ], - 'CurrentStepName' => [ - 'description' => 'The name of the current step. If this parameter is left empty, the task is not started.'."\n", - 'type' => 'string', - 'example' => 'exec_task', - ], - 'StartTime' => [ - 'description' => 'The start time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-02-03T11:31:03Z', - ], - 'EndTime' => [ - 'description' => 'The end time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-02-03T12:06:17Z', - ], - 'TaskType' => [ - 'description' => 'The task type.'."\n" - ."\n" - .'* **ModifyInsSpec**'."\n" - .'* **DeleteInsNode**'."\n" - .'* **AddInsNode**'."\n" - .'* **HaSwitch**'."\n" - .'* **RestartIns**'."\n" - .'* **CreateIns**'."\n" - .'* **ModifyInsConfig**'."\n", - 'type' => 'string', - 'example' => 'ModifyInsSpec', - ], - 'RemainTime' => [ - 'description' => 'The estimated amount of time remaining to complete the task. Unit: seconds. A value of 0 indicates that the task is completed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'Progress' => [ - 'description' => 'The task progress. Valid values: 0 to 100.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '79.0', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'InstanceType' => [ - 'description' => 'The instance type. The return value is Instance.'."\n", - 'type' => 'string', - 'example' => 'Instance', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'dba-tair-test-qcloud', - ], - 'DbType' => [ - 'description' => 'The database type. The return value is redis.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'Product' => [ - 'description' => 'The product. The return value is kvstore.'."\n", - 'type' => 'string', - 'example' => 'kvstore', - ], - 'TaskDetail' => [ - 'description' => 'The task details. The details vary based on the task type.'."\n", - 'type' => 'string', - 'example' => '{\\"callerUid\\":\\"test\\"}', - ], - 'ReasonCode' => [ - 'description' => 'The reason why the current task was initiated.'."\n", - 'type' => 'string', - 'example' => 'UpgradeMinorVersion', - ], - 'ActionInfo' => [ - 'description' => 'A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:'."\n" - ."\n" - .' {"steps": ['."\n" - .' {'."\n" - .' "step_name": "exec_task", // The name of the step, which matches CurrentStepName.'."\n" - .' "action_info": { // The actions supported for this step.'."\n" - .' "Waiting": [ // The status, which matches Status.'."\n" - .' "modifySwitchTime" // The action. Multiple actions are supported.'."\n" - .' ]'."\n" - .' }'."\n" - .' },'."\n" - .' {'."\n" - .' "step_name": "init_task", // The name of the step.'."\n" - .' "action_info": { // The actions supported for this step.'."\n" - .' "Running": [ // The status.'."\n" - .' "cancel", // The action.'."\n" - .' "pause"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .' }'."\n" - ."\n" - .'The system may support the following actions:'."\n" - ."\n" - .'* **retry**'."\n" - .'* **cancel**'."\n" - .'* **modifySwitchTime**: changes the switching or restoration time.'."\n", - 'type' => 'string', - 'example' => '{\\"steps\\":[{\\"action_info\\":{\\"Waiting\\":[\\"modifySwitchTime\\"]},\\"step_name\\":\\"exec_task\\"}]}'."\n", - ], - 'Uid' => [ - 'description' => 'The ID of the user to which the resources belong.'."\n", - 'type' => 'string', - 'example' => '141345906006****', - ], - 'CallerSource' => [ - 'description' => 'The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.'."\n", - 'type' => 'string', - 'example' => '141345906006****', - ], - 'CallerUid' => [ - 'description' => 'The request source. Valid values:'."\n" - ."\n" - .'* **System**'."\n" - .'* **User**'."\n", - 'type' => 'string', - 'example' => 'User', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Param.Invalid', - 'errorMessage' => 'Param invalid', - ], - [ - 'errorCode' => 'Param.Invalid.TimeEndBeforeStart', - 'errorMessage' => 'Param invalid. End time before start time', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 5,\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"t-83br18hloy3faf****\\",\\n \\"CurrentStepName\\": \\"exec_task\\",\\n \\"StartTime\\": \\"2022-02-03T11:31:03Z\\",\\n \\"EndTime\\": \\"2022-02-03T12:06:17Z\\",\\n \\"TaskType\\": \\"ModifyInsSpec\\",\\n \\"RemainTime\\": 1000,\\n \\"Progress\\": 79,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InstanceType\\": \\"Instance\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"InstanceName\\": \\"dba-tair-test-qcloud\\",\\n \\"DbType\\": \\"redis\\",\\n \\"Product\\": \\"kvstore\\",\\n \\"TaskDetail\\": \\"{\\\\\\\\\\\\\\"callerUid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"}\\",\\n \\"ReasonCode\\": \\"小版本升级\\",\\n \\"ActionInfo\\": \\"{\\\\\\"steps\\\\\\":[{\\\\\\"action_info\\\\\\":{\\\\\\"Waiting\\\\\\":[\\\\\\"modifySwitchTime\\\\\\"]},\\\\\\"step_name\\\\\\":\\\\\\"exec_task\\\\\\"}]}\\",\\n \\"Uid\\": \\"141345906006****\\",\\n \\"CallerSource\\": \\"141345906006****\\",\\n \\"CallerUid\\": \\"User\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeHistoryTasks', - ], - 'DescribeHistoryTasksStat' => [ - 'summary' => 'Queries the task statistics in the task center.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '134639', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreAO067M', - ], - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ReplicaCount', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The region ID of the pending event. You can call the DescribeRegions operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The number of replica nodes in the primary zone. This parameter is applicable only to cloud-native multi-replica cluster instances. Valid values: 1 to 4.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The sum of the values of this parameter and the SlaveReplicaCount parameter cannot be greater than 4.'."\n" + ."\n" + .'* You can specify either ReplicaCount or ReadOnlyCount.'."\n" + ."\n" + .'* A master-replica instance cannot contain multiple replica nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'SlaveReplicaCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The task status. Valid values:'."\n" - ."\n" - .'* **Scheduled**'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Cancelling**'."\n" - .'* **Canceled**'."\n" - .'* **Waiting**'."\n" - ."\n" - .'> This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Scheduled', - ], + 'schema' => ['description' => 'The number of replica nodes in the secondary zone when you create a cloud-native multi-replica cluster instance that is deployed across multiple zones. The sum of the values of this parameter and the ReplicaCount parameter cannot be greater than 4.'."\n" + ."\n" + .'> When you create a cloud-native multi-replica cluster instance that is deployed across multiple zones, you must specify both SlaveReplicaCount and SecondaryZoneId.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The number of read replicas in the primary zone. Valid values: 0 to 5. This parameter applies only to the following scenarios:'."\n" + ."\n" + .'* If the instance is a cloud-native standard instance, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture.'."\n" + .'* If the instance is a cloud-native read/write splitting instance, you can use this parameter to customize the number of read replicas. You can also set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9', 'minimum' => '0', 'example' => '5', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'SlaveReadOnlyCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The task IDs. You can specify this parameter to query specific tasks. This parameter is empty by default, which indicates that all tasks are queried. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 't-0mq1yyhm3ffl2bxxxx', - ], + 'schema' => ['description' => 'The number of read replicas in the secondary zone when you create a read/write splitting instance that is deployed across multiple zones. Valid values: 1 to 9. The sum of the values of this parameter and the ReadOnlyCount parameter cannot be greater than 9.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9', 'minimum' => '0', 'example' => '2', 'title' => ''], ], [ - 'name' => 'TaskType', + 'name' => 'ForceTrans', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'Specifies whether to enable forced transmission during a configuration change. Valid values:'."\n" + ."\n" + .'* **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.'."\n" + .'* **true**: The system skips the version check and directly performs the configuration change.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', 'title' => ''], ], [ - 'name' => 'FromStartTime', + 'name' => 'NodeType', 'in' => 'query', - 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'The beginning of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*t*hh:mm*Z.'."\n", + 'description' => 'The type of the node. Valid values:'."\n" + ."\n" + .'* **MASTER_SLAVE**: high availability (master-replica)'."\n" + .'* **STAND_ALONE**: standalone'."\n" + .'* **double**: master-replica'."\n" + .'* **single**: standalone'."\n" + ."\n" + .'> To create a cloud-native instance, set this parameter to **MASTER_SLAVE** or **STAND_ALONE**. To create a classic instance, set this parameter to **double** or **single**.'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-01-02T11:31:03Z', + 'required' => false, + 'example' => 'MASTER_SLAVE', + 'enum' => ['MASTER_SLAVE', 'STAND_ALONE', 'double', 'single'], + 'title' => '', ], ], [ - 'name' => 'ToStartTime', + 'name' => 'StorageType', 'in' => 'query', - 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'The end of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*t*hh:mm*Z.'."\n", + 'description' => 'The storage type. Valid values: **essd_pl1**, **essd_pl2**, and **essd_pl3**.'."\n" + ."\n" + .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance.'."\n", 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-02-02T11:31:03Z', - ], - ], - [ - 'name' => 'FromExecTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. Default value: 0. This value indicates that the minimum execution duration is unlimited.'."\n", - 'type' => 'integer', - 'format' => 'int32', 'required' => false, - 'example' => '0', + 'example' => 'essd_pl1', + 'enum' => ['essd_pl1', 'essd_pl2', 'essd_pl3'], + 'title' => '', ], ], [ - 'name' => 'ToExecTime', + 'name' => 'Storage', 'in' => 'query', - 'schema' => [ - 'description' => 'Maximum task execution time. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. Default value: 0. This value indicates that the minimum execution duration is unlimited.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The storage capacity of the ESSD/SSD-based instance. The valid values vary based on the instance type. For more information, see [ESSD/SSD-based instances](~~2527111~~).'."\n" + ."\n" + .'> This parameter is required only when you set the **InstanceType** parameter to **tair_essd** to create an ESSD-based instance. If you create a Tair **SSD**-based instance, the Storage parameter is automatically specified based on predefined specifications. You do not need to specify this parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', - ], - 'Items' => [ - 'description' => 'The task list.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tasks.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The task state.'."\n" - ."\n" - .'* **Scheduled**'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Cancelling**'."\n" - .'* **Canceled**'."\n" - .'* **Waiting**'."\n", - 'type' => 'string', - 'example' => 'Scheduled', - ], - 'TotalCount' => [ - 'description' => 'The total number of tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - ], + 'OrderId' => ['description' => 'The order ID.'."\n", 'type' => 'string', 'example' => '20722623431****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0DA1D7EF-C80D-432C-8758-7D225182626B', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Param.Invalid', - 'errorMessage' => 'Param invalid', - ], - [ - 'errorCode' => 'Param.Invalid.TimeEndBeforeStart', - 'errorMessage' => 'Param invalid. End time before start time', - ], + ['errorCode' => 'PaymentMethodNotFound', 'errorMessage' => 'No payment method has been registered on the account.', 'description' => ''], + ['errorCode' => 'HasRenewChangeOrder', 'errorMessage' => 'This instance has a renewChange order.', 'description' => ''], + ['errorCode' => '%s', 'errorMessage' => 'Warn: {%s} are not supported after upgraded. you can set forceUpgrade=true to force upgrade.', 'description' => ''], + ['errorCode' => 'GdcInstanceNotSupport', 'errorMessage' => 'The gdc custins trans not support.', 'description' => ''], + ['errorCode' => 'AbnormalResourceStatusForRenew', 'errorMessage' => 'Abnormal resource status for renew.', 'description' => ''], + ['errorCode' => 'MissingRedisShardingUnsupportPerfItem', 'errorMessage' => 'The metadb is missing redis sharding unsupoort command perf item.', 'description' => ''], + ['errorCode' => 'IllegalParamError', 'errorMessage' => 'Action or resource must not be null.', 'description' => ''], + ['errorCode' => 'IncorrectTargetMajorVersion', 'errorMessage' => 'Current target majorversion does not support this operation.', 'description' => 'the current operation does not support the specified target major version. make sure that the specified target major version is greater than the current major version of the instance.'], + ['errorCode' => 'IncorrectMinorVersion', 'errorMessage' => 'Current engine minor version does not support operations.', 'description' => 'The operation is not supported by the minor version of the instance. Update the instance to the latest minor version and try again.'], + ['errorCode' => 'DirectTargetLevelNotSupport', 'errorMessage' => 'The direct custins tranfer target instance level does not support.', 'description' => ''], + ['errorCode' => 'DirectTransPreCheckError', 'errorMessage' => 'The direct custins trans pre check IsAddReduceNodes error.', 'description' => ''], + ['errorCode' => 'DtsOpendNotSupportTrans', 'errorMessage' => 'The custins DtsSyncStatus opend does not support trans.', 'description' => ''], + ['errorCode' => 'DirectTransNodeDoubleLevelError', 'errorMessage' => 'The direct custins tranfer node double target level error.', 'description' => 'When adjusting only the number of shards for directly connected instances and global multi-active instances, you need to specify 2 or 0.5 times the original number of shards.'], + ['errorCode' => 'DirectTransUpgradeMajorVersionNotSupport', 'errorMessage' => 'The direct custins tranfer does not support upgrade major version.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'TargetMemoryLessThanCurrentUsed', 'errorMessage' => 'The target instance memory size below the current instance used memory.', 'description' => ''], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"20722623431****\\",\\n \\"RequestId\\": \\"0DA1D7EF-C80D-432C-8758-7D225182626B\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceSpecResponse>\\n\\t<RequestId>A4828C10-AF0A-4CD7-8FBE-737C6CC1193E</RequestId>\\n\\t<OrderId>20722623431****</OrderId>\\n</ModifyInstanceSpecResponse>","errorExample":"<ModifyInstanceSpecResponse>\\n <OrderId>202636204910941</OrderId>\\n <RequestId>426F1356-B6EF-4DAD-A1C3-DE53B9DAF586</RequestId>\\n</ModifyInstanceSpecResponse>"}]', + 'title' => 'ModifyInstanceSpec', + 'description' => '> For more information about the procedure, impacts, limits, and fees of this operation, see [Change the configurations of an instance](~~26353~~).'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-12-04T02:33:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-06T11:33:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-21T09:44:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-29T03:36:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-27T03:37:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-04T12:58:01.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-22T15:01:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T08:12:20.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-08T07:53:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-03T06:40:41.000Z', 'description' => 'Error codes changed, Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\",\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"Scheduled\\",\\n \\"TotalCount\\": 10\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeHistoryTasksStat', - ], - 'ModifyActiveOperationTask' => [ - 'summary' => 'Changes the scheduled switchover time of an O\\&M task.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceSpec'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyInstanceTDE' => [ + 'summary' => 'Enables transparent data encryption (TDE) for a Tair (Redis OSS-compatible) instance. You can use existing custom keys.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '56467', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - ], + 'abilityTreeCode' => '56488', + 'abilityTreeNodes' => ['FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreJ7QDWH'], ], 'parameters' => [ [ - 'name' => 'Ids', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the O\\&M task. Separate multiple IDs with commas (,).'."\n" - ."\n" - .'> You can call the [DescribeActiveOperationTask](~~473865~~) operation to query the ID of an O\\&M task.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '11111,22222', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'SwitchTime', + 'name' => 'TDEStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The scheduled switchover time to be specified. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" - ."\n" - .'> The time cannot be later than the latest operation time. You can call the [DescribeActiveOperationTask](~~473865~~) operation to obtain the latest operation time, which is the value of the **Deadline** parameter in the response.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2019-10-17T18:50:00Z', - ], + 'schema' => ['description' => 'Specifies whether to enable TDE. Set the value to **Enabled**.'."\n" + ."\n" + .'> TDE cannot be disabled after it is enabled. Before you enable it, evaluate whether this feature affects your business. For more information, see [Enable TDE](~~265913~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Enabled', 'title' => ''], + ], + [ + 'name' => 'EncryptionName', + 'in' => 'query', + 'schema' => ['description' => 'The encryption algorithm. Default value: AES-CTR-256.'."\n" + ."\n" + .'> This parameter is available only if the **TDEStatus** parameter is set to **Enabled**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AES-CTR-256', 'title' => ''], + ], + [ + 'name' => 'EncryptionKey', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~473860~~) operation to query the key ID.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you do not specify this parameter, [Key Management Service (KMS)](~~28935~~) automatically generates a key.'."\n" + ."\n" + .'* To create a custom key, you can call the [CreateKey](~~28947~~) operation of the KMS API.', 'type' => 'string', 'required' => false, 'example' => 'ad463061-992d-4195-8a94-ed63********', 'title' => ''], + ], + [ + 'name' => 'RoleArn', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your Tair (Redis OSS-compatible) instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your Tair (Redis OSS-compatible) instance can use KMS.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.'."\n" + ."\n" + .'* `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.', 'type' => 'string', 'required' => false, 'example' => 'acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole', 'title' => ''], ], ], 'responses' => [ @@ -20677,145 +17406,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ids' => [ - 'description' => 'The ID of the O\\&M task. IDs are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '11111,22222', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], - [ - 'errorCode' => 'TaskModifyError', - 'errorMessage' => 'Part of the tasks cannot be modified.', - ], - [ - 'errorCode' => 'SwitchTimeAfterDeadline', - 'errorMessage' => 'The switch time should be earlier than deadline.', - ], - [ - 'errorCode' => 'StartTimeBeforeNow', - 'errorMessage' => 'The start time should not be earlier than the current time.', - ], - ], - 403 => [ - [ - 'errorCode' => 'IncorrectTaskStatus', - 'errorMessage' => 'Certain task\'s status does not support this operation.', - ], + ['errorCode' => 'InvalidInstanceName.Malformed', 'errorMessage' => 'The Specified parameter InstanceName is not valid.', 'description' => ''], + ['errorCode' => 'TaskExists', 'errorMessage' => 'Specified task have existed.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Ids\\": \\"11111,22222\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyActiveOperationTaskResponse>\\n <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\n <Ids>11111,22222</Ids>\\n</ModifyActiveOperationTaskResponse>","errorExample":""}]', - 'title' => 'ModifyActiveOperationTask', - 'description' => 'You can receive notifications for Tair (Redis OSS-compatible) events such as instance migration and version upgrade by text message, phone call, email, internal message, or by using the console. You can also change the scheduled switchover time of a task by using the console. For more information, see [Query or manage pending events](~~187022~~).'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceTDEResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyInstanceTDEResponse>","errorExample":""}]', + 'title' => 'ModifyInstanceTDE', + 'description' => '> For more information about TDE and the impact of TDE, see [Enable TDE](~~265913~~).'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeActiveOperationTask' => [ - 'summary' => 'Queries the details of the O\\\\\\&M tasks of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-09-14T02:23:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceTDE'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceTDE', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:TDEStatus', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyInstanceVpcAuthMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56375', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreAO067M', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56490', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the O&M task. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n" - ."\n" - .'> A value of **all** indicates all region IDs.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'TaskType', + 'name' => 'VpcAuthMode', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the O\\&M task. Valid values:'."\n" + 'description' => 'Specifies whether to disable password-free access. Valid values:'."\n" + ."\n" + .'* **Open**: disables password-free access.'."\n" + .'* **Close**: enables password-free access.'."\n" ."\n" - .'* **rds_apsaradb_ha**: master-replica switchover'."\n" - .'* **rds_apsaradb_transfer**: instance migration'."\n" - .'* **rds_apsaradb_upgrade**: minor version update'."\n", + .'> Default value: **Open**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'all', - ], - ], - [ - 'name' => 'IsHistory', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return the historical tasks. Default value: 0. Valid values:'."\n" - ."\n" - .'* **0**: returns the current task.'."\n" - .'* **1**: returns the historical tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Specify a value greater than **10**. Default value: **30**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '30', - 'default' => '30', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'example' => 'Close', + 'enum' => ['Open', 'Close', 'OPEN', 'CLOSE'], + 'title' => '', ], ], ], @@ -20824,246 +17497,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2E1FF0CC-F42A-4B6F-A1F4-A17B1451****', - ], - 'PageSize' => [ - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalRecordCount' => [ - 'description' => 'The total number of returned entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ - 'description' => 'The list of O\\&M tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The state of the O&M task. Valid values:'."\n" - ."\n" - .'* **2**: The task is waiting for users to specify a switchover time.'."\n" - .'* **3**: The task is waiting to be performed.'."\n" - .'* **4**: The task is being performed. If the task is in this state, the **ModifyActiveOperationTask** operation cannot be called to modify the scheduled switchover time.'."\n" - .'* **5**: The task is performed.'."\n" - .'* **6**: The task fails.'."\n" - .'* **7**: The task is canceled.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Deadline' => [ - 'description' => 'The deadline before which the time to preform the O&M task can be modified. The time in UTC is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format.', - 'type' => 'string', - 'example' => '2018-07-19 23:59:59', - ], - 'PrepareInterval' => [ - 'description' => 'The required preparation period between the task start time and the switchover time. The time is displayed in the *HH:mm:ss* format.'."\n", - 'type' => 'string', - 'example' => '14:00:00', - ], - 'TaskType' => [ - 'description' => 'The type of the task. Valid values:'."\n" - ."\n" - .'* **rds_apsaradb_ha**: master-replica switchover'."\n" - .'* **rds_apsaradb_transfer**: instance migration'."\n" - .'* **rds_apsaradb_upgrade**: minor version update'."\n" - .'* **all**: all types'."\n", - 'type' => 'string', - 'example' => 'rds_apsaradb_upgrade', - ], - 'StartTime' => [ - 'description' => 'The time when the O\\&M task was preformed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-07-19 10:00:00', - ], - 'ModifiedTime' => [ - 'description' => 'The time when the O\\&M task was modified. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-07-19 14:00:00', - ], - 'InsName' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp1lgal1sdvxrz****', - ], - 'DbType' => [ - 'description' => 'The database type of the instance. The return value is **Redis**.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'Region' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hanghzou', - ], - 'CreatedTime' => [ - 'description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-07-15 23:59:59', - ], - 'Id' => [ - 'description' => 'The ID of the O&M task.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '114111', - ], - 'SwitchTime' => [ - 'description' => 'The time when the system performs the switchover operation. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-07-19 14:00:00', - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ABAF95F6-35C1-4177-AF3A-70969EBD****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], + 403 => [ + ['errorCode' => 'ParamNotSupportedForCurrentVersion', 'errorMessage' => 'Parameter is not supported for current version.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2E1FF0CC-F42A-4B6F-A1F4-A17B1451****\\",\\n \\"PageSize\\": 30,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Status\\": 5,\\n \\"Deadline\\": \\"2023-03-29T13:59:59Z\\",\\n \\"PrepareInterval\\": \\"14:00:00\\",\\n \\"TaskType\\": \\"rds_apsaradb_upgrade\\",\\n \\"StartTime\\": \\"2023-03-20T02:40:00Z\\",\\n \\"ModifiedTime\\": \\"2023-02-24T08:18:53Z\\",\\n \\"InsName\\": \\"r-bp1lgal1sdvxrz****\\",\\n \\"DbType\\": \\"redis\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"CreatedTime\\": \\"2023-02-24T06:00:11Z\\",\\n \\"Id\\": 0,\\n \\"SwitchTime\\": \\"2023-03-20T03:10:00Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeActiveOperationTaskResponse>\\r\\n <TotalRecordCount>1</TotalRecordCount>\\r\\n <RequestId>2E1FF0CC-F42A-4B6F-A1F4-A17B1451****</RequestId>\\r\\n <PageSize>30</PageSize>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Items>\\r\\n <Status>5</Status>\\r\\n <CreatedTime>2019-10-17T20:28:31Z</CreatedTime>\\r\\n <Deadline>2019-10-21T15:59:59Z</Deadline>\\r\\n <StartTime>2019-10-17T17:50:00Z</StartTime>\\r\\n <InsName>r-bp1lgal1sdvxrz****</InsName>\\r\\n <DbType>redis</DbType>\\r\\n <ModifiedTime>2019-10-17T20:28:31Z</ModifiedTime>\\r\\n <TaskType>rds_apsaradb_upgrade</TaskType>\\r\\n <PrepareInterval>01:00:00</PrepareInterval>\\r\\n <Region>cn-hangzhou</Region>\\r\\n <Id>114111</Id>\\r\\n <SwitchTime>2019-10-17T18:50:00Z</SwitchTime>\\r\\n </Items>\\r\\n</DescribeActiveOperationTaskResponse>","errorExample":""}]', - 'title' => 'DescribeActiveOperationTask', - 'description' => 'After you have called this API operation and queried the information about a specific O&M task, you can also call the [ModifyActiveOperationTask](~~473864~~) operation to modify the scheduled switchover time of the O&M task.', + 'title' => 'ModifyInstanceVpcAuthMode', + 'summary' => 'Enables or disables password-free access for a Tair (Redis OSS-compatible) instance. This way, you can connect to a database in a convenient and secure manner.', + 'description' => 'When the password-free access feature is enabled, Elastic Compute Service (ECS) instances in the same virtual private cloud (VPC) can connect to the Tair instance without a password. You can also use the username and password to connect to the Tair instance.'."\n" + ."\n" + .'> The Tair instance is deployed in a VPC. For more information, see [Enable password-free access](~~85168~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeActiveOperationMaintenanceConfig' => [ - 'summary' => 'Queries the O\\\\\\&M task configurations of an instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVpcAuthMode'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HasConfig' => [ - 'description' => 'Indicates whether the O\\&M task is configured. Valid values:'."\n" - ."\n" - .'* 1: The O\\&M task is configured.'."\n" - .'* 0: The O\\&M task is not configured.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '794120D1-E0CF-4713-BAE4-EBAEA04506AF', - ], - 'Config' => [ - 'description' => 'The configuration details of the O\\&M task.'."\n", - 'type' => 'object', - 'properties' => [ - 'CycleType' => [ - 'description' => 'The unit of the O\\&M task cycle. Valid values:'."\n" - ."\n" - .'* Month'."\n" - .'* Week'."\n", - 'type' => 'string', - 'example' => 'Week', - ], - 'Status' => [ - 'description' => 'Indicates whether the configurations take effect. Valid values:'."\n" - ."\n" - .'* 1: The configurations are in effect.'."\n" - .'* 2: The configurations are invalid.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ModifiedTime' => [ - 'description' => 'The time when the last O\\&M task configurations are modified. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in Coordinated Universal Time (UTC).'."\n", - 'type' => 'string', - 'example' => '2024-05-30T14:30:00Z'."\n", - ], - 'MaintainStartTime' => [ - 'description' => 'The start time of the O\\&M window. The time follows the ISO 8601 standard in the *hh:mm:ss* Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '18:00:00Z', - ], - 'MaintainEndTime' => [ - 'description' => 'The end time of the O\\&M window. The time follows the ISO 8601 standard in the *hh:mm:ss* Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '20:00:00Z'."\n", - ], - 'CycleTime' => [ - 'description' => 'The interval between two O\\&M tasks.'."\n" - ."\n" - .'* If the CycleType parameter is set to Month, the CycleTime parameter returns a string of numbers ranging from 1 to 28, which indicates the specific days of the month. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n" - .'* If the CycleType parameter is set to Week, the CycleTime parameter returns a string of numbers ranging from 1 to 7, which indicates the specific days of the week. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n", - 'type' => 'string', - 'example' => '1,2,3', - ], - 'CreatedTime' => [ - 'description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-05-30T14:30:00Z'."\n", - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceVpcAuthMode', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:VpcAuthMode', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - 'description' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HasConfig\\": 0,\\n \\"RequestId\\": \\"794120D1-E0CF-4713-BAE4-EBAEA04506AF\\",\\n \\"Config\\": {\\n \\"CycleType\\": \\"Week\\",\\n \\"Status\\": 1,\\n \\"ModifiedTime\\": \\"2024-05-30T14:30:00Z\\\\n\\",\\n \\"MaintainStartTime\\": \\"18:00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00:00Z\\\\n\\",\\n \\"CycleTime\\": \\"1,2,3\\",\\n \\"CreatedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\"\\n }\\n}","type":"json"}]', - 'title' => 'DescribeActiveOperationMaintenanceConfig', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABAF95F6-35C1-4177-AF3A-70969EBD****\\"\\n}","errorExample":"{ \\n \\"RequestId\\":\\"29896E96-E8C4-4F24-868A-6xxxxxxxx3\\"\\n}"},{"type":"xml","example":"<ModifyInstanceVpcAuthModeResponse>\\n <RequestId>ABAF95F6-35C1-4177-AF3A-70969EBD****</RequestId>\\n</ModifyInstanceVpcAuthModeResponse>","errorExample":"<ModifyInstanceVpcAuthModeResponse>\\n <RequestId>EFC9161F-15E3-4A6E-8A99-Cxxxxxxxxx4</RequestId>\\n</ModifyInstanceVpcAuthModeResponse>"}]', ], - 'ModifyActiveOperationMaintainConfig' => [ - 'summary' => 'ModifyActiveOperationMaintainConf', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyIntranetAttribute' => [ + 'summary' => 'Temporarily adjusts the internal bandwidth of a Tair (Redis OSS-compatible) instance that is deployed in a dedicated cluster.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21073,80 +17555,31 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '194537', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56491', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'CycleType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The unit of the billing cycle. Valid values:'."\n" - ."\n" - .'* Month'."\n" - .'* Week'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Week', - ], - ], - [ - 'name' => 'CycleTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The interval between two O\\&M tasks.'."\n" - ."\n" - .'* If the CycleType parameter is set to Month, the CycleTime parameter returns a string of numbers ranging from 1 to 28, which indicates the specific days of the month. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n" - .'* If the CycleType parameter is set to Week, the CycleTime parameter returns a string of numbers ranging from 1 to 7, which indicates the specific days of the week. The numbers are separated with commas (,). The CycleTime parameter returns 0 when the configurations do not take effect.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1,2,3,4,5', - ], - ], - [ - 'name' => 'MaintainStartTime', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the O\\&M window. The time follows the ISO 8601 standard in the *HH:mm:ss* Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '16:00:00Z', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'MaintainEndTime', + 'name' => 'BandWidth', 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the O\\&M window. The time follows the ISO 8601 standard in the HH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20:00:00Z', - ], + 'schema' => ['description' => 'The amount of bandwidth that you want to add. Unit: Mbit/s. The value must be an integer greater than or equal to 0. In most cases, the maximum bandwidth that can be added can be two times the default maximum bandwidth of the current instance type. For more information about the bandwidth specifications supported by different instance types, see [Overview](~~26350~~). The bandwidth is also subject to the following limits:'."\n" + ."\n" + .'* The bandwidth of an individual instance cannot exceed 75% of the bandwidth of the host. For more information about the host specifications and bandwidth, see [Instance types of hosts](~~206343~~).'."\n" + .'* The total bandwidth of all of the instances on the host cannot exceed 150% of the bandwidth of the host. You can configure resource overcommitment to handle traffic spikes. For more information, see [Configure resource overcommitment to reduce costs](~~183798~~).'."\n" + ."\n" + .'> If you do not specify this parameter for a standard instance, the bandwidth of the instance is set to two times that of the current bandwidth.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the configurations take effect. Valid values:'."\n" - ."\n" - .'* 1: The configurations take effect.'."\n" - .'* 2: The configurations do not take effect.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'enum' => [ - '1', - '2', - ], - ], + 'schema' => ['description' => 'The ID of the data node. You can call the [DescribeClusterMemberInfo](~~473783~~) operation to query the node ID. Separate multiple IDs with commas (,).'."\n" + ."\n" + .'> This parameter is required if the instance is a [cluster](~~52228~~) instance.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****-db-0', 'title' => ''], ], ], 'responses' => [ @@ -21154,182 +17587,148 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '97AC8948-D7E4-457E-BE03-850CF04E****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\"\\n}","type":"json"}]', - 'title' => 'ModifyActiveOperationMaintainConfig', - ], - 'CreateGlobalSecurityIPGroup' => [ - 'summary' => 'Creates a global IP whitelist template.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97AC8948-D7E4-457E-BE03-850CF04E****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyIntranetAttributeResponse>\\r\\n <RequestId>97AC8948-D7E4-457E-BE03-850CF04E****</RequestId>\\r\\n</ModifyIntranetAttributeResponse>","errorExample":""}]', + 'title' => 'ModifyIntranetAttribute', + 'description' => '> '."\n" + ."\n" + .'* This operation is applicable only to an instance that is deployed in a dedicated cluster. To adjust the bandwidth of a standard instance, call the [EnableAdditionalBandwidth](~~473771~~) operation.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:40.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyIntranetAttribute'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyIntranetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], + ], + ], + 'ModifyParameterGroup' => [ + 'summary' => 'Modifies the settings of a parameter template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'APP' => [], + 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreRNHQKZ', - ], + 'abilityTreeCode' => '178977', + 'abilityTreeNodes' => ['FEATUREkvstoreDVVZYL'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-zhangjiakou', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service category. Valid values:'."\n" + ."\n" + .'* **standard**: Redis Open-Source Edition'."\n" + .'* **enterprise**: Tair (Enterprise Edition)'."\n", 'type' => 'string', 'required' => true, 'example' => 'enterprise', 'title' => ''], ], [ - 'name' => 'GlobalIgName', + 'name' => 'ParameterGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the IP whitelist template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" - .'* The name must start with a letter and end with a letter or digit.'."\n" - .'* The name must be 2 to 120 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_123', - 'maxLength' => 120, - 'minLength' => 2, - ], + 'schema' => ['description' => 'The parameter template ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'sys-001****', 'title' => ''], ], [ - 'name' => 'GIpList', + 'name' => 'ParameterGroupDesc', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses in the IP whitelist template.'."\n" - ."\n" - .'> Separate multiple IP addresses with commas (,). The maximum number of IP addresses is 1,000.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '111.175.56.206,47.253.88.168,111.181.0.162', - ], + 'schema' => ['description' => 'The description of the parameter template. The description must be 0 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'ParameterGroupName', + 'in' => 'query', + 'schema' => ['description' => 'The new name of the parameter template. The name must meet the following requirements:'."\n" + ."\n" + .'* The name can contain letters, digits, and underscores (\\_). It must start with a letter and cannot contain Chinese characters.'."\n" + .'* The name can be 8 to 64 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testGroupName', 'title' => ''], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'schema' => ['description' => 'A JSON-formatted object that specifies the parameter-value pairs. Format: {"Parameter 1":"Value 1","Parameter 2":"Value 2"...}. The specified value overwrites the original content.'."\n" + ."\n" + .'> The parameters that can be added for different editions are displayed in the console.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"hz":"12"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - 'GlobalSecurityIPGroup' => [ - 'description' => 'The information about the global IP whitelist template.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '1'."\n", - 'type' => 'object', - 'properties' => [ - 'GlobalSecurityGroupId' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'g-sdgwqyp4f5j1x3qk7yvm', - ], - 'GlobalIgName' => [ - 'description' => 'The name of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'white_list_test_sg', - ], - 'GIpList' => [ - 'description' => 'The IP addresses in the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => '192.168.0.1', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****'], + 'ParamGroupId' => ['description' => 'The parameter template ID.'."\n", 'type' => 'string', 'example' => 'testGroupName', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.QuotaExceeded', - 'errorMessage' => 'Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.Format', - 'errorMessage' => 'Specified security IP list format is not valid.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.Duplicate', - 'errorMessage' => 'Specified security IP list is not valid: Duplicate IP address in the list', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\",\\n \\"ParamGroupId\\": \\"testGroupName\\"\\n}","type":"json"}]', + 'title' => 'ModifyParameterGroup', + 'changeSet' => [ + ['createdAt' => '2024-08-06T06:48:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-17T11:39:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParameterGroup'], ], - 404 => [ - [ - 'errorCode' => 'InvalidUser.NotFound', - 'errorMessage' => 'Specified user does not exist.', + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"GlobalSecurityIPGroup\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-sdgwqyp4f5j1x3qk****\\",\\n \\"GlobalIgName\\": \\"test_123\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10,172.16.0.1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'CreateGlobalSecurityIPGroup', ], - 'ModifyGlobalSecurityIPGroupName' => [ - 'summary' => 'Modifies the name of a global IP whitelist template.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyResourceGroup' => [ + 'summary' => 'Modifies the resource group to which a Tair (Redis OSS-compatible) instance belongs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21339,152 +17738,116 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56498', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the generated token is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], [ - 'name' => 'GlobalIgName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the global IP whitelist template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" - .'* The name must start with a letter and end with a letter or a digit.'."\n" - .'* The name must be 2 to 120 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_123', - 'maxLength' => 120, - 'minLength' => 2, - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'GlobalSecurityGroupId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'g-kd2iop4aur9qwxnvh***', - ], + 'schema' => ['description' => 'The ID of the resource group to which you want to move the instance.'."\n" + ."\n" + .'> * You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).'."\n" + .'> * Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the resource group of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rg-acfmyiu4ekp****', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2B17D708-1D6D-49F3-B6D7-478371DD****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], + ['errorCode' => 'ResourceGroupId.InValid', 'errorMessage' => 'The Specified resource group id is not found.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'ServiceAccount.NoPermission', 'errorMessage' => 'Service account has no auth to do this action.', 'description' => ''], + ], + [ + ['errorCode' => 'EntityNotExists.Resource', 'errorMessage' => 'The resource does not EXIST.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyResourceGroupResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ModifyResourceGroupResponse>","errorExample":""}]', + 'title' => 'ModifyResourceGroup', + 'description' => 'You can also perform this operation in the [Resource Management](https://resourcemanager.console.aliyun.com/resource-center) console. For more information, see [Transfer resources across resource groups](~~94487~~).'."\n" + ."\n" + .'> Resource Group allows you to sort resources owned by your Alibaba Cloud account into groups. This simplifies the resource and permission management within your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-11-24T06:26:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-23T06:05:03.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B17D708-1D6D-49F3-B6D7-478371DD****\\"\\n}","type":"json"}]', - 'title' => 'ModifyGlobalSecurityIPGroupName', - ], - 'DescribeGlobalSecurityIPGroupRelation' => [ - 'summary' => 'Queries information about the global IP whitelist templates associated with an instance.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyResourceGroup'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyResourceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifySecurityGroupConfiguration' => [ + 'summary' => 'Resets the security groups that are added to the whitelists of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56499', + 'abilityTreeNodes' => ['FEATUREkvstoreN9BAYI'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'DBClusterId', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-t4n885e834f6****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'SecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The ID of the security group that you want to manage. You can specify up to 10 security groups. Separate multiple security group IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sg-bpcfmyiu4ekp****', 'title' => ''], ], ], 'responses' => [ @@ -21492,75 +17855,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DBClusterId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-t4n885e834f6****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9B7BFB11-C077-4FE3-B051-F69CEB******', - ], - 'GlobalSecurityIPGroupRel' => [ - 'description' => 'The information about the associated global IP whitelist template.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GlobalSecurityGroupId' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'g-zsldxfiwjmti0kcm****', - ], - 'GIpList' => [ - 'description' => 'The IP address in the IP whitelist template.'."\n" - ."\n" - .'> Multiple IP addresses are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '192.168.0.1,10.10.10.10', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GlobalIgName' => [ - 'description' => 'The name of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'test_123', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '147CAC09-E8C6-43F8-9599-982A43D6****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], + ['errorCode' => 'EngineNotSupported', 'errorMessage' => 'Engine specified cannot be supported the operation.', 'description' => ''], + ['errorCode' => 'AssociatedEcsSecurityGroupIdQuotaExceed', 'errorMessage' => 'SecurityGroupId参数超过能使用的最大数量.', 'description' => ''], + ['errorCode' => 'MissingInstanceId', 'errorMessage' => 'InstanceId is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidParam', 'errorMessage' => 'Specified ecs security group id is not valid.', 'description' => ''], + ['errorCode' => 'InvalidIzNo.NotSupported', 'errorMessage' => 'the Specified Zone not supported.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'AssociatedEcsSecurityGroupId.QuotaExceed', 'errorMessage' => 'SecurityGroupIdQuotaExceeded exceeding the allowed amount of SecurityGroupId.', 'description' => ''], + ], + [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter “DBInstanceId” that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'InvalidInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], + ['errorCode' => 'InvalidRegionZoneNotFound', 'errorMessage' => 'Specified Region does not exist in RDS.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"147CAC09-E8C6-43F8-9599-982A43D6****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySecurityGroupConfigurationResponse>\\r\\n <RequestId>147CAC09-E8C6-43F8-9599-982A43D6****</RequestId>\\r\\n</ModifySecurityGroupConfigurationResponse>","errorExample":""}]', + 'title' => 'ModifySecurityGroupConfiguration', + 'description' => '> After you call this operation, the security groups that are added to the whitelists of the Tair instance are deleted, and the security group specified by the **SecurityGroupId** parameter is added to the whitelists. For more information about how to reset security groups in the Tair console, see [Add security groups](~~148267~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-25T11:17:40.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DBClusterId\\": \\"r-t4n885e834f6****\\",\\n \\"RequestId\\": \\"9B7BFB11-C077-4FE3-B051-F69CEB******\\",\\n \\"GlobalSecurityIPGroupRel\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-zsldxfiwjmti0kcm****\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GlobalIgName\\": \\"test_123\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeGlobalSecurityIPGroupRelation', - ], - 'DeleteGlobalSecurityIPGroup' => [ - 'summary' => 'Deletes a global IP whitelist template.', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifySecurityGroupConfiguration'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifySecurityGroupConfiguration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], ], + ], + 'ModifySecurityIps' => [ + 'summary' => 'Configures an IP address whitelist for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21569,398 +17921,291 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56500', + 'abilityTreeNodes' => ['FEATUREkvstoreFPM1AL'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'GlobalIgName', + 'name' => 'SecurityIps', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the global IP whitelist template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" - .'* The name must start with a letter and end with a letter or a digit.'."\n" - .'* The name must be 2 to 120 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test_123', - ], + 'schema' => ['description' => 'The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '100.64.***.0/24,10.101.11.***', 'title' => ''], ], [ - 'name' => 'GlobalSecurityGroupId', + 'name' => 'SecurityIpGroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'g-kd2iop4aur9qwxnvh***', - ], + 'schema' => ['description' => 'The name of the IP address whitelist.'."\n" + .'><warning>You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.></warning>', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'SecurityIpGroupAttribute', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4e******', - ], + 'schema' => ['description' => 'By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is **hidden**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'hidden', 'title' => ''], + ], + [ + 'name' => 'ModifyMode', + 'in' => 'query', + 'schema' => ['description' => 'The method that is used to modify the whitelist. Valid values:'."\n" + ."\n" + .'* **Cover** (default): overwrites the original whitelist.'."\n" + .'* **Append**: appends data to the whitelist.'."\n" + .'* **Delete**: deletes the whitelist.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Append', 'default' => '0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'AAAF99B1-69ED-4E80-8CD5-272C09E4****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], + ['errorCode' => 'Forbbiden.MinorVersion', 'errorMessage' => 'The operation is not permitted for current minor version. ', 'description' => ''], + ['errorCode' => 'InvalidGroupName.Format', 'errorMessage' => 'Sepecified group name is not valid.', 'description' => ''], + ['errorCode' => 'LockTimeout', 'errorMessage' => 'The request processing has failed due to lock timeout.', 'description' => 'The current request conflicts with another request, please try again later.'], + ], + 404 => [ + ['errorCode' => 'InvalidSecurityIPList.NotFound', 'errorMessage' => 'Specified same security IP does not exist or at least one security IP need.', 'description' => 'The same IP as the specified IP was not found in the whitelist group, or no IP was passed in.'], + ], + 409 => [ + ['errorCode' => 'SecurityIPList.Duplicate', 'errorMessage' => 'Specified same security IP already exists.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\"\\n}","type":"json"}]', - 'title' => 'DeleteGlobalSecurityIPGroup', - 'description' => 'Before you delete an IP whitelist template, you must unbind (disassociate) the instances that are currently associated with the template.'."\n", - ], - 'ModifyGlobalSecurityIPGroup' => [ - 'summary' => 'Modifies a global IP whitelist template.', - 'methods' => [ - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AAAF99B1-69ED-4E80-8CD5-272C09E4****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifySecurityIpsResponse>\\n <RequestId>AAAF99B1-69ED-4E80-8CD5-272C09E4****</RequestId>\\n</ModifySecurityIpsResponse>","errorExample":"{\\n\\"RequestId\\" : \\"AAAF99B1-69ED-4E80-8CD5-272C09E46ACF\\"\\n}"}]', + 'title' => 'ModifySecurityIps', + 'description' => 'You can also modify the whitelists of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Configure a whitelist for an instance](~~56464~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySecurityIps'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifySecurityIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ModifyTaskInfo' => [ + 'summary' => 'Modifies the task information, such as the task execution time.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '141280', + 'abilityTreeNodes' => ['FEATUREkvstoreJ3DM1I'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The ID of the region where the instance is deployed.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The task ID. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 't-0mq3kfhn8i1nlt****', 'title' => ''], ], [ - 'name' => 'GlobalIgName', + 'name' => 'StepName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the IP whitelist template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" - .'* The name must start with a letter and end with a letter or a digit.'."\n" - .'* The name must be 2 to 120 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test_123', - 'maxLength' => 120, - 'minLength' => 2, - ], + 'schema' => ['description' => 'The name of the current step.'."\n", 'type' => 'string', 'required' => false, 'example' => 'do_pause', 'title' => ''], ], [ - 'name' => 'GlobalSecurityGroupId', + 'name' => 'TaskAction', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'g-zsldxfiwjmti0kcm****', - ], + 'schema' => ['description' => 'The action name. Set the value to **modifySwitchTime**. The value specifies that you want to change the switching time or restoration time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'modifySwitchTime', 'title' => ''], ], [ - 'name' => 'GIpList', + 'name' => 'ActionParams', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses in the IP whitelist template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.1,10.10.10.10,172.16.0.1', - ], + 'schema' => ['description' => 'The JSON-formatted parameters related to the action. Set this parameter to `{"recoverMode": "xxx", "recoverTime": "xxx"}` if the **TaskAction** parameter is set to **modifySwitchTime**.'."\n" + ."\n" + .'* **recoverMode**: specifies the restoration mode for the task. Valid values:'."\n" + ."\n" + .' * **timePoint**: performs the task at the specified point in time.'."\n" + .' * **immediate**: performs the task immediately.'."\n" + .' * **maintainTime**: performs the task within the maintenance window.'."\n" + ."\n" + .'* **recoverTime**: specifies the point in time for restoration. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. This parameter is required if the **recoverMode** parameter is set to **timePoint**.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"recoverMode":"immediate"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2B98499B-E62B-56D4-8D7F-3D6D4DB260F2', 'title' => ''], + 'ErrorTaskId' => ['description' => 'The ID of the failed task. This parameter is returned if a task fails.', 'type' => 'string', 'example' => 't-0mqaj5hnyofczv****', 'title' => ''], + 'SuccessCount' => ['description' => 'The number of completed tasks.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned if a task fails.'."\n", 'type' => 'string', 'example' => 'mst.errorcode.success.errormessage', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.QuotaExceeded', - 'errorMessage' => 'Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.Format', - 'errorMessage' => 'Specified security IP list format is not valid.', - ], - [ - 'errorCode' => 'InvalidSecurityIPList.Duplicate', - 'errorMessage' => 'Specified security IP list is not valid: Duplicate IP address in the list', - ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B98499B-E62B-56D4-8D7F-3D6D4DB260F2\\",\\n \\"ErrorTaskId\\": \\"t-0mqaj5hnyofczv****\\",\\n \\"SuccessCount\\": \\"2\\",\\n \\"ErrorCode\\": \\"mst.errorcode.success.errormessage\\"\\n}","type":"json"}]', + 'title' => 'ModifyTaskInfo', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTaskInfo'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyTaskInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\"\\n}","type":"json"}]', - 'title' => 'ModifyGlobalSecurityIPGroup', ], - 'ModifyGlobalSecurityIPGroupRelation' => [ - 'summary' => 'Adds a specified instance to a specified IP whitelist template.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RebootProxy' => [ + 'summary' => 'Restarts the proxy node of a running Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56503', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1ymwrhvq79zj****', 'title' => ''], ], [ - 'name' => 'DBClusterId', + 'name' => 'ProxyList', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-t4n885e834f6****', - ], + 'schema' => ['description' => 'The IDs of the proxy nodes that you want to restart or rebuild. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => '90310144,90310144', 'title' => ''], ], [ - 'name' => 'GlobalSecurityGroupId', + 'name' => 'RebootMode', 'in' => 'query', - 'allowEmptyValue' => false, 'schema' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", + 'description' => 'The type of operation that you want to perform. Valid values:'."\n" + ."\n" + .'* **reboot**: restarts the proxy node.'."\n" + .'* **rebuild**: rebuilds the proxy node.'."\n", 'type' => 'string', - 'required' => true, - 'example' => 'g-zsldxfiwjmti0kcm****', + 'required' => false, + 'example' => 'reboot', + 'enum' => ['reboot', 'rebuild'], + 'title' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ProxyNodeList', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], + 'schema' => ['description' => 'The IDs of the hosts on which the proxy nodes are deployed. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => '36912280,36912282', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1E83311F-0EE4-4922-A3BF-730B312B****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], - [ - 'errorCode' => 'InvalidParameters.Format', - 'errorMessage' => 'The specified parameters are invalid.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\"\\n}","type":"json"}]', + 'title' => 'RebootProxy', + 'description' => 'This operation supports only instances that use the read/write splitting architecture or the cluster architecture in proxy mode. For more information, see [Restart or rebuild proxy nodes](~~164224~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RebootProxy'], ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RebootProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E83311F-0EE4-4922-A3BF-730B312B****\\"\\n}","type":"json"}]', - 'title' => 'ModifyGlobalSecurityIPGroupRelation', ], - 'DescribeGlobalSecurityIPGroup' => [ - 'summary' => 'Queries global IP whitelist templates.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ReleaseDirectConnection' => [ + 'summary' => 'Releases the private endpoint of a Tair (Redis OSS-compatible) cluster instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '169265', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'GlobalSecurityGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'g-zsldxfiwjmti0kcm****', - ], - ], - [ - 'name' => 'Engine', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'default' => 'redis', - 'enum' => [ - 'redis', - 'memcache', - ], - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ @@ -21968,91 +18213,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2FF6158E-3394-4A90-B634-79C49184****', - ], - 'GlobalSecurityIPGroup' => [ - 'description' => 'The information about the IP whitelist template.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GlobalSecurityGroupId' => [ - 'description' => 'The ID of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'g-zsldxfiwjmti0kcm****', - ], - 'GlobalIgName' => [ - 'description' => 'The name of the IP whitelist template.'."\n", - 'type' => 'string', - 'example' => 'test_123', - ], - 'GIpList' => [ - 'description' => 'The IP address in the IP whitelist template.'."\n" - ."\n" - .'> Multiple IP addresses are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '125.38.177.62,221.197.232.185', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'DBInstances' => [ - 'description' => 'The IDs of the instances that are associated with the IP whitelist template.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-****', - ], - ], - ], - 'description' => '1'."\n", - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RequiredParam.NotFound', - 'errorMessage' => 'Required input param is not found.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'Specified action is not valid.', - ], + ['errorCode' => 'NetTypeNotExists', 'errorMessage' => 'Specified net type not existed.', 'description' => ''], ], - 404 => [ - [ - 'errorCode' => 'InvalidUser.NotFound', - 'errorMessage' => 'Specified user does not exist.', - ], + 403 => [ + ['errorCode' => 'InstanceStatus.NotSupport', 'errorMessage' => 'Instance status does not support this operation.', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FF6158E-3394-4A90-B634-79C49184****\\",\\n \\"GlobalSecurityIPGroup\\": [\\n {\\n \\"GlobalSecurityGroupId\\": \\"g-zsldxfiwjmti0kcm****\\",\\n \\"GlobalIgName\\": \\"test_123\\",\\n \\"GIpList\\": \\"192.168.0.1,10.10.10.10\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DBInstances\\": [\\n \\"r-t4n885e834f6****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeGlobalSecurityIPGroup', - ], - 'ModifyInstanceParameter' => [ - 'summary' => 'Applies a parameter template to specific instances. This indicates that the parameter values in the template take effect on the instances. After you modify a parameter template, you must reapply it to specific instances for the new parameter values to take effect on the instances.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<ReleaseDirectConnectionResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</ReleaseDirectConnectionResponse>","errorExample":""}]', + 'title' => 'ReleaseDirectConnection', + 'description' => 'In direct connection mode, clients can bypass proxy nodes and use private endpoints to connect to ApsaraDB for Redis instances. This is similar to the connection to a native Redis cluster. The direct connection mode can reduce communication overheads and the response time of ApsaraDB for Redis. For more information, see [Enable the direct connection mode](~~146901~~).'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReleaseDirectConnection'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:ReleaseDirectConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'ReleaseInstancePublicConnection' => [ + 'summary' => 'Releases the public endpoint of a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22061,437 +18271,344 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '180441', - 'abilityTreeNodes' => [ - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeNodes' => ['FEATUREkvstoreS0D17V'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'The region ID.'."\n", - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ParameterGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The parameter template ID.'."\n" - ."\n" - .'> You can view the list of parameter templates in the target region, including the parameter template ID, through the DescribeParameterGroups interface.', - 'type' => 'string', - 'required' => false, - 'example' => 'g-idhwofwofewhf****', - ], - ], - [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'CurrentConnectionString', 'in' => 'query', - 'schema' => [ - 'description' => 'The information about parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"hz": "50"}', - ], + 'schema' => ['description' => 'The public endpoint to be released.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '561AFBF1-BE20-44DB-9BD1-6988B53E****', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '578678678', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '88F850B5-CC68-48B4-83CA-5497C3C191DE', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingInstanceId', 'errorMessage' => 'InstanceId is mandatory for this action.', 'description' => ''], + ['errorCode' => 'MissingConnectionString', 'errorMessage' => 'CurrentConnectionString is mandatory for this action.', 'description' => ''], + ['errorCode' => 'AtLeastOneNetTypeExists', 'errorMessage' => 'Current DB instance net type does not support this operation.', 'description' => 'The network type of the current instance does not support this operation'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"561AFBF1-BE20-44DB-9BD1-6988B53E****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": 578678678\\n}","type":"json"}]', - 'title' => 'ModifyInstanceParameter', - ], - 'DeleteParameterGroup' => [ - 'summary' => 'Deletes a parameter template.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"88F850B5-CC68-48B4-83CA-5497C3C191DE\\"\\n}","errorExample":""},{"type":"xml","example":"<ReleaseInstancePublicConnectionResponse>\\r\\n <RequestId>88F850B5-CC68-48B4-83CA-5497C3C191DE</RequestId>\\r\\n</ReleaseInstancePublicConnectionResponse>","errorExample":""}]', + 'title' => 'ReleaseInstancePublicConnection', + 'description' => 'You can also release the public endpoint for an instance in the Tair (Redis OSS-compatible) console. For more information, see [Release public endpoints](~~125424~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstancePublicConnection'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:ReleaseInstancePublicConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'RemoveSubInstance' => [ + 'summary' => 'Removes a child instance from a distributed instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '179016', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDVVZYL', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ParameterGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parameter template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rpg-sys-00*****'."\n", - ], + 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - 'ParamGroupId' => [ - 'description' => 'The parameter template ID, which is globally unique.'."\n", - 'type' => 'string', - 'example' => 'sys-001*****'."\n", - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveSubInstanceResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</RemoveSubInstanceResponse>","errorExample":""}]', + 'title' => 'RemoveSubInstance', + 'description' => 'The operation that you want to perform. Set the value to **RemoveSubInstance**.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-05-05T07:45:09.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"ParamGroupId\\": \\"rpg-sys-00*****\\"\\n}","type":"json"}]', - 'title' => 'DeleteParameterGroup', - ], - 'DescribeParameterGroupSupportParam' => [ - 'summary' => 'Queries the parameters that can be configured in parameter templates across different database versions.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveSubInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RemoveSubInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RenewAdditionalBandwidth' => [ + 'summary' => 'This operation is not recommended now. The billing method for bandwidth of a Tair (Redis OSS-compatible) instance is changed to pay-as-you-go.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '179022', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Category', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **standard**: ApsaraDB for Redis Community Edition'."\n" - .'* **enterprise**: ApsaraDB for Redis Enhanced Edition (Tair)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'standard', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'CouponNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The compatible engine version. Valid values:'."\n" - ."\n" - .'* For ApsaraDB for Redis Community Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* For Tair DRAM-based instances that are compatible with Redis 5.0 or Redis 6.0, set the parameter to **5.0** or **6.0**.'."\n" - .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" - .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => 'The ID of the coupon.'."\n", 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'default' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'AutoPay', 'in' => 'query', - 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* **redis**: ApsaraDB for Redis Community Edition instance or Tair DRAM-based instance'."\n" - .'* **tair_pena**: Tair persistent memory-optimized instance'."\n" - .'* **tair_pdb**: Tair ESSD/SSD-based instance'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'redis', - ], + 'schema' => ['description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" + ."\n" + .'* **true**: enables automatic payment.'."\n" + .'* **false**: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the Tair (Redis OSS-compatible) console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], + ], + [ + 'name' => 'OrderTimeLength', + 'in' => 'query', + 'schema' => ['description' => 'The validity period of the bandwidth that you purchase. Unit: days. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '30', 'default' => '', 'title' => ''], + ], + [ + 'name' => 'SourceBiz', + 'in' => 'query', + 'schema' => ['description' => 'The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BB73740C-23E2-4392-9DA4-2660C74C****', - ], - 'ResourceList' => [ - 'description' => 'The parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'DbType' => [ - 'description' => 'The engine type.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'DbVersion' => [ - 'description' => 'The engine version.'."\n", - 'type' => 'string', - 'example' => '5', - ], - 'Category' => [ - 'description' => 'The service category.'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'ParamName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'rt_threshold_ms', - ], - ], - ], - ], + 'OrderId' => ['description' => 'The ID of the order.'."\n", 'type' => 'string', 'example' => '2084452111111', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D622714-AEDD-4609-9167-F5DDD3D1**** ', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"2084452111111\\",\\n \\"RequestId\\": \\"D622714-AEDD-4609-9167-F5DDD3D1****\\\\t\\"\\n}","errorExample":""},{"type":"xml","example":"<RenewAdditionalBandwidthResponse>\\r\\n <RequestId>D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n <OrderId>2084452111111</OrderId>\\r\\n</RenewAdditionalBandwidthResponse>","errorExample":""}]', + 'title' => 'RenewAdditionalBandwidth', + 'description' => 'You can adjust the bandwidth of an instance in the Tair (Redis OSS-compatible) console. For more information, see [Adjust the bandwidth of an instance](~~102588~~). You can also call the [EnableAdditionalBandwidth](~~473771~~) operation to purchase bandwidth for an instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:32:40.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB73740C-23E2-4392-9DA4-2660C74C****\\",\\n \\"ResourceList\\": [\\n {\\n \\"DbType\\": \\"redis\\",\\n \\"DbVersion\\": \\"5.0\\",\\n \\"Category\\": \\"standard\\",\\n \\"ParamName\\": \\"rt_threshold_ms\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeParameterGroupSupportParam', - ], - 'DescribeParameterGroup' => [ - 'summary' => 'Queries the basic information about a parameter template.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewAdditionalBandwidth'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RenewAdditionalBandwidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RenewInstance' => [ + 'summary' => 'Renews a Tair (Redis OSS-compatible) subscription instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '179009', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ParameterGroupId', + 'name' => 'Capacity', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the parameter template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rpg-sys-00*****', - ], + 'schema' => ['description' => 'The storage capacity of the instance. Unit: MB. When you renew the instance, you can specify this parameter to change specifications of the instance.'."\n" + ."\n" + .'> To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''], + ], + [ + 'name' => 'InstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type code. For more information, see [Instance specifications overview](~~26350~~). When you renew the instance, you can specify this parameter to change specifications of the instance.'."\n" + ."\n" + .'> To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''], + ], + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => 'The renewal period. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**. Unit: months.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '6', 'title' => ''], + ], + [ + 'name' => 'AutoPay', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable automatic payment. Default value: true. Valid values:'."\n" + ."\n" + .'* **true**: enables automatic payment.'."\n" + .'* **false**: disables automatic payment.'."\n" + ."\n" + .'If you select false, you must choose **Expenses** > **Renewal Management** in the top navigation bar. In the left-side navigation pane, click **Orders**. Find the specified order and pay for it.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], + ], + [ + 'name' => 'FromApp', + 'in' => 'query', + 'schema' => ['description' => 'The source of the request. The default value is **OpenAPI** and cannot be changed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'OpenAPI', 'default' => 'OpenApi', 'title' => ''], + ], + [ + 'name' => 'BusinessInfo', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the promotional event or business information.'."\n", 'type' => 'string', 'required' => false, 'example' => '000000000', 'title' => ''], + ], + [ + 'name' => 'CouponNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'youhuiquan_promotion_option_id_for_blank', 'default' => 'youhuiquan_promotion_option_id_for_blank', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => '0.6823317918435086', 'title' => ''], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" + ."\n" + .'* **true**: enables auto-renewal. The instance is renewed based on the specified renewal duration. For example, if you set the renewal duration to three months, you are charged for three months of service each time the instance is automatically renewed.'."\n" + .'* **false** (default): disables auto-renewal.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A501A191-BD70-5E50-98A9-C2A486A82****', - ], - 'ParameterGroup' => [ - 'description' => 'The information about the parameter template.'."\n", - 'type' => 'object', - 'properties' => [ - 'EngineVersion' => [ - 'description' => 'The compatible engine version.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'Modified' => [ - 'description' => 'The time when the parameter template was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-04-18 16:32:45', - ], - 'ParameterGroupName' => [ - 'description' => 'The name of the parameter template.'."\n", - 'type' => 'string', - 'example' => 'testGroupName', - ], - 'ParameterGroupDesc' => [ - 'description' => 'The description of the parameter template.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Engine' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* *redis*: Redis or Tair DRAM-based instance'."\n" - .'* *tair_pena*: Tair persistent memory-optimized instance'."\n" - .'* *tair_pdb*: Tair ESSD-based instance', - 'type' => 'string', - 'example' => 'redis', - ], - 'ParamGroupId' => [ - 'description' => 'The parameter template ID, which is globally unique.'."\n", - 'type' => 'string', - 'example' => 'sys-001*****', - ], - 'Created' => [ - 'description' => 'The time when the parameter template was created.'."\n", - 'type' => 'string', - 'example' => '2023-04-18 16:32:45', - ], - 'Category' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **0**: Redis Open-Source Edition'."\n" - .'* **1**: Tair (Enterprise Edition)'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ParamGroupsDetails' => [ - 'description' => 'The parameter details of the parameter template.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ParamName' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'timeout', - ], - 'ParamValue' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => '1000', - ], - ], - ], - ], - ], - ], + 'EndTime' => ['description' => 'The end time of the order.'."\n", 'type' => 'string', 'example' => '2019-02-19T00:00:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2222245-222A-4155-9349-E22222****', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order.'."\n", 'type' => 'string', 'example' => '111111111111111', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'HasRenewChangeOrder', 'errorMessage' => 'This instance has a renewChange order.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A501A191-BD70-5E50-98A9-C2A486A82****\\",\\n \\"ParameterGroup\\": {\\n \\"EngineVersion\\": \\"5.0\\",\\n \\"Modified\\": \\"2023-04-18 16:32:45\\",\\n \\"ParameterGroupName\\": \\"testGroupName\\",\\n \\"ParameterGroupDesc\\": \\"test\\",\\n \\"Engine\\": \\"redis\\",\\n \\"ParamGroupId\\": \\"sys-001*****\\",\\n \\"Created\\": \\"2023-04-18 16:32:45\\",\\n \\"Category\\": 1,\\n \\"ParamGroupsDetails\\": [\\n {\\n \\"ParamName\\": \\"timeout\\",\\n \\"ParamValue\\": \\"1000\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'DescribeParameterGroup', - ], - 'ModifyParameterGroup' => [ - 'summary' => 'Modifies the settings of a parameter template.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-02-19T00:00:00Z\\",\\n \\"RequestId\\": \\"2222245-222A-4155-9349-E22222****\\",\\n \\"OrderId\\": \\"111111111111111\\"\\n}","errorExample":""},{"type":"xml","example":"<RenewInstanceResponse>\\r\\n <OrderId>111111111111111</OrderId>\\r\\n <RequestId>4D425645-A8BA-4155-9349-2222222****</RequestId>\\r\\n <EndTime>2019-02-19T00:00:00Z</EndTime>\\r\\n</RenewInstanceResponse>","errorExample":""}]', + 'title' => 'RenewInstance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-01-30T11:27:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-15T02:57:49.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RenewInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RenewInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], + ], + 'description' => 'This operation is applicable only to subscription instances.'."\n", + ], + 'ResetAccountPassword' => [ + 'summary' => 'Resets the password of an account for a Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22503,252 +18620,181 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '178977', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreDVVZYL', - ], + 'abilityTreeCode' => '56514', + 'abilityTreeNodes' => ['FEATUREkvstoreXSBQ72'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-zhangjiakou', - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **standard**: Redis Open-Source Edition'."\n" - .'* **enterprise**: Tair (Enterprise Edition)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'enterprise', - ], - ], - [ - 'name' => 'ParameterGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The parameter template ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'sys-001****', - ], + 'schema' => ['description' => 'The ID of the instance to which the account belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ParameterGroupDesc', + 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the parameter template. The description must be 0 to 200 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoaccount', 'title' => ''], ], [ - 'name' => 'ParameterGroupName', + 'name' => 'AccountPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The new name of the parameter template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain letters, digits, and underscores (\\_). It must start with a letter and cannot contain Chinese characters.'."\n" - .'* The name can be 8 to 64 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testGroupName', - ], + 'schema' => ['description' => 'The new password for the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'uWonno_221****', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'SourceBiz', 'in' => 'query', - 'schema' => [ - 'description' => 'A JSON-formatted object that specifies the parameter-value pairs. Format: {"Parameter 1":"Value 1","Parameter 2":"Value 2"...}. The specified value overwrites the original content.'."\n" - ."\n" - .'> The parameters that can be added for different editions are displayed in the console.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"hz":"12"}', - ], + 'schema' => ['description' => 'This parameter is used only for internal maintenance. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SDK', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AD425AD3-CC7B-4EE2-A5CB-2F61BA73****', - ], - 'ParamGroupId' => [ - 'description' => 'The parameter template ID.'."\n", - 'type' => 'string', - 'example' => 'testGroupName', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8BE02313-5395-4EBE-BAE7-E90A053F****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidAccountName.Duplicate', 'errorMessage' => 'Specified AccountName already exists in this instance.', 'description' => 'The error message returned because the account already exists.'], + ['errorCode' => 'InvalidAccountName.Format', 'errorMessage' => 'Specified AccountName is not valid.', 'description' => ''], + ['errorCode' => 'InvalidEngineVersion.Format', 'errorMessage' => 'Current EngineVersion does not support operations.', 'description' => 'The operation is not supported while the instance runs this engine version.'], + ['errorCode' => 'InvalidAccountPassword.Format', 'errorMessage' => 'Specified AccountPassword is not valid.', 'description' => ''], + ['errorCode' => 'TaskExists', 'errorMessage' => 'Specified task have existed.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD425AD3-CC7B-4EE2-A5CB-2F61BA73****\\",\\n \\"ParamGroupId\\": \\"testGroupName\\"\\n}","type":"json"}]', - 'title' => 'ModifyParameterGroup', - ], - 'DescribeParameterGroups' => [ - 'summary' => 'Queries a list of available parameter templates.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ResetAccountPassword', + 'description' => '> Only Tair (Redis OSS-compatible) instances of Redis 4.0 or later are supported.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-11T12:25:18.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetAccountPassword'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ResetAccountPassword', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8BE02313-5395-4EBE-BAE7-E90A053F****\\"\\n}","errorExample":"{\\n\\t\\"RequestId\\": \\"8BE02313-5395-4EBE-BAE7-E90A053F1E07\\"\\n}"},{"type":"xml","example":"<ResetAccountResponse>\\n <RequestId>8BE02313-5395-4EBE-BAE7-E90A053F****</RequestId>\\n</ResetAccountResponse>","errorExample":"<ResetAccountResponse>\\n <RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76</RequestId>\\n</ResetAccountResponse>"}]', + ], + 'RestartInstance' => [ + 'summary' => 'Restarts a running Tair (Redis OSS-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '179002', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '56515', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'DbType', + 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" + 'description' => 'The time when you want to restart the instance. Default value: Immediately. Valid values:'."\n" ."\n" - .'* **redis**: Redis Open-Source Edition or Tair (In-Memory)'."\n" - .'* **tair_pena**: Tair (On NVM)'."\n" - .'* **tair_pdb**: Tair (On Disk)'."\n", + .'* **Immediately**: immediately restarts the instance.'."\n" + .'* **MaintainTime**: restarts the instance during the maintenance window.'."\n", 'type' => 'string', 'required' => false, - 'example' => 'redis', + 'example' => 'Immediately', + 'default' => '0', + 'enum' => ['0', '1', 'Immediately', 'MaintainTime'], + 'title' => '', ], ], + [ + 'name' => 'UpgradeMinorVersion', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to update to the latest minor version when the instance is restarted. Valid values:'."\n" + ."\n" + .'* **true**: updates the minor version.'."\n" + .'* **false**: does not update the minor version.'."\n" + ."\n" + .'> The default value is **true**.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '686BB8A6-BBA5-47E5-8A75-D2ADE433****', - ], - 'ParameterGroups' => [ - 'description' => 'The list of parameter templates.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EngineVersion' => [ - 'description' => 'The compatible engine version.'."\n", - 'type' => 'string', - 'example' => '5', - ], - 'Modified' => [ - 'description' => 'The time when the parameter template was last modified.'."\n", - 'type' => 'string', - 'example' => '2023-04-18 16:32:45', - ], - 'ParameterGroupName' => [ - 'description' => 'The name of the parameter template.'."\n", - 'type' => 'string', - 'example' => 'testGroupName', - ], - 'ParameterGroupDesc' => [ - 'description' => 'The description of the parameter template.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Engine' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* **redis**: Redis Open-Source Edition or Tair (In-Memory)'."\n" - .'* **tair_pena**: Tair (On NVM)'."\n" - .'* **tair_pdb**: Tair (On Disk)'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'ParamGroupId' => [ - 'description' => 'The parameter template ID.'."\n", - 'type' => 'string', - 'example' => 'test01', - ], - 'Created' => [ - 'description' => 'The time when the parameter template was created.'."\n", - 'type' => 'string', - 'example' => '2023-04-18 16:32:45'."\n", - ], - 'Category' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **0**: Redis Open-Source Edition'."\n" - .'* **1**: Tair (Enterprise Edition)'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'EFC9161F-15E3-4A6E-8A99-C33331****', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '11111****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'IncorrectEngineVersion', 'errorMessage' => 'Current engine version does not support this operation.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"686BB8A6-BBA5-47E5-8A75-D2ADE433****\\",\\n \\"ParameterGroups\\": [\\n {\\n \\"EngineVersion\\": \\"5\\",\\n \\"Modified\\": \\"2023-04-18 16:32:45\\",\\n \\"ParameterGroupName\\": \\"testGroupName\\",\\n \\"ParameterGroupDesc\\": \\"test\\",\\n \\"Engine\\": \\"tair_pena\\",\\n \\"ParamGroupId\\": \\"test01\\",\\n \\"Created\\": \\"2023-04-18 16:32:45\\\\n\\",\\n \\"Category\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeParameterGroups', - ], - 'CreateParameterGroup' => [ - 'summary' => 'Creates a parameter template.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EFC9161F-15E3-4A6E-8A99-C33331****\\",\\n \\"InstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskId\\": \\"11111****\\"\\n}","errorExample":""},{"type":"xml","example":"<RestartInstanceResponse>\\r\\n <RequestId>EFC9161F-15E3-4A6E-8A99-6661****</RequestId>\\r\\n <InstanceId>r-bp1zxszhcgatnx****</InstanceId>\\r\\n <TaskId>11111****</TaskId>\\r\\n</RestartInstanceResponse>","errorExample":""}]', + 'title' => 'RestartInstance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RestartInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RestartInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], + ], + ], + ], ], + ], + 'RestoreInstance' => [ + 'summary' => 'Restores data from a specified backup file to a Tair (Redis-compatible) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22756,494 +18802,468 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'Category', + 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **standard**: Community Edition'."\n" - .'* **enterprise**: Enhanced Edition (Tair)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'enterprise', - ], + 'schema' => ['description' => 'The ID of the backup file. You can find backup file IDs by calling the [DescribeBackups](~~473823~~) operation.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'default' => '0', 'example' => '78241****', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'RestoreType', 'in' => 'query', 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" + 'description' => 'The restore method. Valid values:'."\n" ."\n" - .'* **redis**: ApsaraDB for Redis Community Edition instance or Tair DRAM-based instance'."\n" - .'* **tair_pena**: Tair persistent memory-optimized instance'."\n" - .'* **tair_pdb**: Tair ESSD/SSD-based instance'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'redis', - ], - ], - [ - 'name' => 'EngineVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The compatible engine version. Valid values:'."\n" + .'- **0** (default): This value is deprecated.'."\n" ."\n" - .'* For ApsaraDB for Redis Community Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* For Tair DRAM-based instances that are compatible with Redis 5.0, 6.0, or 7.0, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" - .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", + .'- **1**: Restores data to a specific point in time. You can set this parameter to 1 only if the [Data Flashback](~~148479~~) feature is enabled for the instance. If you set this parameter to 1, you must also specify the **RestoreTime** parameter.', 'type' => 'string', - 'required' => true, - 'example' => '6.0', + 'required' => false, + 'pattern' => '^\\d+$', + 'default' => '0', + 'enum' => ['0', '1'], + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'ParameterGroupName', + 'name' => 'RestoreTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The new name of the parameter template. The name must meet the following requirements:'."\n" - ."\n" - .'* The name can contain letters, digits, and underscores (\\_). It must start with a letter and cannot contain Chinese characters.'."\n" - .'* The name can be 8 to 64 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tw_test1', - ], + 'schema' => ['description' => 'The restore point in time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format (UTC).'."\n" + ."\n" + .'> This point in time cannot be earlier than the time when the Data Flashback feature was enabled.', 'type' => 'string', 'required' => false, 'example' => '2021-07-06T07:25:57Z', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'FilterKey', 'in' => 'query', - 'schema' => [ - 'description' => 'A JSON-formatted object that specifies the parameter-value pairs. Format: {"Parameter 1":"Value 1","Parameter 2":"Value 2"...}. The specified value overwrites the original content.'."\n" - ."\n" - .'> The parameters that can be added for different editions are displayed in the console.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"hz":"15","#no_loose_disabled-commands":"flushall"}', - ], + 'schema' => ['description' => 'The keys to restore, which can be specified as a regular expression. To specify multiple keys, separate them with commas (,).'."\n" + ."\n" + .'- If you do not specify this parameter, the entire instance is restored.'."\n" + ."\n" + .'- If you specify this parameter, only the specified keys are restored. This feature is available only for instances that use the classic architecture.'."\n" + ."\n" + .'> In a regular expression, the asterisk (`*`) matches the preceding element zero or more times. For example, if you set this parameter to `h.*llo`, strings such as `hllo` and `heeeello` are matched.', 'type' => 'string', 'required' => false, 'example' => 'key:00000007198*', 'title' => ''], ], [ - 'name' => 'ParameterGroupDesc', + 'name' => 'TimeShift', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the parameter template. The description must be 0 to 200 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'allowEmptyValue' => true, + 'schema' => ['description' => 'For instances that use the classic architecture, you can apply an offset to the expiration time of restored keys. This applies whether you restore the entire instance or only specific keys. The system calculates a key\'s remaining time-to-live (TTL) at the specified flashback point in time and then adds this TTL to the `TimeShift` value to set the key\'s new expiration time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC).'."\n" + ."\n" + .'> - This feature adjusts the expiration time for top-level keys only. It does not apply to the expiration times of elements within Tair-specific data structures, such as fields in an exHash or secondary keys (Skeys) in a Time Series (TS) data structure.'."\n" + .'>'."\n" + .'> - The specified time must be later than `RestoreTime` and earlier than the task submission time.', 'type' => 'string', 'required' => false, 'example' => '2021-07-06T08:25:57Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '62DA5BE5-F9C9-527C-ACCB-4D783C297A3A', - ], - 'ParamGroupId' => [ - 'description' => 'The parameter template ID.'."\n", - 'type' => 'string', - 'example' => 'g-51ii2ienn0dg0xi8****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8D0C0AFC-E9CD-47A4-8395-5C31BF9B****', 'title' => ''], ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameters.Format', - 'errorMessage' => 'Specified parameters is not valid.', - ], + ['errorCode' => 'ServiceNotSupport', 'errorMessage' => 'This service not supported.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Missing Required Param: BackupId or RestoreTime or RestoreType.', 'description' => ''], + ['errorCode' => 'ResroreParamNotMatch', 'errorMessage' => 'restoreType is not match with backupId or restoreTime.', 'description' => ''], + ['errorCode' => 'InvalidRestoreTime.Format', 'errorMessage' => 'Specified restore time is not valid.', 'description' => ''], + ['errorCode' => 'ZoneMigrationError.StillingRunning', 'errorMessage' => 'Zone migration task is still running', 'description' => ''], + ['errorCode' => 'InvalidBinlog.NotValid', 'errorMessage' => 'The available binlog is not valid in recovery time.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****\\"\\n}","type":"json"}]', + 'title' => 'RestoreInstance', + 'description' => '- For Tair memory-enhanced enterprise edition instances that use the classic architecture, you can restore specified keys to a point in time with precision to the second for granular data recovery.'."\n" + ."\n" + .'- For all other instance types, use the [CreateInstance](~~473757~~) or [CreateTairInstance](~~473770~~) operation to restore backup data to a new instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-11-22T11:41:38.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62DA5BE5-F9C9-527C-ACCB-4D783C297A3A\\",\\n \\"ParamGroupId\\": \\"g-51ii2ienn0dg0xi8****\\"\\n}","type":"json"}]', - 'title' => 'CreateParameterGroup', - ], - 'DescribeParameterGroupTemplateList' => [ - 'summary' => 'Queries the information about the parameters that can be configured in a parameter template, such as the default values, value ranges, and descriptions.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RestoreInstance'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RestoreInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'SwitchInstanceHA' => [ + 'summary' => 'Performs a primary/secondary switchover (switches node roles). This operation can be used for disaster recovery drills and nearest access for applications in multi-zone deployment scenarios.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '180928', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', - ], + 'abilityTreeCode' => '56519', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'Category', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service category. Valid values:'."\n" - ."\n" - .'* **standard**: Redis Open-Source Edition'."\n" - .'* **enterprise**: Tair (Enterprise Edition)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'standard', - ], + 'schema' => ['description' => 'The instance ID. You can call [DescribeInstances](~~473778~~) to query the instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EngineVersion', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The compatible engine version. Valid values:'."\n" - ."\n" - .'* For Redis Open-Source Edition instances, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* For Tair DRAM-based instances that are compatible with Redis 5.0, 6.0, or 7.0, set the parameter to **5.0**, **6.0**, or **7.0**.'."\n" - .'* For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to **1.0**.'."\n" - .'* For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to **1.0**. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to **2.0**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '5.0', - ], + 'schema' => ['description' => 'The ID of the data shard node. You can call [DescribeRoleZoneInfo](~~473782~~) to obtain the CustinsId parameter. Separate multiple data shard node IDs with commas (,). To specify all nodes, enter `all`.'."\n" + .'> This parameter is available and required only when the instance uses the cluster or read/write splitting architecture.', 'type' => 'string', 'required' => false, 'example' => '56****19,56****20', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'SwitchMode', + 'in' => 'query', + 'schema' => ['description' => 'The execution time. Valid values:'."\n" + .'* **0**: immediately. This is the default value.'."\n" + .'* **1**: during the maintenance window.'."\n" + ."\n" + .'> You can call [ModifyInstanceMaintainTime](~~473775~~) to modify the maintenance window of the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'SwitchType', 'in' => 'query', 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" + 'description' => 'The switchover mode. Valid values:'."\n" + .'* **ReliabilityPriority (default)**: Reliability is prioritized. The primary/secondary switchover is performed only when primary/secondary synchronization has no latency, which prevents data loss. In scenarios with heavy write workloads and persistent synchronization latency, this mode may cause the primary/secondary switchover to fail.'."\n" + .'* **AvailablePriority**: Availability is prioritized. The primary/secondary switchover is performed immediately regardless of primary/secondary latency, which may cause minor data loss.'."\n" ."\n" - .'* **redis**: Redis Open-Source Edition or Tair (In-Memory)'."\n" - .'* **tair_pena**: Tair (On NVM)'."\n" - .'* **tair_pdb**: Tair (On Disk)'."\n", + .'> Evaluate your business requirements for data integrity and service availability before selecting a switchover mode.', + 'enumValueTitles' => ['AvailablePriority' => 'AvailablePriority', 'ReliabilityPriority' => 'ReliabilityPriority'], 'type' => 'string', - 'required' => true, - 'example' => 'redis', + 'required' => false, + 'docRequired' => false, + 'default' => 'ReliabilityPriority', + 'enum' => ['AvailablePriority', 'ReliabilityPriority', 'DataConsistency'], + 'example' => 'ReliabilityPriority', + 'title' => '', ], ], [ - 'name' => 'CharacterType', + 'name' => 'SourceNodeId', 'in' => 'query', + 'schema' => ['description' => 'The node ID of the original MASTER node in the shard.', 'type' => 'string', 'required' => false, 'example' => '52717408', 'title' => ''], + ], + [ + 'name' => 'TargetNodeId', + 'in' => 'query', + 'schema' => ['description' => 'The node ID of the target MASTER node after the switchover.', 'type' => 'string', 'required' => false, 'example' => '52717403', 'title' => ''], + ], + [ + 'name' => 'TargetShardName', + 'in' => 'query', + 'schema' => ['description' => 'The shard name of the instance.', 'type' => 'string', 'required' => false, 'example' => 'r-2zegk3jyxxxwixfo6c-db-1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The role of the instance. Valid values: logic: logical instance. db: database instance. proxy: proxy node. cs: ConfigServer node. normal: master-replica database instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'db', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], + 'TaskId' => ['type' => 'string', 'example' => '674546459', 'description' => '', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"TaskId\\": \\"674546459\\"\\n}","type":"json"}]', + 'title' => 'Switch instance HA', + 'description' => '> For more information about nearest access for applications in multi-zone deployment scenarios, see [Scenario examples](~~164222~~).'."\n" + ."\n" + .'When you call this operation, the instance must be of the high-availability or dual-replica type.'."\n" + ."\n" + .'Calling this operation has the following impacts:'."\n" + .'* After a node role switchover is triggered, the data node being switched enters a read-only state for a few seconds and experiences a transient connection. Make sure that your application has a reconnection mechanism.'."\n" + .'* While the instance is in the switching state, you cannot perform instance-level operations such as configuration changes or zone migration.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:32:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SwitchInstanceHA'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceHA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'SwitchInstanceProxy' => [ + 'summary' => 'Enables or disables the proxy mode for a Tair (Redis OSS-compatible) cluster instance in a dedicated cluster.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], - 'EngineVersion' => [ - 'description' => 'The compatible engine version. Valid values:'."\n" - ."\n" - .'Redis Open Source Edition: 5.0, 6.0, and 7.0. Tair DRAM-based instances: 5.0 and 6.0. Tair persistent memory-optimized instances: 6.0. Tair ESSD-based instances: 4.0.', - 'type' => 'string', - 'example' => '5', - ], - 'Parameters' => [ - 'description' => 'The information about parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SupportModifyForMinorVersion' => [ - 'description' => 'Indicates whether the minor version can be changed. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CheckingCode' => [ - 'description' => 'The regular expression used to validate input.'."\n", - 'type' => 'string', - 'example' => '"\\\\d+\\\\s+\\\\d+\\\\s+\\\\d+"', - ], - 'ParameterValue' => [ - 'description' => 'The default value of the parameter.'."\n", - 'type' => 'string', - 'example' => '10', - ], - 'Revisable' => [ - 'description' => 'Indicates whether the parameter can be modified. Valid values:'."\n" - ."\n" - .'* **0: The parameter cannot be modified.**'."\n" - .'* **1**: The parameter can be modified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Factor' => [ - 'description' => 'A divisor of the parameter. For a parameter of the integer or byte type, the valid values must be a multiple of Factor unless you set Factor to 0.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ParameterName' => [ - 'description' => 'The parameter name.'."\n", - 'type' => 'string', - 'example' => 'appendonly', - ], - 'Unit' => [ - 'description' => 'The unit of the parameter value. Valid values: INT (ordinary integer), STRING (fixed string), and B (byte).'."\n", - 'type' => 'string', - 'example' => 'STRING', - ], - 'ParameterDescription' => [ - 'description' => 'The description of the parameter.'."\n", - 'type' => 'string', - 'example' => 'Open AOF persistence mode', - ], - 'Effective' => [ - 'description' => 'Indicates whether the modification takes effect. Valid values: 0 and 1. A value of 0 indicates that the modification does not take effect. A value of 1 indicates that the modification takes effect.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<SwitchInstanceProxyResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</SwitchInstanceProxyResponse>","errorExample":""}]', + 'title' => 'SwitchInstanceProxy', + 'description' => 'For more information about the proxy mode, see [Features of proxy servers](~~142959~~). Before you call this operation, make sure that the following requirements are met:'."\n" + ."\n" + .'* The instance is created by using a dedicated cluster. For more information, see [What is ApsaraDB for MyBase?](~~141455~~)'."\n" + .'* The instance uses the [cluster architecture](~~52228~~).'."\n" + ."\n" + .'> Before you call the SwitchInstanceProxy operation, you must call the [DescribeDedicatedClusterInstanceList](~~473867~~) operation and view the value of the **ProxyCount** response parameter to check whether the proxy mode is enabled. A value of 0 indicates that the proxy mode is disabled. A value that is greater than 0 indicates that the proxy mode is enabled.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:32:22.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"EngineVersion\\": \\"5\\",\\n \\"Parameters\\": [\\n {\\n \\"SupportModifyForMinorVersion\\": true,\\n \\"CheckingCode\\": \\"[0|1]\\",\\n \\"ParameterValue\\": \\"10\\",\\n \\"Revisable\\": 0,\\n \\"Factor\\": 1,\\n \\"ParameterName\\": \\"appendonly\\",\\n \\"Unit\\": \\"STRING\\",\\n \\"ParameterDescription\\": \\"开启Aof持久化模式。\\",\\n \\"Effective\\": 1\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeParameterGroupTemplateList', - ], - 'DescribeActiveOperationTasks' => [ - 'summary' => 'Queries the O\\\\\\\\\\\\\\\\\\\\&M event details of an instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchInstanceProxy'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SwitchInstanceZoneFailOver' => [ + 'summary' => 'Switches an instance from the current zone to the specified zone in the event of a fault.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '56378', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreAO067M', - ], + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '240777', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the O&M task. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n" - ."\n" - .'> A value of **all** indicates all region IDs.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'TaskType', + 'name' => 'TargetZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the destination zone.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-j', 'title' => ''], + ], + [ + 'name' => 'SiteFaultTime', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the O\\&M event. If this parameter is not specified, all types of O\\&M events are queried.'."\n" + 'description' => 'The duration for which the fault lasts. Unit: minutes.'."\n" ."\n" .'Valid values:'."\n" ."\n" - .'* rds_apsradb_upgrade: minor version update'."\n" - .'* rds_apsaradb_ha: primary/secondary switchover'."\n" - .'* rds_apsaradb_ssl_update: SSL certificate update'."\n" - .'* rds_apsaradb_major_upgrade: major version upgrade'."\n" - .'* rds_apsradb_transfer: instance migration'."\n" - .'* rds_apsaradb_modify_config: network upgrade'."\n" - .'* rds_apsaradb_modify_config: instance parameter adjustment'."\n" - .'* rds_apsaradb_maxscale: proxy minor version update'."\n", + .'* 5'."\n" + .'* 10'."\n", 'type' => 'string', 'required' => false, - 'docRequired' => false, - 'enumValueTitles' => [ - 'rds_apsradb_upgrade' => '', - 'rds_apsaradb_ha' => '', - 'rds_apsaradb_ssl_update' => '', - 'rds_apsaradb_major_upgrade' => '', - 'rds_apsradb_transfer' => '', - 'rds_apsaradb_network_upgrade' => '', - 'rds_apsaradb_modify_config' => '', - 'rds_apsaradb_maxscale' => '', - ], - 'example' => 'all', + 'example' => '5', + 'enum' => ['5', '10', '30'], + 'default' => '5', + 'title' => '', ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of entries per page. Default value: 25. Maximum value: 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '25', - 'default' => '30', + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'SwitchInstanceZoneFailOver', + 'description' => '- 本接口仅适用于多(双)可用区集群架构实例。'."\n" + .'- 模拟故障的节点会在稍后自动恢复。但主节点位于备可用区、备节点位于主可用区,此时可能产生实例与其他业务跨机房访问的情况。如需解决该问题,您可以在控制台服务可用性页面手动切换可用区。', + 'changeSet' => [ + ['createdAt' => '2025-03-31T08:33:01.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-31T02:06:56.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-04T02:38:07.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SwitchInstanceZoneFailOver'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceZoneFailOver', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\"\\n}","type":"json"}]', + ], + 'SwitchNetwork' => [ + 'summary' => 'Changes the VPC or vSwitch of a Tair (Redis OSS-compatible) instance. If the instance is deployed in the classic network, the network type of the instance is changed from the classic network to VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service. Valid values: RDS, POLARDB, MongoDB, and Redis. For Redis instances, set the value to Redis.', - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ - 'name' => 'DbType', + 'name' => 'TargetNetworkType', 'in' => 'query', 'schema' => [ - 'description' => 'The database type. Valid values: **redis**', + 'description' => 'The network type to which you want to switch. If you want to switch to VPC network, Set the value to **VPC**.', 'type' => 'string', 'required' => false, - 'example' => 'redis', + 'example' => 'VPC', + 'default' => 'VPC', + 'enum' => ['CLASSIC', 'VPC'], + 'title' => '', ], ], [ - 'name' => 'Status', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of an O\\&M event. This parameter is used to filter returned tasks. Valid values:'."\n" - ."\n" - .'* **-1**: filters all events.'."\n" - .'* **3**: filters pending events.'."\n" - .'* **4**: filters in-progress events.'."\n" - .'* **5**: filters successful events.'."\n" - .'* **6**: filters failed events.'."\n" - .'* **7**: filters canceled events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The VPC and the instance must be deployed in the same region.'."\n" + ."\n" + .'* After you set this parameter, you must also set the **VSwitchId** parameter.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vpc-bp1nme44gek34slfc****', 'title' => ''], ], [ - 'name' => 'InsName', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance. You can leave this parameter empty. If you configure this parameter, you can specify the name only of one instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-wz96fzmpvpr2qnqnlb', - ], + 'schema' => ['description' => 'The ID of the vSwitch that belongs to the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query the vSwitch ID.'."\n" + ."\n" + .'> The vSwitch and the instance must be deployed in the same zone.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****', 'title' => ''], ], [ - 'name' => 'AllowChange', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The filter condition that is used to return events based on the settings of the switching time. Default value: -1. Valid values:'."\n" - ."\n" - .'* **-1**: returns all events.'."\n" - .'* **0**: returns only O\\&M events for which the switching time cannot be changed.'."\n" - .'* **-1**: returns only O\\&M events for which the switching time can be changed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '-1', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'AllowCancel', + 'name' => 'RetainClassic', 'in' => 'query', - 'schema' => [ - 'description' => 'The filter condition that is used to return events based on the settings of event cancellation. Default value: -1. Valid values:'."\n" - ."\n" - .'* **-1**: returns all events.'."\n" - .'* **0**: returns only O\\&M events that cannot be canceled.'."\n" - .'* **1**: returns only O\\&M events that can be canceled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether to retain the original classic network endpoint after you switch the instance from classic network to VPC. Default value: False. Valid values:'."\n" + ."\n" + .'* **True**: retains the classic network endpoint.'."\n" + .'* **False**: does not retain the classic network endpoint.'."\n" + ."\n" + .'> This parameter is available only when the network type of the instance is classic network.'."\n", 'type' => 'string', 'required' => false, 'example' => 'True', 'title' => ''], ], [ - 'name' => 'ChangeLevel', + 'name' => 'ClassicExpiredDays', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of task configuration change. Valid values:'."\n" - ."\n" - .'* **all** (default): The configurations of all O\\&M tasks are changed.'."\n" - .'* **S0**: The configurations of tasks initiated to fix exceptions are changed.'."\n" - .'* **S1**: The configurations of system O\\&M tasks are changed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'The retention period of the classic network endpoint. Valid values: **14**, **30**, **60**, and **120**. Unit: days.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter is available and required only when the **RetainClassic** parameter is set to **True**.'."\n" + ."\n" + .'* After you complete the switchover operation, you can also call the [ModifyInstanceNetExpireTime](~~473793~~) operation to modify the retention period of the classic network endpoint.', 'type' => 'string', 'required' => false, 'example' => '30', 'pattern' => '^\\d+$', 'title' => ''], ], ], 'responses' => [ @@ -23251,265 +19271,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page. Default 25.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '25', - ], - 'TotalRecordCount' => [ - 'description' => 'The number of O\\&M events returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ - 'description' => 'The list of O\\&M events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details about the O\\&M event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the O\\&M event. Valid values:'."\n" - ."\n" - .'* **3**: filters pending events.'."\n" - .'* **4**: filters in-progress events.'."\n" - .'* **5**: filters successful events.'."\n" - .'* **6**: filters failed events.'."\n" - .'* **7**: filters canceled events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ChangeLevelEn' => [ - 'description' => 'The level of the task in English.'."\n", - 'type' => 'string', - 'example' => 'System maintenance'."\n", - ], - 'TaskType' => [ - 'description' => 'The type of the O\\&M event.'."\n", - 'type' => 'string', - 'example' => 'rds_apsaradb_transfer', - ], - 'InsName' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1lgal1sdvxrz****', - ], - 'Region' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hanghzou', - ], - 'ImpactZh' => [ - 'description' => 'The impact of the task in Chinese.'."\n", - 'type' => 'string', - 'example' => '实例闪断'."\n", - ], - 'CreatedTime' => [ - 'description' => 'The time when the O\\&M task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-05-30T14:30:00Z'."\n", - ], - 'SwitchTime' => [ - 'description' => 'The time when the system performs the switchover operation. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-05-30T14:30:00Z'."\n", - ], - 'ChangeLevelZh' => [ - 'description' => 'The level of the task in Chinese.'."\n", - 'type' => 'string', - 'example' => '系统运维'."\n", - ], - 'Deadline' => [ - 'description' => 'The deadline before which the time to preform the O&M task can be modified. The time in UTC is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format.', - 'type' => 'string', - 'example' => '2018-05-30T23:59:59Z', - ], - 'PrepareInterval' => [ - 'description' => 'The required preparation period between the task start time and the switchover time. The time is displayed in the *HH:mm:ss* format.'."\n", - 'type' => 'string', - 'example' => '04:00:00'."\n", - ], - 'TaskTypeZh' => [ - 'description' => 'The reason for the task in Chinese.'."\n", - 'type' => 'string', - 'example' => '小版本升级'."\n", - ], - 'CurrentAVZ' => [ - 'description' => 'The current zone.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing-h'."\n", - ], - 'AllowChange' => [ - 'description' => 'Indicates whether the switching time can be changed. The value 1 indicates that the switching time can be changed. The value 0 indicates that the switching time cannot be changed.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DbVersion' => [ - 'description' => 'The version of the database engine.'."\n", - 'type' => 'string', - 'example' => '5.0', - ], - 'ImpactEn' => [ - 'description' => 'The impact of the task in English.'."\n", - 'type' => 'string', - 'example' => 'Transient instance disconnection', - ], - 'InsComment' => [ - 'description' => 'The alias and description of the instance.', - 'type' => 'string', - 'example' => 'test', - ], - 'StartTime' => [ - 'description' => 'The time when the event is executed in the backend. The time must be in UTC. Format: YYYY-MM-DDTHH:mm:ssZ.'."\n", - 'type' => 'string', - 'example' => '2018-05-30T00:00:00Z'."\n", - ], - 'ModifiedTime' => [ - 'description' => 'The time when the O\\&M task was modified. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2018-05-30T14:30:00Z'."\n", - ], - 'AllowCancel' => [ - 'description' => 'Indicates whether the event can be canceled. The value 1 indicates that the event can be canceled. The value 0 indicates that the event cannot be canceled.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DbType' => [ - 'description' => 'The database type of the instance. The return value is **Redis**.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'ChangeLevel' => [ - 'description' => 'The code of the task level. The value S1 indicates the system O\\&M level. The value S0 indicates the exception fixing level.'."\n", - 'type' => 'string', - 'example' => 'S1', - ], - 'TaskTypeEn' => [ - 'description' => 'The cause of the O\\&M event.'."\n", - 'type' => 'string', - 'example' => 'Minor version update', - ], - 'ResultInfo' => [ - 'description' => 'The information about the execution result.'."\n", - 'type' => 'string', - 'example' => 'userCancel', - ], - 'Id' => [ - 'description' => 'The ID of the O\\&M event.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11111', - ], - 'SubInsNames' => [ - 'description' => 'The list of sub-events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the sub-event.'."\n", - 'type' => 'string', - 'example' => 'sub1369716295573-tes2cy6****.2013052818****'."\n", - ], - ], - 'TaskParams' => [ - 'description' => 'The O\\&M event parameters.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "Action": "UpgradeDBInstance"'."\n" - .'}', - ], - 'Impact' => [ - 'description' => 'The impact of the task.'."\n", - 'type' => 'string', - 'example' => 'TransientDisconnection', - ], - ], - ], - ], + 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '578678678', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F0997EE8-F4C2-4503-9168-85177ED78C70', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\",\\n \\"PageSize\\": 25,\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Status\\": 5,\\n \\"ChangeLevelEn\\": \\"System maintenance\\\\n\\",\\n \\"TaskType\\": \\"rds_apsaradb_transfer\\",\\n \\"InsName\\": \\"r-bp1lgal1sdvxrz****\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"ImpactZh\\": \\"实例闪断\\\\n\\",\\n \\"CreatedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"SwitchTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"ChangeLevelZh\\": \\"系统运维\\\\n\\",\\n \\"Deadline\\": \\"2018-05-30T23:59:59Z\\",\\n \\"PrepareInterval\\": \\"04:00:00\\\\n\\",\\n \\"TaskTypeZh\\": \\"小版本升级\\\\n\\",\\n \\"CurrentAVZ\\": \\"cn-beijing-h\\\\n\\",\\n \\"AllowChange\\": \\"1\\",\\n \\"DbVersion\\": \\"5.0\\",\\n \\"ImpactEn\\": \\"Transient instance disconnection\\",\\n \\"InsComment\\": \\"test\\",\\n \\"StartTime\\": \\"2018-05-30T00:00:00Z\\\\n\\",\\n \\"ModifiedTime\\": \\"2018-05-30T14:30:00Z\\\\n\\",\\n \\"AllowCancel\\": \\"1\\",\\n \\"DbType\\": \\"redis\\",\\n \\"ChangeLevel\\": \\"S1\\",\\n \\"TaskTypeEn\\": \\"Minor version update\\",\\n \\"ResultInfo\\": \\"userCancel\\",\\n \\"Id\\": 11111,\\n \\"SubInsNames\\": [\\n \\"sub1369716295573-tes2cy6****.2013052818****\\\\n\\"\\n ],\\n \\"TaskParams\\": \\"{\\\\n \\\\\\"Action\\\\\\": \\\\\\"UpgradeDBInstance\\\\\\"\\\\n}\\",\\n \\"Impact\\": \\"TransientDisconnection\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeActiveOperationTasks', - ], - 'ModifyActiveOperationTasks' => [ - 'summary' => 'Modifies the switching time of scheduled O\\\\\\&M events for an instance.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidToken.Malformed', 'errorMessage' => 'The Specified parameter Token is not valid.', 'description' => ''], + ['errorCode' => 'VpcServiceError', 'errorMessage' => 'Invoke vpc service failed.', 'description' => ''], + ['errorCode' => 'IzNotSupportVpcError', 'errorMessage' => 'Specify iz not support vpc.', 'description' => ''], + ['errorCode' => 'IzNotSupportSwitchNetworkError', 'errorMessage' => 'Specify iz not support switch network.', 'description' => ''], + ['errorCode' => 'VpcVerifyError', 'errorMessage' => 'VpcId is wrong.', 'description' => ''], + ['errorCode' => 'VpcAndVSwitchNotChange', 'errorMessage' => 'VpcId and vSwitchId not change.', 'description' => 'The VpcId and vSwitchId parameter values are not changed.'], + ], + 403 => [ + ['errorCode' => 'ResourceAlreadyExists', 'errorMessage' => 'Resource already exists.', 'description' => ''], + ['errorCode' => 'InsufficientResourceCapacity', 'errorMessage' => 'ip resource is conflict with other custins.', 'description' => ''], + ['errorCode' => 'VpcFreePasswordNoSupport', 'errorMessage' => 'The custins opend VPCFreePassword not support this operation.', 'description' => 'This operation is not supported for the instance because the VPC secret exemption is enabled or the# no_loose_check-whitelist-always parameter is set to no at the same time.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"578678678\\",\\n \\"RequestId\\": \\"F0997EE8-F4C2-4503-9168-85177ED78C70\\"\\n}","errorExample":"{\\n \\"TaskId\\":\\"578678678\\",\\n \\"requestId\\":\\"F0997EE8-F4C2-4503-9168-85177ED78C70\\"\\n}"},{"type":"xml","example":"<SwitchNetworkResponse>\\n <TaskId>578678678</TaskId>\\n <requestId>F0997EE8-F4C2-4503-9168-85177ED78C70</requestId>\\n</SwitchNetworkResponse>","errorExample":"<SwitchNetworkResponse>\\n <TaskId>578678678</TaskId>\\n <requestId>F0997EE8-F4C2-4503-9168-85177ED78C70</requestId>\\n</SwitchNetworkResponse>"}]', + 'title' => 'SwitchNetwork', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-26T09:46:19.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchNetwork'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchNetwork', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'SyncDtsStatus' => [ + 'summary' => 'Disables configuration changes for a Tair (Redis OSS-compatible) instance before you use Data Transmission Service (DTS) to migrate or synchronize data of the instance. This prevents migration and synchronization task failures due to configuration changes.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56468', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ3DM1I', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Ids', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the O\\&M events. Separate multiple event IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1111721,1111718', - ], + 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'SwitchTime', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + ], + [ + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => 'The scheduled switching time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n" + 'description' => 'Disables configuration changes for the instance. Valid values:'."\n" ."\n" - .'> The time that is specified by the SwitchTime parameter cannot be later than the time that is specified by the Deadline parameter. You can call the DescribeActiveOperationTasks operation to query the latest switching time that is returned for the Deadline parameter.'."\n", + .'* **0**: does not disable configuration changes.'."\n" + .'* **1**: disables configuration changes. In this case, if you attempt to modify the configurations of the instance, the system informs you that the operation cannot be performed.'."\n", 'type' => 'string', - 'required' => true, + 'required' => false, 'docRequired' => true, - 'example' => '2019-10-17T18:50:00Z'."\n", + 'example' => '0', + 'enum' => ['0', '1'], + 'title' => '', ], ], [ - 'name' => 'ImmediateStart', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to immediately start scheduling. Valid values:'."\n" - ."\n" - .'* 0 (default): Scheduling is not started immediately.'."\n" - .'* 1: Scheduling is started immediately.'."\n" - ."\n" - .'> If you set this parameter to 0, the SwitchTime parameter takes effect. If you set this parameter to 1, the SwitchTime parameter does not take effect. In this case, the start time of the event is set to the current time, and the system determines the switching time based on the start time. Scheduling is started immediately, which is a prerequisite for the switchover. Then, the switchover is performed. You can call the DescribeActiveOperationTasks operation to query the preparation time that is returned for the PrepareInterval parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0'."\n", - ], + 'schema' => ['description' => 'The ID of the DTS instance. You can view the ID in the [DTS console](https://dts.console.aliyun.com/).'."\n" + ."\n" + .'> A Tair (Redis OSS-compatible) instance may be involved in multiple data migration or synchronization tasks. If you want to cancel the restriction on the instance, you can specify this parameter to prevent repeated operation calls.', 'type' => 'string', 'required' => false, 'example' => ' dtss0611o8vv90****', 'maxLength' => 64, 'minLength' => 1, 'title' => ''], ], ], 'responses' => [ @@ -23517,34 +19374,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ids' => [ - 'description' => 'The IDs of the O\\&M events. Separate multiple event IDs with commas (,).'."\n", - 'type' => 'string', - 'example' => '11111,22222', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E278D833-BB4B-50BF-8646-7BC1BAB2373B', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ids\\": \\"11111,22222\\",\\n \\"RequestId\\": \\"E278D833-BB4B-50BF-8646-7BC1BAB2373B\\"\\n}","type":"json"}]', - 'title' => 'ModifyActiveOperationTasks', - ], - 'CancelActiveOperationTasks' => [ - 'summary' => 'Cancels O\\\\\\&M events at a time.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","errorExample":""},{"type":"xml","example":"<SyncDtsStatusResponse>\\r\\n\\t<RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>\\r\\n</SyncDtsStatusResponse>","errorExample":""}]', + 'title' => 'SyncDtsStatus', + 'description' => '- 本接口仅适用于经典版实例。'."\n" + .'- 数据迁移或同步任务完成后,您可以再次调用本接口,解除变配限制。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-07-20T02:32:21.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-02T02:42:53.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SyncDtsStatus'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SyncDtsStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'TagResources' => [ + 'summary' => 'Adds tags to Tair (Redis OSS-compatible) instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23553,25 +19425,73 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56346', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'Ids', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => 'The IDs of O\\&M events that you want to cancel at a time. Separate multiple IDs with commas (,).'."\n", + 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => '1508850,1508310,1507849,1506274,1505811', + 'example' => 'INSTANCE', + 'enum' => ['INSTANCE', 'instance'], + 'title' => '', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance. You can specify multiple IDs.'."\n" + ."\n" + .'> This parameter indicates the ID of the **Nth** instance. For example, **ResourceId.1** specifies the ID of the first instance and **ResourceId.2** specifies the ID of the second instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'required' => true, + 'example' => 'r-bp1zxszhcgatnx****', + 'maxItems' => 51, + 'title' => '', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The object.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag associated with the instance.'."\n" + ."\n" + .'> * **N** specifies the serial number of the tag. For example, **Tag.1.Key** specifies the key of the first tag and **Tag.2.Key** specifies the key of the second tag.'."\n" + .'> * If the key of the tag does not exist, the key is automatically created.', 'type' => 'string', 'required' => true, 'example' => 'demokey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag associated with the instance.'."\n" + ."\n" + .'> **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag and **Tag.2.Value** specifies the value of the second tag.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demovalue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], @@ -23580,43 +19500,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ids' => [ - 'description' => 'The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'example' => '1508850,1508310,1507849,1506274', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F16A51B0-436E-5B84-8326-A18AA150D1C4', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4BD4E308-A3D8-4CD1-98B3-0ADAEE38****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The Tags parameter number is exceed, Valid is 20.', 'description' => ''], + ['errorCode' => 'InvalidTagKey.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', 'description' => ''], + ['errorCode' => 'InvalidTagValue.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', 'description' => ''], + ['errorCode' => 'MissParameter.TagOrResourceId', 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', 'description' => 'The parameters Tag and ResourceId cannot all be empty. At least one of them is passed in.'], + ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The specified parameter Scope is not valid.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter number is exceed.', 'description' => ''], + ['errorCode' => 'NumberExceed.CustomTags', 'errorMessage' => 'The Custom Tags parameter number is exceed. Valid is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''], + ['errorCode' => 'OperationDenied.QuotaExceed', 'errorMessage' => 'The Tags parameter number is exceed. Valid is 20.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ids\\": \\"1508850,1508310,1507849,1506274\\",\\n \\"RequestId\\": \\"F16A51B0-436E-5B84-8326-A18AA150D1C4\\"\\n}","type":"json"}]', - 'title' => 'CancelActiveOperationTasks', - 'description' => 'O\\&M events cannot be canceled in the following scenarios:'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4BD4E308-A3D8-4CD1-98B3-0ADAEE38****\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\r\\n <RequestId>4BD4E308-A3D8-4CD1-98B3-0ADAEE38****</RequestId>\\r\\n</TagResourcesResponse>","errorExample":""}]', + 'title' => 'TagResources', + 'description' => 'If you have a large number of instances, you can create multiple tags and add these tags to the instances. Then, you can filter instances by tag.'."\n" ."\n" - .'* The allowCancel parameter is set to 0.'."\n" - .'* The current time is later than the start time of the O\\&M event.'."\n" - .'* The state value of the O\\&M event is not 3.'."\n", - ], - 'ModifyEventInfo' => [ - 'summary' => '事件中心修改事件信息', - 'methods' => [ - 'get', - 'post', + .'* A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.'."\n" + .'* If the tag that you specify does not exist, this tag is automatically created and added to the specified instance.'."\n" + .'* If the key of the specified tag is the same as that of an existing tag, the specified tag overwrites the existing tag.'."\n" + .'* You can add up to 20 tags to each instance.'."\n" + .'* You can add tags to up to 50 instances in each request.'."\n" + ."\n" + .'You can also add tags to instances in the Tair (Redis OSS-compatible) console. For more information, see [Create a tag](~~118779~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'TransformInstanceChargeType' => [ + 'summary' => 'Changes the billing method for a Tair instance between subscription and pay-as-you-go.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23626,756 +19574,469 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '232944', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '56525', + 'abilityTreeNodes' => ['FEATUREkvstoreSIWMD9'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query instance IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EventId', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'title' => '事件ID,多个英文逗号分隔,最多支持20个', - 'description' => 'The event IDs. Separate multiple event IDs with commas (,). You can specify up to 20 event IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5422964'."\n", - ], + 'schema' => ['description' => 'The subscription duration, in months. Valid values: **1** to **9**, **12**, **24**, and **36**.'."\n" + ."\n" + .'> This parameter is available and required only when the **ChargeType** parameter is set to **PrePaid**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EventAction', + 'name' => 'AutoPay', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable automatic payment. Valid values:'."\n" + ."\n" + .'- **true**: Automatic payment. This is the default value.'."\n" + ."\n" + .'- **false**: Manual payment. In the console, choose **Billing Management** > **Renewal Management** in the top navigation bar. In the navigation pane on the left, click **Or\\*\\*rs** > **My Or\\*\\*rs** to find and pay for the or\\*er.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'title' => '事件处理动作,目前支持archive和undo', - 'description' => 'The event handling action. Valid values:'."\n" + 'description' => 'The target billing method. Valid values:'."\n" ."\n" - .'* **archive**'."\n" - .'* **undo**'."\n", + .'- **PrePaid**: subscription. If you set this parameter to this value, you must also specify the **Period** parameter.'."\n" + ."\n" + .'- **PostPaid**: pay-as-you-go.', 'type' => 'string', - 'required' => false, - 'example' => 'archive', + 'required' => true, + 'docRequired' => true, + 'default' => '', + 'enum' => ['PostPaid', 'PrePaid', 'POSTPAID', 'PREPAID', 'PREPAY', 'POSTPAY'], + 'example' => 'PrePaid', + 'title' => '', ], ], [ - 'name' => 'ActionParams', + 'name' => 'AutoRenew', 'in' => 'query', 'schema' => [ - 'title' => '动作参数,JSON String', - 'description' => 'The JSON-formatted parameters related to the action. Set this parameter to `{"recoverMode": "xxx", "recoverTime": "xxx"}` if the **TaskAction** parameter is set to **modifySwitchTime**.'."\n" - ."\n" - .'* **recoverMode**: specifies the restoration mode for the task. Valid values:'."\n" + 'description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" ."\n" - .' * **timePoint**: performs the task at the specified point in time.'."\n" - .' * **immediate**: performs the task immediately.'."\n" - .' * **maintainTime**: performs the task within the maintenance window.'."\n" + .'- **true**: Auto-renewal is enabled.'."\n" ."\n" - .'* **recoverTime**: specifies the point in time for restoration. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. This parameter is required if the **recoverMode** parameter is set to **timePoint**.'."\n", + .'- **false** (default): Auto-renewal is disabled.', + 'enumValueTitles' => ['false' => '', 'true' => ''], 'type' => 'string', + 'default' => 'false', + 'enum' => ['true', 'false'], 'required' => false, - 'example' => '{"recoverTime":"2023-04-17T14:02:35Z","recoverMode":"timePoint"}'."\n", + 'example' => 'false', + 'title' => '', ], ], + [ + 'name' => 'AutoRenewPeriod', + 'in' => 'query', + 'schema' => ['description' => 'The auto-renewal period, in months. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required when the **AutoRenew** parameter is set to **true**.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'CouponNo', + 'in' => 'query', + 'schema' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'default' => 'default', 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6C9E114C-217C-4118-83C0-B4070222****', - ], - 'ErrorEventId' => [ - 'description' => 'The error ID.'."\n", - 'type' => 'string', - 'example' => '12343', - ], - 'SuccessCount' => [ - 'description' => 'The number of successful records.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ErrorCode' => [ - 'description' => 'The error code that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'mst.errorcode.success.errormessage', - ], - 'SuccessEventId' => [ - 'description' => 'The ID of the successful event.'."\n", - 'type' => 'string', - 'example' => '234221', - ], + 'EndTime' => ['description' => 'The expiration time of the instance.'."\n" + ."\n" + .'> This parameter is returned only when you change the billing method of an instance from pay-as-you-go to subscription.', 'type' => 'string', 'example' => '2021-05-13T00:00:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '82C791FB-8979-489E-853D-706D7743****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '20881824000****', 'title' => ''], ], + 'description' => 'The response parameters.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C9E114C-217C-4118-83C0-B4070222****\\",\\n \\"ErrorEventId\\": \\"12343\\",\\n \\"SuccessCount\\": 2,\\n \\"ErrorCode\\": \\"mst.errorcode.success.errormessage\\",\\n \\"SuccessEventId\\": \\"234221\\"\\n}","type":"json"}]', - 'title' => 'ModifyEventInfo', - ], - 'DescribeHistoryEvents' => [ - 'summary' => 'DescribeHistoryEvents', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidParam', 'errorMessage' => 'Period is invalid', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'Order.LatestOrderIsHanding', 'errorMessage' => 'Latest order is handing, please retry later.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-05-13T00:00:00Z\\",\\n \\"RequestId\\": \\"82C791FB-8979-489E-853D-706D7743****\\",\\n \\"OrderId\\": \\"20881824000****\\"\\n}","type":"json"}]', + 'title' => 'TransformInstanceChargeType', + 'description' => 'Before you call this operation, ensure you understand the billing implications and usage notes. For more information, see:'."\n" + ."\n" + .'- [Change a pay-as-you-go instance to subscription](~~54542~~).'."\n" + ."\n" + .'- [Change a subscription instance to pay-as-you-go](~~211549~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2026-01-14T10:29:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-21T08:46:02.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformInstanceChargeType'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformInstanceChargeType', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'TransformToEcs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '194560', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '219593', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceClass', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The instance type of the target cloud-native instance. For more information, see [Instance types](~~26350~~).'."\n" + ."\n" + .'> If you want to convert a cluster instance, you must specify the corresponding cloud-native cluster instance type that includes .with.proxy in its name and specify the ShardCount parameter.'."\n" + .'>'."\n" + .'> - For a cluster instance, you must provide the corresponding cloud-native cluster specification that includes `.proxy`. You must also specify the number of shards by using the `ShardCount` parameter.', 'type' => 'string', 'required' => true, 'example' => 'tair.rdb.1g'."\n" + .'tair.rdb.with.proxy.1g', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ - 'description' => 'The number of records to return on each page. Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The billing method of the target instance. Valid values:'."\n" + ."\n" + .'- **PostPaid**: pay-as-you-go'."\n" + ."\n" + .'- **PrePaid**: subscription. If you set this parameter to PrePaid, you must also specify the **Period** parameter.', + 'type' => 'string', 'required' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '10', - 'default' => '10', + 'default' => 'PostPaid', + 'enum' => ['PrePaid', 'PostPaid'], + 'example' => 'PostPaid', + 'title' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2147483647', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The subscription duration. Unit: month. Valid values: **1**, **2**, **3**, **4**, **5**, 6, 7, 8, 9, 12, 24, and 36.'."\n" + ."\n" + .'> This parameter is available and required only if you set the **ChargeType** parameter to **PrePaid**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ArchiveStatus', + 'name' => 'ShardCount', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the event. Valid values:'."\n" - ."\n" - .'* **Archived**'."\n" - .'* **UnArchived**'."\n" - .'* **All**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Archived', - ], + 'schema' => ['description' => 'The number of data shards in the cloud-native cluster instance.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'EventCategory', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The system event category. Valid values:'."\n" - ."\n" - .'* **Exception**: abnormal events.'."\n" - .'* **Optimize**: optimization events.'."\n" - .'* **Notification**: Notification events.'."\n" - .'* **Maintenance**: scheduled maintenance events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Exception', - ], + 'schema' => ['description' => 'The ID of the classic instance that you want to convert.', 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'EventType', + 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The system event type. This parameter takes effect only when InstanceEventType.N is not specified. Valid values:'."\n" - ."\n" - .'* SystemMaintenance.Reboot: The instance is restarted due to system maintenance.'."\n" - .'* SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance.'."\n" - .'* SystemFailure.Reboot: The instance is restarted due to a system error.'."\n" - .'* SystemFailure.Redeploy: The instance is redeployed due to a system error.'."\n" - .'* SystemFailure.Delete: The instance is released due to an instance creation failure.'."\n" - .'* InstanceFailure.Reboot: The instance is restarted due to an instance error.'."\n" - .'* InstanceExpiration.Stop: The subscription instance is stopped due to expiration.'."\n" - .'* InstanceExpiration.Delete: The subscription instance is released due to expiration.'."\n" - .'* AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment.'."\n" - .'* AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment.'."\n" - ."\n" - .'> For more information about event types, see [Overview of system events](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.'."\n", + 'description' => 'The Redis-compatible version of the instance. Valid values: **5.0**, **6.0**, and **7.0**.', 'type' => 'string', - 'required' => false, - 'example' => 'SystemFailure.Reboot'."\n", + 'required' => true, + 'enum' => ['5.0', '6.0', '7.0'], + 'example' => '5.0', + 'title' => '', ], ], [ - 'name' => 'EventLevel', + 'name' => 'EffectiveTime', 'in' => 'query', 'schema' => [ - 'description' => 'The level of the event. Valid values:'."\n" + 'description' => 'The time when to switch the database after data migration. Valid values:'."\n" ."\n" - .'* **INFO**'."\n" - .'* **WARN**'."\n" - .'* **CRITICAL**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INFO', - ], - ], - [ - 'name' => 'EventStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the event. Valid values:'."\n" + .'- **Immediately**: The database is immediately switched after the migration is complete.'."\n" ."\n" - .'* **Inquiring**'."\n" - .'* **Scheduled**: Planned'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Canceled**'."\n" + .'- **MaintainTime**: The database is switched within the maintenance window.'."\n" ."\n" - .'> Separate multiple states with commas (,).'."\n", + .'> Default value: **Immediately**.', 'type' => 'string', + 'default' => 'Immediately', + 'enum' => ['Immediately', 'MaintainTime'], 'required' => false, - 'example' => 'Scheduled', + 'example' => 'Immediately', + 'title' => '', ], ], [ - 'name' => 'ResourceType', + 'name' => 'AutoRenew', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the resource. Valid values:'."\n" + 'description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" ."\n" - .'* **Instance**: instance resources.'."\n" - .'* **Host**: host resources.'."\n" - .'* **User**: user resources'."\n" + .'- **true**: enables auto-renewal.'."\n" ."\n" - .'> If you do not specify this parameter, events of all resource types are queried.'."\n", + .'- **false**: disables auto-renewal.', 'type' => 'string', + 'enum' => ['true', 'false'], 'required' => false, - 'example' => 'Instance', + 'example' => 'false', + 'title' => '', ], ], [ - 'name' => 'InstanceId', + 'name' => 'AutoRenewPeriod', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', + 'description' => 'The auto-renewal cycle. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required if you set **AutoRenew** to **true**.', + 'type' => 'integer', + 'format' => 'int64', + 'enum' => ['1', '2', '3', '6', '12'], 'required' => false, - 'example' => 'r-bp1zxszhcgatnx****', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'EventId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5345398', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: performs a dry run to check the request. The check items include the required parameters, request format, service limits, and available resources. If the check fails, the corresponding error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): sends a normal request and creates an instance after the request passes the check.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'IsAcrossZone', 'in' => 'query', - 'schema' => [ - 'description' => 'The task IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '578678678', - ], + 'schema' => ['description' => 'Specifies whether to deploy the instance across availability zones. This feature is supported only for cluster instances.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'example' => ''], ], [ - 'name' => 'FromStartTime', + 'name' => 'IzNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-01-02T11:31:03Z', - ], + 'schema' => ['description' => 'The ID of the availability zone.', 'type' => 'string', 'title' => '', 'example' => ''], ], [ - 'name' => 'ToStartTime', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only events that have a start time earlier than or equal to the time specified by this parameter are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-02-02T11:31:03Z', - ], + 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'title' => '', 'example' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'SecondaryIzNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfnuslkubs****', - ], + 'schema' => ['description' => 'The ID of the secondary availability zone.', 'type' => 'string', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '27B911BF-4E17-5F8A-A932-79DF2D3F****', - ], - 'PageSize' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of returned events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '430', - ], - 'Items' => [ - 'description' => 'A list of events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The queried event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => '4309', - ], - 'Region' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hanghzou', - ], - 'Source' => [ - 'description' => 'The source of the event.'."\n", - 'type' => 'string', - 'example' => 'loanBill', - ], - 'Specversion' => [ - 'description' => 'The database engine version.'."\n", - 'type' => 'string', - 'example' => '8.0', - ], - 'Subject' => [ - 'description' => 'The name of the pending event.'."\n", - 'type' => 'string', - 'example' => 'Qitian', - ], - 'Time' => [ - 'description' => 'The amount of time that has elapsed from the start time of the query. Unit: seconds.'."\n", - 'type' => 'string', - 'example' => '1734919325126', - ], - 'Type' => [ - 'description' => 'The type of the event.'."\n", - 'type' => 'string', - 'example' => 'host', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventType' => [ - 'description' => 'The type of the system event. Valid values:'."\n" - ."\n" - .'* **SystemMaintenance.Reboot**: The instance was restarted due to system maintenance.'."\n" - .'* **SystemMaintenance.Redeploy**: The instance was redeployed due to system maintenance.'."\n" - .'* **SystemFailure.Reboot**: The instance was restarted due to system failures.'."\n" - .'* **SystemFailure.Redeploy**: The instance was redeployed due to system failures.'."\n" - .'* **SystemFailure.Delete**: The instance was released due to an instance creation failure.'."\n" - .'* **InstanceFailure.Reboot**: The instance was restarted due to an instance error.'."\n" - .'* **InstanceExpiration.Stop**: The subscription instance was stopped due to expiration.'."\n" - .'* **InstanceExpiration.Delete**: The subscription instance was released due to expiration.'."\n" - .'* **AccountUnbalanced.Stop**: The pay-as-you-go instance is stopped due to an overdue payment.'."\n" - .'* **AccountUnbalanced.Delete**: The pay-as-you-go instance was released due to an overdue payment.'."\n", - 'type' => 'string', - 'example' => 'StatusNotification', - ], - 'EventId' => [ - 'description' => 'The ID of the event.'."\n", - 'type' => 'string', - 'example' => '669036', - ], - 'CmsProduct' => [ - 'description' => 'The cloud service type of the application group. Valid values:'."\n" - ."\n" - .'* **web**: web application.'."\n" - .'* **native**: local application.'."\n", - 'type' => 'string', - 'example' => 'web', - ], - 'DbType' => [ - 'description' => 'The database type.'."\n", - 'type' => 'string', - 'example' => 'redis', - ], - 'DetailImpact' => [ - 'description' => 'The pagination parameter.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DetailReason' => [ - 'description' => 'The details of the instance operation.'."\n", - 'type' => 'string', - 'example' => 'xxxx', - ], - 'EndTime' => [ - 'description' => 'The time when the alert was closed.'."\n", - 'type' => 'string', - 'example' => '2023-03-06T11:46:01Z'."\n", - ], - 'EventCategory' => [ - 'description' => 'The system event category. Valid values:'."\n" - ."\n" - .'* **Exception**: abnormal events'."\n" - .'* **Optimize**: optimization events.'."\n" - .'* **Notification**: notification events.'."\n" - .'* **Maintenance**: scheduled maintenance events.'."\n", - 'type' => 'string', - 'example' => 'Exception', - ], - 'EventCode' => [ - 'description' => 'The event code.'."\n", - 'type' => 'string', - 'example' => 'ENT000014'."\n", - ], - 'EventDetail' => [ - 'description' => 'The event details.'."\n", - 'type' => 'string', - 'example' => 'xxxxx', - ], - 'EventImpact' => [ - 'description' => 'The event impact.'."\n", - 'type' => 'string', - 'example' => 'xxxxx'."\n", - ], - 'EventLevel' => [ - 'description' => 'The level of the event. Valid values:'."\n" - ."\n" - .'* **INFO**'."\n" - .'* **WARN**'."\n" - .'* **CRITICAL**'."\n", - 'type' => 'string', - 'example' => 'INFO', - ], - 'EventReason' => [ - 'description' => 'The event source.'."\n", - 'type' => 'string', - 'example' => 'xxxxx', - ], - 'EventStatus' => [ - 'description' => 'The status of the event. Valid values:'."\n" - ."\n" - .'* **Inquiring**'."\n" - .'* **Scheduled**'."\n" - .'* **Running**'."\n" - .'* **Succeed**'."\n" - .'* **Failed**'."\n" - .'* **Canceled**'."\n", - 'type' => 'string', - 'example' => 'Succeed', - ], - 'GmtCreated' => [ - 'description' => 'The time when the event was created.'."\n", - 'type' => 'string', - 'example' => '2024-12-13 05:34:23', - ], - 'GmtModified' => [ - 'description' => 'The time when the event was updated.'."\n", - 'type' => 'string', - 'example' => '2025-03-05 10:41:59', - ], - 'HandleStatus' => [ - 'description' => 'The status of the event. Valid values:'."\n", - 'type' => 'string', - 'example' => 'done', - ], - 'HasLifeCycle' => [ - 'description' => 'Indicates whether the event has a lifecycle.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'false', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'r-bp15kjsoovqjam****', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'normandy', - ], - 'IsClosed' => [ - 'description' => 'Indicates whether the event is closed. Valid values:'."\n" - ."\n" - .'* **0**: closed.'."\n" - .'* **1**: not closed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Product' => [ - 'description' => 'The name of the product.'."\n", - 'type' => 'string', - 'example' => 'kvstore', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ResourceType' => [ - 'description' => 'The resource type of the instance. Valid values:'."\n" - ."\n" - .'* **Instance**: instance resources.'."\n" - .'* **Host**: host resources.'."\n" - .'* **User**: user resources.'."\n", - 'type' => 'string', - 'example' => 'Instance', - ], - 'SourceType' => [ - 'description' => 'The type of the source data.'."\n", - 'type' => 'string', - 'example' => 'MSE', - ], - 'StartTime' => [ - 'description' => 'The start time of the event.'."\n", - 'type' => 'string', - 'example' => '2025-09-30T21:13Z', - ], - 'Uid' => [ - 'description' => 'The ID of the user to which the resources belong.'."\n", - 'type' => 'string', - 'example' => '15532817595*****', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'DAABAD9B-890F-56C0-806C-6144946594AB'], + 'OrderId' => ['description' => 'The ID of the order.', 'type' => 'string', 'example' => '20905403119****', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TransformToEcs', + 'summary' => 'Converts an instance that uses local disk to a cloud-native instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformToEcs'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformToEcs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"27B911BF-4E17-5F8A-A932-79DF2D3F****\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 430,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"4309\\",\\n \\"Region\\": \\"cn-hanghzou\\",\\n \\"Source\\": \\"loanBill\\",\\n \\"Specversion\\": \\"8.0\\",\\n \\"Subject\\": \\"Qitian\\",\\n \\"Time\\": \\"1734919325126\\",\\n \\"Type\\": \\"host\\",\\n \\"Data\\": {\\n \\"EventType\\": \\"StatusNotification\\",\\n \\"EventId\\": \\"669036\\",\\n \\"CmsProduct\\": \\"web\\",\\n \\"DbType\\": \\"redis\\",\\n \\"DetailImpact\\": \\"1\\",\\n \\"DetailReason\\": \\"xxxx\\",\\n \\"EndTime\\": \\"2023-03-06T11:46:01Z\\\\n\\",\\n \\"EventCategory\\": \\"Exception\\",\\n \\"EventCode\\": \\"ENT000014\\\\n\\",\\n \\"EventDetail\\": \\"xxxxx\\",\\n \\"EventImpact\\": \\"xxxxx\\\\n\\",\\n \\"EventLevel\\": \\"INFO\\",\\n \\"EventReason\\": \\"xxxxx\\",\\n \\"EventStatus\\": \\"Succeed\\",\\n \\"GmtCreated\\": \\"2024-12-13 05:34:23\\",\\n \\"GmtModified\\": \\"2025-03-05 10:41:59\\",\\n \\"HandleStatus\\": \\"done\\",\\n \\"HasLifeCycle\\": 0,\\n \\"InstanceId\\": \\"r-bp15kjsoovqjam****\\",\\n \\"InstanceName\\": \\"normandy\\",\\n \\"IsClosed\\": 0,\\n \\"Product\\": \\"kvstore\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"Instance\\",\\n \\"SourceType\\": \\"MSE\\",\\n \\"StartTime\\": \\"2025-09-30T21:13Z\\",\\n \\"Uid\\": \\"15532817595*****\\"\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeHistoryEvents', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DAABAD9B-890F-56C0-806C-6144946594AB\\",\\n \\"OrderId\\": \\"20905403119****\\"\\n}","type":"json"}]', ], - 'DescribeHistoryEventsStat' => [ - 'summary' => 'Queries the statistics of historical events.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'TransformToPrePaid' => [ + 'summary' => 'Converts a pay-as-you-go ApsaraDB for Tair (Redis-compatible) instance to the subscription billing method.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '194561', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '56526', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstoreZ21KYW', 'FEATUREkvstoreDER7E8', 'FEATUREkvstore4XSUU7'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to obtain the instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], [ - 'name' => 'ArchiveStatus', + 'name' => 'Period', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The status of the events that you want to query. Valid values:'."\n" - ."\n" - .'* **Archived**'."\n" - .'* **UnArchived**'."\n" - .'* **All**'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Archived', - ], + 'schema' => ['description' => 'The subscription duration. Unit: months. Valid values: **1**, **2**, **3**, **4**, **5**, **6**, **7**, **8**, **9**, **12**, **24**, and **36**.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '12', 'title' => ''], ], [ - 'name' => 'FromStartTime', + 'name' => 'AutoPay', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-payment. Valid values:'."\n" + ."\n" + .'- **true**: Automatically completes the payment.'."\n" + ."\n" + .'- **false** (default): An order is generated, but is not automatically paid. You must then log on to the console to pay for the *order*. For more information, see [Manually renew an instance](~~26352~~).', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the instance. Valid values:'."\n" + ."\n" + .'- **true**: Auto-renewal is enabled.'."\n" + ."\n" + .'- **false**: Auto-renewal is disabled.', 'type' => 'string', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'AutoRenewPeriod', 'in' => 'query', 'schema' => [ - 'description' => 'The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.'."\n", - 'type' => 'string', + 'description' => 'The auto-renewal period. Unit: months. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" + ."\n" + .'> This parameter is required if **AutoRenew** is set to **true**.', + 'type' => 'integer', + 'format' => 'int64', + 'default' => '1', + 'enum' => ['1'], 'required' => false, - 'example' => '2022-01-02T11:31:03Z', + 'example' => '3', + 'title' => '', ], ], [ - 'name' => 'ToStartTime', + 'name' => 'CouponNo', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-02-02T11:31:03Z', - ], + 'schema' => ['description' => 'The coupon code.', 'type' => 'string', 'required' => false, 'default' => 'default', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B32A350C-3A8E-5FF1-A56F-51C3769D****', - ], - 'Items' => [ - 'description' => 'The queried events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of events.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventCategory' => [ - 'description' => 'The system event category. Valid values:'."\n" - ."\n" - .'* **Exception**: abnormal events'."\n" - .'* **Optimize**: optimization events.'."\n" - .'* **Notification**: notification events.'."\n" - .'* **Maintenance**: scheduled maintenance events.'."\n", - 'type' => 'string', - 'example' => 'Exception', - ], - 'TotalCount' => [ - 'description' => 'The total number of returned events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21', - ], - ], - ], - ], + 'EndTime' => ['description' => 'The expiration time of the instance\'s new subscription.', 'type' => 'string', 'example' => '2019-01-18T16:00:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '426F1356-B6EF-4DAD-A1C3-DE53B9DAF586', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '111111111111111', 'title' => ''], ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'Period is mandatory for this action.', 'description' => ''], + ['errorCode' => 'InvalidParam', 'errorMessage' => 'Period is invalid', 'description' => ''], + ['errorCode' => 'ResourceNotAvailable', 'errorMessage' => 'Resource you requested is not available for finance user.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'Order.LatestOrderIsHanding', 'errorMessage' => 'Latest order is handing, please retry later.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'AlreadyPrePaid', 'errorMessage' => 'This instance is already prepaid', 'description' => ''], + ['errorCode' => 'RealNameAuthenticationError', 'errorMessage' => 'Your account has not passed the real-name authentication yet.', 'description' => ''], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2019-01-18T16:00:00Z\\",\\n \\"RequestId\\": \\"426F1356-B6EF-4DAD-A1C3-DE53B9DAF586\\",\\n \\"OrderId\\": \\"111111111111111\\"\\n}","type":"json"}]', + 'title' => 'TransformToPrePaid', + 'description' => 'To perform the equivalent operation in the console, see [Change the billing method to subscription](~~54542~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2026-01-14T10:29:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-09T12:53:42.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B32A350C-3A8E-5FF1-A56F-51C3769D****\\",\\n \\"Items\\": [\\n {\\n \\"EventCategory\\": \\"Exception\\",\\n \\"TotalCount\\": 21\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeHistoryEventsStat', - ], - 'SwitchInstanceZoneFailOver' => [ - 'summary' => 'Switches an instance from the current zone to the specified zone in the event of a fault.', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformToPrePaid'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformToPrePaid', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'UnlockDBInstanceWrite' => [ + 'summary' => 'Unlocks a write-locked instance. After the instance is unlocked, you can read and write data to and from the instance.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -24385,298 +20046,227 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'high', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240777', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', - ], + 'abilityTreeCode' => '192855', + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], - ], - [ - 'name' => 'TargetZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination zone.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-j', - ], - ], - [ - 'name' => 'SiteFaultTime', + 'name' => 'DBInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The duration for which the fault lasts. Unit: minutes.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* 5'."\n" - .'* 10'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5', - 'enum' => [ - '5', - '10', - ], - 'default' => '5', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2D9F3768-EDA9-4811-943E-42C8006E****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****'], + 'DBInstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'r-2ev03avw0r0552***', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10****', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D9F3768-EDA9-4811-943E-42C8006E****\\"\\n}","type":"json"}]', - 'title' => 'SwitchInstanceZoneFailOver', - ], - 'MasterNodeShutDownFailOver' => [ - 'summary' => 'Simulates database node failures.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\",\\n \\"DBInstanceName\\": \\"r-2ev03avw0r0552***\\",\\n \\"TaskId\\": 0\\n}","type":"json"}]', + 'title' => 'UnlockDBInstanceWrite', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnlockDBInstanceWrite'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:UnlockDBInstanceWrite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UntagResources' => [ + 'summary' => 'Removes tags from Tair (Redis OSS-compatible) instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'high', + 'operationType' => 'delete', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240096', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREkvstoreJ7QDWH', 'FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8', 'FEATUREkvstoreZ21KYW'], ], 'parameters' => [ [ - 'name' => 'FailMode', - 'in' => 'query', - 'schema' => [ - 'description' => '* **Hard**: stimulates a hardware failure that cannot be recovered. In this case, a high-availability switchover is triggered.'."\n" - .'* **Soft** (default): stimulates a hardware failure that can be recovered. In this case, the system first attempts to recover the faulty node. If the attempt fails, a high-availability switchover is triggered.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* Safe'."\n" - .'* UnSafe'."\n" - .'* Hard'."\n" - .'* Soft'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'UnSafe' => '', - 'Hard' => 'Hard', - 'Safe' => '', - 'Soft' => 'Soft', - ], - 'example' => 'Safe', - 'default' => 'Safe', - 'enum' => [ - 'Safe', - 'UnSafe', - 'Hard', - 'Soft', - ], - ], - ], - [ - 'name' => 'DBNodes', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the database nodes.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'r-rdsdavinx01003-db-0,r-rdsdavinx01003-db-1', - ], - ], - [ - 'name' => 'ProxyInstanceIds', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the proxy nodes.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => '6981,6982', - ], + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~473763~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ProxyFaultMode', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '* Specify: This mode allows you to specify a proxy node to use.'."\n" - .'* Random: In this mode, a random proxy node is selected when no proxy node is specified.'."\n", + 'description' => 'The resource type. Set the value to **INSTANCE**.'."\n", 'type' => 'string', - 'required' => false, - 'example' => 'Specify', - 'enum' => [ - 'Specify', - 'Random', - ], + 'required' => true, + 'docRequired' => true, + 'example' => 'INSTANCE', + 'enum' => ['INSTANCE', 'instance'], + 'title' => '', ], ], [ - 'name' => 'DBFaultMode', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => '* Specify: This mode allows you to specify a database node to use.'."\n" - .'* Random: In this mode, a random database node is selected when no database node is specified.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Random', - 'enum' => [ - 'Specify', - 'Random', - ], - ], + 'schema' => ['description' => 'Specifies whether to remove all tags from the instance. Valid values:'."\n" + ."\n" + .'* **true**: removes all tags from the instance.'."\n" + .'* **false** (default): does not remove all tags from the instance.'."\n" + ."\n" + .'> If you specify both this parameter and the **TagKey.N** parameter, this parameter does not take effect.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The instance ID. You can call the [DescribeInstances](~~473778~~) operation to query the instance ID.', - 'type' => 'string', - 'required' => false, + 'description' => 'The IDs of the instances.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-bp1zxszhcgatnx****', 'title' => ''], + 'required' => true, 'example' => 'r-bp1zxszhcgatnx****', + 'maxItems' => 51, + 'title' => '', ], ], [ - 'name' => 'Category', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The resource category. Set the value to instance.'."\n", - 'type' => 'string', + 'description' => 'The list of tag keys.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demokey', 'title' => ''], 'required' => false, - 'example' => 'instance', - 'default' => 'instance', + 'example' => 'demokey', + 'maxItems' => 21, + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '12123216-4B00-4378-BE4B-08005BFC****', - ], - 'DBInstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'r-bp1zxszhcgatnx****', - ], - 'TaskID' => [ - 'description' => 'The task ID.', - 'type' => 'string', - 'example' => '17566', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '601B6F25-21E7-4484-99D5-3EF2625C****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidTagKey.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Key or TagKey.n is not valid.', 'description' => ''], + ['errorCode' => 'InvalidTagValue.Malformed', 'errorMessage' => 'The specified parameter Tag.n.Value is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The specified parameter ResourceId.n is not valid.', 'description' => ''], + ['errorCode' => 'MissParameter.TagOrResourceId', 'errorMessage' => 'The parameter Tag.n or ResourceId.n is needed.', 'description' => 'The parameters Tag and ResourceId cannot all be empty. At least one of them is passed in.'], + ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The specified parameter Scope is not valid.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter number is exceed.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The Tags parameter number is exceed.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The specified parameter Tag.n.Key is duplicated.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'InvalidDbInstanceId.NotFound', 'errorMessage' => 'Specified instance does not exist.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12123216-4B00-4378-BE4B-08005BFC****\\",\\n \\"DBInstanceId\\": \\"r-bp1zxszhcgatnx****\\",\\n \\"TaskID\\": \\"17566\\"\\n}","type":"json"}]', - 'title' => 'MasterNodeShutDownFailOver', - ], - 'ModifyInstanceBandwidth' => [ - 'summary' => 'Sets the intended bandwidth value of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"601B6F25-21E7-4484-99D5-3EF2625C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\r\\n <RequestId>601B6F25-21E7-4484-99D5-3EF2625C****</RequestId>\\r\\n</UntagResourcesResponse>","errorExample":""}]', + 'title' => 'UntagResources', + 'description' => '* You can remove up to 20 tags at a time.'."\n" + .'* If a tag is removed from an instance and is not added to other instances, the tag is deleted.'."\n" + ."\n" + .'You can also remove tags from instances in the Tair (Redis OSS-compatible) console. For more information, see [Remove a tag](~~119157~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], + ], ], + ], + 'UpgradeProxy' => [ + 'summary' => 'Updates the proxy node of a cluster instance to the latest version.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '233858', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', - ], + 'abilityTreeCode' => '56529', + 'abilityTreeNodes' => ['FEATUREkvstore4XSUU7', 'FEATUREkvstoreDER7E8'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of the instance.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'r-bp1zxszhcgatnx****', - ], + 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'r-bp1vgja77wl7pb****', 'title' => ''], ], [ - 'name' => 'TargetIntranetBandwidth', + 'name' => 'ProxyInstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The total expected bandwidth of the instance.'."\n" - ."\n" - .'> If the instance is a cluster instance, the TargetIntranetBandwidth must be divisible by the number of shards in the instance. This operation is not supported for read/write splitting instances.', - 'type' => 'string', - 'required' => true, - 'example' => '260', - ], + 'schema' => ['description' => 'The IDs of the proxy nodes that you want to update. Separate multiple IDs with commas (,). This parameter is valid only for Redis Open-Source Edition classic instances.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'r-bp1vgja77wl7pb****-proxy-0', 'title' => ''], + ], + [ + 'name' => 'SwitchTimeMode', + 'in' => 'query', + 'schema' => ['description' => 'The time to execute the specification change. Valid values:'."\n" + ."\n" + .'* **Immediately** (default): immediately executes the change.'."\n" + .'* **MaintainTime**: executes the change during the maintenance window of the instance.'."\n" + ."\n" + .'> You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => 'Immediately', 'title' => ''], ], ], 'responses' => [ @@ -24684,1963 +20274,3713 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'description' => 'The ID of the order.'."\n", - 'type' => 'string', - 'example' => '236934422960904', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5D622714-AEDD-4609-9167-F5DDD3D1****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B830CDBB-91D9-5571-B6F4-35C76266****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B830CDBB-91D9-5571-B6F4-35C76266****\\"\\n}","type":"json"}]', + 'title' => 'UpgradeProxy', + 'description' => 'The procedure and impacts for updating the minor version of an instance varies based on the instance architecture. For more information, see [Update the minor version of an instance](~~56450~~).'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* Before you call this operation, you can call the [DescribeEngineVersion](~~473781~~) operation to query the current minor version of the proxy node.'."\n" + ."\n" + .'* The connection to the instance is interrupted during the update. We recommend that perform an update during off-peak hours. Make sure your application can reconnect to the instance after the update. For more information, see [Minor version update](~~56450~~).'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpgradeProxy'], + ], + 'product' => ['code' => 'kvstore', 'title' => '云数据库 Redis 版'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:UpgradeProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"236934422960904\\",\\n \\"RequestId\\": \\"5D622714-AEDD-4609-9167-F5DDD3D1****\\"\\n}","type":"json"}]', - 'title' => 'ModifyInstanceBandwidth', - 'description' => '* Before you call this operation, make sure that you understand the billing methods and pricing of instance bandwidth. Tair (Redis OSS-compatible) charges fees per hour based on the amount and usage duration of the extra bandwidth that you purchase. The fees vary based on the region that you select. For more information, see [Billable items](~~54532~~).'."\n" - .'* The bandwidth of an instance or a shard can be increased by up to six times the default bandwidth of the instance, but the increase in bandwidth cannot exceed 192 Mbit/s. For example, if the default bandwidth of a Tair DRAM-based master-replica instance equipped with 2 GB of memory is 96 Mbit/s, you can increase the bandwidth of the instance by up to 192 Mbit/s. As a result, the maximum bandwidth of the instance is 288 Mbit/s. If the default bandwidth of a Redis Open-Source Edition master-replica instance equipped with 256 MB of memory is 10 Mbit/s, you can increase the bandwidth of the instance by up to 60 Mbit/s. As a result, the maximum bandwidth of the instance is 70 Mbit/s.'."\n", ], - 'ModifyTaskInfo' => [ - 'summary' => 'Modifies the task information, such as the task execution time.', - 'methods' => [ - 'post', + ], + 'endpoints' => [ + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.aliyuncs.com', 'endpoint' => 'r-kvstore.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-beijing.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-beijing.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-zhengzhou-jva.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-qingdao.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-qingdao.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-wuhan-lr.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.aliyuncs.com', 'endpoint' => 'r-kvstore.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-hongkong.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-hongkong.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.aliyuncs.com', 'endpoint' => 'r-kvstore.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-shenzhen.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-shenzhen.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-nanjing.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-nanjing.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-nanjing.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-northeast-2.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-northeast-2.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-northeast-1.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-northeast-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-fuzhou.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-fuzhou.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-fuzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-chengdu.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-chengdu.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-guangzhou.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-guangzhou.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-1.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-2.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-2.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-3.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-3.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.cn-huhehaote.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-huhehaote.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-5.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-5.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-6.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-6.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.ap-southeast-7.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-southeast-7.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'r-kvstore.aliyuncs.com', 'endpoint' => 'r-kvstore.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.us-east-1.aliyuncs.com', 'endpoint' => 'r-kvstore.us-east-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.us-southeast-1.aliyuncs.com', 'endpoint' => 'r-kvstore.us-southeast-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.us-southeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.eu-west-1.aliyuncs.com', 'endpoint' => 'r-kvstore.eu-west-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.us-west-1.aliyuncs.com', 'endpoint' => 'r-kvstore.us-west-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.eu-central-1.aliyuncs.com', 'endpoint' => 'r-kvstore.eu-central-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'r-kvstore.na-south-1.aliyuncs.com', 'endpoint' => 'r-kvstore.na-south-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.na-south-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'r-kvstore.me-east-1.aliyuncs.com', 'endpoint' => 'r-kvstore.me-east-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'r-kvstore.me-central-1.aliyuncs.com', 'endpoint' => 'r-kvstore.me-central-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'r-kvstore.ap-south-1.aliyuncs.com', 'endpoint' => 'r-kvstore.ap-south-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.ap-south-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'r-kvstore.aliyuncs.com', 'endpoint' => 'r-kvstore.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-hangzhou-finance.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'r-kvstore.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'r-kvstore.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-beijing-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'r-kvstore.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'r-kvstore.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'r-kvstore-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Abs.InvalidAccount.NotFound', 'message' => 'account is not found.', 'http_code' => 400, 'description' => 'The account does not exist.'], + ['code' => 'AccountLimitExceeded', 'message' => 'The maximum number of accounts that can be created is exceeded.', 'http_code' => 403, 'description' => 'The maximum number of accounts that can be created has been exceeded'], + ['code' => 'ACCOUNT_BOOK_INSUFFICENT_BALANCE', 'message' => 'Account book does not have enough balance.', 'http_code' => null, 'description' => 'Your account balance is insufficient. Add funds to your account.'], + ['code' => 'ALI_CROUP_2_CLOUD_USER_CANNOT_BUY_NOT_INNER_COMMODITY', 'message' => 'Internal users of the company are not allowed to buy.', 'http_code' => 400, 'description' => 'Intra-group users are not allowed to purchase.'], + ['code' => 'AllocateVpcIp.NotEnough', 'message' => 'Ip resourc+B108:B183e is not enoughIp resource is not enough', 'http_code' => null, 'description' => 'The number of allocated IP addresses from B108 to b183e is insufficient.'], + ['code' => 'AlreadyPrePaid', 'message' => 'This instance is already prepaid', 'http_code' => null, 'description' => 'The instance has been changed into a subscription one.'], + ['code' => 'ApiException', 'message' => 'Processing timed out or generated an internal error.', 'http_code' => 400, 'description' => 'Processing timed out or generated an internal error.'], + ['code' => 'ApiInvokeTimeout', 'message' => 'The request timed out.', 'http_code' => 400, 'description' => 'The request timed out. Please try again later.'], + ['code' => 'AtLeastOneNetTypeExists', 'message' => 'Current DB instance net type does not support this operation.', 'http_code' => 400, 'description' => 'The network type of the current instance does not support this operation'], + ['code' => 'AUTH.RAM_AUTH_FAILED', 'message' => 'Authorization failed for sub account.', 'http_code' => null, 'description' => 'The permissions cannot be granted to the RAM user.'], + ['code' => 'BackupJobExists', 'message' => 'A backup job already exists in the specified DB instance.', 'http_code' => 400, 'description' => 'The current instance has uncompleted backup tasks. Wait until the backup tasks are completed before initiating a backup request.'], + ['code' => 'BackupTimesExceeded', 'message' => 'The maximum number of backups that can be created for an instance each day is exceeded.', 'http_code' => 400, 'description' => 'The daily backup time exceeds the upper limit.'], + ['code' => 'Bid.NotMatch', 'message' => 'CallerBid and ownerId\'s bid is not match.', 'http_code' => null, 'description' => 'The specified CallerBid value and ownerId value do not match.'], + ['code' => 'CanNotAcquireLock', 'message' => 'Can not acquire lock for this operation. Please try it later', 'http_code' => 403, 'description' => 'Can not acquire lock for this operation. Please try it later'."\n"], + ['code' => 'CanNotChangeShardCountWhenModify', 'message' => 'The number of shards cannot be changed.', 'http_code' => 200, 'description' => 'The number of data shards cannot be changed when you change the configurations of the instance.'], + ['code' => 'CanNotChangeShardCountWhenModify', 'message' => 'Can\'t change shard count when modify instance spec.', 'http_code' => 400, 'description' => 'The number of shards cannot be modified when the cloud disk cluster version instance is changed.'], + ['code' => 'CAN_NOT_FIND_SUBSCRIPTION', 'message' => 'No ordering information found.', 'http_code' => 400, 'description' => 'No ordering information found.'], + ['code' => 'ChargeTypeViolation', 'message' => 'The operation is not permitted due to charge type of the instance.', 'http_code' => null, 'description' => 'The operation is not supported by pay-as-you-go instances. Check the billing method of the instance.'], + ['code' => 'CLIENT.ALREADY_BOUND_TO_REPLICA_ERROR', 'message' => 'Source InstanceId already bound to a replica.', 'http_code' => null, 'description' => 'A disaster recovery channel has already been added to the source instance.'], + ['code' => 'CLIENT.CREATE_BACKUP_JOB_ERROR', 'message' => 'Create backup job error', 'http_code' => null, 'description' => 'Failed to create the backup task.'], + ['code' => 'CLIENT.DST_INST_SAME_AS_SRC_INST', 'message' => 'Destination InstanceId is the same as source InstanceId.', 'http_code' => null, 'description' => 'The specified source and destination instances are the same.'], + ['code' => 'CLIENT.GENERAL_ERROR', 'message' => 'BLS error.', 'http_code' => null, 'description' => 'An error has occurred on the disaster recovery system.'], + ['code' => 'CLIENT.INSTANCE_ID_NOT_FOUND', 'message' => 'InstanceId not found', 'http_code' => null, 'description' => 'Failed to find the instance.'], + ['code' => 'CLIENT.MISSING_REQUIRED_PARAM', 'message' => 'Missing required param.', 'http_code' => null, 'description' => 'The required parameter must be specified.'], + ['code' => 'CLIENT.PRODUCT_TEMPLATE_NOT_FOUND', 'message' => 'Product\'s template not found.', 'http_code' => null, 'description' => 'Failed to find the product template.'], + ['code' => 'CLIENT.UNPROCESSABLE_ENTITY', 'message' => 'Unprocessable Entity.', 'http_code' => null, 'description' => 'The request cannot processed.'], + ['code' => 'CLIENT.UNSUPPORTED_ENGINE_TYPE', 'message' => 'Unsupported engine type.', 'http_code' => null, 'description' => 'The engine type is not supported.'], + ['code' => 'CLIENT.UNSUPPORTED_PRODUCT', 'message' => 'Unsupported product.', 'http_code' => null, 'description' => 'The product is not supported.'], + ['code' => 'CLIENT.WRONG_STATUS', 'message' => 'BLS Wrong status.', 'http_code' => null, 'description' => 'An error has occurred on the disaster recovery system.'], + ['code' => 'CLIENT.WRONG_STATUS_STATUS', 'message' => 'Source instance\'s tatus does not support this operation.', 'http_code' => null, 'description' => 'The operation is not supported while the source instance is in the current state.'], + ['code' => 'ClusterNotSupport', 'message' => 'The instance cluster does not support this operation.', 'http_code' => 400, 'description' => 'The cluster does not support this operation.'], + ['code' => 'COMMODITY.INVALID_COMPONENT', 'message' => 'Component choosed is not valid', 'http_code' => null, 'description' => 'The specified instance component is invalid. Check the component.'], + ['code' => 'CommodityVerifyFail', 'message' => 'Your account status check has failed', 'http_code' => null, 'description' => 'Failed to check the account status.'], + ['code' => 'CreateOrder.Failed', 'message' => 'Create order failed.', 'http_code' => null, 'description' => 'Failed to create the order.'], + ['code' => 'DefaultVpc.NotSupport', 'message' => 'The default vpc create is not support.', 'http_code' => null, 'description' => 'A default VPC cannot be created.'], + ['code' => 'delete is not allowed', 'message' => 'temp instance is creating', 'http_code' => null, 'description' => 'The temporary instance is being created.'], + ['code' => 'DirectNotSupportSslOperation', 'message' => 'cs direct do not support ssl operation.', 'http_code' => 400, 'description' => 'Classic cluster instances with directly connected addresses do not support TLS/SSL encryption'], + ['code' => 'DirectTransNodeDoubleLevelError', 'message' => 'The direct custins tranfer node double target level error.', 'http_code' => 400, 'description' => 'When adjusting only the number of shards for directly connected instances and global multi-active instances, you need to specify 2 or 0.5 times the original number of shards.'], + ['code' => 'DirectTransUpgradeMajorVersionNotSupport.Malformed', 'message' => 'Direct connection mode is not supported for upgrading engine versions.', 'http_code' => 400, 'description' => 'The error message returned because the instance uses the direct connection mode.'], + ['code' => 'DryRunOperation', 'message' => 'Request validation has been passed with DryRun flag set.', 'http_code' => 400, 'description' => 'The request performs the pre-check operation and has passed the pre-check, and does not create an instance.'], + ['code' => 'EngineVersion.NotSupportOnLocalDisk', 'message' => 'Local disk instance does not support this engine version.', 'http_code' => 400, 'description' => 'Classic version (local disk) instance does not support this database version'], + ['code' => 'ExceedQuota', 'message' => 'Up to 15 queries can be run at the same time.', 'http_code' => 403, 'description' => 'The number of requests reached the upper limit. Each user account can run up to 15 queries at the same time.'], + ['code' => 'Forbbiden.MinorVersion', 'message' => 'The operation is not permitted for current minor version.', 'http_code' => null, 'description' => 'The operation is not supported by this instance version.'], + ['code' => 'Forbbiden.NotInvitedUser', 'message' => 'User not in the invitation list.', 'http_code' => null, 'description' => 'The account is invalid.'], + ['code' => 'Forbbiden.SubUser', 'message' => 'The specified action is not available for you.', 'http_code' => null, 'description' => 'The user does not have the permissions to perform the operation.'], + ['code' => 'Forbedden.NotSupportRAM', 'message' => 'This action does not support accessed by RAM mode.', 'http_code' => null, 'description' => 'RAM users are not allowed to perform the operation.'], + ['code' => 'Forbidden.InstanceNotFound', 'message' => 'The specified Instance is not found', 'http_code' => null, 'description' => 'The instance cannot be found. Call the DescribeInstances operation to query the instances that belong to the account.'], + ['code' => 'Forbidden.NotAdminUser', 'message' => 'User not authorized to operate on the specified API as you are not the administrator.', 'http_code' => null, 'description' => 'Your account is not an administrator account and does not have the permissions to call the API operation.'], + ['code' => 'Forbidden.RAM', 'message' => 'User not authorized to operate on the specified resource', 'http_code' => null, 'description' => 'The RAM user does not have the permissions required to manage the specified resource. Grant permissions to the user and try again.'], + ['code' => 'Forbidden.RiskControl', 'message' => 'This operation is forbidden by Aliyun Risk Control system.', 'http_code' => null, 'description' => 'The operation is denied by the Alibaba Cloud Risk Control system.'], + ['code' => 'GdcInstanceNotSupport', 'message' => 'The gdc custins trans not support', 'http_code' => 400, 'description' => 'The error message returned because the instance does not support this operation.'], + ['code' => 'GET_COMMODITY_FAILED', 'message' => 'Get commodity failed.', 'http_code' => null, 'description' => 'Failed to obtain the product information.'], + ['code' => 'has another restore in progress', 'message' => 'has another restore in progress', 'http_code' => null, 'description' => 'Other operations are in progress.'], + ['code' => 'HasDirectConnectionNotSupport', 'message' => 'The instance has direct connection does not support this operation.', 'http_code' => 400, 'description' => 'The error message returned because the instance uses the direct connection mode.'], + ['code' => 'HasRenewChangeOrder', 'message' => 'This instance has a renewChange order.', 'http_code' => null, 'description' => 'An order for renewal and configuration change already exists.'], + ['code' => 'IdempotentParameterMismatch', 'message' => 'Request uses a client token in a previous request but is not identical to that request.', 'http_code' => 400, 'description' => 'Idempotent check.'], + ['code' => 'ILLEGAL_ARGUMENT', 'message' => 'commodityCode is blank.', 'http_code' => null, 'description' => 'The commodityCode parameter must be specified. The QueryCommodity field is used to query commodities and the QueryPrice field is used to query prices.'], + ['code' => 'ILLEGAL_ARGUMENT', 'message' => 'The system security ip group cannot be modified.', 'http_code' => 400, 'description' => 'the system ip address whitelist with the hidden attribute cannot be modified.'], + ['code' => 'IncorrectBackupSetState', 'message' => 'Current backup set state does not support operations.', 'http_code' => null, 'description' => 'The operation is not supported while the backup is in the current state.'], + ['code' => 'IncorrectDBInstance.NotSupported', 'message' => 'This instance do not support log audit.', 'http_code' => 400, 'description' => 'This instance does not support audit log related services'], + ['code' => 'IncorrectDBInstanceCharacterType', 'message' => 'Current DB Instance character type does not support this operation.', 'http_code' => 400, 'description' => 'The type of the current instance does not support this operation.'], + ['code' => 'IncorrectDBInstanceLockMode', 'message' => 'Current DB instance lock mode does not support this operation.', 'http_code' => null, 'description' => 'The operation is not supported while the instance is being locked.'], + ['code' => 'IncorrectDBInstanceState', 'message' => 'Current DB instance state does not support this operation.', 'http_code' => 403, 'description' => 'The operation cannot be performed until the instance is in the running state.'], + ['code' => 'IncorrectDBInstanceType', 'message' => 'Current DB instance type does not support this operation.', 'http_code' => null, 'description' => 'The operation is not supported while the instance has the current category. Read-only instances can be cloned and backed up.'], + ['code' => 'IncorrectDBState', 'message' => 'The instance status does not support this operation.', 'http_code' => 500, 'description' => 'The operation cannot be performed on the instance in the state.'], + ['code' => 'IncorrectEngineVersion', 'message' => 'Current engine version does not support operations.', 'http_code' => 400, 'description' => 'The current Redis version does not support this operation. Please refer to the relevant documentation for this operation to understand the Redis version requirements for this operation.'], + ['code' => 'IncorrectMinorVersion', 'message' => 'Current engine minor version does not support operations.', 'http_code' => 400, 'description' => 'The operation is not supported by the minor version of the instance. Update the instance to the latest minor version and try again.'], + ['code' => 'IncorrectPassword', 'message' => 'The Password provided is not correct.', 'http_code' => null, 'description' => 'The specified password is incorrect.'], + ['code' => 'IncorrectTargetMajorVersion', 'message' => 'Current target majorversion does not support this operation.', 'http_code' => 400, 'description' => 'the current operation does not support the specified target major version. make sure that the specified target major version is greater than the current major version of the instance.'], + ['code' => 'INQUERY_ORDER_FEE_FAILED', 'message' => 'Query price error.', 'http_code' => null, 'description' => 'The inquiry failed.'], + ['code' => 'instance id not existed or frozened', 'message' => 'instance id not existed or frozened', 'http_code' => null, 'description' => 'The instance does not exist or is locked.'], + ['code' => 'instance snapshot settings not existed', 'message' => 'instance snapshot settings not existed', 'http_code' => null, 'description' => 'The snapshot is being created or already exists.'], + ['code' => 'InstanceClassDoesNotChange', 'message' => 'The instance class does not change. Please select a new one.', 'http_code' => 400, 'description' => 'The instance specification has not changed. Please modify the post chong\'sh'], + ['code' => 'InstanceOperationUnsupported', 'message' => 'This operation is not supported in the current instance.', 'http_code' => 400, 'description' => 'The current instance does not support this operation.'], + ['code' => 'InstanceStatus.NotSupport', 'message' => 'Instance status does not support this operation.', 'http_code' => 400, 'description' => 'The error message returned because the operation is not supported while the instance is in the current state.'], + ['code' => 'InstanceType.NotSupport', 'message' => 'Current instance type does not support this operation.', 'http_code' => 400, 'description' => 'The current instance type does not support this operation'], + ['code' => 'InstanceType.NotValid', 'message' => 'Current instance type does not support this operation.', 'http_code' => null, 'description' => 'The operation is not supported while the instance has the current category. Read-only instances can be cloned and backed up.'], + ['code' => 'InsufficientBalance', 'message' => 'Your account does not have enough balance.', 'http_code' => null, 'description' => 'Your account balance is insufficient. Add funds to your account and try again.'], + ['code' => 'InsufficientResourceCapacity', 'message' => 'There is insufficient capacity available for the requested instance.', 'http_code' => null, 'description' => 'The requested instance does not have sufficient capacity.'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => null, 'description' => 'An unknown error has occurred while processing the request.'], + ['code' => 'InternalFailure', 'message' => 'The request processing has failed due to some unknown error, exception or failure.', 'http_code' => 400, 'description' => 'An error has occurred on the server. Please try again later.'], + ['code' => 'InternalFailure', 'message' => 'The request processing has failed due to some unknown error, exception or failure', 'http_code' => 500, 'description' => 'An unknown error has occurred. Please try again later.'], + ['code' => 'invalid begin hour', 'message' => 'invalid begin hour', 'http_code' => null, 'description' => 'The start time is invalid.'], + ['code' => 'invalid end hour', 'message' => 'invalid end hour', 'http_code' => null, 'description' => 'The end time is invalid.'], + ['code' => 'InvalidAccountName.Duplicate', 'message' => 'Specified AccountName already exists in this instance.', 'http_code' => 400, 'description' => 'The error message returned because the account already exists.'], + ['code' => 'InvalidAction', 'message' => 'Specified action is not valid.', 'http_code' => null, 'description' => 'The specified operation is invalid.'], + ['code' => 'InvalidAuthorization', 'message' => 'The Request is not authorization.', 'http_code' => 400, 'description' => 'The error message returned because the authorization is invalid.'], + ['code' => 'InvalidBackupMethod.Format', 'message' => 'Specified backup method is not valid.', 'http_code' => null, 'description' => 'The specified backup method is invalid. Valid values: Logical and Physical. Default value: Physical. Logical backups are not supported for ApsaraDB for Redis instances in which no databases exist. SQL Server supports only physical backups.'], + ['code' => 'InvalidBackupOASRetentionPeriod.Malformed', 'message' => 'Specified backup OAS retention period is not valid.', 'http_code' => null, 'description' => 'The specified OAS backup retention period is invalid. Backup data can be retained for 7 to 730 days.'], + ['code' => 'InvalidBackupRetentionPeriod.Malformed', 'message' => 'Specified backup retention period is not valid.', 'http_code' => null, 'description' => 'The specified backup retention period is invalid. Backup data can be retained for 7 to 730 days.'], + ['code' => 'InvalidBackupSet.NotMatched', 'message' => 'Specified backup set does not match instance.', 'http_code' => 400, 'description' => 'The specified backup set and instance do not match'], + ['code' => 'InvalidBackupSetID.NotFound', 'message' => 'Specified backup set ID does not exist.', 'http_code' => null, 'description' => 'The specified backup ID does not exist. Call the DescribeBackups operation to query backup IDs when you want to clone an instance.'], + ['code' => 'InvalidBackupType.Format', 'message' => 'Specified backup type is not valid.', 'http_code' => null, 'description' => 'The backup type is invalid. Valid values: Auto and FullBackup. Default value: Auto. If you set the backup type to Auto, ApsaraDB for Redis automatically performs a full data backup or incremental data backup. If you set the backup type to FullBackup, ApsaraDB for Redis performs a full data backup.'], + ['code' => 'InvalidCapacity.NotFound', 'message' => 'The Capacity provided does not exist in our records.', 'http_code' => 404, 'description' => 'The specified storage specification does not exist.'], + ['code' => 'InvalidClassicExpiredDays.Format', 'message' => 'The specified classicExpiredDays format is not valid.', 'http_code' => null, 'description' => 'The classicExpiredDays value is invalid. During network type switching, classic endpoints can be retained for 1 to 60 days and are retained for 7 days by default.'], + ['code' => 'InvalidClusterInstance.NotFound', 'message' => 'Specified cluster instance does not exist.', 'http_code' => 400, 'description' => 'The specified cluster instance is not found.'], + ['code' => 'InvalidComponent', 'message' => 'The specified component is not valid.', 'http_code' => 400, 'description' => 'The order contains an invalid commodity module component'], + ['code' => 'InvalidConnectionString', 'message' => 'ConnectionString is invalid, valid regex: ^\\w+$', 'http_code' => 400, 'description' => 'The prefix of the endpoint is invalid. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix can be 8 to 40 characters in length.'], + ['code' => 'InvalidConnectionString.Duplicate', 'message' => 'Specified connection string already exists in the Aliyun RDS.', 'http_code' => 400, 'description' => 'The error message returned because the endpoint already exists.'], + ['code' => 'InvalidConnectionString.Format', 'message' => 'Specified connection string is not valid.', 'http_code' => 400, 'description' => 'The connection string is invalid. Use a different one.'], + ['code' => 'InvalidConnectionString.NotFound', 'message' => 'The specified connection string or network type is not found.', 'http_code' => 400, 'description' => 'The specified connection address or network type cannot be found.'], + ['code' => 'InvalidConnectionStringOrPort.Duplicate', 'message' => 'Specified connection string or port want to be modified is the same with current net type.', 'http_code' => 400, 'description' => 'The connection string or port already exists.'], + ['code' => 'InvalidDB.NotFound', 'message' => 'Specified db does not exist or DB status does not support.', 'http_code' => null, 'description' => 'The database does not exist, or the operation is not supported while the database is in the current state.'], + ['code' => 'InvalidDBInstance.Malformed', 'message' => 'The specified db instance is invalid.', 'http_code' => 400, 'description' => 'The number of instance IDs passed in exceeds the limit.'], + ['code' => 'InvalidDBInstance.NotFound', 'message' => 'The specified DB instance is not found.', 'http_code' => null, 'description' => 'The instance cannot be found. Call the DescribeInstances operation to query the instances that belong to the account.'], + ['code' => 'InvalidDBInstanceClass.NotFound', 'message' => 'Specified DB instance class is not found.', 'http_code' => null, 'description' => 'The instance type is invalid. Check the instance type.'], + ['code' => 'InvalidDbInstanceId.NotFound', 'message' => 'Specified instance does not exist.', 'http_code' => 400, 'description' => 'The specified instance does not exist'], + ['code' => 'InvalidDBInstanceName.Deleted', 'message' => 'The specified DB instance is deleted.', 'http_code' => null, 'description' => 'The instance has been deleted.'], + ['code' => 'InvalidDns.Conflict', 'message' => 'ParamsError.DnsConflict', 'http_code' => 400, 'description' => 'The DNS connection string already exists.'], + ['code' => 'InvalidEndTime.Format', 'message' => 'Specified end time is not valid.', 'http_code' => 400, 'description' => 'The incoming end time does not meet the specification.'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'The Specified parameter EndTime is not valid.', 'http_code' => null, 'description' => 'The end time is invalid. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. Example: 2011-06-11T16:00Z.'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'The specified parameter EndTime is invalid.', 'http_code' => 400, 'description' => 'The format of the end time is invalid. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. Example: 2019-01-01T12:10Z.'], + ['code' => 'InvalidEngineVersion.Format', 'message' => 'Current EngineVersion does not support operations.', 'http_code' => 400, 'description' => 'The operation is not supported while the instance runs this engine version.'], + ['code' => 'InvalidEngineVersion.Malformed', 'message' => 'Specified engine version is not valid.', 'http_code' => 400, 'description' => 'The error message returned because the instance engine version is invalid.'], + ['code' => 'InvalidInput', 'message' => 'The specified parameter is not valid.', 'http_code' => 400, 'description' => 'The specified instance type parameter is invalid.'], + ['code' => 'InvalidInquiryPriceParamFault', 'message' => 'The request not refer to the correct order price param. please contact customer service.', 'http_code' => null, 'description' => 'The order price is incorrect. Submit a ticket.'], + ['code' => 'InvalidInstance', 'message' => 'Unable to modify or transfer instance r-uf6yprpva6zjdubwza to cluster: ECS cluster DbInstance does not support SecurityGroup', 'http_code' => 500, 'description' => 'The operation is invalid.'], + ['code' => 'InvalidInstanceId', 'message' => 'DBInstanceIdentifier does not refer to an existing DB instance.', 'http_code' => 400, 'description' => 'The specified instance ID cannot correspond to any instance.'], + ['code' => 'InvalidInstanceId.NotFound', 'message' => 'The InstanceId provided does not exist in our records.', 'http_code' => 400, 'description' => 'The instance does not exist in our record. You can call the DescribeInstances interface to view the instance information under the current user.'], + ['code' => 'InvalidInstanceId.NotFound', 'message' => 'The InstanceId provided does not exist in our records', 'http_code' => 400, 'description' => 'The instance ID does not exist.'], + ['code' => 'InvalidInstanceId.NotFound', 'message' => 'The InstanceId provided does not exist in our records .', 'http_code' => 400, 'description' => 'The instance does not exist in our record. You can call the DescribeInstances interface to view the instance information under the current user.'], + ['code' => 'InvalidInstanceIds.Malformed', 'message' => 'The Specified parameter "InstanceIds" is not valid.', 'http_code' => null, 'description' => 'The InstanceIds value is invalid.'], + ['code' => 'InvalidInstanceName.Malformed', 'message' => 'The Specified parameter "InstanceName" is not valid.', 'http_code' => null, 'description' => 'The instance name is invalid.'], + ['code' => 'InvalidInstances.Format', 'message' => 'The Specified parameter Instances is not valid.', 'http_code' => 400, 'description' => 'The Instances parameter passed in is invalid'], + ['code' => 'InvalidInstances.Malformed', 'message' => 'The Specified parameter "Instances" is not valid.', 'http_code' => 400, 'description' => 'The Instances parameter passed in is invalid.'], + ['code' => 'InvalidKey.Malformed', 'message' => 'Specified key is not valid.', 'http_code' => null, 'description' => 'The key is invalid.'], + ['code' => 'InvalidOrderCharge.NotSupport', 'message' => 'The specified order charge does not support this operation.', 'http_code' => 400, 'description' => 'The billing type of the specified instance is not supported.'], + ['code' => 'InvalidParam', 'message' => 'Period is invalid', 'http_code' => null, 'description' => 'The specified subscription duration is invalid.'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter "InstanceName" is not valid.', 'http_code' => null, 'description' => 'The instance name is invalid.'], + ['code' => 'InvalidParameter.Scope', 'message' => 'The specified Scope is invalid.', 'http_code' => 400, 'description' => 'The specified scope is invalid.'], + ['code' => 'InvalidParameterCombination', 'message' => 'The end time must be greater than the start time.', 'http_code' => null, 'description' => 'The end time must be later than the start time. For example, you can set the start time to 2011-05-30 T12:11:20Z and set the end time to 2011-06-08 T12:09:20Z.'], + ['code' => 'InvalidParameterCombination', 'message' => 'The end time must be greater than the start time', 'http_code' => 400, 'description' => 'The end time must be later than the start time.'], + ['code' => 'InvalidParameters.Format', 'message' => 'Specified parameters is not valid.', 'http_code' => 400, 'description' => 'The parameter is invalid.'], + ['code' => 'InvalidPassword.Malformed', 'message' => 'The Specified parameter "NewPassword" is not valid.', 'http_code' => 400, 'description' => 'Specified NewPassword parameters do not meet specification requirements'], + ['code' => 'InvalidPassword.Malformed', 'message' => 'The Specified parameter "Password" is not valid.', 'http_code' => 400, 'description' => 'The specified Password parameters do not meet the requirements'], + ['code' => 'InvalidPasswordFreeWhiteListCIDR', 'message' => 'Specified cidr 0.0.0.0/0 is forbidden when set password free.', 'http_code' => null, 'description' => 'The 0.0.0.0 IP address is included in a whitelist of an instance when password-free access within a VPC is being enabled for the instance.'], + ['code' => 'InvalidPreferredBackupPeriod.Malformed', 'message' => 'Specified backup period is not valid.', 'http_code' => null, 'description' => 'The backup cycle is invalid. Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.'], + ['code' => 'InvalidPreferredBackupTime', 'message' => 'Specified preferred backup time is not valid(HH:mmZ-HH:mmZ and one hour interval).', 'http_code' => 400, 'description' => 'When you modify a backup policy setting, the specified new backup time is invalid. The parameter PreferredBackupTime means that the backup time format is HH:mmZ-HH:mmZ(UTC time), and the backup time must be on the hour, and the interval time is 1 hour.'."\n" + ."\n"], + ['code' => 'InvalidPreferredBackupTime.Format', 'message' => 'Specified preferred backup time is not valid.', 'http_code' => null, 'description' => 'The backup time is invalid.'], + ['code' => 'InvalidPricePlan.NotFound', 'message' => 'The price plan tree does not refer to the account', 'http_code' => null, 'description' => 'The price plan is not applicable to the account.'], + ['code' => 'InvalidPricePlanResult.NotFound', 'message' => 'The price plan result does not refer to the account.', 'http_code' => null, 'description' => 'An error has occurred while performing a price inquiry. Submit a ticket.'], + ['code' => 'InvalidPriceTaxingFault', 'message' => 'The taxing price is not correct. please contact customer service.', 'http_code' => null, 'description' => 'An error has occurred while performing a price inquiry. Submit a ticket.'], + ['code' => 'InvalidReginAvzNotFound', 'message' => 'Specified user does not find the region and avz.', 'http_code' => 400, 'description' => 'Unable to find the corresponding zone'], + ['code' => 'InvalidRegion.Format', 'message' => 'Specified Region is not valid.', 'http_code' => 400, 'description' => 'The specified region is invalid.'], + ['code' => 'InvalidRegion.NotFound', 'message' => 'The RegionId or ZoneId provided does not exist in our records.', 'http_code' => null, 'description' => 'The specified region ID or zone ID does not exist in the records. Call the DescribeRegions operation to query the most recent region or zone list.'], + ['code' => 'InvalidRenewalDuration.Format', 'message' => 'The specified duration does not valid.', 'http_code' => 400, 'description' => 'The specified auto-renewal duration is invalid.'], + ['code' => 'InvalidRestoreTime', 'message' => 'Specified restore time must be later than the time point of opening backup log.', 'http_code' => 400, 'description' => 'The error message returned because the amount of time reserved to restore data is less than that is consumed to enable backup.'], + ['code' => 'InvalidSearchTimeRange', 'message' => 'search time range cannot be longer than a day.', 'http_code' => 400, 'description' => 'The specified query time range is invalid.'], + ['code' => 'InvalidSecurityGroup.NotFound', 'message' => 'Specified GlobalSecurityGroupIds is not valid.', 'http_code' => 400, 'description' => 'The specified security group ID is invalid. The instance failed to associate with the security group because the security group does not exist or is not in the same region as the instance.'], + ['code' => 'InvalidSecurityIPList.Duplicate', 'message' => 'The SecurityIPList duplicated', 'http_code' => 400, 'description' => 'The IP address has already been used.'], + ['code' => 'InvalidSecurityIPList.Format', 'message' => 'Specified security IP list format is not valid.', 'http_code' => null, 'description' => 'The specified secure IP addresses are invalid.'], + ['code' => 'InvalidSecurityIPList.NotFound', 'message' => 'Specified same security IP does not exist or at least one security IP need.', 'http_code' => 404, 'description' => 'The same IP as the specified IP was not found in the whitelist group, or no IP was passed in.'], + ['code' => 'InvalidSecurityIPList.QuotaExceeded', 'message' => 'Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list.', 'http_code' => 400, 'description' => 'The number of IP addresses in the list exceeds the limit'], + ['code' => 'InvalidShardCountforYaochiPhysicalMaotaiEcs', 'message' => 'Failed to get shard count for YaochiPhysicalMaotaiEcs instance class.', 'http_code' => 400, 'description' => 'Shard information not found'], + ['code' => 'InvalidStartTime.Format', 'message' => 'Specified start time is not valid.', 'http_code' => 400, 'description' => 'The incoming start time does not meet the specification requirements'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'The specified parameter StartTime is invalid. The correct UTC format is yyyy-MM-ddTHH:mmZ.', 'http_code' => 400, 'description' => 'The format of the start time is invalid. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. Example: 2019-01-01T12:10Z.'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'Failed to verify the specified parameter StartTime. The correct UTC format is yyyy-MM-ddTHH:mmZ.', 'http_code' => 400, 'description' => 'The format of the end time is invalid. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. Example: 2019-01-01T12:10Z.'], + ['code' => 'InvalidStartTimeAndEndTime.Malformed', 'message' => 'The end time must be greater than the start time.', 'http_code' => 400, 'description' => 'The end time must be later than the start time.'], + ['code' => 'InvalidStatus', 'message' => 'Specified instance status is Modifying.', 'http_code' => 400, 'description' => 'Specified instance status is Modifying.'], + ['code' => 'InvalidStatus.NotFound', 'message' => 'The Status provided does not exist in our records.', 'http_code' => null, 'description' => 'The operation is not supported while the instance is in the current state.'], + ['code' => 'InvalidTagValue.Malformed', 'message' => 'The specified Tag.n.Value is invalid. This parameter must be 0 to 128 characters in length and can contain Unicode letters, spaces, numbers, pluses (+), hyphens (-), equal signs (=), periods (.), underscores (_), colons (:), and forward slashes (/).', 'http_code' => 400, 'description' => 'The format of the tag value is invalid. The tag value can be 0 to 128 characters in length and can contain letters, spaces, digits, and special characters. Special characters include + - = . _ : /'], + ['code' => 'InvalidToken.Malformed', 'message' => 'The Specified parameter "Token" is not valid.', 'http_code' => null, 'description' => 'An error has occurred while authenticating the token.'], + ['code' => 'InvalidUser.NotFound', 'message' => 'Specified user does not exist.', 'http_code' => null, 'description' => 'The specified account does not exist.'], + ['code' => 'InvalidVPCId.NotFound', 'message' => 'Specified virtual vpc is not found.', 'http_code' => 400, 'description' => 'The specified VPC is not found. Check whether the VPC ID is correct.'], + ['code' => 'InvalidVpcParameter', 'message' => 'Specified VPC parameter is not valid.', 'http_code' => 400, 'description' => 'the specified vpc parameter is invalid.'], + ['code' => 'InvalidvSwitchId', 'message' => 'The Specified vSwitchId zone not supported.', 'http_code' => 400, 'description' => 'The specified vswitch is not supported in this Availability Zone'], + ['code' => 'InvalidVSwitchId.Mismatch', 'message' => 'The Specified vSwitchId does not matched vpc.', 'http_code' => 400, 'description' => 'The specified vSwitch does not belong to the specified VPC. Check the vSwitch settings.'], + ['code' => 'InvalidZoneId.Format', 'message' => 'Specified ZoneId is not valid.', 'http_code' => 400, 'description' => 'The specified Availability Zone ID is invalid'], + ['code' => 'InvalidZoneId.NotFound', 'message' => 'The ZoneId provided is invalid.', 'http_code' => null, 'description' => 'The specified zone ID is invalid. Call the DescribeRegions operation to query the most recent zone list.'], + ['code' => 'IzNotSupportSwitchNetworkError', 'message' => 'Specify iz not support switch network.', 'http_code' => null, 'description' => 'The specified iz does not support network switching.'], + ['code' => 'IzNotSupportVpcError', 'message' => 'Specify iz not support vpc.', 'http_code' => null, 'description' => 'The specified iz does not support VPCs.'], + ['code' => 'LockTimeout', 'message' => 'The request processing has failed due to lock timeout.', 'http_code' => 400, 'description' => 'The current request conflicts with another request, please try again later.'], + ['code' => 'LxCreateOrderFailed', 'message' => 'Lx create order faied', 'http_code' => null, 'description' => 'The Lingxiao system failed to create the order.'], + ['code' => 'LX_CENTER_GET_COMMODITY_ERROR', 'message' => 'Get commodity from lx system error.', 'http_code' => 400, 'description' => 'The product information cannot be obtained because an error has occurred on the Lingxiao system.'], + ['code' => 'MinorVersionNotSupport', 'message' => 'Custins minor version does not support current action.', 'http_code' => 500, 'description' => 'The error message returned because this operation is not supported for the current minor engine version.'], + ['code' => 'missing bid', 'message' => 'missing bid', 'http_code' => null, 'description' => 'The bid parameter must be specified.'], + ['code' => 'missing instance id', 'message' => 'missing instance id', 'http_code' => null, 'description' => 'The instance ID is not specified.'], + ['code' => 'missing snapshot id', 'message' => 'missing snapshot id', 'http_code' => null, 'description' => 'The snapshot ID must be specified.'], + ['code' => 'missing task id', 'message' => 'missing task id', 'http_code' => null, 'description' => 'The task ID must be specified.'], + ['code' => 'missing temp instance id', 'message' => 'missing temp instance id', 'http_code' => null, 'description' => 'The temporary instance ID must be specified.'], + ['code' => 'missing uid', 'message' => 'missing uid', 'http_code' => null, 'description' => 'The uid parameter is not specified.'], + ['code' => 'MissingCapacity', 'message' => 'Capacity is mandatory for this action.', 'http_code' => null, 'description' => 'The Capacity parameter must be specified.'], + ['code' => 'MissingClassCode', 'message' => 'Capacity or InstanceClass is mandatory for this action.', 'http_code' => 404, 'description' => 'Capacity or InstanceClass is a required parameter.'], + ['code' => 'MissingParameter', 'message' => 'You must specify the parameter.', 'http_code' => 400, 'description' => 'The parameter must be specified.'], + ['code' => 'MissingParameter', 'message' => 'You must specify OwnerId.', 'http_code' => 400, 'description' => 'The OwnerId parameter must be specified.'], + ['code' => 'MissingParameter', 'message' => 'You must specify the parameter Period.', 'http_code' => 400, 'description' => 'The Period parameter must be specified.'], + ['code' => 'MissingParameter', 'message' => 'You must specify the required parameter.', 'http_code' => 400, 'description' => 'The required parameter must be specified.'], + ['code' => 'MissingParameter', 'message' => 'Either InstanceName or NewPassword must be specified.', 'http_code' => 400, 'description' => 'The instance name or password must be specified.'], + ['code' => 'MissingParameter', 'message' => 'You must specify the parameter InstanceId.', 'http_code' => 400, 'description' => 'The instance ID must be specified.'], + ['code' => 'MissingSwitchId', 'message' => 'VSwitchId is required for this operation.', 'http_code' => 400, 'description' => 'Specify VSwitchId.'], + ['code' => 'MissParameter.TagOrResourceId', 'message' => 'The parameter Tag.n or ResourceId.n is needed.', 'http_code' => 400, 'description' => 'The parameters Tag and ResourceId cannot all be empty. At least one of them is passed in.'], + ['code' => 'MODIFY_SYSTEM_SECURITY_IP_GROUP', 'message' => 'The system security ip group cannot be modified.', 'http_code' => 400, 'description' => 'system-generated ip address whitelist security group'], + ['code' => 'NetTypeExists', 'message' => 'Specified net type already existed.', 'http_code' => 400, 'description' => 'The specified network type already exists'], + ['code' => 'NetworkType.NotSupport', 'message' => 'Specified network type does not support this operation.', 'http_code' => 400, 'description' => 'The operation cannot be performed on an instance that has a public endpoint or a private endpoint. Release the endpoint and try again.'], + ['code' => 'NewSSLAlreadyEnabled', 'message' => 'new SSL have already been enabled.', 'http_code' => 400, 'description' => 'The instance has the new SSL certificate enabled.'], + ['code' => 'NotFoundOrder', 'message' => 'Order not found', 'http_code' => 404, 'description' => 'The error message returned because the order does not exist.'], + ['code' => 'NumberExceed.CustomTags', 'message' => 'The maximum number of Custom Tags (20) is exceeded.', 'http_code' => 400, 'description' => 'The number of custom tags cannot exceed 20.'], + ['code' => 'OnEcsInstance.NotSupport', 'message' => 'OnEcs Instance does not support this operation.', 'http_code' => 403, 'description' => 'The error message returned because the instance uses cloud disks.'], + ['code' => 'OperationDenied.AccountStatus', 'message' => 'The operation is not permitted due to status of account.', 'http_code' => 403, 'description' => 'This operation is not allowed due to the state of the account.'], + ['code' => 'ORDER.ACCOUNT_STATUS_ILLEGAL', 'message' => 'Current account status is illegal', 'http_code' => null, 'description' => 'Your account state is invalid.'], + ['code' => 'ORDER.BID_USER_ORDER_FORBIDDEN', 'message' => 'Bid account is not allowed to do this action', 'http_code' => null, 'description' => 'The operation cannot be performed by using a BID account.'], + ['code' => 'ORDER.INSTANCE_HAS_INACTIVE_CHANGE', 'message' => 'Current instance has inactive change action.', 'http_code' => null, 'description' => 'The instance has operations in progress.'], + ['code' => 'ORDER.INST_HAS_UNPAID_ORDER', 'message' => 'Current instance has unpaid order.', 'http_code' => null, 'description' => 'Your account has unpaid orders for the instance.'], + ['code' => 'ORDER.INST_HAS_UNSETTLED_BILLS', 'message' => 'Current instance has unsettled bills.', 'http_code' => null, 'description' => 'The account has unpaid orders for the instance.'], + ['code' => 'ORDER.NOT_ENOUGH_ACTIVITY_STOCK', 'message' => 'Does not have enough activity stock.', 'http_code' => null, 'description' => 'Insufficient resources are available.'], + ['code' => 'ORDER.ORDER_AMOUNT_ILLEGAL', 'message' => 'Current order\'s amount is illegal.', 'http_code' => null, 'description' => 'The order amount is invalid.'], + ['code' => 'ORDER.PERIOD_INVALID', 'message' => 'Period to buy is not valid.', 'http_code' => null, 'description' => 'The specified subscription period is invalid.'], + ['code' => 'ORDER.QUANTITY_INVALID', 'message' => 'Quantity to buy is not valid.', 'http_code' => null, 'description' => 'The specified purchase quantity is invalid.'], + ['code' => 'ORDER.SYS_CONSTRAINT_INVALID', 'message' => 'System constrains faild.', 'http_code' => null, 'description' => 'The order system constraint is invalid.'], + ['code' => 'ORD_S_QUERY_PROD_ERROR', 'message' => 'Error in querying ordering information.', 'http_code' => 400, 'description' => ''], + ['code' => 'Param.NotFound', 'message' => 'Specified Param %s is not found.', 'http_code' => 400, 'description' => 'Missing necessary parameters'], + ['code' => 'ParameterInvalid', 'message' => 'Too many queued queries', 'http_code' => 500, 'description' => 'The error message returned because the request is queued up. Try again later.'], + ['code' => 'ParameterLeastAssociate', 'message' => 'Must input at least one optional parameter.', 'http_code' => null, 'description' => 'At least one optional parameter must be specified.'], + ['code' => 'ParamNotAllowedModify', 'message' => 'Specified parameter is not allowed to be modify.', 'http_code' => 400, 'description' => 'The specified parameter cannot be modified'], + ['code' => 'ParamNotSupportedForCurrentVersion', 'message' => 'Parameter is not supported for current version.', 'http_code' => 401, 'description' => 'The error message returned because modifications to parameter values are not supported for the current engine version.'], + ['code' => 'PAY.ACCOUNT_BOOK_NOT_EXIST', 'message' => 'Pay failed for account book not exist.', 'http_code' => null, 'description' => 'The bill does not exist.'], + ['code' => 'PAY.AMOUNT_LIMIT_EXCEEDED', 'message' => 'Pay failed for amount limit exceed.', 'http_code' => null, 'description' => 'The order amount exceeds the upper limit.'], + ['code' => 'PAY.COUPON_NOT_EXIST', 'message' => 'Pay failed for coupon not exist.', 'http_code' => null, 'description' => 'The coupon does not exist.'], + ['code' => 'PAY.COUPON_NOT_MEET_CONSUMPTION_RULE', 'message' => 'Pay failed for coupon not meet consumption rule.', 'http_code' => null, 'description' => 'The coupon does not meet consumption rules.'], + ['code' => 'PAY.CURRENCY_INCONSISTENCY', 'message' => 'Pay failed for currency inconsistency.', 'http_code' => null, 'description' => 'The system does not support the currency with which you are attempting to pay for the order.'], + ['code' => 'PAY.CURRENCY_NOT_SUPPORTED', 'message' => 'Pay failed for currency not supported.', 'http_code' => null, 'description' => 'The currency is not supported.'], + ['code' => 'PAY.GET_PAY_URL_ERROR', 'message' => 'Pay failed for getting pay url error.', 'http_code' => null, 'description' => 'The payment URL is incorrect.'], + ['code' => 'PAY.INSUFFICIENT_BALANCE', 'message' => 'User attempted to create a new order.but user account balance is insufficient.', 'http_code' => null, 'description' => 'You have insufficient balance in your account.'], + ['code' => 'PAY.INVALID_AMOUNT', 'message' => 'Pay failed for invalid amount.', 'http_code' => null, 'description' => 'The order amount is invalid.'], + ['code' => 'PAY.INVALID_CREDIT_CARD', 'message' => 'Pay failed for credit card invalid.', 'http_code' => null, 'description' => 'The credit card is invalid.'], + ['code' => 'PAY.NO_CREDIT_CARD', 'message' => 'Pay failed for no credit card.', 'http_code' => null, 'description' => 'No credit cards are added to the account.'], + ['code' => 'PAY.PAYMENT_PARAMETER_ INVALID', 'message' => 'Pay failed for payment parameter not failed.', 'http_code' => null, 'description' => 'The payment parameter has an invalid value.'], + ['code' => 'PAY.PAY_ORDER_FAILED', 'message' => 'Pay order failed.', 'http_code' => null, 'description' => 'Failed to make the payment for the order.'], + ['code' => 'PAY.QUERY_QUOTA_BOOK_FAILED', 'message' => 'Pay failed for querying quota book failed.', 'http_code' => null, 'description' => 'Failed to obtain the quota.'], + ['code' => 'PAY.REFUND_FAILED', 'message' => 'Pay failed for refund failed.', 'http_code' => null, 'description' => 'An error has occurred while refunding.'], + ['code' => 'PAY.STORED_CARD_NOT_EXIST', 'message' => 'Pay failed for stored card not exist.', 'http_code' => null, 'description' => 'The memory card does not exist.'], + ['code' => 'PAY.TAX_CALC_FAILED', 'message' => 'Pay failed for tax calculate failed.', 'http_code' => null, 'description' => 'An error has occurred while performing tax calculation.'], + ['code' => 'PAY.USER_DECLINED', 'message' => 'Pay failed for user has declined.', 'http_code' => null, 'description' => 'The order has been cancelled.'], + ['code' => 'PAY.WITHHOLDING_AGREEMENT_ILLEGAL', 'message' => 'Pay failed for withholding agreement illagal.', 'http_code' => null, 'description' => 'Your account balance is insufficient to make the payment.'], + ['code' => 'PaymentMethodNotFound', 'message' => 'No payment method has been registered on the account.', 'http_code' => null, 'description' => 'No payment methods are specified for your account.'], + ['code' => 'PRICE.INQUIRY_FAILED', 'message' => 'Query price error.', 'http_code' => null, 'description' => 'Failed to obtain the price.'], + ['code' => 'PRODUCT.INSUFFICIENT_STOCK', 'message' => 'Dose not have enough resource.', 'http_code' => null, 'description' => 'Insufficient resources are available.'], + ['code' => 'PRODUCT.NOT_AVAILABLE_IZ', 'message' => 'Available iz is not valid.', 'http_code' => null, 'description' => 'The zone is invalid.'], + ['code' => 'ProxyError', 'message' => 'Invoke backend proxy error.', 'http_code' => 500, 'description' => 'Agent execution error, please try again later.'."\n"], + ['code' => 'PURCHASE.NO_VAILD_PURCHASE', 'message' => 'Dose not have valid purchase.', 'http_code' => null, 'description' => 'The purchase is invalid.'], + ['code' => 'PURCHASE.PURCHASE_QUERY_FAILED', 'message' => 'Query purchase failed.', 'http_code' => null, 'description' => 'Failed to obtain the purchase record.'], + ['code' => 'QUERY_PRICE_RESPONSE_ERROR', 'message' => 'Get price failed.', 'http_code' => null, 'description' => 'Failed to obtain the price.'], + ['code' => 'QuotaExceed', 'message' => 'Living afterpay instances quota exceed.', 'http_code' => null, 'description' => 'The maximum number of instances has been reached.'], + ['code' => 'QuotaExceed.AfterpayInstance', 'message' => 'Living afterpay instances quota exceeded.', 'http_code' => null, 'description' => 'The maximum number of instances has been reached.'], + ['code' => 'QuotaNotEnough', 'message' => 'Quota not enough in this zone.', 'http_code' => null, 'description' => 'The number of instances specified for this region is insufficient.'], + ['code' => 'RealNameAuthenticationError', 'message' => 'Your account has not passed the real-name authentication yet.', 'http_code' => null, 'description' => 'Your account has not completed real-name verification.'], + ['code' => 'RegionNotSupportGdc', 'message' => 'This region does not support create global distribute cache.', 'http_code' => 400, 'description' => 'The specified region does not support creating a distributed (Global Distributed Cache) instance.'], + ['code' => 'RequiredParam.NotFound', 'message' => 'Required input param is not found.', 'http_code' => 400, 'description' => 'Missing input parameter'], + ['code' => 'ResourceGroupNotExist', 'message' => 'ResourceGroup does not exist.', 'http_code' => 400, 'description' => 'The specified resource group does not exist.'], + ['code' => 'ResourceNotAvailable', 'message' => 'Resource you requested is not available for finance user.', 'http_code' => null, 'description' => 'The requested resource is unavailable to users of Alibaba Finance Cloud.'], + ['code' => 'RISK.RISK_CONTROL_REJECTION', 'message' => 'Operation is rejected for risk control.', 'http_code' => null, 'description' => 'The operation has been disabled due to risk management.'], + ['code' => 'SecurityGroup.NotSupported', 'message' => 'This region does not support security group.', 'http_code' => 400, 'description' => 'Security group-related operations are not supported in the current region.'], + ['code' => 'SecurityIPList.Duplicate', 'message' => 'Specified same security IP already exists.', 'http_code' => 400, 'description' => 'The specified whitelist group already contains the same IP address.'], + ['code' => 'SERVER.CLONE_INSTANCE_JOB_ERROR', 'message' => 'Clone instance job error.', 'http_code' => null, 'description' => 'Failed to clone the instance.'], + ['code' => 'SERVER.CREATE_BACKUP_JOB_ERROR', 'message' => 'Create backup job error.', 'http_code' => null, 'description' => 'An error has occurred while creating the backup.'], + ['code' => 'SERVER.INSTANCE_ID_NOT_FOUND', 'message' => 'Instance not found.', 'http_code' => null, 'description' => 'Failed to find the instance.'], + ['code' => 'SERVER.PRODUCT_TEMPLATE_NOT_FOUND', 'message' => 'Product\'s profile template not found.', 'http_code' => null, 'description' => 'The product overview template cannot be found.'], + ['code' => 'SERVER.WFE_ERROR', 'message' => 'Workflow engine error.', 'http_code' => null, 'description' => 'An error has occurred on the workflow engine.'], + ['code' => 'ServiceNotSupported', 'message' => 'The specified service is not supported.', 'http_code' => null, 'description' => 'The specified service is not supported.'], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => null, 'description' => 'A temporary error has occurred on the server while processing the request.'], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server', 'http_code' => 400, 'description' => 'A server error has occurred. Try again later. If the error persists, submit a ticket.'], + ['code' => 'SignatureNonceUsed', 'message' => 'Specified signature nonce was used already.', 'http_code' => null, 'description' => 'The specified signature has been used.'], + ['code' => 'snapshot id not existed', 'message' => 'snapshot id not existed', 'http_code' => null, 'description' => 'The snapshot ID does not exist.'], + ['code' => 'snapshot is creating', 'message' => 'snapshot is creating', 'http_code' => null, 'description' => 'The snapshot is currently being created.'], + ['code' => 'snapshot number exceed', 'message' => 'snapshot number exceed', 'http_code' => null, 'description' => 'The maximum number of snapshots has been reached.'], + ['code' => 'Snapshot operation forbidden', 'message' => 'instance inactive or has another task doing', 'http_code' => null, 'description' => 'The instance has not been activated or another task is currently in progress.'], + ['code' => 'SPEC_NOT_FOUND', 'message' => 'The module you purchased is illegal, please reselect.', 'http_code' => 400, 'description' => 'The purchased module is illegal, please re-select'], + ['code' => 'SSLEnabledStateExistsFault', 'message' => 'The SSL Certificate of the instance has been enabled.', 'http_code' => 400, 'description' => 'SSL encryption is enabled for the instance.'], + ['code' => 'SSLNotSupport', 'message' => 'old version custins does not support enable ssl.', 'http_code' => 400, 'description' => 'Older Redis instances do not support SSL/TLS encryption.'], + ['code' => 'SSLNotSupportNetType', 'message' => 'SSL instance does not support create public network.', 'http_code' => 403, 'description' => 'SSL-enabled instances do not allow you to create public networks.'], + ['code' => 'SYSTEM.SALE_VALIDATE_NO_SPECIFIC_CODE_FAILED', 'message' => 'The components you purchased is illegal.', 'http_code' => 400, 'description' => 'The module you purchased is illegal.'], + ['code' => 'SYSTEM.SYSTEM_ERROR', 'message' => 'Lx system error.', 'http_code' => null, 'description' => 'A system error has occurred.'], + ['code' => 'SYSTEM.UNKNOWN_ERROR', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => null, 'description' => 'An unknown error has occurred.'], + ['code' => 'TargetMajorVersionNotSupport', 'message' => 'The target major version not supported to upgrade.', 'http_code' => 400, 'description' => 'Upgrading to this large Redis version is not supported'], + ['code' => 'Task.Conflict', 'message' => 'Current instance has unfinished task(buy or modify spec).', 'http_code' => 400, 'description' => 'The current instance has an outstanding order task.'], + ['code' => 'TaskHasExist', 'message' => 'The task already exists.', 'http_code' => 500, 'description' => 'The task already exists.'], + ['code' => 'temp instance existed', 'message' => 'temp instance existed', 'http_code' => null, 'description' => 'The temporary instance already exists.'], + ['code' => 'temp instance id not existed or frozened', 'message' => 'temp instance id not existed or frozened', 'http_code' => null, 'description' => 'The temporary instance does not exist or is locked.'], + ['code' => 'temp instance not ready', 'message' => 'temp instance not ready', 'http_code' => null, 'description' => 'The temporary instance already exists.'], + ['code' => 'Throttling.Api', 'message' => 'Request was denied due to api flow control.', 'http_code' => 400, 'description' => 'The request is throttled. Please try again later.'], + ['code' => 'Throttling.User', 'message' => 'Request was denied due to user flow control.', 'http_code' => 403, 'description' => 'The error message returned because traffic throttling was triggered.'], + ['code' => 'uid not existed', 'message' => 'uid not existed', 'http_code' => null, 'description' => 'The specified uid does not exist.'], + ['code' => 'UnitCodeNotSupportAcrossRegion', 'message' => 'This unit is not allowed to cross unit.', 'http_code' => 500, 'description' => 'The current instance does not support migration in this region.'], + ['code' => 'unknown', 'message' => 'An unknown error occurred.', 'http_code' => 500, 'description' => 'An unknown system error occurred. Try again later.'], + ['code' => 'VpcAndVSwitchNotChange', 'message' => 'VpcId and vSwitchId not change.', 'http_code' => 400, 'description' => 'The VpcId and vSwitchId parameter values are not changed.'], + ['code' => 'VPCERROR.NOT_ENABLED', 'message' => 'VPC is not enabled in this zone.', 'http_code' => null, 'description' => 'The VPC service is unavailable in the current region.'], + ['code' => 'VpcFreePasswordNoSupport', 'message' => 'The custins opend VPCFreePassword not support this operation.', 'http_code' => 403, 'description' => 'This operation is not supported for the instance because the VPC secret exemption is enabled or the# no_loose_check-whitelist-always parameter is set to no at the same time.'], + ['code' => 'VpcId is wrong.', 'message' => 'VpcId is wrong.', 'http_code' => 400, 'description' => 'The specified VPC ID is invalid.'], + ['code' => 'VpcServiceError', 'message' => 'Failed to invoke the VPC service.', 'http_code' => 400, 'description' => 'Failed to call the VPC service.'], + ['code' => 'VpcVerifyError', 'message' => 'VpcId is wrong.UnsupportedParameter.', 'http_code' => null, 'description' => 'The VPC ID is invalid.'], + ['code' => 'Zone.Closed', 'message' => 'Specified zone is closed.', 'http_code' => 400, 'description' => 'The specified Availability Zone is closed'], + ['code' => 'Zone.NotSupport', 'message' => 'Specified zone does not support creating with instance class.', 'http_code' => null, 'description' => 'The category of the instance is not supported by the specified region.'], + ['code' => 'ZoneIdNotFound', 'message' => 'Specify iz not support switch network.', 'http_code' => 400, 'description' => 'Unable to find Availability Zone'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2026-03-04T14:06:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'TransformInstanceChargeType'], + ['description' => 'Request parameters changed', 'api' => 'TransformToPrePaid'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2026-01-14T10:30:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeIntranetAttribute'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '141280', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ3DM1I', - ], + 'createdAt' => '2025-12-22T07:20:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'EnableAdditionalBandwidth'], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance is deployed.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + 'createdAt' => '2025-12-12T02:46:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairKVCacheVNode'], + ['description' => 'Response parameters changed', 'api' => 'DescribeTairKVCacheInferInstances'], + ], + 'createdAt' => '2025-12-04T14:08:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2025-11-12T11:09:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeGlobalSecurityIPGroup'], + ], + 'createdAt' => '2025-10-30T14:43:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateAccount'], + ], + 'createdAt' => '2025-10-27T13:02:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateGlobalDistributeCache'], + ], + 'createdAt' => '2025-05-30T06:19:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2025-05-19T08:44:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2025-05-19T05:35:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateBackup'], + ['description' => 'Response parameters changed', 'api' => 'DescribeClusterBackupList'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Request parameters changed', 'api' => 'CreateBackup'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2025-04-22T09:37:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeHistoryTasks'], + ], + 'createdAt' => '2025-04-01T08:31:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'SwitchInstanceZoneFailOver'], + ], + 'createdAt' => '2025-03-31T08:34:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'SwitchInstanceZoneFailOver'], + ], + 'createdAt' => '2025-03-31T02:08:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateBackup'], + ['description' => 'Error codes changed', 'api' => 'DescribeAccounts'], + ], + 'createdAt' => '2025-03-25T11:18:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2025-03-14T08:05:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEncryptionKey'], + ], + 'createdAt' => '2025-03-13T12:03:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ModifyInstanceAutoRenewalAttribute'], + ], + 'createdAt' => '2025-02-27T12:09:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-02-27T08:29:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2025-02-27T06:33:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'MigrateToOtherZone'], + ], + 'createdAt' => '2025-02-19T09:16:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeAvailableResource'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2025-02-18T06:23:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DeleteShardingNode'], + ], + 'createdAt' => '2025-02-17T03:45:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2025-02-10T11:34:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupTasks'], + ['description' => 'Request parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2025-01-15T06:37:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2024-12-27T09:29:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceConfig'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceConfig'], + ], + 'createdAt' => '2024-12-11T07:57:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'SwitchInstanceZoneFailOver'], + ], + 'createdAt' => '2024-12-04T02:47:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2024-12-04T02:42:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceConfig'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceConfig'], + ], + 'createdAt' => '2024-12-03T02:53:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-11-20T01:49:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'MasterNodeShutDownFailOver'], + ], + 'createdAt' => '2024-11-12T09:29:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2024-11-06T11:34:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceConfig'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceConfig'], + ], + 'createdAt' => '2024-11-05T14:48:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2024-10-09T05:57:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-10-09T03:21:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DescribeRoleZoneInfo'], + ], + 'createdAt' => '2024-09-26T13:09:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'TransformToPrePaid'], + ], + 'createdAt' => '2024-09-09T12:54:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeBackups'], + ], + 'createdAt' => '2024-09-06T02:35:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyParameterGroup'], + ], + 'createdAt' => '2024-08-06T06:49:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceParameter'], + ], + 'createdAt' => '2024-08-05T08:39:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2024-07-31T03:06:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-07-30T05:39:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateAccount'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteAccount'], + ['description' => 'Request parameters changed', 'api' => 'GrantAccountPrivilege'], + ['description' => 'Request parameters changed', 'api' => 'ModifyAccountDescription'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ModifyAccountPassword'], + ['description' => 'Request parameters changed', 'api' => 'ResetAccountPassword'], + ], + 'createdAt' => '2024-07-11T12:25:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2024-06-19T12:39:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeParameterGroup'], + ['description' => 'Request parameters changed', 'api' => 'DescribeParameterGroups'], + ['description' => 'Request parameters changed', 'api' => 'ModifyParameterGroup'], + ], + 'createdAt' => '2024-06-17T11:40:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2024-05-23T02:14:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyBackupPolicy'], + ], + 'createdAt' => '2024-05-16T15:56:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2024-05-10T07:41:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeHistoryMonitorValues'], + ], + 'createdAt' => '2024-05-08T15:48:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ], + 'createdAt' => '2024-05-06T11:19:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-04-26T07:25:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateGlobalDistributeCache'], + ], + 'createdAt' => '2024-04-22T13:32:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEngineVersion'], + ], + 'createdAt' => '2024-04-22T13:16:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2024-04-10T07:57:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2024-04-07T05:48:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupTasks'], + ], + 'createdAt' => '2024-03-26T02:50:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2024-03-26T02:05:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2024-03-21T09:44:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2024-02-28T03:07:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AllocateInstancePublicConnection'], + ['description' => 'Error codes changed', 'api' => 'DeleteAccount'], + ['description' => 'Error codes changed', 'api' => 'DescribeEncryptionKey'], + ['description' => 'Error codes changed', 'api' => 'SwitchNetwork'], + ], + 'createdAt' => '2024-02-26T09:46:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2024-02-21T07:15:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyBackupPolicy'], + ], + 'createdAt' => '2024-01-30T11:36:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'RenewInstance'], + ], + 'createdAt' => '2024-01-30T11:28:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2024-01-29T03:37:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeClusterBackupList'], + ], + 'createdAt' => '2024-01-22T09:03:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-01-12T06:21:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2024-01-12T03:40:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeBackups'], + ], + 'createdAt' => '2024-01-03T02:43:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2024-01-03T02:31:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2023-12-27T03:45:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceNetInfo'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2023-12-27T03:41:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-12-22T03:18:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ModifyResourceGroup'], + ], + 'createdAt' => '2023-11-24T06:32:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'TransformInstanceChargeType'], + ], + 'createdAt' => '2023-11-21T08:50:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPolicy'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupTasks'], + ], + 'createdAt' => '2023-11-13T03:50:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupTasks'], + ], + 'createdAt' => '2023-11-06T03:24:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPolicy'], + ], + 'createdAt' => '2023-11-06T03:12:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEngineVersion'], + ], + 'createdAt' => '2023-10-18T10:37:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2023-10-13T03:15:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePrice'], + ], + 'createdAt' => '2023-09-18T06:07:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ModifyInstanceTDE'], + ], + 'createdAt' => '2023-09-14T02:23:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2023-09-05T08:11:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPolicy'], + ], + 'createdAt' => '2023-08-31T06:36:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AddShardingNode'], + ], + 'createdAt' => '2023-08-30T07:49:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2023-08-28T06:35:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2023-08-24T06:02:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeLogicInstanceTopology'], + ], + 'createdAt' => '2023-08-21T06:42:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeInstanceSSL'], + ['description' => 'Error codes changed', 'api' => 'DescribeInstanceTDEStatus'], + ['description' => 'Error codes changed', 'api' => 'DescribeSecurityIps'], + ], + 'createdAt' => '2023-08-16T03:19:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeAuditLogConfig'], + ['description' => 'Error codes changed', 'api' => 'DescribeSecurityGroupConfiguration'], + ], + 'createdAt' => '2023-08-16T03:15:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DescribeAvailableResource'], + ], + 'createdAt' => '2023-07-25T12:06:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeBackupPolicy'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupTasks'], + ], + 'createdAt' => '2023-07-25T11:34:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateGlobalDistributeCache'], + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-07-25T07:30:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CheckCloudResourceAuthorized'], + ['description' => 'Error codes changed', 'api' => 'FlushExpireKeys'], + ], + 'createdAt' => '2023-07-20T02:34:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeClusterMemberInfo'], + ], + 'createdAt' => '2023-07-06T03:24:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'AddShardingNode'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteShardingNode'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2023-07-04T12:59:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-06-29T01:52:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2023-06-26T06:05:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-06-21T09:06:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-06-21T07:47:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeInstancesOverview'], + ], + 'createdAt' => '2023-06-12T09:03:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeIntranetAttribute'], + ['description' => 'Request parameters changed', 'api' => 'EnableAdditionalBandwidth'], + ], + 'createdAt' => '2023-06-06T08:07:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeInstanceConfig'], + ['description' => 'Error codes changed', 'api' => 'DescribeZones'], + ], + 'createdAt' => '2023-05-08T09:41:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'RemoveSubInstance'], + ], + 'createdAt' => '2023-05-05T07:45:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'FlushInstance'], + ], + 'createdAt' => '2023-04-26T08:33:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeMonitorItems'], + ], + 'createdAt' => '2023-04-24T08:37:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2023-04-23T11:17:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ModifyResourceGroup'], + ], + 'createdAt' => '2023-04-23T06:05:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2023-04-13T07:09:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSSL'], + ], + 'createdAt' => '2023-04-11T05:54:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ModifyBackupPolicy'], + ], + 'createdAt' => '2023-04-03T12:59:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-04-03T08:17:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'AddShardingNode'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'CreateBackup'], + ['description' => 'Response parameters changed', 'api' => 'CreateGlobalDistributeCache'], + ['description' => 'Response parameters changed', 'api' => 'DeleteAccount'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'InitializeKvstorePermission'], + ['description' => 'Response parameters changed', 'api' => 'ModifyInstanceAttribute'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'ModifyInstanceAutoRenewalAttribute'], + ['description' => 'Response parameters changed', 'api' => 'ModifyInstanceMaintainTime'], + ['description' => 'Response parameters changed', 'api' => 'ModifyInstanceTDE'], + ], + 'createdAt' => '2023-03-24T08:25:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstancesOverview'], + ], + 'createdAt' => '2023-03-24T08:24:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2023-03-24T08:23:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeIntranetAttribute'], + ], + 'createdAt' => '2023-03-24T08:22:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2023-01-10T03:26:25.000Z', + 'description' => 'CreateTairInstance 增加 tag 参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeBackups'], + ], + 'createdAt' => '2022-11-29T09:11:18.000Z', + 'description' => '增加生成备份对应的备份任务的 id', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'RestoreInstance'], + ], + 'createdAt' => '2022-11-22T11:43:06.000Z', + 'description' => 'pitr 支持 time shift', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'CreateGlobalDistributeCache'], + ], + 'createdAt' => '2022-11-16T08:30:55.000Z', + 'description' => '创建全球多活去掉多余的响应参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEngineVersion'], + ], + 'createdAt' => '2022-11-15T06:29:24.000Z', + 'description' => '返回 SSL 相关参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ['description' => 'Error codes changed', 'api' => 'DescribeClusterMemberInfo'], + ], + 'createdAt' => '2022-11-14T08:15:54.000Z', + 'description' => 'tair_essd增加存储类型级别pl0,1,2,3', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2022-11-02T12:41:43.000Z', + 'description' => '修复 DescribeInstanceAttribute 对虚拟规格实例返回实际的实例规格', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEngineVersion'], + ], + 'createdAt' => '2022-09-26T11:40:05.000Z', + 'description' => '发布参数修改', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AddShardingNode'], + ['description' => 'Request parameters changed', 'api' => 'AddShardingNode'], + ['description' => 'Request parameters changed', 'api' => 'DescribeParameterModificationHistory'], + ['description' => 'Request parameters changed', 'api' => 'DescribeParameterModificationHistory'], + ], + 'createdAt' => '2022-09-16T08:11:18.000Z', + 'description' => '查询引擎版本增加5.5版本返回值', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeParameterModificationHistory'], + ], + 'createdAt' => '2022-08-23T12:02:24.000Z', + 'description' => 'redis增加查看参数修改历史的控制台功能和api', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2022-08-23T11:39:39.000Z', + 'description' => 'CreateInstance 接口不在支持经典网络实例创建', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ['description' => 'Error codes changed', 'api' => 'DescribeDBInstanceNetInfo'], + ], + 'createdAt' => '2022-07-27T12:04:24.000Z', + 'description' => '读写分离on ecs', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DeleteShardingNode'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceAttribute'], + ], + 'createdAt' => '2022-07-14T12:20:20.000Z', + 'description' => 'ECS读写分离架构', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2022-06-15T06:01:43.000Z', + 'description' => 'ShardCount配置默认值为1', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateTairInstance'], + ], + 'createdAt' => '2022-06-15T03:57:39.000Z', + 'description' => '创建增加OrderId返回', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'AddShardingNode'], + ], + 'createdAt' => '2022-06-06T06:09:48.000Z', + 'description' => 'AddShardingNode超时时间延长到30秒', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-05-23T06:51:40.000Z', + 'description' => '只读节点不可见', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-05-23T04:54:04.000Z', + 'description' => 'Redis支持大版本7.0', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2022-05-11T08:02:07.000Z', + 'description' => '增加shardcount支持创建云盘集群', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstancesOverview'], + ], + 'createdAt' => '2022-04-27T09:07:42.000Z', + 'description' => '文档问题修复', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-04-25T12:33:03.000Z', + 'description' => 'searchkey返回值去掉', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-03-30T09:07:58.000Z', + 'description' => 'DescribeInstances增加EdtionType', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DeleteShardingNode'], + ], + 'createdAt' => '2022-03-23T02:56:16.000Z', + 'description' => 'fix DeleteShardingNode ShardCount type.', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'RenewInstance'], + ], + 'createdAt' => '2022-03-15T03:56:29.000Z', + 'description' => 'RenewInstance支持ClientToken幂等参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeInstanceAttribute'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-03-07T08:04:14.000Z', + 'description' => '云盒展示cloudType字段', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateInstance'], + ['description' => 'Error codes changed', 'api' => 'CreateInstances'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2022-02-22T15:02:47.000Z', + 'description' => 'ModifyInstanceSpec 参数OrderType增加AUTO参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DeleteShardingNode'], + ], + 'createdAt' => '2022-02-22T13:16:01.000Z', + 'description' => 'DeleteShardingNode增加ShardCount分片数量', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2022-01-04T12:21:47.000Z', + 'description' => '增加CreateInstance错误码映射', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DescribeBackupTasks'], + ], + 'createdAt' => '2021-12-16T06:00:15.000Z', + 'description' => '修复DescribeBackupTasks 500错误', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2021-12-14T09:29:09.000Z', + 'description' => '补全错误码', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DescribeDedicatedClusterInstanceList'], + ], + 'createdAt' => '2021-12-14T04:01:45.000Z', + 'description' => '调整action参数顺序', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed', 'api' => 'DescribeParameters'], + ['description' => 'Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2021-12-08T07:58:22.000Z', + 'description' => '新增错误码映射', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateInstance'], + ], + 'createdAt' => '2021-12-07T15:37:24.000Z', + 'description' => '增加国际站后付费风控错误码', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstancesOverview'], + ], + 'createdAt' => '2021-11-23T14:24:06.000Z', + 'description' => '新增API:DescribeDBInstancesOverview', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'ModifyInstanceSpec'], + ], + 'createdAt' => '2021-11-03T13:44:30.000Z', + 'description' => '增加错误码映射', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeInstances'], + ['description' => 'Error codes changed', 'api' => 'DescribeRegions'], + ], + 'createdAt' => '2021-10-25T13:33:14.000Z', + 'description' => 'describeRegions优化', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBackup'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCloudResourceAuthorized'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceMonitor'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAccountDescription'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformInstanceChargeType'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroupTemplateList'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SwitchInstanceHA'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchNetwork'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstancesOverview'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteShardingNode'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTask'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateGlobalSecurityIPGroup'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConnectionString'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroup'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifySecurityGroupConfiguration'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTaskCount'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAccount'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGlobalDistributeCache'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteGlobalSecurityIPGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitializeKvstorePermission'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryMonitorValues'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RenewInstance'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceMinorVersion'], + ['threshold' => '1', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyDBInstanceMonitor'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSecurityGroupConfiguration'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyBackupPolicy'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVpcAuthMode'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameters'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeHistoryTasksStat'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTairKVCacheVNode'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceConfig'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGlobalDistributeCache'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceNetExpireTime'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateInstancePublicConnection'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceTDEStatus'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableAdditionalBandwidth'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceSpec'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupExpireTime'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveSubInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroups'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateDirectConnection'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceAutoRenewalAttribute'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FlushInstanceForDB'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAuditRecords'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackups'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceMajorVersion'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceBandwidth'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParameterGroup'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTairKVCacheInferInstances'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceAttribute'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceAutoRenewalAttribute'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClusterBackupList'], + ['threshold' => '1', 'countWindow' => 30, 'regionId' => '*', 'api' => 'MasterNodeShutDownFailOver'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceAttribute'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewAdditionalBandwidth'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTairInstance'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAuditLogConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEncryptionKey'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeGlobalSecurityIPGroupRelation'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySecurityIps'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GrantAccountPrivilege'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAccountPassword'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationMaintenanceConfig'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformToPrePaid'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LockDBInstanceWrite'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCacheAnalysisReportList'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBNodeDirectVipInfo'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTaskInfo'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceConfig'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'FlushExpireKeys'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SwitchInstanceZoneFailOver'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeGlobalSecurityIPGroup'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIntranetAttribute'], + ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateInstance'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCacheAnalysisTask'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeClusterMemberInfo'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterGroupSupportParam'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameterTemplates'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroupName'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDbInstanceConnectivity'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DestroyInstance'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRunningLogRecords'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpgradeProxy'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeEngineVersion'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeZones'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FlushInstance'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAvailableResource'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceNetInfo'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSecurityIps'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyActiveOperationTasks'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceAutoUpgrade'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceTDE'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyActiveOperationMaintainConfig'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstancePublicConnection'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceSSL'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditLogConfig'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeActiveOperationTasks'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDedicatedClusterInstanceList'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AddShardingNode'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceParameter'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBackup'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyIntranetAttribute'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateParameterGroup'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMonitorItems'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLogicInstanceTopology'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCacheAnalysisReport'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyResourceGroup'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SyncDtsStatus'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryTasks'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchInstanceProxy'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RestoreInstance'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnlockDBInstanceWrite'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEncryptionKeyList'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RestartInstance'], + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMaintainTime'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MigrateToOtherZone'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RebootProxy'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccount'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CancelActiveOperationTasks'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeParameterModificationHistory'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSlowLogRecords'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceSSL'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransformToEcs'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroup'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetAccountPassword'], + ['threshold' => '400', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccounts'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribePrice'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeServiceLinkedRoleExists'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteParameterGroup'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReleaseDirectConnection'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryEvents'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRoleZoneInfo'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupTasks'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHistoryEventsStat'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventInfo'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupPolicy'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyActiveOperationTask'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyGlobalSecurityIPGroupRelation'], + ], + 'product' => ['code' => 'kvstore', 'title' => 'R-kvstore'], + ], + 'ram' => [ + 'productCode' => 'Redis', + 'productName' => 'Tair (Redis OSS-compatible)', + 'ramCodes' => ['kvstore'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [ + [ + 'name' => 'kvstore:EnableBackupLog', + 'schema' => ['type' => 'String', 'description' => 'Enable data flashback feature, 1: Enable data flashback feature; 0: Disable data flashback feature'], + ], + [ + 'name' => 'kvstore:DbAudit', + 'schema' => ['type' => 'Boolean', 'description' => 'Audit log enabled status'], + ], + [ + 'name' => 'kvstore:InstanceType', + 'schema' => ['type' => 'String', 'description' => 'The instance type. When creating a Redis instance, the value is Redis or Memcache. When creating a Tair instance, the value is tair_rdb, tair_scm, or tair_essd.'], + ], + [ + 'name' => 'kvstore:VpcAuthMode', + 'schema' => ['type' => 'String', 'description' => 'In the authentication mode of a private network, Open: Passed password authentication; Close: Disable password authentication, that is, enable password-free access.'], + ], + [ + 'name' => 'kvstore:InstanceAofConfig', + 'schema' => ['type' => 'String', 'description' => 'Instance AOF parameter configuration'], + ], + [ + 'name' => 'kvstore:Appendonly', + 'schema' => ['type' => 'String', 'description' => 'For instance AOF configuration, yes to enable AOF persistence; no to disable AOF persistence'], + ], + [ + 'name' => 'kvstore:TDEStatus', + 'schema' => ['type' => 'String', 'description' => 'Enable Transparent Data Encryption (TDE) for the instance'], + ], + [ + 'name' => 'kvstore:SSLEnabled', + 'schema' => ['type' => 'String', 'description' => 'Whether to enable TLS (SSL) encryption'], + ], + [ + 'name' => 'kvstore:ResourceTag', + 'schema' => ['type' => 'String', 'description' => 'Redis tag information, it is used in combination with tag key, kvstore:ResourceTag/<tag-key>. Example: Assuming the tag is team:dev, the condition key and value are \\\\\\\\\\\\"kvstore:ResourceTag/team\\\\\\\\\\\\": \\\\\\\\\\\\"dev\\\\\\\\\\\\"'], + ], + [ + 'name' => 'kvstore:InstanceClass', + 'schema' => ['type' => 'String', 'description' => 'The instance type. Example: redis.master.small.default. Value Source: the value of the request parameter InstanceClass.'], + ], + [ + 'name' => 'kvstore:TLSVersion', + 'schema' => ['type' => 'String', 'description' => 'TLS protocol version used'], + ], + ], + 'ramActions' => [ + [ + 'apiName' => 'DescribeRunningLogRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeRunningLogRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The task ID. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 't-0mq3kfhn8i1nlt****', + ], + [ + 'apiName' => 'DeleteShardingNode', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteShardingNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'StepName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the current step.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'exec_task', + ], + [ + 'apiName' => 'TransformToPrePaid', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformToPrePaid', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'TaskAction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The action name. Set the value to **modifySwitchTime**. The value specifies that you want to change the switching time or restoration time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'modifySwitchTime', + ], + [ + 'apiName' => 'DescribeRoleZoneInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeRoleZoneInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ActionParams', - 'in' => 'query', - 'schema' => [ - 'description' => 'The JSON-formatted parameters related to the action. Set this parameter to `{"recoverMode": "xxx", "recoverTime": "xxx"}` if the **TaskAction** parameter is set to **modifySwitchTime**.'."\n" - ."\n" - .'* **recoverMode**: specifies the restoration mode for the task. Valid values:'."\n" - ."\n" - .' * **timePoint**: performs the task at the specified point in time.'."\n" - .' * **immediate**: performs the task immediately.'."\n" - .' * **maintainTime**: performs the task within the maintenance window.'."\n" - ."\n" - .'* **recoverTime**: specifies the point in time for restoration. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. This parameter is required if the **recoverMode** parameter is set to **timePoint**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"recoverMode\\":\\"immediate\\"}', + ], + [ + 'apiName' => 'ModifyInstanceNetExpireTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceNetExpireTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2B98499B-E62B-56D4-8D7F-3D6D4DB260F2', - ], - 'ErrorTaskId' => [ - 'description' => 'The ID of the failed task. This parameter is returned if a task fails.', - 'type' => 'string', - 'example' => 't-0mqaj5hnyofczv****', - ], - 'SuccessCount' => [ - 'description' => 'The number of completed tasks.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned if a task fails.'."\n", - 'type' => 'string', - 'example' => 'mst.errorcode.success.errormessage', - ], - ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B98499B-E62B-56D4-8D7F-3D6D4DB260F2\\",\\n \\"ErrorTaskId\\": \\"t-0mqaj5hnyofczv****\\",\\n \\"SuccessCount\\": \\"2\\",\\n \\"ErrorCode\\": \\"mst.errorcode.success.errormessage\\"\\n}","type":"json"}]', - 'title' => 'ModifyTaskInfo', - ], - 'ModifyBackupExpireTime' => [ - 'summary' => 'Extends the expiration time of manual backup data.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeEncryptionKey', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEncryptionKey', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyInstanceSSL', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '269550', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceSSL', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:SSLEnabled', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'BackupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup file. You can call the [DescribeBackups](~~473823~~) operation to query the IDs of backup files.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '521****66', + [ + 'apiName' => 'FlushExpireKeys', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushExpireKeys', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], ], - [ - 'name' => 'ExpectExpireTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time to which you want to extend the expiration time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. The time cannot be earlier than the current expiration time.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2025-07-06T07:25:57Z', + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', + ], + [ + 'apiName' => 'ModifySecurityGroupConfiguration', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifySecurityGroupConfiguration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B560AAD5-5027-51AD-A0D4-FA4DB1A76F40', - ], - ], + [ + 'apiName' => 'InitializeKvstorePermission', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:InitializeKvstorePermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B560AAD5-5027-51AD-A0D4-FA4DB1A76F40\\"\\n}","type":"json"}]', - 'title' => 'ModifyBackupExpireTime', - ], - 'DeleteBackup' => [ - 'summary' => 'Deletes a specified backup set. However, you can delete only backup sets that are manually backed up.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'CreateGlobalDistributeCache', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:CreateGlobalDistributeCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeEngineVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEngineVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeAuditLogConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAuditLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeCode' => '269551', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + [ + 'apiName' => 'DescribeAvailableResource', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAvailableResource', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'BackupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '521****66', + [ + 'apiName' => 'CreateCacheAnalysisTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateCacheAnalysisTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance. You can call the [DescribeInstances](~~473778~~) operation to query the ID of instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', + ], + [ + 'apiName' => 'RestartInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RestartInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F14475F4-644E-51EA-B1E8-E4D442093D0C', - ], - ], + [ + 'apiName' => 'LockDBInstanceWrite', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:LockDBInstanceWrite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyInstanceVpcAuthMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceVpcAuthMode', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:VpcAuthMode', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F14475F4-644E-51EA-B1E8-E4D442093D0C\\"\\n}","type":"json"}]', - 'title' => 'DeleteBackup', - ], - 'CreateTairKVCacheVNode' => [ - 'summary' => 'Creates a Tair VNode instance.', - 'methods' => [ - 'post', + [ + 'apiName' => 'DescribeParameterGroupSupportParam', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroupSupportParam', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ModifyInstanceAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyDBInstanceAutoUpgrade', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceAutoUpgrade', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '265464', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreSIWMD9', + [ + 'apiName' => 'DescribeTairSkvDdbTableSchema', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairSkvDdbTableSchema', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', + [ + 'apiName' => 'DescribeDedicatedClusterInstanceList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDedicatedClusterInstanceList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing-f', + ], + [ + 'apiName' => 'DescribeTairKVCacheInferInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairKVCacheInferInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance. The name must be 2 to 80 characters in length. The name must start with a letter and cannot contain spaces or the following special characters: `@ / : = " < > { [ ] }`'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vnodetest', + ], + [ + 'apiName' => 'ModifyInstanceTDE', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceTDE', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:TDEStatus', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'InstanceClass', - 'in' => 'query', - 'schema' => [ - 'description' => 'Instance specification'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'kvcache.cu.g4b.2'."\n", + ], + [ + 'apiName' => 'DescribeParameterModificationHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterModificationHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], - [ - 'name' => 'ComputeUnitNum', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of compute units. Valid values: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '1', - 'minimum' => '1', - 'enumValueTitles' => [ - 1 => '1', - ], - 'example' => '1', + ], + [ + 'apiName' => 'DescribeBackups', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'VkName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VCluster that contains the VNode.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tk-2ze4bba3c8fe****'."\n", + ], + [ + 'apiName' => 'ModifyIntranetAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyIntranetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch to which the instance belongs. The vSwitch must belong to the VPC of the VCluser. You can call the [DescribeVpcs](~~35739~~) operation to query the VPC ID.'."\n" - ."\n" - .'> The vSwitch and the instance must be deployed in the same zone.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-bp1e7clcw529l773d****', + ], + [ + 'apiName' => 'DescribeAccounts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'ChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The new billing method. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription. If you set this parameter to PrePaid, you must also specify the **Period** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrePaid' => 'PrePaid', - ], - 'example' => 'PrePaid', - 'default' => 'PrePaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], + ], + [ + 'apiName' => 'DescribeEncryptionKeyList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeEncryptionKeyList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Valid values: **1** to **9**, **12**, **24**, and **36**. Unit: months.'."\n" - ."\n" - .'> This parameter is required only if the **ChargeType** parameter is set to **PrePaid**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteAccount', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteAccount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'BusinessInfo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The extended information such as the promotional event ID and business information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '000000000'."\n", + ], + [ + 'apiName' => 'ModifyBackupExpireTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyBackupExpireTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CouponNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The coupon code.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'youhuiquan_promotion_option_id_for_blank', - 'default' => 'default', + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'AutoUseCoupon', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to use a coupon. Valid values:'."\n" - ."\n" - .'* **true**: uses a coupon.'."\n" - .'* **false**: does not use a coupon.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'ModifyGlobalSecurityIPGroupName', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroupName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AutoRenew', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disables auto-renewal.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeActiveOperationTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AutoRenewPeriod', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" - ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', + ], + [ + 'apiName' => 'ModifyInstanceParameter', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceParameter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group that you want to manage.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You can query resource group IDs in the console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View the basic information about a resource group](~~151181~~).'."\n" - ."\n" - .'* Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'maximum' => '4096', - 'minimum' => '1', - 'example' => 'rg-acfmyiu4ekp****', + ], + [ + 'apiName' => 'AllocateDirectConnection', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AllocateDirectConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'AutoPay', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic payment. Set the value to **true**.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - 'enum' => [ - 'true', - ], + ], + [ + 'apiName' => 'DeleteGlobalSecurityIPGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests and is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', + ], + [ + 'apiName' => 'CreateInstanceMultiVIP', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstanceMultiVIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'Details of the tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details of the tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n" - ."\n" - .'> A maximum of five key-value pairs can be specified at a time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1_test', - ], - 'Value' => [ - 'description' => 'The value of tag N of the instance.'."\n" - ."\n" - .'> **N** specifies the value of the nth tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1_test', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, + ], + [ + 'apiName' => 'DescribeBackupTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackupTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform a dry run. Valid values:'."\n" - ."\n" - .'* **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails to pass the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n" - .'* **false**: performs a dry run and performs the actual request. If the request passes the dry run, the instance is created.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'CreateBackup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateBackup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'VNodeType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'default' => 'fixed', - 'enum' => [ - 'fixed', - 'elastic', - ], + ], + [ + 'apiName' => 'DescribeServiceLinkedRoleExists', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeServiceLinkedRoleExists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ElasticTimeRange', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'FlushInstanceForDB', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushInstanceForDB', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Tair VNode instance.'."\n", - 'type' => 'string', - 'example' => 'tv-2zeb1ce76fee****', - ], - 'OrderId' => [ - 'description' => 'The order ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20905403119****', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ZoneId' => [ - 'description' => 'The zone ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing-f', - ], - 'VkName' => [ - 'description' => 'The ID of the VCluster instance.'."\n", - 'type' => 'string', - 'example' => 'tk-2ze4bba3c8fe****'."\n", - ], - 'VClusterId' => [ - 'description' => 'The ID of the VCluster.'."\n", - 'type' => 'string', - 'example' => 'vc-16965a9267*****-*****', - ], - 'NodeId' => [ - 'description' => 'The ID of the VNode.'."\n", - 'type' => 'string', - 'example' => 'vn-03a49876edb****', - ], - ], - 'description' => '', + [ + 'apiName' => 'FlushInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:FlushInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'Period is mandatory for this action.', + [ + 'apiName' => 'DescribeParameterTemplates', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterTemplates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidToken.Malformed', - 'errorMessage' => 'The Specified parameter Token is not valid.', + ], + ], + [ + 'apiName' => 'DescribeLogicInstanceTopology', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeLogicInstanceTopology', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidInstanceName.Malformed', - 'errorMessage' => 'The Specified parameter InstanceName is not valid.', + ], + ], + [ + 'apiName' => 'SyncDtsStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SyncDtsStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidPassword.Malformed', - 'errorMessage' => 'The Specified parameter Password is not valid.', + ], + ], + [ + 'apiName' => 'ModifyEventInfo', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyEventInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', + ], + ], + [ + 'apiName' => 'ModifyResourceGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyResourceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'QuotaExceed.AfterpayInstance', - 'errorMessage' => 'Living afterpay instances quota exceeded.', + ], + ], + [ + 'apiName' => 'DescribeSecurityGroupConfiguration', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSecurityGroupConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'dbinstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', + ], + ], + [ + 'apiName' => 'ModifyAccountDescription', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAccountDescription', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'ResourceNotAvailable', - 'errorMessage' => 'Resource you requested is not available for finance user.', + ], + ], + [ + 'apiName' => 'AddShardingNode', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AddShardingNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'PaymentMethodNotFound', - 'errorMessage' => 'No payment method has been registered on the account.', + ], + ], + [ + 'apiName' => 'DescribeCacheAnalysisReport', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeCacheAnalysisReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'dbinstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'Request uses a client token in a previous request but is not identical to that request.', + ], + ], + [ + 'apiName' => 'DescribeParameterGroups', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'QuotaNotEnough', - 'errorMessage' => 'Quota not enough in this zone.', + ], + ], + [ + 'apiName' => 'RebootProxy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RebootProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'QuotaExceed', - 'errorMessage' => 'Living afterpay instances quota exceed.', + ], + ], + [ + 'apiName' => 'ModifyDBInstanceMonitor', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceMonitor', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'VpcServiceError', - 'errorMessage' => 'Invoke vpc service failed.', + ], + ], + [ + 'apiName' => 'DescribeTairSkvDdbTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTairSkvDdbTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'IzNotSupportVpcError', - 'errorMessage' => 'Specify iz not support vpc.', + ], + ], + [ + 'apiName' => 'DescribeDBInstanceNetInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBInstanceNetInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The vpc does not cover the vswitch.', + ], + ], + [ + 'apiName' => 'ModifyGlobalSecurityIPGroupRelation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroupRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidIzNo.NotSupported', - 'errorMessage' => 'The Specified vpc zone not supported.', + ], + ], + [ + 'apiName' => 'DescribeInstanceMultiVIP', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceMultiVIP', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidAccountPassword.Format', - 'errorMessage' => 'Specified account password is not valid.', + ], + ], + [ + 'apiName' => 'DescribeCacheAnalysisReportList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeCacheAnalysisReportList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InstanceClass.NotMatch', - 'errorMessage' => 'Current instance class and instance type is not match.', + ], + ], + [ + 'apiName' => 'ReleaseInstancePublicConnection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:ReleaseInstancePublicConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidVPCId.NotFound', - 'errorMessage' => 'Specified virtual vpc is not found.', + ], + ], + [ + 'apiName' => 'ModifyActiveOperationMaintainConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationMaintainConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'AccountMoneyValidateError', - 'errorMessage' => 'Account money validate error.', + ], + ], + [ + 'apiName' => 'TransformInstanceChargeType', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformInstanceChargeType', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'RequestTokenConflict', - 'errorMessage' => 'Specified request token conflict.', + ], + ], + [ + 'apiName' => 'SwitchInstanceProxy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidIPNotInSubnet', - 'errorMessage' => 'Error ip not in subnet.', + ], + ], + [ + 'apiName' => 'CreateParameterGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidEngineVersion.Malformed', - 'errorMessage' => 'Specified engine version is not valid.', + ], + ], + [ + 'apiName' => 'DescribeAuditRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeAuditRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'Zone.Closed', - 'errorMessage' => 'The specified zone is closed.', + ], + ], + [ + 'apiName' => 'DescribeMonitorItems', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeMonitorItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'VSwithNotBelongToNotVpcFault', - 'errorMessage' => 'The vSwitch does not belong to current vpc.', + ], + ], + [ + 'apiName' => 'ModifySecurityIps', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifySecurityIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'PayIllegalAgreement', - 'errorMessage' => 'Pay mayi with holding agreement illegal.', + ], + ], + [ + 'apiName' => 'EnableAdditionalBandwidth', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:EnableAdditionalBandwidth', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'IllegalParamError', - 'errorMessage' => 'validateSaleConditionWithSubArticle failed.', + ], + ], + [ + 'apiName' => 'CreateTairInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairInstance', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:InstanceType'], ], - [ - 'errorCode' => 'InvalidRegion.Format', - 'errorMessage' => 'Specified Region is not valid.', + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], ], - 403 => [ - [ - 'errorCode' => 'RealNameAuthenticationError', - 'errorMessage' => 'Your account has not passed the real-name authentication yet.', + ], + [ + 'apiName' => 'DescribeHistoryTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'AuthorizationFailure', - 'errorMessage' => 'The request processing has failed due to authorization failure.', + ], + ], + [ + 'apiName' => 'ResetAccountPassword', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ResetAccountPassword', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'TokenServiceError', - 'errorMessage' => 'The specified token is duplicated, please change it.', + ], + ], + [ + 'apiName' => 'DescribeInstanceConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'UserCannotBuyNotInnerCommodity', - 'errorMessage' => 'The user can not buy this commodity without alibaba group tag.', + ], + ], + [ + 'apiName' => 'DescribeDbInstanceConnectivity', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDbInstanceConnectivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - [ - 'errorCode' => 'InvalidCapacity.NotFound', - 'errorMessage' => 'The Capacity provided does not exist in our records.', + ], + [ + 'apiName' => 'ModifyAccountPassword', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAccountPassword', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidvSwitchId', - 'errorMessage' => 'The Specified vSwitchId zone not supported.', + ], + ], + [ + 'apiName' => 'ModifyInstanceMinorVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMinorVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'InvalidVpcIdOrVswitchId.NotSupported', - 'errorMessage' => 'The Specified vpcId or vSwitchId not supported.', + ], + ], + [ + 'apiName' => 'DescribeInstancesOverview', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstancesOverview', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"InstanceId\\": \\"tv-2zeb1ce76fee****\\",\\n \\"OrderId\\": 0,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-beijing-f\\",\\n \\"VkName\\": \\"tk-2ze4bba3c8fe****\\\\n\\",\\n \\"VClusterId\\": \\"vc-16965a9267*****-*****\\",\\n \\"NodeId\\": \\"vn-03a49876edb****\\"\\n}","type":"json"}]', - 'title' => 'CreateTairKVCacheVNode', - ], - 'DescribeTairKVCacheInferInstances' => [ - 'summary' => 'Queries the information of one or more Tair (Redis OSS-compatible) KVCache instances.', - 'methods' => [ - 'get', + [ + 'apiName' => 'TransformToEcs', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:TransformToEcs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyInstanceBandwidth', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceBandwidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'MigrateToOtherZone', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:MigrateToOtherZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '265688', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstoreDER7E8', + [ + 'apiName' => 'CheckCloudResourceAuthorized', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:CheckCloudResourceAuthorized', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-beijing', + [ + 'apiName' => 'CreateTairSkvDdbTable', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairSkvDdbTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the instances that you want to query.'."\n" - ."\n" - .'> If you want to specify multiple instance IDs, separate the instance IDs with commas (,). You can specify a maximum of 30 instance IDs in a single request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tk-2zefe7728c2c****', + ], + [ + 'apiName' => 'CreateInstances', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstances', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:InstanceType', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:Appendonly'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], ], - [ - 'name' => 'InstanceStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'The state of the instance. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n" - ."\n" - .'> For more information about instance states, see [Instance states and impacts](~~200740~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', + ], + [ + 'apiName' => 'DescribeDBNodeDirectVipInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBNodeDirectVipInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'ChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The billing method of the simple application servers. Valid values:'."\n" - ."\n" - .'* **PrePaid**: subscription'."\n" - .'* **PostPaid**: pay-as-you-go'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrePaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], + ], + [ + 'apiName' => 'DescribeTags', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NetworkType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the instance. Default value: VPC. Valid values:'."\n" - ."\n" - .'* **VPC** (default)'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* CLASSIC'."\n" - .'* VPC'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - 'enum' => [ - 'CLASSIC', - 'VPC', - ], + ], + [ + 'apiName' => 'ModifyGlobalSecurityIPGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceClass', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'kvcache.cu.g4c.2', + ], + [ + 'apiName' => 'DescribeHistoryMonitorValues', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryMonitorValues', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:ResourceTag', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1nme44gek34slfc****', + ], + [ + 'apiName' => 'CreateTairSkvDdbWorkspace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairSkvDdbWorkspace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1e7clcw529l773d****', + ], + [ + 'apiName' => 'ModifyParameterGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the instance list. Start value: 1. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + ], + [ + 'apiName' => 'DescribeActiveOperationTaskCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTaskCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 30.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '0', - 'example' => '30', - 'default' => '30', + ], + [ + 'apiName' => 'CreateInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateInstance', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceClass', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:Appendonly', 'validationType' => 'always'], + ['conditionKey' => 'kvstore:InstanceType', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], ], ], - [ - 'name' => 'SearchKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that you want to use for fuzzy match. The keyword can be a part of an instance name or an instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apitest', + ], + [ + 'apiName' => 'ModifyInstanceAutoRenewalAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceAutoRenewalAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Expired', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the instance has expired. Valid values:'."\n" - ."\n" - .'* **true**: The instance has expired.'."\n" - .'* **false**: The instance has not expired.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeClusterBackupList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeClusterBackupList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-e', + ], + [ + 'apiName' => 'AllocateInstancePublicConnection', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:AllocateInstancePublicConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID. You can leave this parameter empty.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyiu4ekp****', + ], + [ + 'apiName' => 'DeleteBackup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteBackup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'Details of the tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details of the tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n" - ."\n" - .'> A maximum of five key-value pairs can be specified at a time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1_test', - ], - 'Value' => [ - 'description' => 'The value of tag N of the instance.'."\n" - ."\n" - .'> **N** specifies the value of the nth tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, + ], + [ + 'apiName' => 'DeleteParameterGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PrivateIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the instance. This parameter is deprecated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.49.***', + ], + [ + 'apiName' => 'DescribeGlobalSecurityIPGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CD225838-7069-5CE4-89E1-67B83AC149C8', - ], - 'PageNumber' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => 'The total number of returned records.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Instances' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TairInferInstanceDTO' => [ - 'description' => 'The information about the returned Tair (Redis OSS-compatible) KVCache instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The VPC ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'vpc-2zef5w848p4j5g***', - ], - 'CreateTime' => [ - 'description' => 'The creation time of the instance.'."\n", - 'type' => 'string', - 'example' => '2025-04-07T04:46Z', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the instance.'."\n", - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'NetworkType' => [ - 'description' => 'The network type of the instance.'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'InstanceName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'kvcache-7', - ], - 'InstanceClass' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'example' => 'kvcache.cu.g4b.2', - ], - 'DestroyTime' => [ - 'description' => 'The time when the instance was deleted.'."\n", - 'type' => 'string', - 'example' => '2025-04-07T04:46Z'."\n", - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'tk-9dp7e37bab*****', - ], - 'InstanceType' => [ - 'description' => 'The type of the instance. Valid values:'."\n" - ."\n" - .'* **TairInfer**: the inference operator instance'."\n" - .'* **TairKVCacheVnode**: the virtual cluster instance.'."\n" - .'* **TairKVCacheService**: the cache service instance.'."\n", - 'type' => 'string', - 'example' => 'TairInfer', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'EndTime' => [ - 'description' => 'The time when the subscription instance expires.'."\n", - 'type' => 'string', - 'example' => '2025-11-04T02:09:26Z', - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-8vbf0ksk774ai6q1d****', - ], - 'ResourceGroupId' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-acfm4bdru5z****', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-g', - ], - 'InstanceStatus' => [ - 'description' => 'The instance state. Valid values:'."\n" - ."\n" - .'* **Normal**: The instance is normal.'."\n" - .'* **Creating**: The instance is being created.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'Tags' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Tag' => [ - 'description' => 'Details of the tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Details of the tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'thread', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => '900', - ], - ], - ], - ], - ], - ], - 'PrivateIp' => [ - 'description' => 'The private IP address of the instance. This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => '172.16.49.***', - ], - 'Capacity' => [ - 'description' => 'The capacity of the KVCache. Unit: GB.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256', - ], - 'Model' => [ - 'description' => 'The built-in model of the inference operator instance.'."\n", - 'type' => 'string', - 'example' => 'DeepSeek-OCR', - ], - 'ModelServiceNum' => [ - 'description' => 'The number of model services of the inference operator instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ComputeUnitNum' => [ - 'description' => 'The number of compute units.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VNodeName' => [ - 'description' => 'The list of vNode instance names under the virtual cluster instance. This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => 'tv-xxxxx', - ], - 'AckId' => [ - 'description' => 'The ACK cluster ID corresponding to the virtual cluster instance.'."\n", - 'type' => 'string', - 'example' => 'c809******************************', - ], - 'VNodeCount' => [ - 'description' => 'The number of vNodes in the virtual cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'FixedVNodeCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ElasticVNodeCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'description' => '', - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'ModifyTaskInfo', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyTaskInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidInstanceIds.Malformed', - 'errorMessage' => 'The Specified parameter InstanceIds is not valid.', + [ + 'apiName' => 'ModifyActiveOperationTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD225838-7069-5CE4-89E1-67B83AC149C8\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 3,\\n \\"Instances\\": {\\n \\"TairInferInstanceDTO\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef5w848p4j5g***\\",\\n \\"CreateTime\\": \\"2025-04-07T04:46Z\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"InstanceName\\": \\"kvcache-7\\",\\n \\"InstanceClass\\": \\"kvcache.cu.g4b.2\\",\\n \\"DestroyTime\\": \\"2025-04-07T04:46Z\\\\n\\",\\n \\"InstanceId\\": \\"tk-9dp7e37bab*****\\",\\n \\"InstanceType\\": \\"TairInfer\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EndTime\\": \\"2025-11-04T02:09:26Z\\",\\n \\"VSwitchId\\": \\"vsw-8vbf0ksk774ai6q1d****\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4bdru5z****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"InstanceStatus\\": \\"Normal\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"thread\\",\\n \\"Value\\": \\"900\\"\\n }\\n ]\\n },\\n \\"PrivateIp\\": \\"172.16.49.***\\",\\n \\"Capacity\\": 256,\\n \\"Model\\": \\"DeepSeek-OCR\\",\\n \\"ModelServiceNum\\": 1,\\n \\"ComputeUnitNum\\": 1,\\n \\"VNodeName\\": \\"tv-xxxxx\\",\\n \\"AckId\\": \\"c809******************************\\",\\n \\"VNodeCount\\": 2,\\n \\"FixedVNodeCount\\": 0,\\n \\"ElasticVNodeCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'DescribeTairKVCacheInferInstances', - 'description' => 'You can call this operation to query the following Tair (Redis OSS-compatible) KVCache instances: inference operator instances, virtual cluster instances, and cache service instances.'."\n", - ], - 'TransformToEcs' => [ - 'summary' => 'Converts an instance use local disks to a cloud-native instance.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ModifyActiveOperationTasks', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'SwitchInstanceHA', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceHA', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeParameterGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'RestoreInstance', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '219593', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'ramAction' => [ + 'action' => 'kvstore:RestoreInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceClass', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance specification of the cloud-native instance. For more information, see [Overview](~~26350~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tair.rdb.1g', + [ + 'apiName' => 'DescribeActiveOperationMaintenanceConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationMaintenanceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The new billing method. Valid values:'."\n" - ."\n" - .'* **PostPaid:** pay-as-you-go'."\n" - .'* **PrePaid**: subscription. If you set this parameter to PrePaid, you must also specify the **Period** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - 'default' => 'PostPaid', - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], + ], + [ + 'apiName' => 'DescribeParameters', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], - [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration of the instance. Unit: months. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, **36**.'."\n" - ."\n" - .'> This parameter is available and required only if the **ChargeType** parameter is set to **PrePaid**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DescribeSlowLogRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSlowLogRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], ], - [ - 'name' => 'ShardCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of data shards in the cloud-native cluster instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', + ], + [ + 'apiName' => 'DescribeHistoryEvents', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance that you want to convert.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', + ], + [ + 'apiName' => 'DescribePrice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EngineVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine version of the instance. Valid values: **5.0**, **6.0**, and **7.0**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '5.0', - 'enum' => [ - '5.0', - '6.0', - '7.0', - ], + ], + [ + 'apiName' => 'DescribeDBInstanceMonitor', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeDBInstanceMonitor', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'EffectiveTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when a database switchover is performed after data is migrated. Valid values:'."\n" - ."\n" - .'* **Immediately**: A database switchover is performed immediately after data is migrated.'."\n" - .'* **MaintainTime**: A database switchover is performed during the maintenance window.'."\n" - ."\n" - .'> Default value: Immediately.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Immediately', - 'default' => 'Immediately', - 'enum' => [ - 'Immediately', - 'MaintainTime', - ], + ], + [ + 'apiName' => 'ModifyInstanceSpec', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'AutoRenew', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the auto-renewal feature. Valid values:'."\n" - ."\n" - .'* **true**: enables auto-renewal.'."\n" - .'* **false**: does not enable auto-renewal.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'enum' => [ - 'true', - 'false', - ], + ], + [ + 'apiName' => 'DescribeActiveOperationTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AutoRenewPeriod', - 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.'."\n" - ."\n" - .'> This parameter is required if the **AutoRenew** parameter is set to **true**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'enum' => [ - '1', - '2', - '3', - '6', - '12', - ], + ], + [ + 'apiName' => 'SwitchNetwork', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchNetwork', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform a precheck before the system creates the instance. Valid values:'."\n" - ."\n" - .'* **true**: The system performs a dry run and does not create the cloud-native instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails to pass the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n" - .'* **false**: performs a dry run and sends the request. If the request passes the dry run, the instance is created.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'DestroyInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DestroyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => 'DAABAD9B-890F-56C0-806C-6144946594AB', - ], - 'OrderId' => [ - 'description' => 'The order ID.'."\n", - 'type' => 'string', - 'example' => '20905403119****', - ], - ], + [ + 'apiName' => 'DescribeHistoryTasksStat', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryTasksStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeGlobalDistributeCache', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalDistributeCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DAABAD9B-890F-56C0-806C-6144946594AB\\",\\n \\"OrderId\\": \\"20905403119****\\"\\n}","type":"json"}]', - 'title' => 'TransformToEcs', - ], - 'ModifyDBInstanceMonitor' => [ - 'summary' => 'Modifies the monitoring granularity of a Tair (Redis OSS-compatible) instance.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ModifyInstanceMajorVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMajorVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeHistoryEventsStat', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeHistoryEventsStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeIntranetAttribute', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeIntranetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '56473', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreW1V0SW', + [ + 'apiName' => 'DescribeInstanceAttribute', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1zxszhcgatnx****', + [ + 'apiName' => 'CreateAccount', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateAccount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => 'The interval at which monitoring data is collected. Valid values: 5 and 60. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '5', - 'enum' => [ - '5', - '60', - ], + ], + [ + 'apiName' => 'GrantAccountPrivilege', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:GrantAccountPrivilege', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - ], - 'description' => '', + [ + 'apiName' => 'DescribeParameterGroupTemplateList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeParameterGroupTemplateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\"\\n}","type":"json"}]', - 'title' => 'ModifyDBInstanceMonitor', - ], - 'DescribeTags' => [ - 'summary' => 'Queries all tags in a region.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeInstanceTDEStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceTDEStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeClusterMemberInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeClusterMemberInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeSecurityIps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeSecurityIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeBackupPolicy', + 'description' => '', 'operationType' => 'get', - 'abilityTreeCode' => '56443', - 'abilityTreeNodes' => [ - 'FEATUREkvstore9GDS4D', + 'ramAction' => [ + 'action' => 'kvstore:DescribeBackupPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'CancelActiveOperationTasks', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:CancelActiveOperationTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Valid values: **INSTANCE** or **instance**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSTANCE', - 'default' => 'INSTANCE', - 'enum' => [ - 'INSTANCE', - 'instance', - ], + ], + [ + 'apiName' => 'CreateGlobalSecurityIPGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateGlobalSecurityIPGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n" - ."\n" - .'> This parameter is not required for the first request. If not all results are returned in one query, you can specify the token that is obtained from the previous query as the value of **NextToken**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '212db86sca4384811e0b5e8707ec2****', + ], + [ + 'apiName' => 'ModifyDBInstanceConnectionString', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyDBInstanceConnectionString', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token to use in the next request to get the next page. If this field is empty, there are no more results.'."\n" - ."\n" - .'> If not all results are returned in one query, this parameter is returned. You can pass in the returned value of this parameter for the next query.'."\n", - 'type' => 'string', - 'example' => '212db86sca4384811e0b5e8707ec2****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F3F44BE3-5419-4B61-9BAC-E66E295A****', - ], - 'Tags' => [ - 'description' => 'The details of the tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'TagKey' => [ - 'description' => 'The key of the tag.'."\n", - 'type' => 'string', - 'example' => 'size', - ], - 'TagValues' => [ - 'description' => 'The tag values.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the tag'."\n", - 'type' => 'string', - 'example' => '[\'test_value_2\']', - ], - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'DescribeInstanceAutoRenewalAttribute', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceAutoRenewalAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidTagKey.Malformed', - 'errorMessage' => 'The specified parameter \'Tag.n.Key\' or \'TagKey.n\' is not valid.', + [ + 'apiName' => 'ModifyAuditLogConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyAuditLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:DbAudit', 'validationType' => 'always'], ], - [ - 'errorCode' => 'InvalidTagValue.Malformed', - 'errorMessage' => 'The specified parameter \'Tag.n.Value\' is not valid.', + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], - [ - 'errorCode' => 'InvalidParameter.ResourceId', - 'errorMessage' => 'The specified parameter \'ResourceId.n\' is not valid.', + ], + ], + [ + 'apiName' => 'DeleteInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:DeleteInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'MissParameter.TagOrResourceId', - 'errorMessage' => 'The parameter \'Tag.n\'\' or \'ResourceId.n\' is needed.', + ], + ], + [ + 'apiName' => 'DescribeGlobalSecurityIPGroupRelation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'kvstore:DescribeGlobalSecurityIPGroupRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter.Scope', - 'errorMessage' => 'The specified parameter \'Scope\' is not valid.', + ], + ], + [ + 'apiName' => 'ReleaseDirectConnection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'kvstore:ReleaseDirectConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The ResourceIds parameter\'s number is exceed.', + ], + ], + [ + 'apiName' => 'UpgradeProxy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:UpgradeProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The Tags parameter\'s number is exceed.', + ], + ], + [ + 'apiName' => 'DescribeInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], + ['validationType' => 'conditional', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The specified parameter \'Tag.n.Key\' is duplicated.', + ], + ], + [ + 'apiName' => 'RemoveSubInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RemoveSubInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter.ResourceType', - 'errorMessage' => 'The specified parameter \'ResourceType\' is not valid.', + ], + ], + [ + 'apiName' => 'SwitchInstanceZoneFailOver', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:SwitchInstanceZoneFailOver', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - 404 => [ - [ - 'errorCode' => 'InvalidDbInstanceId.NotFound', - 'errorMessage' => 'Specified instance does not exist.', + ], + [ + 'apiName' => 'RenewAdditionalBandwidth', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RenewAdditionalBandwidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ModifyInstanceMaintainTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceMaintainTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"212db86sca4384811e0b5e8707ec2****\\",\\n \\"RequestId\\": \\"F3F44BE3-5419-4B61-9BAC-E66E295A****\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"size\\",\\n \\"TagValues\\": [\\n \\"[\'test_value_2\']\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeTags', - ], - 'DescribeDbInstanceConnectivity' => [ - 'summary' => 'Checks the connectivity between the client IP address and the instance.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'MasterNodeShutDownFailOver', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'kvstore:MasterNodeShutDownFailOver', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UnlockDBInstanceWrite', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:UnlockDBInstanceWrite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateTairKVCacheVNode', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'kvstore:CreateTairKVCacheVNode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeInstanceSSL', + 'description' => '', 'operationType' => 'get', - 'abilityTreeCode' => '160612', - 'abilityTreeNodes' => [ - 'FEATUREkvstoreJ7QDWH', - 'FEATUREkvstore4XSUU7', - 'FEATUREkvstoreDER7E8', - 'FEATUREkvstoreZ21KYW', + 'ramAction' => [ + 'action' => 'kvstore:DescribeInstanceSSL', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DBInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-bp1r36hdqlrgt1****', + [ + 'apiName' => 'RenewInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:RenewInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], - [ - 'name' => 'SrcIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the client.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '124.207.240.***', + ], + [ + 'apiName' => 'ModifyInstanceConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyInstanceConfig', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:InstanceAofConfig', 'validationType' => 'conditional'], + ['conditionKey' => 'kvstore:TLSVersion', 'validationType' => 'conditional'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '2BE6E619-A657-42E3-AD2D-18F8428A****', - ], - 'ConnCheckResult' => [ - 'description' => 'The connection check result. Valid values:'."\n" - ."\n" - .'* **Success**'."\n" - .'* **Failed**'."\n", - 'type' => 'string', - 'example' => 'Failed', - ], - 'ConnCheckErrorCode' => [ - 'description' => 'The error code for connection diagnosis. Valid values:'."\n" - ."\n" - .'* **SRC_IP_NOT_IN_USER_WHITELIST**: The source IP address is not added to the whitelist.'."\n" - .'* **CONNECTION_ABNORMAL**: The connection to the instance is normal.'."\n", - 'type' => 'string', - 'example' => 'SRC_IP_NOT_IN_USER_WHITELIST', - ], - 'ConnCheckErrorMessage' => [ - 'description' => 'The error message for connection diagnosis.'."\n", - 'type' => 'string', - 'example' => 'Src ip:172.28.134.96 not in user whitelist', - ], - ], + [ + 'apiName' => 'ModifyBackupPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'kvstore:ModifyBackupPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'kvstore:EnableBackupLog', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Redis', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2BE6E619-A657-42E3-AD2D-18F8428A****\\",\\n \\"ConnCheckResult\\": \\"Failed\\",\\n \\"ConnCheckErrorCode\\": \\"SRC_IP_NOT_IN_USER_WHITELIST\\",\\n \\"ConnCheckErrorMessage\\": \\"Src ip:172.28.134.96 not in user whitelist\\"\\n}","type":"json"}]', - 'title' => 'DescribeDbInstanceConnectivity', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'r-kvstore.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'r-kvstore.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-jva', - 'endpoint' => 'r-kvstore.cn-zhengzhou-jva.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'r-kvstore.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-nanjing', - 'endpoint' => 'r-kvstore.cn-nanjing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fuzhou', - 'endpoint' => 'r-kvstore.cn-fuzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'r-kvstore.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'r-kvstore.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'r-kvstore.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'r-kvstore.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'r-kvstore.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'r-kvstore.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'r-kvstore.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'r-kvstore.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'r-kvstore.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'r-kvstore.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'r-kvstore.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'r-kvstore.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'r-kvstore.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'r-kvstore.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'r-kvstore.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'r-kvstore.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'r-kvstore.me-east-1.aliyuncs.com', ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'r-kvstore.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'r-kvstore.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'r-kvstore.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'r-kvstore.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'r-kvstore.cn-beijing-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'r-kvstore.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan-lr', - 'endpoint' => 'r-kvstore.cn-wuhan-lr.aliyuncs.com', - ], - [ - 'regionId' => 'na-south-1', - 'endpoint' => 'r-kvstore.na-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-southeast-1', - 'endpoint' => 'r-kvstore.us-southeast-1.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/{#instanceId}'], + ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:instance/*'], + ['validationType' => 'always', 'resourceType' => 'TairInstance', 'arn' => 'acs:redis:{#regionId}:{#accountId}:tairinstance/{#TairInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'dbinstance', 'arn' => 'acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbInstanceId}'], ], ], ]; |
