調用DescribeCdnUserDomainsByFunc查詢使用者名稱下配置了指定功能的所有的網域名稱及其狀態。
介面說明
單使用者調用頻率:100 次/秒。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cdn:DescribeCdnUserDomainsByFunc |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| FuncId |
integer |
是 |
功能 ID,您可在網域名稱配置功能參數文檔,根據功能名稱搜尋查詢。 例如:配置回源 HOST(set_req_host_header)功能 ID 為 18。 |
7 |
| PageNumber |
integer |
否 |
頁碼,預設值:1。 取值範圍:1~100000。 |
10 |
| PageSize |
integer |
否 |
單頁顯示網域名稱的數量,預設值:20。 取值範圍:1~50。 |
20 |
| ResourceGroupId |
string |
否 |
資源群組 ID。 |
rg-xxxxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
頁碼。 |
1 |
| PageSize |
integer |
單頁顯示網域名稱的數量。 |
5 |
| TotalCount |
integer |
網域名稱總個數。 |
16 |
| Domains |
object |
||
| PageData |
array<object> |
加速網域名稱的配置資料列表。 |
|
|
array<object> |
|||
| GmtCreated |
string |
加速網域名稱建立時間。 |
2015-10-28T11:05:52Z |
| SslProtocol |
string |
https 開關。取值:
|
on |
| Description |
string |
狀態原因。 |
audit failed |
| ResourceGroupId |
string |
資源群組 ID。 |
rg-xxxxx |
| DomainStatus |
string |
加速網域名稱狀態。取值:
|
configure_failed |
| Cname |
string |
加速網域名稱對應的 CNAME 網域名稱。 |
example.com.w.alikunlun.com |
| GmtModified |
string |
加速網域名稱修改時間。 |
2015-10-29T10:15:31Z |
| CdnType |
string |
加速業務類型。取值:
|
web |
| DomainName |
string |
加速網域名稱名稱。 |
example.com |
| Sources |
object |
||
| Source |
array<object> |
來源站點資訊列表。 |
|
|
object |
|||
| Type |
string |
來源站點類型。取值:
|
ipaddr |
| Weight |
string |
回源權重。 |
10 |
| Priority |
string |
優先順序。 |
20 |
| Port |
integer |
來源站點連接埠。 |
80 |
| Content |
string |
來源站點地址。 |
1.1.1.1 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 5,
"TotalCount": 16,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T11:05:52Z",
"SslProtocol": "on",
"Description": "audit failed",
"ResourceGroupId": "rg-xxxxx",
"DomainStatus": "configure_failed",
"Cname": "example.com.w.alikunlun.com",
"GmtModified": "2015-10-29T10:15:31Z",
"CdnType": "web",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "ipaddr",
"Weight": "10",
"Priority": "20",
"Port": 80,
"Content": "1.1.1.1"
}
]
}
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | |
| 400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | |
| 400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | 網域名稱格式錯誤。 |
| 400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | |
| 400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | |
| 400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | |
| 400 | InvalidCdnType.Malformed | The specified CdnType is invalid. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。