CIDR ブロックのルート広告ポリシーを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
smartag:ModifyRouteDistributionStrategy |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
Smart Access Gateway (SAG) インスタンスのリージョン ID。 |
cn-shanghai |
| SmartAGId |
string |
必須 |
SAG インスタンスの ID。 |
sag-erx3qta5xg5zyq**** |
| HcInstanceId |
string |
任意 |
ヘルスチェックインスタンスの ID。 |
hc-sztovuprqzgm50**** |
| SourceType |
string |
必須 |
ルートソースのタイプ。有効な値:
|
local |
| DestCidrBlock |
string |
必須 |
宛先 CIDR ブロック。 |
172.XX.XX.0/24 |
| RouteSource |
string |
必須 |
ルートのソース。有効な値:
|
OSPF |
| RouteDistribution |
string |
必須 |
ルート広告ポリシー。有効な値:
詳細については、「ヘルスチェックの設定」および「ルートの公開」をご参照ください。 |
publish |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
24C58BD0-1679-4942-9D42-00B635DAAADB |
例
成功レスポンス
JSONJSON
{
"RequestId": "24C58BD0-1679-4942-9D42-00B635DAAADB"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | SAG.InstanceIdEmpty | You must specify the SAG instance ID. | |
| 400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | |
| 400 | RD.InvalidDestCidrBlock | The specified destination CIDR block is invalid. | |
| 400 | RD.InvalidHcInstanceId | The specified network health check instance ID is invalid. | |
| 400 | RD.InvalidRouteDistribution | The specified route distribution policy is invalid. | |
| 400 | RD.InvalidRouteSource | The specified route source is invalid. | |
| 400 | RD.InvalidSourceType | The specified route source type is invalid. | |
| 400 | HC.InstanceNoFound | The specified network health check instance does not exist. | |
| 400 | SAG.Arrearage | The specified SAG instance has overdue payments. Renew the instance first. | |
| 400 | SAG.NoActive | The specified SAG instance has not been activated. | |
| 400 | SAG.SoftwareNotSupportFeature | The specified SAG Software instance does not support this feature. | |
| 500 | InternalError | An error occurred while processing your request. | |
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。