Creates an agent storage instance.
Operation description
Before you call this operation, make sure that you fully understand the billing of Tablestore. For more information, see Billing overview.
You can create up to 10 agent storage instances within a single Alibaba Cloud account. Agent storage instance names must be unique within the same region. _single.params.body.props.Network.title The network type of the instance. Valid values: NORMAL, VPC_CONSOLE. Default value: NORMAL. _single.params.body.props.Network.desc The network type of the agent storage instance. Valid values: NORMAL, VPC_CONSOLE. Default value: NORMAL.
Try it now
Test
RAM authorization
Request syntax
POST /v2/openapi/createagentstorage HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
request body |
|
| AgentStorageName |
string |
Yes |
agent storage name |
first-ins |
| AgentStorageDescription |
string |
No |
agent storage description |
description for agent storage |
| ResourceGroupId |
string |
No |
resource group id |
rg-acfmxh4em5jnbcd |
| Network |
string |
No |
(已弃用)智能体存储网络类型。NORMAL, VPC_CONSOLE。默认为 NORMAL。 |
VPC |
| NetworkTypeACL |
array |
No |
The list of network types allowed for the agent storage instance. By default, all network types are allowed. Valid values: CLASSIC: classic network. INTERNET: Internet. VPC: VPC. |
|
|
string |
No |
The network type allowed for the agent storage instance. |
INTERNET |
|
| NetworkSourceACL |
array |
No |
The list of network sources allowed for the agent storage instance. By default, all network sources are allowed. Valid values: TRUST_PROXY: console. |
|
|
string |
No |
The network source allowed for the agent storage instance. |
TRUST_PROXY |
|
| Policy |
string |
No |
The access control policy of the agent storage instance in JSON format. For the policy syntax, see https://www.alibabacloud.com/help/en/ram/user-guide/policy-structure-and-syntax. |
{ "Version": "1", "Statement": [ { "Action": [ "ots:*" ], "Resource": [ "acs:ots:*:13791xxxxxxxxxxx:agentstorage/myagentstorage*" ], "Principal": [ "*" ], "Effect": "Allow", "Condition": { "StringEquals": { "ots:TLSVersion": [ "1.2" ] }, "IpAddress": { "acs:SourceIp": [ "192.168.0.1", "198.51.100.1" ] } } } ] } |
| Tags |
array<object> |
No |
tag |
|
|
object |
No |
The tag key-value pair. |
||
| Key |
string |
Yes |
The key of the tag. The key can be up to 64 characters in length. |
created |
| Value |
string |
Yes |
The value of the tag. The value can be up to 64 characters in length. |
0woauavextilfqr61 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
request id |
18DD77BF-F967-576D-80D1-79121399AB53 |
| Code |
string |
The response status code. |
OK |
| Message |
string |
The response message. |
success |
Examples
Success response
JSON format
{
"RequestId": "18DD77BF-F967-576D-80D1-79121399AB53",
"Code": "OK",
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.