Bir erişim kontrol listesini (ACL) bir Smart Access Gateway (SAG) örneği ile ilişkilendirir.
Hata Ayıklama
İstek parametreleri
|
Parametre |
Tür |
Zorunlu |
Örnek |
Açıklama |
|
Action |
String |
Evet |
AssociateACL |
Gerçekleştirmek istediğiniz işlem. Değeri AssociateACL olarak ayarlayın. |
|
RegionId |
String |
Evet |
cn-shanghai |
ACL'nin oluşturulduğu bölgenin kimliği. En güncel bölge listesini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
|
AclId |
String |
Evet |
acl-ohlexqptfhy**** |
ACL kimliği. |
|
SmartAGId |
String |
Evet |
sag-4yr0p2xa6o3k**** |
ACL ile ilişkilendirilecek SAG örneğinin kimliği. |
Yanıt parametreleri
|
Parametre |
Tür |
Örnek |
Açıklama |
|
RequestId |
String |
C9A75915-0260-4335-851A-D866A7ED396C |
İsteğin kimliği. |
Örnekler
Örnek istekler
http(s)://[Endpoint]/?Action=AssociateACL
&RegionId=cn-shanghai
&AclId=acl-ohlexqptfhy****
&SmartAGId=sag-4yr0p2xa6o3k****
&Common request parameters
Başarılı yanıt örneği
XML biçimi
HTTP/1.1 200 OK
Content-Type:application/xml
<AssociateACLResponse>
<RequestId>C9A75915-0260-4335-851A-D866A7ED396C</RequestId>
</AssociateACLResponse>
JSON biçimi
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C9A75915-0260-4335-851A-D866A7ED396C"
}
Hata kodları
|
HttpCode |
Hata kodu |
Hata mesajı |
Açıklama |
|
400 |
SAG.SoftwareNotSupport |
The specified SAG software edition instance does not support ACL. |
Belirtilen SAG vCPE örneği erişim kontrol listelerini (ACL) desteklemediği için döndürülen hata mesajı. |
|
403 |
Forbidden |
User not authorized to operate on the specified resource. |
Belirtilen kaynağı yönetme izniniz olmadığı için döndürülen hata mesajı. |
|
403 |
MissingParameter |
The input parameter is missing, please check your input. |
Bir veya daha fazla zorunlu parametre boş olduğu için döndürülen hata mesajı. Tüm zorunlu parametreleri yapılandırdığınızdan emin olun. |
|
403 |
InvalidId.SMARTAG |
The specified smart access gateway instance id is invalid. |
Belirtilen SAG örneği kimliği geçersiz olduğu için döndürülen hata mesajı. |
|
403 |
FeatureNotSupport |
The current edition of the smart access gateway does not support this feature. |
Belirtilen SAG cihazının mevcut sürümü bu özelliği desteklemediği için döndürülen hata mesajı. |
|
403 |
FeatureNotSupportForActiveSmartAG |
The current edition of the active smart access gateway does not support this feature. |
Aktif SAG cihazının mevcut sürümü bu özelliği desteklemediği için döndürülen hata mesajı. |
|
403 |
FeatureNotSupportForStandBySmartAG |
The current edition of the standby smart access gateway does not support this feature. |
Yedekte bekleyen SAG cihazının mevcut sürümü bu özelliği desteklemediği için döndürülen hata mesajı. |
|
403 |
SmartAGAlreadyAssociateAcl |
The specified smart access gateway has already been associated with the specified ACL. |
Seçilen SAG örneği zaten bir ACL ile ilişkilendirildiği için döndürülen hata mesajı. |
|
403 |
AclPerSmartagAmountLimit |
No more ACL can be associated with this smart access gateway. |
SAG örneğiyle ilişkilendirilen ACL grubu sayısı üst sınıra ulaştığı için döndürülen hata mesajı. |
|
403 |
InternalError |
An internal server error occurred. |
Dahili bir sunucu hatası oluştuğu için döndürülen hata mesajı. |
|
403 |
InvalidId.ACL |
The specified ACL ID is invalid. |
Belirtilen ACL kimliği geçersiz olduğu için döndürülen hata mesajı. |
Hata kodlarının listesi için bkz. Hizmet hata kodları.