All Products
Search
Document Center

DescribeDcdnDomainConfigs

Last Updated: May 17, 2019

Description

You can call this operation to query the configuration of a specified DCDN domain. You can specify multiple features in each query.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform.
Set the value to DescribeDcdnDomainConfigs.
DomainName String Yes The name of the specified DCDN domain.
FunctionNames String No The list of features, which are separated with commas (,).

Features

Name Description
referer_white_list_set Referer whitelist.
referer_black_list_set Referer blacklist.
filetype_based_ttl_set Specifies the time when a file object is expired.
path_based_ttl_set Specifies the time when a directory object is expired.
cc_defense Prevents CC attacks.
oss_auth Authenticates the access to an OSS bucket.
ip_black_list_set IP address blacklist.
ip_white_list_set IP address whitelist.
error_page Redirects an error page to another specified page.
tesla Optimizes a page and accelerates the access to the page.
set_req_host_header Modifies the custom origin-fetch header.
set_hashkey_args Ignores the specified URL parameters.
aliauth Enables the AliAuth feature.
set_resp_header Specifies the response header, which is user-accessible in a browser.
video_seek Enables dragging video slices.
range Enables the range request.
gzip Optimizes pages using GNU zip (gzip) compression.
https_force Forces HTTPS redirection.
http_force Forces HTTP redirection.
alilive Configures the ApsaraVideo Live service.
forward_scheme Adaptive back-to-origin requests.
tmd_signature Supports TMD custom rules.

Response parameters

Name Type Description
RequestId String The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests

  1. http://dcdn.aliyuncs.com/?Action=DescribeDcdnDomainConfigs
  2. &DomainName=www.xxx.org.cn
  3. &FunctionNames=filetype_based_ttl_set,set_req_host_header
  4. &<Common request parameters>

Sample responses

JSON format

  1. {
  2. "RequestId": "F8AA0364-0FDB-4AD5-AC74-D69FAB8924ED",
  3. "DomainConfigs": {
  4. "DomainConfig": [
  5. {
  6. "FunctionArgs": {
  7. "FunctionArg": [
  8. {
  9. "ArgName": "domain_name",
  10. "ArgValue": "testdcdn3.cdnpe.com"
  11. }
  12. ]
  13. },
  14. "ConfigId": 5003576,
  15. "FunctionName": "set_req_host_header"
  16. },
  17. {
  18. "FunctionArgs": {
  19. "FunctionArg": [
  20. {
  21. "ArgName": "file_type",
  22. "ArgValue": "txt"
  23. },
  24. {
  25. "ArgName": "ttl",
  26. "ArgValue": "13"
  27. },
  28. {
  29. "ArgName": "weight",
  30. "ArgValue": "8"
  31. }
  32. ]
  33. },
  34. "ConfigId": 5068995,
  35. "FunctionName": "filetype_based_ttl_set"
  36. }
  37. ]
  38. }
  39. }

Error codes

Error code Error message HTTP status code Description
DeleteFunctionFailed Batch delete functions failed. 400 The error message returned when you failed to delete multiple features.
InvalidFunctionName.ValueNotSupported FunctionName %s is not supported. 400 The error message returned when the %s feature name is invalid.