Action
and Resource
to create a custom policy, you can call APIs to perform operations for desired resources. This document describes the mappings between console features and Action
.Feature | Authorized Action | Notes |
Service usage | DescribeCdnData DescribeBillingData | If not all domain names are authorized, each domain name’s usage will have to be queried separately |
Domain name statistics | DescribeDomains | The total number of authorized domain names will be returned |
Billing status | DescribePayType | The permission to change the billing mode cannot be granted to sub-accounts currently |
Traffic package statistics | DescribeTrafficPackages | Traffic package status is account-level data, and any associated resources can be queried |
Feature | Authorized Action | Notes |
Domain name list and query | DescribeDomains | Basic configuration items of a domain name can be queried, displayed, and downloaded To get all detailed configuration items, DescribeDomainsConfig should be authorized |
Adding domain name | DescribeDomains | Domain names can be added in any acceleration service region |
Disabling domain name | StopCdnDomain | - |
Enabling domain name | StartCdnDomain | - |
Deleting domain name | DeleteCdnDomain | - |
Modifying domain name project | UpdateDomainConfig | The domain name project is in the domain name configuration All configuration items of a domain name can be modified after authorization |
Domain name configuration management | UpdateDomainConfig DescribeDomainsConfig | All configuration items of a domain name can be viewed/modified after authorization |
Feature | Authorized Action | |
Querying certificate list | DescribeDomainsConfig | |
Configuring certificate | UpdateDomainConfig | |
Batch configuring certificates | UpdateDomainsHttps | |
Feature | Authorized Action | Notes |
Querying detailed access data | DescribeCdnData | All access data metrics under a domain name can be queried after authorization |
Querying detailed origin-pull data | DescribeOriginData | All origin-pull data metrics under a domain name can be queried after authorization |
Querying top traffic/requests Querying top domain names Querying rankings of domain name status codes Querying usage rankings by province in the Chinese mainland Querying usage rankings by ISP in the Chinese mainland Querying usage rankings outside the Chinese mainland | ListTopData | Rankings of different data metrics and dimensions can be queried after authorization |
Querying number of unique IPs | DescribeIpVisit | - |
Feature | Authorized Action |
Submitting URLs for purge | PurgeUrlsCache |
Submitting directories for purge | PurgePathCache |
Querying purge records | DescribePurgeTasks |
Submitting prefetch tasks | PushUrlsCache |
Querying prefetch records | DescribePurgeTasks |
Feature | Authorized Action |
Querying log download link | DescribeCdnDomainLogs |
Features | Authorized Action | Notes |
Querying detailed access data | DescribeCdnData | All access data metrics under a domain name can be queried after authorization |
Querying detailed origin-pull data | DescribeOriginData | All origin-pull data metrics under a domain name can be queried after authorization |
Querying top traffic/requests Querying top domain names Querying rankings of domain name status codes Querying usage rankings by province in the Chinese mainland Querying usage rankings by ISP in the Chinese mainland Querying usage rankings outside the Chinese mainland | ListTopData | Rankings of different data metrics and dimensions can be queried after authorization |
Querying number of unique IPs | DescribeIpVisit | - |
Feature | Authorized Action | Notes |
Querying traffic package list | DescribeTrafficPackages | The content returned by the API is irrelevant to the Resource . The list can be queried with any authorized resource |
Feature | Authorized Action | Notes |
Querying whether IP belongs to Tencent Cloud CDN | DescribeCdnIp | The content returned by the API is irrelevant to the Resource . The list can be queried with any authorized resource |
Was this page helpful?