アクセス制御リスト (ACL) を Smart Access Gateway (SAG) インスタンスに関連付けます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
smartag:AssociateACL |
create |
*Acl
*SmartAccessGateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
ACL が作成されたリージョンの ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
| AclId |
string |
必須 |
ACL の ID。 |
acl-ohlexqptfhy****** |
| SmartAGId |
string |
必須 |
ACL に関連付ける SAG インスタンスの ID。 |
sag-4yr0p2xa6o3k******* |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
C9A75915-0260-4335-851A-D866A7ED396C |
例
成功レスポンス
JSONJSON
{
"RequestId": "C9A75915-0260-4335-851A-D866A7ED396C"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | SAG.SoftwareNotSupport | The specified SAG software edition instance does not support ACL. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | |
| 403 | MissingParameter | The input parameter is missing, please check your input. | |
| 403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | |
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | |
| 403 | FeatureNotSupportForActiveSmartAG | The current edition of the active smart access gateway does not support this feature. | |
| 403 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. | |
| 403 | SmartAGAlreadyAssociateAcl | The specified smart access gateway has already been associated with the specified ACL. | |
| 403 | AclPerSmartagAmountLimit | No more ACL can be associated with this smart access gateway. | |
| 403 | InternalError | An internal server error occurred. | |
| 403 | InvalidId.ACL | The specified ACL ID is invalid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。