集約ルートを作成します。
操作説明
Enterprise Edition トランジットルーターのルートテーブルに集約ルートを追加すると、トランジットルーターは、トランジットルーターのルートテーブルに関連付けられており、ルート同期が有効になっている VPC インスタンスのルートテーブルにのみ集約ルートを伝播します。
集約ルートを作成する前に、以下の要件が満たされていることを確認してください。満たされていない場合、Enterprise Edition トランジットルーターは VPC インスタンスのルートテーブルに集約ルートを伝播しません。
VPC インスタンスが Enterprise Edition トランジットルーターのルートテーブルに関連付けられていること。詳細については、「AssociateTransitRouterAttachmentWithRouteTable」をご参照ください。
VPC インスタンスでルート同期が有効になっていること。詳細については、「CreateTransitRouterVpcAttachment」をご参照ください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:CreateTransitRouteTableAggregation |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
タイプ |
必須 / 任意 |
説明 |
例 |
| TransitRouteTableId |
string |
必須 |
Enterprise Edition トランジットルーターのルートテーブルの ID です。 |
vtb-iq8qgruq1ry8jc7vt**** |
| TransitRouteTableAggregationName |
string |
任意 |
集約ルートの名前です。 名前は空にするか、1 ~ 128 文字の長さにできます。 http:// または https:// で始めることはできません。 |
nametest |
| TransitRouteTableAggregationCidr |
string |
必須 |
集約ルートの宛先 CIDR ブロックです。 説明
次の CIDR ブロックはサポートされていません。
|
192.168.10.0/24 |
| TransitRouteTableAggregationScope |
string |
任意 |
集約ルートの伝播範囲です。 有効な値は VPC のみです。この値は、集約ルートが、Enterprise Edition トランジットルーターのルートテーブルに関連付けられており、ルート同期が有効になっているすべての VPC インスタンスに伝播されることを示します。 |
VPC |
| TransitRouteTableAggregationScopeList |
array |
任意 |
集約ルートの伝播範囲のリストです。 説明
このパラメーターか TransitRouteTableAggregationScope のいずれかを指定する必要があります。このパラメーターを使用することをお勧めします。このリストの要素は、TransitRouteTableAggregationScope の値と同じにすることはできません。 |
|
|
string |
任意 |
集約ルートの伝播範囲のリストです。有効な値:
|
VPC |
|
| TransitRouteTableAggregationDescription |
string |
任意 |
集約ルートの説明です。 説明は空にするか、1 ~ 256 文字の長さにできます。 http:// または https:// で始めることはできません。 |
desctest |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークンです。 クライアントから値を生成して、異なるリクエスト間で値が一意であることを確認します。 ClientToken には ASCII 文字のみを含めることができます。 説明
このパラメーターを指定しない場合、システムは API リクエストの RequestId を ClientToken として自動的に使用します。 RequestId は API リクエストごとに異なる場合があります。 |
02fb3da4-130e-11e9-8e44-001**** |
| DryRun |
boolean |
任意 |
リクエストのドライランを実行するかどうかを指定します。ドライランは、権限とインスタンスの状態を確認します。有効な値:
|
false |
レスポンスパラメーター
|
パラメーター |
タイプ |
説明 |
例 |
|
object |
レスポンスです。 |
||
| RequestId |
string |
リクエスト ID です。 |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidOperation.RegionNotSupport | The Operation is not Support in this region. | |
| 400 | InstanceExist.AggregationRoute | This aggregation route is already created. | |
| 400 | InstanceNotExist.TransitRouteTable | The transitRouter route table is not exist. | |
| 400 | IncorrectStatus.TransitRouteTable | The transitRouter route table is not in a valid state for the operation. | |
| 400 | QuotaExceeded.AggregationRoute | The aggregation route count is over limit. | |
| 400 | InstanceNotExist.TransitRouter | The aggregation route is not exist. | |
| 400 | OperationUnsupported.TransitRouterType | The operation is not supported because of the wrong transitRouter type. | |
| 400 | IncorrectStatus.TransitRouter | The status of transitRouter is invalid. | |
| 400 | OperationUnsupported.ServiceMode | The operation is not supported because of the wrong transitRouter service mode. | |
| 400 | InvalidCidrBlock | The cidr block is invalid. | |
| 400 | RouteConflict | The specified route already exists. | |
| 400 | InvalidOperation.InstanceNotSupportIPv6Route | The cen dose not support Ipv6 route. | |
| 400 | IllegalParam.TransitRouteTableAggregationCidr | The param TransitRouteTableAggregationCidr is illegal. | |
| 400 | MissingParameter.ScopeListOrScope | The input parameter TransitRouteTableAggregationScopeList or TransitRouteTableAggregationScope that is mandatory for processing this request is not supplied. | |
| 400 | InvalidParameter.TransitRouteTableAggregationScope | TransitRouteTableAggregationScope is invalid. | |
| 400 | InvalidParameter.TransitRouteTableAggregationScopeList | TransitRouteTableAggregationScopeList is invalid. | |
| 400 | MissingParam.TransitRouteTableAggregationScope | The parameter TransitRouteTableAggregationScope is mandatory. | |
| 400 | IllegalParam.TransitRouteTableAggregationScope | TransitRouteTableAggregationScope is invalid, valid value is VPC. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。