All Products
Search
Document Center

Tablestore:CheckAgentStoragePolicy

Last Updated:Jul 06, 2026

Checks the validity of an agent storage access control policy.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/openapi/checkagentstoragepolicy HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body parameters.

AgentStorageName

string

Yes

The agent storage name.

agent-test

Policy

string

Yes

The agent storage access control policy in JSON format.

{ "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", "172.16.0.1" ] } } } ] }

Response elements

Element

Type

Description

Example

object

The response struct.

RequestId

string

The request ID, which can be used for troubleshooting.

E734979F-5A44-5993-9CE5-C23103576923

Code

string

The response status code.

OK

Message

string

The response message.

Verification passed.

Examples

Success response

JSON format

{
  "RequestId": "E734979F-5A44-5993-9CE5-C23103576923",
  "Code": "OK",
  "Message": "Verification passed."
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.