Mengkueri nama domain untuk CDN di dalam akun Alibaba Cloud Anda.
Deskripsi operasi
Anda dapat memfilter nama domain berdasarkan nama dan status. Pencocokan fuzzy didukung untuk kueri berdasarkan nama domain.
Operasi ini hanya tersedia di wilayah China (Shanghai).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodUserDomains |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. Nilai maksimum: 50. Nilai yang valid: 1 hingga 50. |
20 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| DomainName |
string |
No |
Nama domain. Nilai parameter ini digunakan sebagai kondisi filter untuk pencocokan fuzzy. |
example.aliyundoc.com |
| DomainStatus |
string |
No |
Status nama domain. Nilai yang valid:
|
online |
| DomainSearchType |
string |
No |
Metode pencarian. Nilai yang valid:
|
fuzzy_match |
| Tag |
array<object> |
No |
Tag. |
|
|
object |
No |
Objek dari tag. |
||
| Key |
string |
No |
Kunci dari tag N. Nilai yang valid untuk N: 1 hingga 20. Secara default, semua kunci tag dikueri. |
key |
| Value |
string |
No |
Nilai dari tag N. Nilai yang valid untuk N: 1 hingga 20. Secara default, semua nilai tag dikueri. |
value |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
E4EBD2BF-5EB0-4476-****-9D94E1B15267 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
20 |
| TotalCount |
integer |
Jumlah total entri. |
2 |
| Domains |
object |
||
| PageData |
array<object> |
Informasi terperinci tentang setiap nama domain untuk CDN. Informasi yang dikembalikan ditampilkan dalam format yang ditentukan oleh parameter PageData. |
|
|
array<object> |
Data yang dikembalikan. |
||
| GmtCreated |
string |
The time when the domain name for CDN was added. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2017-08-29T08:40:53Z |
| SslProtocol |
string |
Indicates whether HTTPS is enabled.
|
on |
| Description |
string |
The remarks. |
Zhejiang ICP Filing No. **** |
| Sandbox |
string |
Indicates whether the accelerated domain name was in a sandbox. |
normal |
| Cname |
string |
The CNAME that is assigned to the domain name for CDN. |
learn.developer.aliyundoc.com |
| DomainStatus |
string |
The status of the domain name for CDN. Valid values:
|
online |
| GmtModified |
string |
The last time when the domain name for CDN was modified. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2017-12-29T09:24:12Z |
| DomainName |
string |
The domain name for CDN. |
example.aliyundoc.com |
| Sources |
object |
||
| Source |
array<object> |
The information about the origin server. |
|
|
object |
The information about the origin server. |
||
| Type |
string |
The type of the origin server. Valid values:
|
oss |
| Priority |
string |
The priority of the origin server. |
5 |
| Port |
integer |
The port number. Valid values: 443 and 80. |
80 |
| Content |
string |
The address of the origin server. |
192.168.0.1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E4EBD2BF-5EB0-4476-****-9D94E1B15267",
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 2,
"Domains": {
"PageData": [
{
"GmtCreated": "2017-08-29T08:40:53Z",
"SslProtocol": "on",
"Description": "Zhejiang ICP Filing No. ****",
"Sandbox": "normal",
"Cname": "learn.developer.aliyundoc.com",
"DomainStatus": "online",
"GmtModified": "2017-12-29T09:24:12Z",
"DomainName": "example.aliyundoc.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Priority": "5",
"Port": 80,
"Content": "192.168.0.1"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.