{"version":"2.0","statement":[{"effect":"effect","action":["action"],"resource":["resource"],"condition": {"key":{"value"}}}]}
effect
, action
, resource
, and condition
. One policy has only one statement.allow
or deny
. This element is required.name
) or a feature set (a group of APIs, prefixed with permid
). This element is required.allow
) a resource, access is implicitly denied. You can also explicitly deny
access to a resource to ensure that a user cannot access it, even if another policy has granted access to it. The following example specifies an allow
effect."effect" : "allow"
cat:Describe\\*
) and all APIs (cat:\\*
) according to the operation nature.
The following example specifies an action that is allowed:"action":["name/cat:Describe*"]
resource
element describes one or multiple operation objects, such as CAT resource. All the resources can be described with the following four-segment format.qcs:project_id:account:resource
Parameter | Description | Required |
qcs | Abbreviation for "qcloud service", which indicates a Tencent Cloud service. | Yes |
service_type | Product name abbreviation, which is cat here. | Yes |
account | Root account information of the resource owner, which is the root account ID in the format of uin/${OwnerUin} , such as uin/100000000001 . | Yes |
resource | Resource details prefixed with task , such as task-a4iiv123 . | Yes |
"resource":["qcs::cat:uin/1250000000:TaskId/task-a4iiv123"]
1250000000
:task-12345678
).{"version": "2.0","statement": [{"effect": "allow","action":["cat:ModifyProbeTask"],"resource": ["qcs::cat:uin/1250000000:TaskId/task-a4iiv123"]}]}
API | Description |
CreateProbeTasks | Creates test tasks in batch. |
DeleteProbeTask | Deletes a test task. |
DescribeConsoleConfig | Gets the console configuration, for example, whether the tag is required when the current user is creating a task. |
DescribeDetailedSingleProbeData | Queries the details of a test task based on time range, task ID, ISP, etc. |
DescribePaymentState | Queries the billing status. |
DescribeProbeMetricData | Lists the detailed data of a CAT metric. |
DescribeProbeMetricTagValues | Lists the tag values of a CAT metric. |
DescribeProbeNodeGroups | Queries node groups. |
DescribeProbeNodes | Queries testing nodes. |
DescribeProbeTasks | Queries the list of test tasks. |
DescribeProbeTasksByAddresses | Lists the tasks aggregated by address. |
ModifyProbeTask | Modifies a test task. |
ResumeProbeTask | Resumes a test task. |
SuspendProbeTask | Suspends a test task. |
UpdateProbeTaskAttributes | Updates the attributes of a test task. |
UpdateProbeTaskConfigurationList | Updates the configuration of test tasks in batch. |
Was this page helpful?