Mengambil daftar nama host yang terikat dengan sertifikat CA klien yang ditentukan. Jika Anda tidak menentukan sertifikat, operasi akan mengembalikan daftar nama host untuk sertifikat CA ESA.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetClientCertificateHostnames |
get |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. |
1234567890123 |
| Id |
string |
No |
ID sertifikat. |
baba39055622c008b90285a8838ed09a |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| SiteId |
integer |
ID situs. |
1234567890123 |
| SiteName |
string |
Nama situs. |
example.com |
| Id |
string |
ID sertifikat CA klien. |
baba39055622c008b90285a8838ed09a |
| Hostnames |
array |
Daftar nama host yang terikat. |
|
|
string |
Nama host. |
www.example.com |
|
| RequestId |
string |
ID permintaan. |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
Contoh
Respons sukses
JSONformat
{
"SiteId": 1234567890123,
"SiteName": "example.com\n",
"Id": "baba39055622c008b90285a8838ed09a",
"Hostnames": [
"www.example.com "
],
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F\n"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.