指定された機能が設定されている高速化ドメイン名と、そのドメイン名のステータスを照会します。
操作説明
各ユーザーがこの操作を呼び出せる最大回数は、毎秒 100 回です。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cdn:DescribeCdnUserDomainsByFunc |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FuncId |
integer |
必須 |
機能の ID。 例えば、「back-to-origin ホスト」機能 (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 |
高速化ドメイン名が Alibaba Cloud CDN に追加された時刻。 |
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 |
Alibaba Cloud CDN によって高速化されるワークロードのタイプ。有効な値:
|
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 |
例
成功レスポンス
JSONJSON
{
"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 ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。