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/tablestore | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/tablestore')
| -rw-r--r-- | data/en_us/tablestore/2020-12-09/api-docs.php | 4321 |
1 files changed, 2311 insertions, 2010 deletions
diff --git a/data/en_us/tablestore/2020-12-09/api-docs.php b/data/en_us/tablestore/2020-12-09/api-docs.php index f62a82f..6ab2243 100644 --- a/data/en_us/tablestore/2020-12-09/api-docs.php +++ b/data/en_us/tablestore/2020-12-09/api-docs.php @@ -1,93 +1,404 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'Tablestore', - 'version' => '2020-12-09', - ], + 'info' => ['style' => 'ROA', 'product' => 'Tablestore', 'version' => '2020-12-09'], 'directories' => [ [ - 'id' => 366132, - 'title' => null, + 'children' => ['CreateVCUInstance', 'DeleteVCUInstance'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'CreateVCUInstance', - 'DeleteInstance', - 'DeleteVCUInstance', - 'GetInstance', - 'UpdateInstance', - 'ListInstances', - ], - ], - [ - 'id' => 366140, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'ChangeResourceGroup', - 'ListTagResources', - 'TagResources', - 'UntagResources', - ], + 'title' => 'Instance', ], [ - 'id' => 366145, - 'title' => null, - 'type' => 'directory', 'children' => [ - 'UpdateInstancePolicy', - 'DeleteInstancePolicy', - 'CheckInstancePolicy', + 'ListClusterType', 'UpdateInstanceElasticVCUUpperLimit', 'BindInstance2Vpc', 'ListVpcInfoByInstance', 'ListVpcInfoByVpc', 'UnbindInstance2Vpc', 'BindAgentStorage2Vpc', 'ChangeResourceGroup', 'CheckAgentStoragePolicy', 'CheckInstancePolicy', 'CreateAgentStorage', 'CreateInstance', 'DeleteAgentStorage', 'DeleteAgentStoragePolicy', 'DeleteInstance', 'DeleteInstancePolicy', 'DescribeRegions', 'GetAgentStorage', 'GetInstance', 'ListAgentStorages', + 'ListInstances', 'ListTagResources', 'ListVpcInfoByAgentStorage', 'TagResources', 'UnbindAgentStorage2Vpc', 'UntagResources', 'UpdateAgentStorage', 'UpdateAgentStoragePolicy', 'UpdateInstance', 'UpdateInstancePolicy', ], - ], - [ - 'id' => 366149, - 'title' => null, 'type' => 'directory', - 'children' => [ - 'DescribeRegions', - ], - ], - [ - 'id' => 366151, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'ListClusterType', - 'UpdateInstanceElasticVCUUpperLimit', - 'BindInstance2Vpc', - 'ListVpcInfoByInstance', - 'ListVpcInfoByVpc', - 'UnbindInstance2Vpc', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'summary' => 'Creates an instance.', - 'path' => '/v2/openapi/createinstance', - 'methods' => [ - 'post', + 'BindAgentStorage2Vpc' => [ + 'summary' => 'Binds agent storage to a VPC.', + 'path' => '/v2/openapi/bindagentstorage2vpc', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC ID', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze***********g31n7', 'title' => ''], + 'VirtualSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'vsw-uf6***********ez6ge'], + 'AgentStorageName' => ['description' => 'The agent storage name.', 'type' => 'string', 'required' => true, 'example' => 'agent-test', 'title' => ''], + 'AgentStorageVpcName' => ['description' => 'The VPC name.', 'type' => 'string', 'required' => true, 'example' => 'remua', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used to troubleshoot and locate issues.', 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the instance.', 'type' => 'string', 'example' => '172.**.***.34', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Bind agent storage to a VPC', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"Domain\\": \\"remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com\\",\\n \\"Endpoint\\": \\"172.**.***.34\\"\\n}","type":"json"}]', + ], + 'BindInstance2Vpc' => [ + 'path' => '/v2/openapi/bindinstance2vpc', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze***********g31n7', 'title' => ''], + 'VirtualSwitchId' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'required' => true, 'example' => 'vsw-uf6***********ez6ge', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'required' => true, 'example' => 'mkdd-test', 'title' => ''], + 'InstanceVpcName' => ['description' => 'The VPC name.', 'type' => 'string', 'required' => true, 'example' => 'xu6666', 'title' => ''], + ], + 'description' => 'The request body parameters.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => 'E734979F-5A44-5993-9CE5-C23103576923'], + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', 'title' => ''], + 'Endpoint' => ['description' => 'The connection endpoint for the instance.', 'type' => 'string', 'example' => '172.**.***.34', 'title' => ''], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'BindInstance2Vpc', + 'summary' => 'Binds an instance to a VPC.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:BindInstance2Vpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'produces' => [ - 'application/json', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\",\\n \\"Domain\\": \\"xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"Endpoint\\": \\"172.**.***.34\\"\\n}","type":"json"}]', + ], + 'ChangeResourceGroup' => [ + 'path' => '/v2/openapi/changeresourcegroup', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['title' => 'resource id, aka ots instance name', 'description' => 'The resource ID, which is the instance name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'first-ins'], + 'NewResourceGroupId' => ['title' => 'new resource group id', 'description' => 'The ID of the new resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rg-aek3bgek3kxhyky'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The returned struct.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\"\\n}","type":"json"}]', + 'title' => 'ChangeResourceGroup', + 'summary' => 'Changes the resource group to which an instance belongs.', + 'changeSet' => [], + 'ramActions' => [], + ], + 'CheckAgentStoragePolicy' => [ + 'summary' => 'Checks the validity of an agent storage access control policy.', + 'path' => '/v2/openapi/checkagentstoragepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI', 'FEATUREotsL88RYP'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The agent storage name.', 'type' => 'string', 'required' => true, 'example' => 'agent-test'], + 'Policy' => ['title' => '', 'description' => 'The agent storage access control policy in JSON format.', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:agentstorage/myagentstorage*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "172.16.0.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => 'E734979F-5A44-5993-9CE5-C23103576923'], + 'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Verification passed.'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Check the validity of an agent storage access control policy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Verification passed.\\"\\n}","type":"json"}]', + ], + 'CheckInstancePolicy' => [ + 'path' => '/v2/openapi/checkinstancepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceName' => ['title' => '', 'description' => 'The name of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'workshop-bj-ots1'], + 'Policy' => ['title' => '', 'description' => 'The instance policy in the JSON format.'."\n", 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "172.16.0.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The returned struct.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '757E172A-F94B-5E78-8A23-D9068E42F2E9'], + 'Code' => ['title' => '', 'description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '', 'description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'Verification passed.'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"757E172A-F94B-5E78-8A23-D9068E42F2E9\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Verification passed.\\"\\n}","type":"json"}]', + 'title' => 'CheckInstancePolicy', + 'summary' => 'Checks the validity of a Resource Access Management (RAM) policy for an instance.', + 'changeSet' => [], + 'ramActions' => [], + ], + 'CreateAgentStorage' => [ + 'summary' => 'Creates an agent storage.', + 'path' => '/v2/openapi/createagentstorage', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -95,9 +406,147 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '85461', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The name of the agent storage. The naming conventions are as follows:'."\n" + .'- The name can contain only letters, digits, and hyphens (-).'."\n" + .'- The name must start with a letter.'."\n" + .'- The name cannot end with a hyphen (-).'."\n" + .'- The name is case-insensitive.'."\n" + .'- The name must be 3 to 16 characters in length.'."\n" + .'- The name cannot contain the following words: ali, ay, ots, taobao, or admin.', 'type' => 'string', 'required' => true, 'example' => 'first-agent'], + 'AgentStorageDescription' => ['title' => '', 'description' => 'The description of the agent storage. The description must be 3 to 256 characters in length.', 'type' => 'string', 'example' => 'description for agent storage', 'required' => false], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmxh4em5jnbcd', 'required' => false], + 'Network' => ['title' => '', 'description' => '(Deprecated) The network type of the agent storage. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL.', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + 'NetworkTypeACL' => [ + 'title' => '', + 'description' => 'The list of allowed network types for the agent storage. All types are allowed by default. Valid values:'."\n" + .'- CLASSIC: classic network.'."\n" + .'- INTERNET: public network.'."\n" + .'- VPC: VPC network.', + 'type' => 'array', + 'items' => ['description' => 'The allowed network type for the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'INTERNET', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'NetworkSourceACL' => [ + 'title' => '', + 'description' => 'The list of allowed network sources for the agent storage. All sources are allowed by default. Valid values:'."\n" + .'- TRUST_PROXY: console.', + 'type' => 'array', + 'items' => ['description' => 'The allowed network source for the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'TRUST_PROXY', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'Policy' => ['title' => '', 'description' => 'The access control policy for the agent storage in JSON format. For the syntax, see https://www.alibabacloud.com/help/en/ram/user-guide/policy-structure-and-syntax.', 'type' => 'string', 'maxLength' => 4000, 'required' => false, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:agentstorage/myagentstorage*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "198.51.100.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'Tags' => [ + 'title' => '', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag key-value pair.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag. The key can be up to 64 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'created', 'title' => ''], + 'Value' => ['description' => 'The value of the tag. The value can be up to 64 characters in length.', 'type' => 'string', 'required' => true, 'example' => '0woauavextilfqr61', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '18DD77BF-F967-576D-80D1-79121399AB53'], + 'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'success'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Create agent storage', + 'description' => '- **Before you use this operation, make sure that you fully understand the billing of Tablestore. For more information, see [Billing overview](~~27291~~).**'."\n" + .'- You can create up to 10 agent storages for a single Alibaba Cloud account. Agent storage names must be unique within the same region.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18DD77BF-F967-576D-80D1-79121399AB53\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + ], + 'CreateInstance' => [ + 'path' => '/v2/openapi/createinstance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '85461', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -110,54 +559,27 @@ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => 'instance name', - 'description' => 'The name of the instance. Instance naming conventions:'."\n" - ."\n" - .'* The name can contain only letters, digits, and hyphens (-).'."\n" - .'* The name must start with a letter.'."\n" - .'* The name cannot end with a hyphen (-).'."\n" - .'* The name is case-insensitive.'."\n" - .'* The name must be 3 to 16 characters in length.'."\n" - .'* The name cannot contain the following words: ali, ay, ots, taobao, and admin.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'instance-test', - ], + 'InstanceName' => ['title' => 'instance name', 'description' => 'The name of the instance. Instance naming conventions:'."\n" + ."\n" + .'* The name can contain only letters, digits, and hyphens (-).'."\n" + .'* The name must start with a letter.'."\n" + .'* The name cannot end with a hyphen (-).'."\n" + .'* The name is case-insensitive.'."\n" + .'* The name must be 3 to 16 characters in length.'."\n" + .'* The name cannot contain the following words: ali, ay, ots, taobao, and admin.'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance-test'], 'ClusterType' => [ 'title' => 'cluster type', 'description' => 'The type of the instance.', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'SSD' => 'high-performance instance', - 'HYBRID' => 'capacity instance', - ], + 'enumValueTitles' => ['SSD' => 'high-performance instance', 'HYBRID' => 'capacity instance'], 'example' => 'SSD', ], - 'InstanceDescription' => [ - 'title' => 'instance description', - 'description' => 'The description of the instance. The instance description must be 3 to 256 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'the test instance', - ], - 'ResourceGroupId' => [ - 'title' => 'resource group id', - 'description' => 'The ID of the resource group to which the instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxh4em5jnbcd', - ], - 'Network' => [ - 'title' => '(已弃用)实例网络类型。NORMAL, VPC_CONSOLE。默认为NORMAL。', - 'description' => '(Deprecated) The network type of the instance. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', - ], + 'InstanceDescription' => ['title' => 'instance description', 'description' => 'The description of the instance. The instance description must be 3 to 256 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'the test instance'], + 'ResourceGroupId' => ['title' => 'resource group id', 'description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxh4em5jnbcd'], + 'Network' => ['title' => '', 'description' => '(Deprecated) The network type of the instance. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL.'."\n", 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], 'NetworkTypeACL' => [ - 'title' => '实例允许的网络类型列表。默认都允许。CLASSIC: 经典网;INTERNET: 公网;VPC:VPC网络。', + 'title' => '', 'description' => 'The types of the network from which access is allowed. By default, the following network types are allowed:'."\n" ."\n" .'* INTERNET: Internet'."\n" @@ -168,17 +590,13 @@ 'description' => 'The type of the network from which access is allowed.', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'INTERNET' => 'Internet', - 'VPC' => 'VPC', - 'CLASSIC' => 'classic network', - ], + 'enumValueTitles' => ['INTERNET' => 'Internet', 'VPC' => 'VPC', 'CLASSIC' => 'classic network'], 'example' => 'VPC', ], 'required' => false, ], 'NetworkSourceACL' => [ - 'title' => '实例允许的网络来源列表。默认都允许。TRUST_PROXY: 控制台。', + 'title' => '', 'description' => 'The types of the source from which access is allowed. By default, the following source type is allowed:'."\n" ."\n" .'TRUST_PROXY: console'."\n", @@ -187,50 +605,41 @@ 'description' => 'The type of the source from which access is allowed.', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'TRUST_PROXY' => 'console', - ], + 'enumValueTitles' => ['TRUST_PROXY' => 'console'], 'example' => 'TRUST_PROXY', ], 'required' => false, ], - 'Policy' => [ - 'title' => '实例访问控制策略,JSON格式。配置语法见:https://help.aliyun.com/zh/ram/user-guide/policy-structure-and-syntax', - 'description' => 'The instance policy in the JSON format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "Version": "1",'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": ['."\n" - .' "ots:*"'."\n" - .' ],'."\n" - .' "Resource": ['."\n" - .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" - .' ],'."\n" - .' "Principal": ['."\n" - .' "*"'."\n" - .' ],'."\n" - .' "Effect": "Allow",'."\n" - .' "Condition": {'."\n" - .' "StringEquals": {'."\n" - .' "ots:TLSVersion": ['."\n" - .' "1.2"'."\n" - .' ]'."\n" - .' },'."\n" - .' "IpAddress": {'."\n" - .' "acs:SourceIp": ['."\n" - .' "192.168.0.1",'."\n" - .' "198.51.100.1"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - 'maxLength' => 4000, - ], + 'Policy' => ['title' => '', 'description' => 'The instance policy in the JSON format.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "198.51.100.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'maxLength' => 4000], 'Tags' => [ 'title' => 'tag', 'description' => 'The tags.'."\n", @@ -239,25 +648,15 @@ 'description' => 'The tag.'."\n", 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key. The tag key can be up to 64 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'p_instance', - ], - 'Value' => [ - 'description' => 'The tag value. The tag value can be up to 64 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '0woauavextilfqr61', - ], + 'Key' => ['description' => 'The tag key. The tag key can be up to 64 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'p_instance'], + 'Value' => ['description' => 'The tag value. The tag value can be up to 64 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => '0woauavextilfqr61'], ], 'required' => false, ], 'required' => false, ], 'DisableReplication' => [ - 'title' => '是否开启实例的容灾状态', + 'title' => '', 'description' => '(Deprecated) Specifies whether to enable disaster recovery for the instance.'."\n" ."\n" .'Valid values:'."\n" @@ -282,55 +681,33 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'request id', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F', - ], - 'Code' => [ - 'title' => '响应状态码', - 'description' => 'The HTTP status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'title' => '响应消息描述', - 'description' => 'The response message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'request id', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'Code' => ['title' => '', 'description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'success'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'CreateInstance', + 'summary' => 'Creates an instance.', 'description' => '* **Before you call this operation, you must understand the billing and pricing of Tablestore. For more information, see [Billing overview](~~27291~~).**'."\n" .'* Each Alibaba Cloud account can create up to 10 instances. The name of an instance must be unique within the region in which the instance resides.'."\n" .'* After you create an instance, you cannot change the type of the instance. Proceed with caution.'."\n", + 'changeSet' => [], + 'ramActions' => [], ], 'CreateVCUInstance' => [ - 'summary' => '创建VCU实例', 'path' => '/v2/openapi/createvcuinstance', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -338,9 +715,7 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '85461', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -349,179 +724,222 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => 'request body', - 'description' => 'request body', + 'title' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'ClusterType' => [ - 'title' => 'cluster type', - 'description' => 'cluster type', - 'type' => 'string', - 'required' => true, - 'example' => 'SSD vs HYBRID', - ], - 'VCU' => [ - 'title' => '实例规格:VCU数量', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '2000', - 'minimum' => '0', - 'example' => '1', - ], - 'PeriodInMonth' => [ - 'title' => '购买的时长。单位:月。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '24', - 'minimum' => '1', - 'example' => '1', - ], - 'EnableElasticVCU' => [ - 'title' => '是否开启实例弹性。如果开启弹性,实例的峰值VCU用量可以超过购买的VCU量,但是会有额外的费用。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', - ], - 'AliasName' => [ - 'title' => '实例别名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '实例别名', - ], - 'InstanceDescription' => [ - 'title' => '实例描述', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '实例描述', - ], + 'ClusterType' => ['description' => 'The cluster type.', 'type' => 'string', 'required' => true, 'example' => 'SSD vs HYBRID', 'title' => ''], + 'VCU' => ['description' => 'The instance type: the number of VCUs.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '2000', 'minimum' => '0', 'example' => '1', 'title' => ''], + 'PeriodInMonth' => ['description' => 'The subscription duration. Unit: month.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '24', 'minimum' => '1', 'example' => '1', 'title' => ''], + 'EnableElasticVCU' => ['description' => 'Specifies whether to enable instance elasticity. If you enable instance elasticity, the peak VCU usage can exceed the purchased VCU amount, but additional fees are incurred.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => ''], + 'AliasName' => ['description' => 'The alias of the instance.', 'type' => 'string', 'example' => 'test', 'title' => '', 'required' => false], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'testvcu', 'title' => '', 'required' => false], 'Tags' => [ - 'title' => 'tag', - 'description' => 'tag', + 'title' => '', + 'description' => 'The tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The key-value pair of the tag.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'created', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '0woauavextilfqr61', - ], + 'Key' => ['description' => 'The key of the tag. The key can be up to 64 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'created', 'title' => ''], + 'Value' => ['description' => 'The value of the tag. The value can be up to 64 characters in length.', 'type' => 'string', 'required' => true, 'example' => '0woauavextilfqr61', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], - 'ResourceGroupId' => [ - 'title' => 'resource group id', - 'description' => 'resource group id', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxh4em5jnbcd', - ], - 'EnableAutoRenew' => [ - 'title' => '是否开启自动续费', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', - ], - 'AutoRenewPeriodInMonth' => [ - 'title' => '自动续费周期,当开启自动续费时,必填', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '24', - 'minimum' => '1', - 'example' => '1', - ], - 'DryRun' => [ - 'title' => '是否是空跑,如果空跑,则不生产实例。', - 'description' => '', - 'type' => 'boolean', - 'deprecated' => false, - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmxh4em5jnbcd', 'title' => '', 'required' => false], + 'EnableAutoRenew' => ['description' => 'Specifies whether to enable auto-renewal.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => ''], + 'AutoRenewPeriodInMonth' => ['description' => 'The auto-renewal cycle. This parameter is required if auto-renewal is enabled.', 'type' => 'integer', 'format' => 'int64', 'maximum' => '24', 'minimum' => '1', 'example' => '1', 'title' => '', 'required' => false], + 'DryRun' => ['description' => 'Specifies whether to perform a dry run. If you perform a dry run, no instance is created.', 'type' => 'boolean', 'deprecated' => false, 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], ], 'required' => false, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The schema of the response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'request id', - 'description' => 'request id', - 'type' => 'string', - 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F', - ], - 'InstanceName' => [ - 'title' => '生产的实例名称', - 'description' => '', - 'type' => 'string', - 'example' => 'instance-test', - ], - 'Code' => [ - 'title' => '响应状态码', - 'description' => '', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'title' => '响应消息描述', - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'InstanceName' => ['description' => 'The name of the created instance.', 'type' => 'string', 'title' => '', 'example' => 'instance-test'], + 'Code' => ['description' => 'The status code of the response.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Message' => ['description' => 'The description of the response message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'CreateVCUInstance', + 'summary' => 'Creates a VCU instance.', + 'description' => '- **Before you call this operation, ensure that you understand the billing methods and pricing of Tablestore. For more information, see [Billing overview](~~27291~~).**'."\n" + ."\n" + .'- An Alibaba Cloud account can create a maximum of 10 instances. The instance names must be unique within the same region.'."\n" + ."\n" + .'- The cluster type (instance type) cannot be changed after an instance is created. Select the cluster type with caution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'ots:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"InstanceName\\": \\"instance-test\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', ], - 'DeleteInstance' => [ - 'summary' => 'Deletes an instance.', - 'path' => '/v2/openapi/deleteinstance', - 'methods' => [ - 'post', + 'DeleteAgentStorage' => [ + 'summary' => 'Deletes an agent storage.', + 'path' => '/v2/openapi/deleteagentstorage', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '85462', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The name of the agent storage.', 'type' => 'string', 'required' => true, 'example' => 'agent-test'], + ], + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used to troubleshoot and locate issues.', 'type' => 'string', 'example' => 'E734979F-5A44-5993-9CE5-C23103576923'], + ], + 'example' => '', + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Delete agent storage', + 'description' => '- To avoid conflicts, do not create an agent storage with the same name as the agent storage being deleted during the deletion process.'."\n" + .'- After an agent storage is deleted, the agent storage becomes unavailable, and the tables, table data, and related indexes in the agent storage cannot be recovered. Proceed with caution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\"\\n}","type":"json"}]', + ], + 'DeleteAgentStoragePolicy' => [ + 'summary' => 'Deletes an access control policy for agent storage.', + 'path' => '/v2/openapi/deleteagentstoragepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI', 'FEATUREotsL88RYP'], ], - 'produces' => [ - 'application/json', + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The name of the agent storage.', 'type' => 'string', 'required' => true, 'example' => 'first-agent'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the access control policy for agent storage.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'success'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Delete an agent storage access control policy', + 'description' => '- After an agent storage policy is deleted, it cannot be recovered. Proceed with caution.'."\n" + .'- After an agent storage policy is deleted, the corresponding permission controls become ineffective. Make sure the agent storage is in a secure environment.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + ], + 'DeleteInstance' => [ + 'path' => '/v2/openapi/deleteinstance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -529,9 +947,7 @@ 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeCode' => '85462', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ @@ -543,13 +959,7 @@ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => 'instance name', - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'instance-test', - ], + 'InstanceName' => ['title' => 'instance name', 'description' => 'The name of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance-test'], ], 'required' => false, ], @@ -562,42 +972,84 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '17827FB1-CC71-559D-BBDF-9D41534322E7', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '17827FB1-CC71-559D-BBDF-9D41534322E7'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17827FB1-CC71-559D-BBDF-9D41534322E7\\"\\n}","type":"json"}]', 'title' => 'DeleteInstance', + 'summary' => 'Deletes an instance.', 'description' => '* Before you delete an instance, make sure that all data tables and time series tables in the instance are deleted and virtual private clouds (VPCs) are unbound from the instance.'."\n" .'* To prevent conflicts, do not create an instance that has the same name as the instance that is being deleted.'."\n" .'* After an instance is deleted, the instance becomes unavailable and the tables, table data, and related indexes in the instance cannot be recovered. Proceed with caution.'."\n", + 'changeSet' => [], + 'ramActions' => [], ], - 'DeleteVCUInstance' => [ - 'summary' => '删除VCU实例', - 'path' => '/v2/openapi/deletevcuinstance', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'DeleteInstancePolicy' => [ + 'path' => '/v2/openapi/deleteinstancepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceName' => ['title' => '', 'description' => 'The name of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'my-test-12345'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the instance policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The returned struct.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '3104C83E-6E82-57FB-BB88-8C64CCFDEF89'], + 'Code' => ['title' => '', 'description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'success'], + ], + ], + ], ], - 'produces' => [ - 'application/json', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3104C83E-6E82-57FB-BB88-8C64CCFDEF89\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + 'title' => 'DeleteInstancePolicy', + 'summary' => 'Deletes a Resource Access Management (RAM) policy of an instance.', + 'description' => '* You cannot recover a deleted instance policy. Proceed with caution.'."\n" + .'* After you delete an instance policy, the access control that is specified by the instance policy becomes invalid. Make sure that your instance is in a secure environment.'."\n", + 'changeSet' => [], + 'ramActions' => [], + ], + 'DeleteVCUInstance' => [ + 'path' => '/v2/openapi/deletevcuinstance', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -605,61 +1057,209 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '85461', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The name of the instance.', 'example' => 'instance_name'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => 'Instance name', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'instance_name', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request. You can use this ID to locate and troubleshoot issues.', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + ], + 'title' => '', + 'description' => 'The response struct.', ], ], ], + 'title' => 'DeleteVCUInstance', + 'summary' => 'Deletes a VCU instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\"\\n}","type":"json"}]', + ], + 'DescribeRegions' => [ + 'path' => '/region/DescribeRegions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREots4PD2C1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'A parameter to ensure idempotence.'."\n" + ."\n" + .'> This parameter ensures that each request is processed only once. Generate a unique value on the client for each request. The value can be up to 64 ASCII characters long and must not contain non-ASCII characters.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'request id', - 'description' => '', - 'type' => 'string', - 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'Regions' => [ + 'title' => 'region list', + 'description' => 'A list of regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'A region object.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['title' => 'region id', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'I18nKey' => ['title' => 'region key', 'description' => 'The region key.', 'type' => 'string', 'example' => 'yunjiankong.cloud.region.cn-hangzhou'], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\"\\n}","type":"json"}]', + 'title' => 'DescribeRegions', + 'summary' => 'Retrieves a list of available regions.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"I18nKey\\": \\"yunjiankong.cloud.region.cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetInstance' => [ - 'summary' => 'Queries instance information.', - 'path' => '/v2/openapi/getinstance', - 'methods' => [ - 'get', + 'GetAgentStorage' => [ + 'summary' => 'Retrieves agent storage.', + 'path' => '/v2/openapi/getagentstorage', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '8524', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + ], + 'parameters' => [ + [ + 'name' => 'AgentStorageName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the agent storage.', 'type' => 'string', 'required' => true, 'example' => 'agent-test', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '3104C83E-6E82-57FB-BB88-8C64CCFDEF89'], + 'AgentStorageName' => ['description' => 'The name of the agent storage.', 'type' => 'string', 'example' => 'agent-test', 'title' => ''], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmxh4em5jncda'], + 'RegionId' => ['description' => 'The region ID of the agent storage.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'AliasName' => ['description' => 'The alias of the agent storage.', 'type' => 'string', 'example' => 'agent-test', 'title' => ''], + 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '16542312566'."\n", 'title' => ''], + 'AgentStorageDescription' => ['description' => 'The description of the agent storage.', 'type' => 'string', 'example' => 'description for agent storage', 'title' => ''], + 'AgentStorageSpecification' => ['description' => 'The specifications of the agent storage.', 'type' => 'string', 'example' => 'SSD', 'title' => ''], + 'AgentStorageStatus' => ['description' => 'The status of the agent storage. Valid values:'."\n" + .'- normal: Normal.'."\n" + .'- forbidden: Disabled.'."\n" + .'- deleting: Being released.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the agent storage was created.', 'type' => 'string', 'example' => '2019-12-23T07:24:33Z', 'title' => ''], + 'Tags' => [ + 'description' => 'The tags of the agent storage.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags of the agent storage.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'Owner', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'Tester', 'title' => ''], + 'TagKey' => ['description' => '(Deprecated) The tag key.', 'type' => 'string', 'example' => 'keyTestA', 'title' => ''], + 'TagValue' => ['description' => '(Deprecated) The tag value.', 'type' => 'string', 'example' => '00004a20240452b0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'NetworkTypeACL' => [ + 'title' => '', + 'description' => 'The list of network types allowed for the agent storage. CLASSIC: classic network. INTERNET: public network. VPC: VPC network.', + 'type' => 'array', + 'items' => ['description' => 'The network type allowed for the agent storage.', 'type' => 'string', 'example' => 'INTERNET', 'title' => ''], + 'example' => '', + ], + 'NetworkSourceACL' => [ + 'title' => '', + 'description' => 'The list of network sources allowed for the agent storage. TRUST_PROXY: console.', + 'type' => 'array', + 'items' => ['description' => 'The network source allowed for the agent storage.', 'type' => 'string', 'example' => 'TRUST_PROXY', 'title' => ''], + 'example' => '', + ], + 'Policy' => ['title' => '', 'description' => 'The access control policy of the agent storage.', 'type' => 'string', 'example' => 'drop'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the access control policy for the agent storage.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'example' => '', + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Retrieve agent storage', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3104C83E-6E82-57FB-BB88-8C64CCFDEF89\\",\\n \\"AgentStorageName\\": \\"agent-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jncda\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"AliasName\\": \\"agent-test\\",\\n \\"UserId\\": \\"16542312566\\\\n\\",\\n \\"AgentStorageDescription\\": \\"description for agent storage\\",\\n \\"AgentStorageSpecification\\": \\"SSD\\",\\n \\"AgentStorageStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2019-12-23T07:24:33Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Owner\\",\\n \\"Value\\": \\"Tester\\",\\n \\"TagKey\\": \\"keyTestA\\",\\n \\"TagValue\\": \\"00004a20240452b0\\"\\n }\\n ],\\n \\"NetworkTypeACL\\": [\\n \\"INTERNET\\"\\n ],\\n \\"NetworkSourceACL\\": [\\n \\"TRUST_PROXY\\"\\n ],\\n \\"Policy\\": \\"drop\\",\\n \\"PolicyVersion\\": 1\\n}","type":"json"}]', + ], + 'GetInstance' => [ + 'path' => '/v2/openapi/getinstance', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -667,20 +1267,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8524', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'instance-test', - ], + 'schema' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance-test'], ], ], 'responses' => [ @@ -690,43 +1283,13 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '757E172A-F94B-5E78-8A23-D9068E42F2E9', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'instance-test', - ], - 'ResourceGroupId' => [ - 'title' => '资源组id', - 'description' => 'The ID of the resource group to which the instance belongs.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmxh4em5jncda', - ], - 'RegionId' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-chengdu', - ], - 'SPInstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ots_standard_public_cn-9lb34u7u5001', - ], - 'AliasName' => [ - 'description' => 'The instance alias.'."\n", - 'type' => 'string', - 'example' => 'instance-test', - ], - 'UserId' => [ - 'description' => 'The user ID.'."\n", - 'type' => 'string', - 'example' => '16542312566', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '757E172A-F94B-5E78-8A23-D9068E42F2E9'], + 'InstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'instance-test'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'rg-acfmxh4em5jncda'], + 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-chengdu'], + 'SPInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ots_standard_public_cn-9lb34u7u5001'], + 'AliasName' => ['description' => 'The instance alias.'."\n", 'type' => 'string', 'example' => 'instance-test'], + 'UserId' => ['description' => 'The user ID.'."\n", 'type' => 'string', 'example' => '16542312566'], 'Network' => [ 'description' => 'The network type of the instance. Valid values:'."\n" ."\n" @@ -737,61 +1300,27 @@ 'enumValueTitles' => [], 'example' => 'VPC', ], - 'InstanceDescription' => [ - 'description' => 'The description of the instance.'."\n", - 'type' => 'string', - 'example' => 'Description of the test instance.', - ], - 'InstanceSpecification' => [ - 'description' => 'The type of the instance.'."\n" - ."\n" - .'* SSD: high-performance instance'."\n" - .'* HYBRID: capacity instance'."\n", - 'type' => 'string', - 'example' => 'SSD', - ], - 'PaymentType' => [ - 'description' => 'The billing method. Valid values:'."\n" - ."\n" - .'* Subscription: subscription'."\n" - .'* PayAsYouGo: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'StorageType' => [ - 'description' => 'The storage type.'."\n" - ."\n" - .'* SSD: high-performance'."\n" - .'* HYBRID: capacity'."\n", - 'type' => 'string', - 'example' => 'HYBRID', - ], - 'VCUQuota' => [ - 'description' => 'The VCU quota.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TableQuota' => [ - 'description' => 'The total number of tables in the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'InstanceStatus' => [ - 'description' => 'The status of the instance.'."\n" - ."\n" - .'* normal: The instance works as expected.'."\n" - .'* forbidden: The instance is disabled.'."\n" - .'* Deleting: The instance is being deleted.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created.'."\n", - 'type' => 'string', - 'example' => '2019-12-23T07:24:33Z', - ], + 'InstanceDescription' => ['description' => 'The description of the instance.'."\n", 'type' => 'string', 'example' => 'Description of the test instance.'], + 'InstanceSpecification' => ['description' => 'The type of the instance.'."\n" + ."\n" + .'* SSD: high-performance instance'."\n" + .'* HYBRID: capacity instance'."\n", 'type' => 'string', 'example' => 'SSD'], + 'PaymentType' => ['description' => 'The billing method. Valid values:'."\n" + ."\n" + .'* Subscription: subscription'."\n" + .'* PayAsYouGo: pay-as-you-go'."\n", 'type' => 'string', 'example' => 'Subscription'], + 'StorageType' => ['description' => 'The storage type.'."\n" + ."\n" + .'* SSD: high-performance'."\n" + .'* HYBRID: capacity'."\n", 'type' => 'string', 'example' => 'HYBRID'], + 'VCUQuota' => ['description' => 'The VCU quota.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TableQuota' => ['description' => 'The total number of tables in the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'InstanceStatus' => ['description' => 'The status of the instance.'."\n" + ."\n" + .'* normal: The instance works as expected.'."\n" + .'* forbidden: The instance is disabled.'."\n" + .'* Deleting: The instance is being deleted.'."\n", 'type' => 'string', 'example' => 'normal'], + 'CreateTime' => ['description' => 'The time when the instance was created.'."\n", 'type' => 'string', 'example' => '2019-12-23T07:24:33Z'], 'Tags' => [ 'description' => 'The tags of the instance.'."\n", 'type' => 'array', @@ -799,264 +1328,298 @@ 'description' => 'The tag of the instance.'."\n", 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'tag', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => '333', - ], - 'TagKey' => [ - 'description' => '(Deprecated) The tag key.'."\n", - 'type' => 'string', - 'example' => 'keyTestA', - ], - 'TagValue' => [ - 'description' => '(Deprecated) The tag value.'."\n", - 'type' => 'string', - 'example' => '00004a20240452b0', - ], + 'Key' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'tag'], + 'Value' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'example' => '333'], + 'TagKey' => ['description' => '(Deprecated) The tag key.'."\n", 'type' => 'string', 'example' => 'keyTestA'], + 'TagValue' => ['description' => '(Deprecated) The tag value.'."\n", 'type' => 'string', 'example' => '00004a20240452b0'], ], ], ], 'NetworkTypeACL' => [ - 'title' => '实例允许的网络类型列表。CLASSIC: 经典网;INTERNET: 公网;VPC:VPC网络。', + 'title' => '', 'description' => 'The types of the network from which access is allowed. Valid values:'."\n" ."\n" .'* CLASSIC: the classic network'."\n" .'* INTERNET: the Internet'."\n" .'* VPC: VPCs'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The type of the network from which access is allowed.'."\n", - 'type' => 'string', - 'example' => 'INTERNET', - ], + 'items' => ['description' => 'The type of the network from which access is allowed.'."\n", 'type' => 'string', 'example' => 'INTERNET'], ], 'NetworkSourceACL' => [ - 'title' => '实例允许的网络来源列表。TRUST_PROXY: 控制台;', + 'title' => '', 'description' => 'The sources of the network from which access is allowed. Valid value:'."\n" ."\n" .'TRUST_PROXY: console'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The source of the network from which access is allowed.'."\n", - 'type' => 'string', - 'example' => 'TRUST_PROXY', - ], - ], - 'Policy' => [ - 'title' => 'Instance policy 访问控制策略', - 'description' => 'The instance policy.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "Version": "1",'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": ['."\n" - .' "ots:*"'."\n" - .' ],'."\n" - .' "Resource": ['."\n" - .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" - .' ],'."\n" - .' "Principal": ['."\n" - .' "*"'."\n" - .' ],'."\n" - .' "Effect": "Allow",'."\n" - .' "Condition": {'."\n" - .' "StringEquals": {'."\n" - .' "ots:TLSVersion": ['."\n" - .' "1.2"'."\n" - .' ]'."\n" - .' },'."\n" - .' "IpAddress": {'."\n" - .' "acs:SourceIp": ['."\n" - .' "192.168.0.1",'."\n" - .' "198.51.100.1"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'PolicyVersion' => [ - 'title' => 'Instance policy的版本', - 'description' => 'The version of the instance policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'IsMultiAZ' => [ - 'title' => '冗余类型。true表示同城冗余,false表示本地冗余', - 'description' => 'Indicates whether zone-redundant storage (ZRS) is enabled for the instance.'."\n" - ."\n" - .'* true: ZRS is enabled for the instance.'."\n" - .'* false: Locally redundant storage (LRS) is enabled for the instance.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ElasticVCUUpperLimit' => [ - 'description' => 'The upper limit for the VCUs of the instance.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '6', - ], + 'items' => ['description' => 'The source of the network from which access is allowed.'."\n", 'type' => 'string', 'example' => 'TRUST_PROXY'], + ], + 'Policy' => ['title' => '', 'description' => 'The instance policy.'."\n", 'type' => 'string', 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "198.51.100.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the instance policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'IsMultiAZ' => ['title' => '', 'description' => 'Indicates whether zone-redundant storage (ZRS) is enabled for the instance.'."\n" + ."\n" + .'* true: ZRS is enabled for the instance.'."\n" + .'* false: Locally redundant storage (LRS) is enabled for the instance.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'ElasticVCUUpperLimit' => ['description' => 'The upper limit for the VCUs of the instance.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '6'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"757E172A-F94B-5E78-8A23-D9068E42F2E9\\",\\n \\"InstanceName\\": \\"instance-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jncda\\",\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"SPInstanceId\\": \\"ots_standard_public_cn-9lb34u7u5001\\",\\n \\"AliasName\\": \\"instance-test\\",\\n \\"UserId\\": \\"16542312566\\",\\n \\"Network\\": \\"VPC\\",\\n \\"InstanceDescription\\": \\"测试实例的描述信息。\\",\\n \\"InstanceSpecification\\": \\"SSD\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"StorageType\\": \\"HYBRID\\",\\n \\"VCUQuota\\": 20,\\n \\"TableQuota\\": 100,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2019-12-23T07:24:33Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"tag\\",\\n \\"Value\\": \\"333\\",\\n \\"TagKey\\": \\"keyTestA\\",\\n \\"TagValue\\": \\"00004a20240452b0\\"\\n }\\n ],\\n \\"NetworkTypeACL\\": [\\n \\"INTERNET\\"\\n ],\\n \\"NetworkSourceACL\\": [\\n \\"TRUST_PROXY\\"\\n ],\\n \\"Policy\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"ots:*\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*\\\\\\"\\\\n ],\\\\n \\\\\\"Principal\\\\\\": [\\\\n \\\\\\"*\\\\\\"\\\\n ],\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEquals\\\\\\": {\\\\n \\\\\\"ots:TLSVersion\\\\\\": [\\\\n \\\\\\"1.2\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"IpAddress\\\\\\": {\\\\n \\\\\\"acs:SourceIp\\\\\\": [\\\\n \\\\\\"192.168.0.1\\\\\\",\\\\n \\\\\\"198.51.100.1\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"PolicyVersion\\": 1,\\n \\"IsMultiAZ\\": true,\\n \\"ElasticVCUUpperLimit\\": 6\\n}","errorExample":""},{"type":"xml","example":"<Tags>\\n <Tags/>\\n</Tags>","errorExample":""}]', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"757E172A-F94B-5E78-8A23-D9068E42F2E9\\",\\n \\"InstanceName\\": \\"instance-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jncda\\",\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"SPInstanceId\\": \\"ots_standard_public_cn-9lb34u7u5001\\",\\n \\"AliasName\\": \\"instance-test\\",\\n \\"UserId\\": \\"16542312566\\",\\n \\"Network\\": \\"VPC\\",\\n \\"InstanceDescription\\": \\"Description of the test instance.\\",\\n \\"InstanceSpecification\\": \\"SSD\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"StorageType\\": \\"HYBRID\\",\\n \\"VCUQuota\\": 20,\\n \\"TableQuota\\": 100,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2019-12-23T07:24:33Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"tag\\",\\n \\"Value\\": \\"333\\",\\n \\"TagKey\\": \\"keyTestA\\",\\n \\"TagValue\\": \\"00004a20240452b0\\"\\n }\\n ],\\n \\"NetworkTypeACL\\": [\\n \\"INTERNET\\"\\n ],\\n \\"NetworkSourceACL\\": [\\n \\"TRUST_PROXY\\"\\n ],\\n \\"Policy\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"ots:*\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*\\\\\\"\\\\n ],\\\\n \\\\\\"Principal\\\\\\": [\\\\n \\\\\\"*\\\\\\"\\\\n ],\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEquals\\\\\\": {\\\\n \\\\\\"ots:TLSVersion\\\\\\": [\\\\n \\\\\\"1.2\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"IpAddress\\\\\\": {\\\\n \\\\\\"acs:SourceIp\\\\\\": [\\\\n \\\\\\"192.168.0.1\\\\\\",\\\\n \\\\\\"198.51.100.1\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"PolicyVersion\\": 1,\\n \\"IsMultiAZ\\": true,\\n \\"ElasticVCUUpperLimit\\": 6\\n}","errorExample":""},{"type":"xml","example":"<Tags>\\n <Tags/>\\n</Tags>","errorExample":""}]', 'title' => 'GetInstance', + 'summary' => 'Queries instance information.', + 'changeSet' => [], + 'ramActions' => [], ], - 'UpdateInstance' => [ - 'summary' => 'Updates instance information.', - 'path' => '/v2/openapi/updateinstance', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAgentStorages' => [ + 'summary' => 'Lists agent storages.', + 'path' => '/v2/openapi/listagentstorages', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'list', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeCode' => '8522', + 'abilityTreeNodes' => ['FEATUREots74FK9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of tag resources to return in this request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token for querying subsequent pages. This parameter has a value only when not all tag resources are returned. If the total number of expected tag resources exceeds the MaxResults value, use this token to retrieve the next page.', 'type' => 'string', 'required' => false, 'example' => 'CAESCG15aC1xxxxx', 'title' => ''], + ], + [ + 'name' => 'AgentStorageName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'agent-test', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group. You can query the ID in the Resource Group console.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxh4em5jncda', 'title' => ''], + ], + [ + 'name' => 'AgentStorageNameList', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => 'The list of agent storage names. Use this parameter to query multiple specified agent storages in a batch.', + 'type' => 'array', + 'items' => ['description' => 'The name of the agent storage. Exact match is used for the query.', 'type' => 'string', 'required' => false, 'example' => 'agent-test', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The request body.'."\n", + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'Owner', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'Tester', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'description' => 'The name of the instance whose information you want to update.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'instance-test', - ], - 'AliasName' => [ - 'description' => 'The alias of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance-test', - ], - 'InstanceDescription' => [ - 'description' => 'The description of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'the test instance', - ], - 'Network' => [ - 'title' => '(已弃用)实例网络类型。NORMAL, VPC_CONSOLE。默认为NORMAL。', - 'description' => '(Deprecated) The network type of the instance. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - 'NetworkTypeACL' => [ - 'title' => '更新实例允许的网络类型列表。默认都允许。CLASSIC: 经典网;INTERNET: 公网;VPC:VPC网络。', - 'description' => 'The new types of the network from which access is allowed. By default, all types of networks are allowed. Valid values:'."\n" - ."\n" - .'* INTERNET: the Internet'."\n" - .'* VPC: VPCs'."\n" - .'* CLASSIC: the classic network'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => 'The new type of the network from which access is allowed.', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'INTERNET' => 'the Internet', - 'VPC' => 'VPCs', - 'CLASSIC' => 'the classic network', - ], - 'example' => 'INTERNET', - ], - 'required' => false, - ], - 'NetworkSourceACL' => [ - 'title' => '更新实例允许的网络来源列表,默认都允许。必须与TRUST_PROXY: 控制台;', - 'description' => 'The new sources of the network from which access is allowed. By default, all sources of networks are allowed. Valid value:'."\n" - ."\n" - .'TRUST_PROXY: the console'."\n", + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'TotalCount' => ['description' => 'The total number of agent storages returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'NextToken' => ['description' => 'The pagination token for querying subsequent pages. This parameter has a value only when not all tag resources are returned. If the total number of expected tag resources exceeds the MaxResults value, use this token to retrieve the next page.', 'type' => 'string', 'example' => 'CAESCG15aC1xxxxx', 'title' => ''], + 'AgentStorages' => [ + 'description' => 'The list of agent storage information.', 'type' => 'array', 'items' => [ - 'description' => 'The new source of the network from which access is allowed.', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'TRUST_PROXY' => 'the console', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The name of the agent storage, which is a unique key.', 'type' => 'string', 'example' => 'agent-test'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmxh4em5jnbcd'], + 'RegionId' => ['description' => 'The region ID of the agent storage.', 'type' => 'string', 'example' => 'cn-shanghai-cloudspe', 'title' => ''], + 'AliasName' => ['description' => 'The alias of the agent storage.', 'type' => 'string', 'example' => 'btnots', 'title' => ''], + 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '13542356466', 'title' => ''], + 'AgentStorageDescription' => ['description' => 'The description of the agent storage.', 'type' => 'string', 'example' => 'description for agent storage', 'title' => ''], + 'AgentStorageSpecification' => ['description' => 'The specification of the agent storage.', 'type' => 'string', 'example' => 'SSD', 'title' => ''], + 'AgentStorageStatus' => ['description' => 'The status of the agent storage. Valid values:'."\n" + .'- normal: Normal.'."\n" + .'- forbidden: Disabled.'."\n" + .'- deleting: Being released.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the agent storage was created.', 'type' => 'string', 'example' => '2025-04-16T06:02:59Z', 'title' => ''], ], - 'example' => 'TRUST_PROXY', + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'example' => '', ], ], ], + 'title' => 'List agent storages', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"TotalCount\\": 1,\\n \\"NextToken\\": \\"CAESCG15aC1xxxxx\\",\\n \\"AgentStorages\\": [\\n {\\n \\"AgentStorageName\\": \\"agent-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jnbcd\\",\\n \\"RegionId\\": \\"cn-shanghai-cloudspe\\",\\n \\"AliasName\\": \\"btnots\\",\\n \\"UserId\\": \\"13542356466\\",\\n \\"AgentStorageDescription\\": \\"description for agent storage\\",\\n \\"AgentStorageSpecification\\": \\"SSD\\",\\n \\"AgentStorageStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2025-04-16T06:02:59Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListClusterType' => [ + 'summary' => 'Lists the supported cluster types in the current region.', + 'path' => '/v2/openapi/listclustertype', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '8522', + 'abilityTreeNodes' => ['FEATUREots74FK9U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3104C83E-6E82-57FB-BB88-8C64CCFDEF89', + 'RequestId' => ['description' => 'The request ID. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '88BA193C-4918-08C4-9870-E1FE6BBECF34', 'title' => ''], + 'ClusterTypes' => [ + 'type' => 'array', + 'items' => ['description' => 'The cluster type.'."\n" + ."\n" + .'- HYBRID: Capacity.'."\n" + ."\n" + .'- SSD: Performance.', 'type' => 'string', 'example' => 'SSD', 'title' => ''], + 'description' => 'A list of cluster types.', + 'title' => '', + 'example' => '', + ], + 'ClusterTypeInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterType' => ['description' => 'The cluster type.'."\n" + ."\n" + .'- HYBRID: Capacity.'."\n" + ."\n" + .'- SSD: Performance.', 'type' => 'string', 'example' => 'SSD', 'title' => ''], + 'IsMultiAZ' => ['description' => 'Indicates whether the cluster supports deployment in multiple availability zones (AZs).'."\n" + ."\n" + .'- true: The cluster supports multi-zone deployment and provides zone-redundant storage.'."\n" + ."\n" + .'- false: The cluster does not support multi-zone deployment and provides locally redundant storage.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'description' => 'The detailed information about the cluster type.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of the detailed information about the cluster types.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response struct.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3104C83E-6E82-57FB-BB88-8C64CCFDEF89\\"\\n}","type":"json"}]', - 'title' => 'UpdateInstance', + 'title' => 'ListClusterType', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"88BA193C-4918-08C4-9870-E1FE6BBECF34\\",\\n \\"ClusterTypes\\": [\\n \\"SSD\\"\\n ],\\n \\"ClusterTypeInfos\\": [\\n {\\n \\"ClusterType\\": \\"SSD\\",\\n \\"IsMultiAZ\\": true\\n }\\n ]\\n}","type":"json"}]', ], 'ListInstances' => [ - 'summary' => 'Queries instances.', 'path' => '/v2/openapi/listinstances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -1064,9 +1627,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8522', - 'abilityTreeNodes' => [ - 'FEATUREots74FK9U', - ], + 'abilityTreeNodes' => ['FEATUREots74FK9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -1077,54 +1638,29 @@ 'description' => 'The status of the instance.', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'normal' => 'The instance is running as expected', - ' deleting' => 'The instance is being deleted', - 'forbidden' => 'The instance is disabled', - ], + 'enumValueTitles' => ['normal' => 'The instance is running as expected', ' deleting' => 'The instance is being deleted', 'forbidden' => 'The instance is disabled'], 'example' => 'normal', ], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of instances that you want to return. Valid values: 0 to 200. If you do not configure this parameter or set this parameter to 0, the default value of 100 is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The maximum number of instances that you want to return. Valid values: 0 to 200. If you do not configure this parameter or set this parameter to 0, the default value of 100 is used.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call. Instances are returned in lexicographical order starting from the position that is specified by this parameter. The first time you call the operation, leave this parameter empty.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CAESCG15aC1xxxxx', - ], + 'schema' => ['description' => 'The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned from the last call. Instances are returned in lexicographical order starting from the position that is specified by this parameter. The first time you call the operation, leave this parameter empty.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CAESCG15aC1xxxxx'], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance. Fuzzy search is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance', - ], + 'schema' => ['description' => 'The name of the instance. Fuzzy search is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID. You can query the ID on the Resource Group page in the Resource Management console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek24upgom6p5ri', - ], + 'schema' => ['description' => 'The resource group ID. You can query the ID on the Resource Group page in the Resource Management console.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-aek24upgom6p5ri'], ], [ 'name' => 'InstanceNameList', @@ -1133,12 +1669,7 @@ 'schema' => [ 'description' => 'The names of the instances. This parameter is used to specify multiple instances that you want to query at the same time.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The name of the instance. Full and exact matching is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance-test', - ], + 'items' => ['description' => 'The name of the instance. Full and exact matching is supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance-test'], 'required' => false, ], ], @@ -1153,18 +1684,8 @@ 'description' => 'The tag of the instance.'."\n", 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Owner', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Tester', - ], + 'Key' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Owner'], + 'Value' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Tester'], ], 'required' => false, ], @@ -1179,23 +1700,9 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E734979F-5A44-5993-9CE5-C23103576923', - ], - 'TotalCount' => [ - 'description' => 'The total number of instances returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NextToken' => [ - 'description' => 'The token that determines the start position of the next query. If this parameter is empty, all instances that you want to query are returned.'."\n", - 'type' => 'string', - 'example' => 'CAESCG15aC1xxxxx', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'E734979F-5A44-5993-9CE5-C23103576923'], + 'TotalCount' => ['description' => 'The total number of instances returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'NextToken' => ['description' => 'The token that determines the start position of the next query. If this parameter is empty, all instances that you want to query are returned.'."\n", 'type' => 'string', 'example' => 'CAESCG15aC1xxxxx'], 'Instances' => [ 'description' => 'The details about the instances.'."\n", 'type' => 'array', @@ -1203,96 +1710,36 @@ 'description' => 'The instances.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => '实例名称,唯一键', - 'description' => 'The name of the instance, which is used to uniquely identify the instance.'."\n", - 'type' => 'string', - 'example' => 'instance-test', - ], - 'ResourceGroupId' => [ - 'title' => '资源组id', - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmxh4em5jnbcd', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-huhehaote', - ], - 'SPInstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'ots_standard_public_cn-g4t3igqjj002', - ], - 'AliasName' => [ - 'description' => 'The instance alias.'."\n", - 'type' => 'string', - 'example' => 'instance-test', - ], - 'UserId' => [ - 'description' => 'The user ID.'."\n", - 'type' => 'string', - 'example' => '13542356466', - ], - 'InstanceDescription' => [ - 'description' => 'The instance description.'."\n", - 'type' => 'string', - 'example' => 'Description of the test instance.', - ], - 'InstanceSpecification' => [ - 'description' => 'The type of the instance.'."\n" - ."\n" - .'* SSD: high-performance instance'."\n" - .'* HYBRID: capacity instance'."\n", - 'type' => 'string', - 'example' => 'HYBRID', - ], - 'PaymentType' => [ - 'description' => 'The billing method.'."\n" - ."\n" - .'* Subscription: subscription'."\n" - .'* PayAsYouGo: pay as you go'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'StorageType' => [ - 'description' => 'The storage type.'."\n" - ."\n" - .'* SSD: high-performance'."\n" - .'* HYBRID: capacity'."\n", - 'type' => 'string', - 'example' => 'HYBRID', - ], - 'VCUQuota' => [ - 'description' => 'The VCU quota.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'InstanceStatus' => [ - 'description' => 'The status of the instance.'."\n" - ."\n" - .'* normal: The instance runs as expected.'."\n" - .'* forbidden: The instance is disabled.'."\n" - .'* Deleting: The instance is being released.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created.'."\n", - 'type' => 'string', - 'example' => '2019-04-07T09:19:21Z', - ], - 'IsMultiAZ' => [ - 'title' => '冗余类型。true表示同城冗余,false表示本地冗余', - 'description' => 'Indicates whether zone-redundant storage (ZRS) is enabled for the instance.'."\n" - ."\n" - .'* true: ZRS is enabled for the instance.'."\n" - .'* false: Locally redundant storage (LRS) is enabled for the instance.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'InstanceName' => ['title' => '', 'description' => 'The name of the instance, which is used to uniquely identify the instance.'."\n", 'type' => 'string', 'example' => 'instance-test'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxh4em5jnbcd'], + 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-huhehaote'], + 'SPInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'ots_standard_public_cn-g4t3igqjj002'], + 'AliasName' => ['description' => 'The instance alias.'."\n", 'type' => 'string', 'example' => 'instance-test'], + 'UserId' => ['description' => 'The user ID.'."\n", 'type' => 'string', 'example' => '13542356466'], + 'InstanceDescription' => ['description' => 'The instance description.'."\n", 'type' => 'string', 'example' => 'Description of the test instance.'], + 'InstanceSpecification' => ['description' => 'The type of the instance.'."\n" + ."\n" + .'* SSD: high-performance instance'."\n" + .'* HYBRID: capacity instance'."\n", 'type' => 'string', 'example' => 'HYBRID'], + 'PaymentType' => ['description' => 'The billing method.'."\n" + ."\n" + .'* Subscription: subscription'."\n" + .'* PayAsYouGo: pay as you go'."\n", 'type' => 'string', 'example' => 'Subscription'], + 'StorageType' => ['description' => 'The storage type.'."\n" + ."\n" + .'* SSD: high-performance'."\n" + .'* HYBRID: capacity'."\n", 'type' => 'string', 'example' => 'HYBRID'], + 'VCUQuota' => ['description' => 'The VCU quota.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'InstanceStatus' => ['description' => 'The status of the instance.'."\n" + ."\n" + .'* normal: The instance runs as expected.'."\n" + .'* forbidden: The instance is disabled.'."\n" + .'* Deleting: The instance is being released.'."\n", 'type' => 'string', 'example' => 'normal'], + 'CreateTime' => ['description' => 'The time when the instance was created.'."\n", 'type' => 'string', 'example' => '2019-04-07T09:19:21Z'], + 'IsMultiAZ' => ['title' => '', 'description' => 'Indicates whether zone-redundant storage (ZRS) is enabled for the instance.'."\n" + ."\n" + .'* true: ZRS is enabled for the instance.'."\n" + .'* false: Locally redundant storage (LRS) is enabled for the instance.'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -1300,68 +1747,77 @@ ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"CAESCG15aC1xxxxx\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceName\\": \\"instance-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jnbcd\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"SPInstanceId\\": \\"ots_standard_public_cn-g4t3igqjj002\\",\\n \\"AliasName\\": \\"instance-test\\",\\n \\"UserId\\": \\"13542356466\\",\\n \\"InstanceDescription\\": \\"测试实例的描述信息。\\",\\n \\"InstanceSpecification\\": \\"HYBRID\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"StorageType\\": \\"HYBRID\\",\\n \\"VCUQuota\\": 3,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2019-04-07T09:19:21Z\\",\\n \\"IsMultiAZ\\": true\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"CAESCG15aC1xxxxx\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceName\\": \\"instance-test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxh4em5jnbcd\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"SPInstanceId\\": \\"ots_standard_public_cn-g4t3igqjj002\\",\\n \\"AliasName\\": \\"instance-test\\",\\n \\"UserId\\": \\"13542356466\\",\\n \\"InstanceDescription\\": \\"Description of the test instance.\\",\\n \\"InstanceSpecification\\": \\"HYBRID\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"StorageType\\": \\"HYBRID\\",\\n \\"VCUQuota\\": 3,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"CreateTime\\": \\"2019-04-07T09:19:21Z\\",\\n \\"IsMultiAZ\\": true\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListInstances', + 'summary' => 'Queries instances.', + 'changeSet' => [], + 'ramActions' => [], ], - 'ChangeResourceGroup' => [ - 'summary' => 'Changes the resource group to which an instance belongs.', - 'path' => '/v2/openapi/changeresourcegroup', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTagResources' => [ + 'path' => '/v2/openapi/listtagresources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'list', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of tagged resources that you want to return. Valid values: 0 to 200. If you do not specify this parameter or set the parameter to 0, the default value of 100 is used.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the resource. valid value:'."\n" + ."\n" + .'instance: instance'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance'], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => 'The resource IDs, which are instance names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The resource ID, which is the instance name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance-test'], + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'title' => 'A short description of struct', - 'description' => 'The request body.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'title' => 'resource id, aka ots instance name', - 'description' => 'The resource ID, which is the instance name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'first-ins', - ], - 'NewResourceGroupId' => [ - 'title' => 'new resource group id', - 'description' => 'The ID of the new resource group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rg-aek3bgek3kxhyky', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Owner'], + 'Value' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Tester'], ], + 'required' => false, ], 'required' => false, ], ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. Tagged resources are returned in lexicographical order starting from the position that is specified by this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CAESCG15aC1xxxxx'], + ], ], 'responses' => [ 200 => [ @@ -1370,221 +1826,328 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F', + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '31D8120C-AC52-5CA9-BE4A-E4C6316E19AD'], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'CAESCG15aC1xxxxx'], + 'MaxResults' => ['description' => 'The maximum number of tagged resources that are returned for the query.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TagResources' => [ + 'title' => '', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The tag.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagKey' => ['title' => '', 'description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'Owner'], + 'TagValue' => ['title' => '', 'description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'Tester'], + 'ResourceId' => ['title' => '', 'description' => 'The resource ID, which is the instance name.'."\n", 'type' => 'string', 'example' => 'instance-test'], + 'ResourceType' => ['title' => '', 'description' => 'The type of the resource.'."\n", 'type' => 'string', 'example' => 'ALIYUN::OTS::INSTANCE'], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\"\\n}","type":"json"}]', - 'title' => 'ChangeResourceGroup', - ], - 'ListTagResources' => [ + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"31D8120C-AC52-5CA9-BE4A-E4C6316E19AD\\",\\n \\"NextToken\\": \\"CAESCG15aC1xxxxx\\",\\n \\"MaxResults\\": 20,\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Owner\\",\\n \\"TagValue\\": \\"Tester\\",\\n \\"ResourceId\\": \\"instance-test\\",\\n \\"ResourceType\\": \\"ALIYUN::OTS::INSTANCE\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListTagResources', 'summary' => 'Queries tagged resources.', - 'path' => '/v2/openapi/listtagresources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ], ], + 'ramActions' => [], + ], + 'ListVpcInfoByAgentStorage' => [ + 'summary' => 'Retrieves the list of VPC information stored in an agent storage.', + 'path' => '/v2/openapi/listvpcinfobyagentstorage', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI', 'FEATUREotsL88RYP'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'MaxResults', + 'name' => 'AgentStorageName', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of tagged resources that you want to return. Valid values: 0 to 200. If you do not specify this parameter or set the parameter to 0, the default value of 100 is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The agent storage name.', 'type' => 'string', 'required' => true, 'example' => 'agent-test', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. valid value:'."\n" - ."\n" - .'instance: instance'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ResourceIds', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'simple', + 'schema' => ['description' => 'The number of VPCs per page for the query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The resource IDs, which are instance names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID, which is the instance name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance-test', + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F'], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of VPCs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'AgentStorageName' => ['description' => 'The agent storage name.', 'type' => 'string', 'example' => 'agent-test', 'title' => ''], + 'VpcInfos' => [ + 'description' => 'The VPC details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC ID', 'type' => 'string', 'example' => 'vpc-2z***********n7w3dl', 'title' => ''], + 'Domain' => ['description' => 'The VPC access address.', 'type' => 'string', 'example' => 'http://remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com', 'title' => ''], + 'AgentStorageVpcName' => ['description' => 'The VPC name.', 'type' => 'string', 'example' => 'remua', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the agent storage.', 'type' => 'string', 'example' => 'http://172.**.***.34:80/', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], - 'required' => false, + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve VPC information list of agent storage', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 8,\\n \\"TotalCount\\": 1,\\n \\"AgentStorageName\\": \\"agent-test\\",\\n \\"VpcInfos\\": [\\n {\\n \\"VpcId\\": \\"vpc-2z***********n7w3dl\\",\\n \\"Domain\\": \\"http://remua-agent-test.cn-beijing.vpc.ots.aliyuncs.com\\",\\n \\"AgentStorageVpcName\\": \\"remua\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"Endpoint\\": \\"http://172.**.***.34:80/\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListVpcInfoByInstance' => [ + 'path' => '/v2/openapi/listvpcinfobyinstance', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Tags', + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceName', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The name of the instance.', 'type' => 'string', 'required' => true, 'example' => 'mkdd-test', 'title' => ''], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of VPCs to return on each page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Owner', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Tester', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. You can use the ID to locate and troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '44FDC379-4443-560E-B652-9F7476D8854F'], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of VPCs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'mkdd-test', 'title' => ''], + 'VpcInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-2z***********n7w3dl', 'title' => ''], + 'Domain' => ['description' => 'The endpoint of the VPC.', 'type' => 'string', 'example' => 'http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', 'title' => ''], + 'InstanceVpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'xu6666', 'title' => ''], + 'RegionNo' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the instance.', 'type' => 'string', 'example' => 'http://172.**.***.34:80/', 'title' => ''], + ], + 'description' => 'The details of the VPC.', + 'title' => '', + 'example' => '', ], + 'description' => 'The details of the VPCs.', + 'title' => '', + 'example' => '', ], - 'required' => false, ], - 'required' => false, + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListVpcInfoByInstance', + 'summary' => 'Retrieves a list of VPC information for an instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. Tagged resources are returned in lexicographical order starting from the position that is specified by this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CAESCG15aC1xxxxx', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'ots:ListVpcInfoByInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44FDC379-4443-560E-B652-9F7476D8854F\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 8,\\n \\"TotalCount\\": 1,\\n \\"InstanceName\\": \\"mkdd-test\\",\\n \\"VpcInfos\\": [\\n {\\n \\"VpcId\\": \\"vpc-2z***********n7w3dl\\",\\n \\"Domain\\": \\"http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"InstanceVpcName\\": \\"xu6666\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"Endpoint\\": \\"http://172.**.***.34:80/\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListVpcInfoByVpc' => [ + 'path' => '/v2/openapi/listvpcinfobyvpc', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1***********0mh8', 'title' => ''], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of VPCs to return on each page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '31D8120C-AC52-5CA9-BE4A-E4C6316E19AD', - ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'example' => 'CAESCG15aC1xxxxx', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of tagged resources that are returned for the query.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TagResources' => [ - 'title' => '标签列表。', - 'description' => 'The tags.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4141784E-91FF-56E3-9371-FD011FF876F4', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of VPCs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-bp1***********0mh8', 'title' => ''], + 'VpcInfos' => [ 'type' => 'array', 'items' => [ - 'title' => '标签对象。', - 'description' => 'The tag.'."\n", 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'title' => '标签键。', - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'Owner', - ], - 'TagValue' => [ - 'title' => '标签值。', - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'Tester', - ], - 'ResourceId' => [ - 'title' => '资源ID(名称)。', - 'description' => 'The resource ID, which is the instance name.'."\n", - 'type' => 'string', - 'example' => 'instance-test', - ], - 'ResourceType' => [ - 'title' => '资源类型。如ALIYUN::OTS::INSTANCE, ALIYUN::VPC::VPC。', - 'description' => 'The type of the resource.'."\n", - 'type' => 'string', - 'example' => 'ALIYUN::OTS::INSTANCE', - ], + 'Domain' => ['description' => 'The VPC endpoint.', 'type' => 'string', 'example' => 'http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', 'title' => ''], + 'InstanceVpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'xu6666', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'mkdd-test', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the instance.', 'type' => 'string', 'example' => 'http://172.**.***.34:80/', 'title' => ''], ], + 'description' => 'The details of a VPC.', + 'title' => '', + 'example' => '', ], + 'description' => 'The details of the VPCs.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"31D8120C-AC52-5CA9-BE4A-E4C6316E19AD\\",\\n \\"NextToken\\": \\"CAESCG15aC1xxxxx\\",\\n \\"MaxResults\\": 20,\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Owner\\",\\n \\"TagValue\\": \\"Tester\\",\\n \\"ResourceId\\": \\"instance-test\\",\\n \\"ResourceType\\": \\"ALIYUN::OTS::INSTANCE\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListTagResources', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListVpcInfoByVpc', + 'summary' => 'Retrieves a list of VpcInfo objects for a specified Virtual Private Cloud (VPC).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'ots:ListVpcInfoByVpc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4141784E-91FF-56E3-9371-FD011FF876F4\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"VpcId\\": \\"vpc-bp1***********0mh8\\",\\n \\"VpcInfos\\": [\\n {\\n \\"Domain\\": \\"http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"InstanceVpcName\\": \\"xu6666\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"InstanceName\\": \\"mkdd-test\\",\\n \\"Endpoint\\": \\"http://172.**.***.34:80/\\"\\n }\\n ]\\n}","type":"json"}]', ], 'TagResources' => [ - 'summary' => 'Adds tags to instances.', 'path' => '/v2/openapi/tagresources', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ @@ -1596,25 +2159,14 @@ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'title' => 'resource type', - 'description' => 'The type of the resource. valid value:'."\n" - ."\n" - .'instance: instance'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'ResourceType' => ['title' => 'resource type', 'description' => 'The type of the resource. valid value:'."\n" + ."\n" + .'instance: instance'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance'], 'ResourceIds' => [ 'title' => 'resource ids', 'description' => 'The resource IDs, which are instance names.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID, which is the instance name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-74b774f34061e022', - ], + 'items' => ['description' => 'The resource ID, which is the instance name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-74b774f34061e022'], 'required' => true, ], 'Tags' => [ @@ -1625,20 +2177,8 @@ 'description' => 'The tag.'."\n", 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => 'tag key', - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'created', - ], - 'Value' => [ - 'title' => 'tag value', - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'job-0007z8j1omiabo5i872l', - ], + 'Key' => ['title' => 'tag key', 'description' => 'The tag key.'."\n", 'type' => 'string', 'required' => true, 'example' => 'created'], + 'Value' => ['title' => 'tag value', 'description' => 'The tag value.'."\n", 'type' => 'string', 'required' => true, 'example' => 'job-0007z8j1omiabo5i872l'], ], 'required' => true, ], @@ -1656,43 +2196,36 @@ 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '44FDC379-4443-560E-B652-9F7476D8854F', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '44FDC379-4443-560E-B652-9F7476D8854F'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44FDC379-4443-560E-B652-9F7476D8854F\\"\\n}","type":"json"}]', 'title' => 'TagResources', + 'summary' => 'Adds tags to instances.', + 'changeSet' => [], + 'ramActions' => [], ], - 'UntagResources' => [ - 'summary' => 'Removes tags from resources.', - 'path' => '/v2/openapi/untagresources', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UnbindAgentStorage2Vpc' => [ + 'path' => '/v2/openapi/unbindagentstorage2vpc', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'high', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ @@ -1700,102 +2233,60 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => 'The request body parameters.'."\n", + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The type of the resource. valid value:'."\n" - ."\n" - .'instance: instance'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance', - ], - 'ResourceIds' => [ - 'description' => 'The resource IDs, which are instance names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID, which is the instance name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'asg-bp1gnlr8vqatuqukwrx1', - ], - 'required' => false, - ], - 'TagKeys' => [ - 'description' => 'The tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'app-fl-test-0', - ], - 'required' => false, - ], - 'All' => [ - 'description' => 'Specifies whether to remove all tags from the resources. Default value: false.', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => 'removes all tags from the resources', - 'false' => 'removes the tags that are specified by the TagKeys parameter from the resources', - ], - 'example' => 'false', - ], + 'AgentStorageName' => ['description' => 'The agent storage name.', 'type' => 'string', 'required' => true, 'example' => 'agent-test', 'title' => ''], + 'AgentStorageVpcName' => ['description' => 'The VPC name.', 'type' => 'string', 'required' => true, 'example' => 'remua', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '26B43C99-F5C9-5341-B462-37427C5BF201', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID, which can be used to troubleshoot and locate issues.', 'type' => 'string', 'example' => '18DD77BF-F967-576D-80D1-79121399AB53'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"26B43C99-F5C9-5341-B462-37427C5BF201\\"\\n}","type":"json"}]', - 'title' => 'UntagResources', - 'description' => 'Removing tags from resources helps simplify resource management, optimize system performance, and mitigate potential security vulnerabilities. After a tag is removed from a resource, the system automatically deletes the tag if the tag is not added to other resources.'."\n", - ], - 'UpdateInstancePolicy' => [ - 'summary' => 'Modifies a Resource Access Management (RAM) policy for an instance.', - 'path' => '/v2/openapi/updateinstancepolicy', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Disassociate agent storage from a VPC', + 'summary' => 'Disassociates agent storage from a VPC.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18DD77BF-F967-576D-80D1-79121399AB53\\"\\n}","type":"json"}]', + ], + 'UnbindInstance2Vpc' => [ + 'path' => '/v2/openapi/unbindinstance2vpc', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ @@ -1803,127 +2294,69 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => '实例名称', - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my-test-12345', - ], - 'Policy' => [ - 'title' => '实例访问控制策略,JSON格式,详见:https://help.aliyun.com/zh/ram/user-guide/policy-structure-and-syntax', - 'description' => 'The instance policy in the JSON format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{'."\n" - .' "Version": "1",'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": ['."\n" - .' "ots:*"'."\n" - .' ],'."\n" - .' "Resource": ['."\n" - .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" - .' ],'."\n" - .' "Principal": ['."\n" - .' "*"'."\n" - .' ],'."\n" - .' "Effect": "Allow",'."\n" - .' "Condition": {'."\n" - .' "StringEquals": {'."\n" - .' "ots:TLSVersion": ['."\n" - .' "1.2"'."\n" - .' ]'."\n" - .' },'."\n" - .' "IpAddress": {'."\n" - .' "acs:SourceIp": ['."\n" - .' "192.168.0.1",'."\n" - .' "172.16.0.1"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'PolicyVersion' => [ - 'title' => 'Instance policy的版本', - 'description' => 'The version of the instance policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'required' => true, 'example' => 'mkdd-test', 'title' => ''], + 'InstanceVpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'xu6666', 'title' => ''], ], + 'description' => 'The request body.', 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '31D8120C-AC52-5CA9-BE4A-E4C6316E19AD', - ], - 'Code' => [ - 'title' => '响应状态码', - 'description' => 'The HTTP status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'title' => '响应消息描述', - 'description' => 'The response message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '18DD77BF-F967-576D-80D1-79121399AB53'], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"31D8120C-AC52-5CA9-BE4A-E4C6316E19AD\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', - 'title' => 'UpdateInstancePolicy', - ], - 'DeleteInstancePolicy' => [ - 'summary' => 'Deletes a Resource Access Management (RAM) policy of an instance.', - 'path' => '/v2/openapi/deleteinstancepolicy', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UnbindInstance2Vpc', + 'summary' => 'Detaches an instance from a VPC.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UnbindInstance2Vpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18DD77BF-F967-576D-80D1-79121399AB53\\"\\n}","type":"json"}]', + ], + 'UntagResources' => [ + 'path' => '/v2/openapi/untagresources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ @@ -1931,23 +2364,30 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => 'The request body.'."\n", + 'description' => 'The request body parameters.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => '实例名称', - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my-test-12345', + 'ResourceType' => ['description' => 'The type of the resource. valid value:'."\n" + ."\n" + .'instance: instance'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance'], + 'ResourceIds' => [ + 'description' => 'The resource IDs, which are instance names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The resource ID, which is the instance name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asg-bp1gnlr8vqatuqukwrx1'], + 'required' => false, ], - 'PolicyVersion' => [ - 'title' => 'Instance policy的版本', - 'description' => 'The version of the instance policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', + 'TagKeys' => [ + 'description' => 'The tag keys.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'app-fl-test-0'], + 'required' => false, + ], + 'All' => [ + 'description' => 'Specifies whether to remove all tags from the resources. Default value: false.', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => 'removes all tags from the resources', 'false' => 'removes the tags that are specified by the TagKeys parameter from the resources'], + 'example' => 'false', ], ], 'required' => false, @@ -1958,66 +2398,40 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '3104C83E-6E82-57FB-BB88-8C64CCFDEF89', - ], - 'Code' => [ - 'title' => '响应状态码', - 'description' => 'The HTTP status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'title' => '响应消息描述', - 'description' => 'The response message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '26B43C99-F5C9-5341-B462-37427C5BF201'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3104C83E-6E82-57FB-BB88-8C64CCFDEF89\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', - 'title' => 'DeleteInstancePolicy', - 'description' => '* You cannot recover a deleted instance policy. Proceed with caution.'."\n" - .'* After you delete an instance policy, the access control that is specified by the instance policy becomes invalid. Make sure that your instance is in a secure environment.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"26B43C99-F5C9-5341-B462-37427C5BF201\\"\\n}","type":"json"}]', + 'title' => 'UntagResources', + 'summary' => 'Removes tags from resources.', + 'description' => 'Removing tags from resources helps simplify resource management, optimize system performance, and mitigate potential security vulnerabilities. After a tag is removed from a resource, the system automatically deletes the tag if the tag is not added to other resources.'."\n", + 'changeSet' => [], + 'ramActions' => [], ], - 'CheckInstancePolicy' => [ - 'summary' => 'Checks the validity of a Resource Access Management (RAM) policy for an instance.', - 'path' => '/v2/openapi/checkinstancepolicy', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateAgentStorage' => [ + 'summary' => 'Updates agent storage.', + 'path' => '/v2/openapi/updateagentstorage', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], 'parameters' => [ [ @@ -2025,272 +2439,276 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => 'The request body.'."\n", + 'description' => 'The body of the request parameter.', 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'title' => '实例名称', - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'workshop-bj-ots1', + 'AgentStorageName' => ['description' => 'The name of the agent storage.', 'type' => 'string', 'required' => true, 'example' => 'agent-test', 'title' => ''], + 'AliasName' => ['description' => 'The alias of the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'agent-test', 'title' => ''], + 'AgentStorageDescription' => ['description' => 'The description of the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'description for agent storage', 'title' => ''], + 'Network' => ['title' => '', 'description' => '(Deprecated) The network type of the agent storage. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL.', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + 'NetworkTypeACL' => [ + 'title' => '', + 'description' => 'The list of allowed network types for the agent storage. All types are allowed by default. Valid values:'."\n" + .'- CLASSIC: classic network.'."\n" + .'- INTERNET: public network.'."\n" + .'- VPC: VPC network.', + 'type' => 'array', + 'items' => ['description' => 'The allowed network type for the agent storage.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'VPC'], + 'required' => false, + 'example' => '', ], - 'Policy' => [ - 'title' => '实例访问控制策略,JSON格式', - 'description' => 'The instance policy in the JSON format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{'."\n" - .' "Version": "1",'."\n" - .' "Statement": ['."\n" - .' {'."\n" - .' "Action": ['."\n" - .' "ots:*"'."\n" - .' ],'."\n" - .' "Resource": ['."\n" - .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" - .' ],'."\n" - .' "Principal": ['."\n" - .' "*"'."\n" - .' ],'."\n" - .' "Effect": "Allow",'."\n" - .' "Condition": {'."\n" - .' "StringEquals": {'."\n" - .' "ots:TLSVersion": ['."\n" - .' "1.2"'."\n" - .' ]'."\n" - .' },'."\n" - .' "IpAddress": {'."\n" - .' "acs:SourceIp": ['."\n" - .' "192.168.0.1",'."\n" - .' "172.16.0.1"'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', + 'NetworkSourceACL' => [ + 'title' => '', + 'description' => 'The list of allowed network sources for the agent storage. All sources are allowed by default. Must be used with TRUST_PROXY (console).', + 'type' => 'array', + 'items' => ['description' => 'The allowed network source for the agent storage.', 'type' => 'string', 'required' => false, 'example' => 'TRUST_PROXY', 'title' => ''], + 'required' => false, + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '757E172A-F94B-5E78-8A23-D9068E42F2E9', - ], - 'Code' => [ - 'title' => '响应状态码', - 'description' => 'The HTTP status code.'."\n", - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '响应消息描述', - 'description' => 'The response message.'."\n", - 'type' => 'string', - 'example' => 'Verification passed.', - ], + 'RequestId' => ['description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => '39871ED2-62C0-578F-A32E-B88072D5582F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'Update agent storage', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"757E172A-F94B-5E78-8A23-D9068E42F2E9\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Verification passed.\\"\\n}","type":"json"}]', - 'title' => 'CheckInstancePolicy', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\"\\n}","type":"json"}]', ], - 'DescribeRegions' => [ - 'summary' => 'Queries supported regions.', - 'path' => '/region/DescribeRegions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateAgentStoragePolicy' => [ + 'path' => '/v2/openapi/updateagentstoragepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREots4PD2C1', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREotsBN42MI', 'FEATUREotsL88RYP'], ], 'parameters' => [ [ - 'name' => 'ClientToken', - 'in' => 'query', - 'allowEmptyValue' => false, + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '幂等参数', - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'> #### 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', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'AgentStorageName' => ['title' => '', 'description' => 'The name of the agent storage.', 'type' => 'string', 'required' => true, 'example' => 'agent-test'], + 'Policy' => ['title' => '', 'description' => 'The access control policy of the agent storage in JSON format. For more information, see https://www.alibabacloud.com/help/en/ram/user-guide/policy-structure-and-syntax.', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:agentstorage/myagentstorage*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "172.16.0.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the agent storage access control policy.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], + ], 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'Regions' => [ - 'title' => 'region list', - 'description' => 'The regions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The region.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'title' => 'region id', - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'I18nKey' => [ - 'title' => 'region key', - 'description' => 'The key of the region.'."\n", - 'type' => 'string', - 'example' => 'yunjiankong.cloud.region.cn-hangzhou', - ], - ], - ], - ], + 'requestId' => ['title' => '', 'description' => 'The request ID, which can be used for troubleshooting.', 'type' => 'string', 'example' => 'B37BBA04-D827-55C8-B901-5264B904E8C6'], + 'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'success'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39871ED2-62C0-578F-A32E-B88072D5582F\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"I18nKey\\": \\"yunjiankong.cloud.region.cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeRegions', - ], - 'ListClusterType' => [ - 'summary' => '列举集群类型', - 'path' => '/v2/openapi/listclustertype', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Modify agent storage access control policy', + 'summary' => 'Modifies the access control policy of agent storage.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B37BBA04-D827-55C8-B901-5264B904E8C6\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + ], + 'UpdateInstance' => [ + 'summary' => 'Updates instance information.', + 'path' => '/v2/openapi/updateinstance', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '8522', - 'abilityTreeNodes' => [ - 'FEATUREots74FK9U', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREotsBN42MI'], ], - 'parameters' => [], - 'responses' => [ - 200 => [ + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '88BA193C-4918-08C4-9870-E1FE6BBECF34', - ], - 'ClusterTypes' => [ - 'title' => 'list of cluster type', + 'InstanceName' => ['description' => 'The name of the instance whose information you want to update.', 'type' => 'string', 'required' => true, 'example' => 'instance-test', 'title' => ''], + 'AliasName' => ['description' => 'The alias of the instance.', 'type' => 'string', 'required' => false, 'example' => 'instance-test', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'required' => false, 'example' => 'the test instance', 'title' => ''], + 'Network' => ['description' => '(Deprecated) The network type of the instance. Valid values: NORMAL and VPC\\_CONSOLE. Default value: NORMAL.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'VPC'], + 'NetworkTypeACL' => [ + 'title' => '', + 'description' => 'The new types of the network from which access is allowed. By default, all types of networks are allowed. Valid values:'."\n" + ."\n" + .'- INTERNET: the Internet'."\n" + ."\n" + .'- VPC: VPCs'."\n" + ."\n" + .'- CLASSIC: the classic network', 'type' => 'array', 'items' => [ - 'title' => 'cluster type', + 'description' => 'The new type of the network from which access is allowed.', + 'enumValueTitles' => ['INTERNET' => 'the Internet', 'VPC' => 'VPCs', 'CLASSIC' => 'the classic network'], 'type' => 'string', - 'example' => 'SSD', + 'title' => '', + 'required' => false, + 'example' => 'INTERNET', ], + 'required' => false, + 'example' => '', ], - 'ClusterTypeInfos' => [ - 'title' => 'list of cluster type detail', + 'NetworkSourceACL' => [ + 'title' => '', + 'description' => 'The new sources of the network from which access is allowed. By default, all sources of networks are allowed. Valid value:'."\n" + ."\n" + .'TRUST\\_PROXY: the console', 'type' => 'array', 'items' => [ - 'title' => 'cluster type detail', - 'type' => 'object', - 'properties' => [ - 'ClusterType' => [ - 'title' => 'cluster type', - 'type' => 'string', - 'example' => 'SSD', - ], - 'IsMultiAZ' => [ - 'title' => 'redundancy type', - 'type' => 'boolean', - ], - ], + 'description' => 'The new source of the network from which access is allowed.', + 'enumValueTitles' => ['TRUST_PROXY' => 'the console'], + 'type' => 'string', + 'required' => false, + 'example' => 'TRUST_PROXY', + 'title' => '', ], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"88BA193C-4918-08C4-9870-E1FE6BBECF34\\",\\n \\"ClusterTypes\\": [\\n \\"SSD\\"\\n ],\\n \\"ClusterTypeInfos\\": [\\n {\\n \\"ClusterType\\": \\"SSD\\",\\n \\"IsMultiAZ\\": true\\n }\\n ]\\n}","type":"json"}]', + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The returned struct.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID, which can be used to troubleshoot issues.', 'type' => 'string', 'example' => '3104C83E-6E82-57FB-BB88-8C64CCFDEF89', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateInstance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstance'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:Instance/{#instanceName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3104C83E-6E82-57FB-BB88-8C64CCFDEF89\\"\\n}","type":"json"}]', ], 'UpdateInstanceElasticVCUUpperLimit' => [ - 'summary' => 'Modifies the upper limit for the VCUs of an instance in VCU mode (formerly reserved mode).', 'path' => '/v2/openapi/updateinstanceelasticvcuupperlimit', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -2298,9 +2716,7 @@ 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '221366', - 'abilityTreeNodes' => [ - 'FEATUREotsDNUEK6', - ], + 'abilityTreeNodes' => ['FEATUREotsDNUEK6'], ], 'parameters' => [ [ @@ -2308,26 +2724,17 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => 'The request body.'."\n", + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'workshop-bj-ots1', - ], - 'ElasticVCUUpperLimit' => [ - 'description' => 'The upper limit for the VCUs of the instance.'."\n" - ."\n" - .'> Valid values of the upper limit for the VCUs of an instance: **Number of reserved VCUs+0.1 to 2000**. You can upgrade or downgrade configurations to modify the number of reserved VCUs by increments or decrements of 1. You can dynamically modify the upper limit for the VCUs of an instance by increments or decrements of 0.1'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => true, - 'example' => '6', - ], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'required' => true, 'example' => 'workshop-bj-ots1', 'title' => ''], + 'ElasticVCUUpperLimit' => ['description' => 'The upper limit for the VCUs of the instance.'."\n" + ."\n" + .'> Valid values of the upper limit for the VCUs of an instance: **Number of reserved VCUs+0.1 to 2000**. You can upgrade or downgrade configurations to modify the number of reserved VCUs by increments or decrements of 1. You can dynamically modify the upper limit for the VCUs of an instance by increments or decrements of 0.1', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '6', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -2335,92 +2742,99 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The returned struct.'."\n", + 'description' => 'The returned struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'B37BBA04-D827-55C8-B901-5264B904E8C6', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'B37BBA04-D827-55C8-B901-5264B904E8C6'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateInstanceElasticVCUUpperLimit', + 'summary' => 'Modifies the upper limit for the VCUs of an instance in VCU mode (formerly reserved mode).', + 'description' => '- **Before you call this operation, you must understand the billing and pricing of Tablestore. For more information, see [Billing overview](~~27291~~).**'."\n" + ."\n" + .'- After you enable scalability for an instance, the default upper limit for the VCUs of the instance is the sum of the scalability and the reserved VCUs.'."\n" + ."\n" + .'- To use more computing resources when your business grows, you can modify the upper limit for the VCUs of your instance. The new upper limit for the VCUs of your instance immediately takes effect.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstanceElasticVCUUpperLimit'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstanceElasticVCUUpperLimit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B37BBA04-D827-55C8-B901-5264B904E8C6\\"\\n}","type":"json"}]', - 'title' => 'UpdateInstanceElasticVCUUpperLimit', - 'description' => '* **Before you call this operation, you must understand the billing and pricing of Tablestore. For more information, see [Billing overview](~~27291~~).**'."\n" - .'* After you enable scalability for an instance, the default upper limit for the VCUs of the instance is the sum of the scalability and the reserved VCUs.'."\n" - .'* To use more computing resources when your business grows, you can modify the upper limit for the VCUs of your instance. The new upper limit for the VCUs of your instance immediately takes effect.'."\n", ], - 'BindInstance2Vpc' => [ - 'summary' => '绑定vpc', - 'path' => '/v2/openapi/bindinstance2vpc', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateInstancePolicy' => [ + 'path' => '/v2/openapi/updateinstancepolicy', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', - ], - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2ze***********g31n7', - ], - 'VirtualSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-uf6***********ez6ge', - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mkdd-test', - ], - 'InstanceVpcName' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'xu6666', - ], + 'InstanceName' => ['title' => '', 'description' => 'The name of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'my-test-12345'], + 'Policy' => ['title' => '', 'description' => 'The instance policy in the JSON format.'."\n", 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "Version": "1",'."\n" + .' "Statement": ['."\n" + .' {'."\n" + .' "Action": ['."\n" + .' "ots:*"'."\n" + .' ],'."\n" + .' "Resource": ['."\n" + .' "acs:ots:*:13791xxxxxxxxxxx:instance/myinstance*"'."\n" + .' ],'."\n" + .' "Principal": ['."\n" + .' "*"'."\n" + .' ],'."\n" + .' "Effect": "Allow",'."\n" + .' "Condition": {'."\n" + .' "StringEquals": {'."\n" + .' "ots:TLSVersion": ['."\n" + .' "1.2"'."\n" + .' ]'."\n" + .' },'."\n" + .' "IpAddress": {'."\n" + .' "acs:SourceIp": ['."\n" + .' "192.168.0.1",'."\n" + .' "172.16.0.1"'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'PolicyVersion' => ['title' => '', 'description' => 'The version of the instance policy.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], ], 'required' => false, ], @@ -2430,501 +2844,388 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E734979F-5A44-5993-9CE5-C23103576923', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', - ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.**.***.34', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID, which can be used to troubleshoot issues.'."\n", 'type' => 'string', 'example' => '31D8120C-AC52-5CA9-BE4A-E4C6316E19AD'], + 'Code' => ['title' => '', 'description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '', 'description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'success'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E734979F-5A44-5993-9CE5-C23103576923\\",\\n \\"Domain\\": \\"xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"Endpoint\\": \\"172.**.***.34\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"31D8120C-AC52-5CA9-BE4A-E4C6316E19AD\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + 'title' => 'UpdateInstancePolicy', + 'summary' => 'Modifies a Resource Access Management (RAM) policy for an instance.', + 'changeSet' => [], + 'ramActions' => [], ], - 'ListVpcInfoByInstance' => [ - 'summary' => '获取实例的vpcInfo列表', - 'path' => '/v2/openapi/listvpcinfobyinstance', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'produces' => [ - 'application/json', + ], + 'endpoints' => [ + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'tablestore.cn-wulanchabu.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-beijing.aliyuncs.com', 'endpoint' => 'tablestore.cn-beijing.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-qingdao.aliyuncs.com', 'endpoint' => 'tablestore.cn-qingdao.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-shanghai.aliyuncs.com', 'endpoint' => 'tablestore.cn-shanghai.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-hongkong.aliyuncs.com', 'endpoint' => 'tablestore.cn-hongkong.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'tablestore.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-shenzhen.aliyuncs.com', 'endpoint' => 'tablestore.cn-shenzhen.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-northeast-1.aliyuncs.com', 'endpoint' => 'tablestore.ap-northeast-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-chengdu.aliyuncs.com', 'endpoint' => 'tablestore.cn-chengdu.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-guangzhou.aliyuncs.com', 'endpoint' => 'tablestore.cn-guangzhou.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-1.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-2.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-2.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-3.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-3.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-huhehaote.aliyuncs.com', 'endpoint' => 'tablestore.cn-huhehaote.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-5.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-5.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-6.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-6.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.ap-southeast-7.aliyuncs.com', 'endpoint' => 'tablestore.ap-southeast-7.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'tablestore.cn-hangzhou.aliyuncs.com', 'endpoint' => 'tablestore.cn-hangzhou.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'tablestore.us-east-1.aliyuncs.com', 'endpoint' => 'tablestore.us-east-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'tablestore.eu-west-1.aliyuncs.com', 'endpoint' => 'tablestore.eu-west-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'tablestore.us-west-1.aliyuncs.com', 'endpoint' => 'tablestore.us-west-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'tablestore.eu-central-1.aliyuncs.com', 'endpoint' => 'tablestore.eu-central-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'tablestore.me-east-1.aliyuncs.com', 'endpoint' => 'tablestore.me-east-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'tablestore.me-central-1.aliyuncs.com', 'endpoint' => 'tablestore.me-central-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'tablestore.ap-south-1.aliyuncs.com', 'endpoint' => 'tablestore.ap-south-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.ap-south-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'tablestore.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'tablestore.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'tablestore-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AccessDenied', 'message' => 'Access Denied.', 'http_code' => 403, 'description' => 'No permission'], + ['code' => 'Exists', 'message' => 'Resource already Exists.', 'http_code' => 409, 'description' => 'Resource already exists'], + ['code' => 'InvalidElasticVCUValue', 'message' => 'Invalid ElasticVCUValue.', 'http_code' => 403, 'description' => 'The instance elasticity upper limit value is invalid.'], + ['code' => 'InvalidInstanceType', 'message' => 'Invalid InstanceType.', 'http_code' => 403, 'description' => 'Invalid instance type'], + ['code' => 'InvalidPolicy', 'message' => 'Invalid Policy.', 'http_code' => 400, 'description' => 'The policy parameter format is abnormal.'], + ['code' => 'InvalidPolicyVersion', 'message' => 'Invalid Policy Version.', 'http_code' => 400, 'description' => 'Invalid instance policy Version'], + ['code' => 'NoChange', 'message' => 'The data has no change and does not need to be updated.', 'http_code' => 400, 'description' => 'The data has not changed and does not need to be updated.'], + ['code' => 'NotFound', 'message' => 'Resource not found.', 'http_code' => 404, 'description' => 'Resource does not exist'], + ['code' => 'NotFoundRG', 'message' => 'Resource group not found.', 'http_code' => 404, 'description' => 'The resource group does not exist.'], + ['code' => 'NotOwner', 'message' => 'Not Owner.', 'http_code' => 403, 'description' => 'The user is not the resource owner'], + ['code' => 'OTSValidationFail', 'message' => 'OTS Validation Fail.', 'http_code' => 403, 'description' => 'Verification failed'], + ['code' => 'QuotaExhausted', 'message' => 'The number of instances exceeds the limit.', 'http_code' => 400, 'description' => 'The number of instances exceeds the limit'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckInstancePolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstanceElasticVCUUpperLimit'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstancePolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstancePolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ], + ], + 'ram' => [ + 'productCode' => 'Tablestore', + 'productName' => 'Tablestore', + 'ramCodes' => ['ots'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [ + [ + 'name' => 'ots:AllowInstanceInternetAccess', + 'schema' => ['type' => 'Boolean', 'description' => 'When creating and modifying an instance, whether to allow the actual set to be accessible by the public network.'], + ], + [ + 'name' => 'vpc:Vpc', + 'schema' => ['type' => 'String', 'description' => 'VPC ID'], + ], + [ + 'name' => 'ots:tag', + 'schema' => ['type' => 'String', 'description' => 'Label'], + ], + [ + 'name' => 'ots:TLSVersion', + 'schema' => [ + 'type' => 'String', + 'description' => 'The TLS version at the time of the request', + 'enums' => ['TLSv1.1', 'TLSv1.2', 'TLSv1.3'], + ], + ], + [ + 'name' => 'vpc:IsDefaultVSwitch', + 'schema' => ['type' => 'Boolean', 'description' => 'Whether it is the default VSwitch'], + ], + [ + 'name' => 'vpc:IsDefaultVpc', + 'schema' => ['type' => 'Boolean', 'description' => 'Whether it is the default VPC'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + ], + 'ramActions' => [ + [ + 'apiName' => 'ListVpcInfoByInstance', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', + 'ramAction' => [ + 'action' => 'ots:ListVpcInfoByInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], ], - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mkdd-test', + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'ots:ListTagResourcesCustomTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#instanceName}'], ], ], - [ - 'name' => 'PageNum', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'UpdateInstanceElasticVCUUpperLimit', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstanceElasticVCUUpperLimit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '8', + ], + [ + 'apiName' => 'DeleteInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'ots:DeleteInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '44FDC379-4443-560E-B652-9F7476D8854F', - ], - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mkdd-test', - ], - 'VpcInfos' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'example' => 'vpc-2z***********n7w3dl', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', - ], - 'InstanceVpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xu6666', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://172.**.***.34:80/', - ], - ], - ], - ], - ], + [ + 'apiName' => 'ListInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'ots:ListInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44FDC379-4443-560E-B652-9F7476D8854F\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 8,\\n \\"TotalCount\\": 1,\\n \\"InstanceName\\": \\"mkdd-test\\",\\n \\"VpcInfos\\": [\\n {\\n \\"VpcId\\": \\"vpc-2z***********n7w3dl\\",\\n \\"Domain\\": \\"http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"InstanceVpcName\\": \\"xu6666\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"Endpoint\\": \\"http://172.**.***.34:80/\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'ListVpcInfoByVpc' => [ - 'summary' => '获取实例的vpcInfo列表', - 'path' => '/v2/openapi/listvpcinfobyvpc', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'ots:GetInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:Instance/{#instanceName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'ListAgentStorages', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'ots:ListAgentStorages', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListVpcInfoByVpc', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', + 'ramAction' => [ + 'action' => 'ots:ListVpcInfoByVpc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1***********0mh8', + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:TagResourcesCustomTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#instanceName}'], ], ], - [ - 'name' => 'PageNum', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'UpdateInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:Instance/{#instanceName}'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'DeleteInstancePolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'ots:DeleteInstancePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4141784E-91FF-56E3-9371-FD011FF876F4', - ], - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'VpcId' => [ - 'description' => 'VPC ID', - 'type' => 'string', - 'example' => 'vpc-bp1***********0mh8', - ], - 'VpcInfos' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com', - ], - 'InstanceVpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xu6666', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mkdd-test', - ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://172.**.***.34:80/', - ], - ], - ], - ], - ], + [ + 'apiName' => 'UnbindInstance2Vpc', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UnbindInstance2Vpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4141784E-91FF-56E3-9371-FD011FF876F4\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"VpcId\\": \\"vpc-bp1***********0mh8\\",\\n \\"VpcInfos\\": [\\n {\\n \\"Domain\\": \\"http://xu6666-mkdd-test.cn-hangzhou.vpc.ots.aliyuncs.com\\",\\n \\"InstanceVpcName\\": \\"xu6666\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"InstanceName\\": \\"mkdd-test\\",\\n \\"Endpoint\\": \\"http://172.**.***.34:80/\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'UnbindInstance2Vpc' => [ - 'summary' => '解绑vpc', - 'path' => '/v2/openapi/unbindinstance2vpc', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'ots:InsertInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'UpdateInstancePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:UpdateInstancePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'BindInstance2Vpc', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'ots:BindInstance2Vpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], + ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'UntagResources', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREotsBN42MI', + 'ramAction' => [ + 'action' => 'ots:UntagResourcesCustomTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], ], - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mkdd-test', - ], - 'InstanceVpcName' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'xu6666', - ], - ], - 'required' => false, + [ + 'apiName' => 'CheckInstancePolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'ots:CheckInstancePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '18DD77BF-F967-576D-80D1-79121399AB53', - ], - ], + [ + 'apiName' => 'DeleteVCUInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'ots:DeleteInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateVCUInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'ots:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Tablestore', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18DD77BF-F967-576D-80D1-79121399AB53\\"\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'tablestore.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'tablestore.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'tablestore.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'tablestore.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'tablestore.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'tablestore.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'tablestore.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'tablestore.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'tablestore.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'tablestore.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'tablestore.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'tablestore.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'tablestore.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'tablestore.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'tablestore.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'tablestore.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'tablestore.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'tablestore.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'tablestore.us-west-1.aliyuncs.com', ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'tablestore.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'tablestore.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'tablestore.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'tablestore.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'tablestore.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'tablestore.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'tablestore.me-central-1.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'AgentStorage', 'arn' => 'acs:ots:{#regionId}:{#accountId}:agentstorage/{#AgentStorageName}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/{#InstanceName}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:instance/*'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:ots:{#regionId}:{#accountId}:Instance/{#instanceName}'], + ['validationType' => 'always', 'resourceType' => 'AgentStorage', 'arn' => 'acs:ots:{#regionId}:{#accountId}:agentstorage/*'], ], ], ]; |
