Mengasosiasikan daftar kontrol akses (access control list/ACL) dengan instans Smart Access Gateway (SAG).
Debugging
Parameter permintaan
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | AssociateACL | Operasi yang ingin Anda lakukan. Tetapkan nilainya ke AssociateACL. |
| RegionId | String | Yes | cn-shanghai | ID wilayah tempat ACL dibuat. Anda dapat memanggil operasi DescribeRegions untuk mengambil daftar wilayah terbaru. |
| AclId | String | Yes | acl-ohlexqptfhy**** | ID ACL. |
| SmartAGId | String | Yes | sag-4yr0p2xa6o3k**** | ID instans SAG yang akan diasosiasikan dengan ACL. |
Parameter respons
| Parameter | Type | Example | Description |
| RequestId | String | C9A75915-0260-4335-851A-D866A7ED396C | ID permintaan. |
Contoh
Contoh permintaan
http(s)://[Endpoint]/?Action=AssociateACL
&RegionId=cn-shanghai
&AclId=acl-ohlexqptfhy****
&SmartAGId=sag-4yr0p2xa6o3k****
&Common request parameters
Contoh respons sukses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<AssociateACLResponse>
<RequestId>C9A75915-0260-4335-851A-D866A7ED396C</RequestId>
</AssociateACLResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C9A75915-0260-4335-851A-D866A7ED396C"
}
Kode kesalahan
| HttpCode | Error code | Error message | Description |
| 400 | SAG.SoftwareNotSupport | The specified SAG software edition instance does not support ACL. | Pesan kesalahan yang dikembalikan karena instans SAG vCPE tidak mendukung access control list (ACL). |
| 403 | Forbidden | User not authorized to operate on the specified resource. | Pesan kesalahan yang dikembalikan karena Anda tidak memiliki izin untuk manage resource yang ditentukan. |
| 403 | MissingParameter | The input parameter is missing, please check your input. | Pesan kesalahan yang dikembalikan karena satu atau beberapa parameter yang diperlukan kosong. Periksa apakah Anda telah mengonfigurasi semua parameter yang diperlukan. |
| 403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | Pesan kesalahan yang dikembalikan karena ID instans SAG yang ditentukan tidak valid. |
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | Pesan kesalahan yang dikembalikan karena versi perangkat SAG yang ditentukan saat ini tidak mendukung fitur ini. |
| 403 | FeatureNotSupportForActiveSmartAG | The current edition of the active smart access gateway does not support this feature. | Pesan kesalahan yang dikembalikan karena versi perangkat SAG aktif saat ini tidak mendukung fitur ini. |
| 403 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. | Pesan kesalahan yang dikembalikan karena versi perangkat SAG standby saat ini tidak mendukung fitur ini. |
| 403 | SmartAGAlreadyAssociateAcl | The specified smart access gateway has already been associated with the specified ACL. | Instans SAG yang dipilih telah diasosiasikan dengan ACL. |
| 403 | AclPerSmartagAmountLimit | No more ACL can be associated with this smart access gateway. | Jumlah grup ACL yang diasosiasikan dengan instans SAG telah mencapai batas maksimum. |
| 403 | InternalError | An internal server error occurred. | Pesan kesalahan yang dikembalikan karena terjadi kesalahan internal pada server. |
| 403 | InvalidId.ACL | The specified ACL ID is invalid. | Pesan kesalahan yang dikembalikan karena ID ACL yang ditentukan tidak valid. |
Untuk daftar kode kesalahan lengkap, lihat Service error codes.