Mengambil catatan yang terkait dengan Edge Container untuk sebuah situs web.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ListEdgeContainerRecords |
get |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID website. Anda dapat memanggil operasi ListSites untuk mendapatkan ID tersebut. |
1234567890123 |
| RecordName |
string |
No |
Nama catatan. |
a.example.com |
| RecordMatchType |
string |
No |
Mode pencocokan untuk memfilter nama catatan:
|
fuzzy |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 500. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
20 |
| TotalCount |
integer |
Total jumlah catatan yang dikembalikan. |
50 |
| Records |
array<object> |
Catatan-catatan tersebut. |
|
|
object |
Catatan yang ditanyakan. |
||
| CreateTime |
string |
Waktu pembuatan catatan. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ dan ditampilkan dalam UTC. |
2023-12-24T02:01:11Z |
| UpdateTime |
string |
Waktu pembaruan catatan. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ dan ditampilkan dalam UTC. |
2021-12-22T08:32:02Z |
| RecordName |
string |
Nama catatan. |
a.example.com |
| RecordCname |
string |
CNAME. Jika Anda menggunakan konfigurasi CNAME saat menambahkan website ke ESA, nilainya adalah CNAME yang telah Anda konfigurasikan. |
a.example.com.cnamezone.com |
| SiteId |
integer |
ID website. |
1234567890123 |
| SiteName |
string |
Nama website. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F\n",
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 50,
"Records": [
{
"CreateTime": "2023-12-24T02:01:11Z",
"UpdateTime": "2021-12-22T08:32:02Z",
"RecordName": "a.example.com",
"RecordCname": "a.example.com.cnamezone.com",
"SiteId": 1234567890123,
"SiteName": "example.com"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.