Category: service
Use Alibaba Cloud CDN OpenAPI (RPC) for common operations and integrations including:
Describe*) first.Add*/ Set*/ BatchSet*/ Delete*) and record request context.output/aliyun-cdn-manage/.ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID~/.alibabacloud/credentialsIf region/environment is unclear, confirm with user before mutating operations.
cdn2018-05-10https://api.aliyun.com/meta/v1/products/cdn/versions/2018-05-10/api-docs.jsonbash
python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py
Optional arguments:
bash
python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py \
--product-code cdn \
--version 2018-05-10 \
--output-dir output/aliyun-cdn-manage
AddCdnDomain、 DescribeUserDomains、 DescribeCdnDomainDetail、 DeleteCdnDomainRefreshObjectCaches(refresh)、 PushObjectCache(preload)SetDomainServerCertificate, DescribeDomainCertificateInfoDescribeCdnDomainLogs、 DescribeDomainRealTimeRequestStatData、 DescribeDomainRealTimeBpsDataWrite generated files and execution evidence to:
output/aliyun-cdn-manage/
bash
mkdir -p output/aliyun-cdn-manage
for f in skills/network/cdn/aliyun-cdn-manage/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-cdn-manage/validate.txt
Pass criteria: command exits 0 and output/aliyun-cdn-manage/validate.txt is generated.
output/aliyun-cdn-manage/.ALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, optional ALICLOUD_REGION_ID.references/sources.md