ネットワーク到達可能性を分析するタスクを開始します。
操作説明
この操作を呼び出して、ソースと宛先の情報のみを指定することで、ネットワーク到達可能性を分析するタスクを開始できます。 到達可能性分析のためにネットワークパスを作成する必要はありません。 分析結果はシステムに記録されません。 パスパラメーターと分析結果を Network Intelligence Service (NIS) コンソールに記録する場合は、createNetworkReachableAnalysis 操作を呼び出すことを推奨します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
nis:CreateAndAnalyzeNetworkPath |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SourceId |
string |
必須 |
ソースリソースの ID。 |
i-uf62y8khhbkbdrp6**** |
| SourceIpAddress |
string |
任意 |
ソース IP アドレス。 |
192.168.XX.XX |
| TargetIpAddress |
string |
任意 |
宛先 IP アドレス。 |
172.50.XX.XX |
| SourceType |
string |
必須 |
ソースリソースのタイプ。 有効値:
|
ecs |
| SourcePort |
integer |
任意 |
ソースポート。 |
0 |
| TargetId |
string |
任意 |
宛先リソースの ID。 |
i-m5eactvw7wtpktv5**** |
| TargetType |
string |
任意 |
宛先リソースのタイプ。 有効値:
|
ecs |
| TargetPort |
integer |
任意 |
宛先ポート。 |
80 |
| Protocol |
string |
任意 |
プロトコルタイプ。 有効値:
|
tcp |
| RegionId |
string |
任意 |
ネットワーク到達可能性を分析するタスクを開始するリージョンの ID。 |
cn-shanghai |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
D5E98683-355B-5867-8D3D-A24755F6895B |
| NetworkReachableAnalysisId |
string |
開始したネットワーク到達可能性分析タスクの ID。 |
nra-dfe9e53d2b524568**** |
| SourceId |
string |
ソースリソースの ID。 |
i-uf62y8khhbkbdrp6**** |
| TargetId |
string |
宛先リソースの ID。 |
i-m5eactvw7wtpktv5**** |
| SourceType |
string |
ソースリソースのタイプ。 |
ecs |
| TargetType |
string |
宛先リソースのタイプ。 |
ecs |
| SourcePort |
string |
ソースポート。 |
0 |
| TargetPort |
string |
宛先ポート。 |
80 |
| Protocol |
string |
プロトコルタイプ。 |
tcp |
| SourceIpAddress |
string |
ソース IP アドレス。 |
192.168.XX.XX |
| TargetIpAddress |
string |
宛先 IP アドレス。 |
172.50.XX.XX |
例
成功レスポンス
JSONJSON
{
"RequestId": "D5E98683-355B-5867-8D3D-A24755F6895B",
"NetworkReachableAnalysisId": "nra-dfe9e53d2b524568****",
"SourceId": "i-uf62y8khhbkbdrp6****\n",
"TargetId": "i-m5eactvw7wtpktv5****\n",
"SourceType": "ecs",
"TargetType": "ecs",
"SourcePort": "0",
"TargetPort": "80",
"Protocol": "tcp",
"SourceIpAddress": "192.168.XX.XX\n",
"TargetIpAddress": "172.50.XX.XX\n"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalParam.InternetIP | The specified IP address (%s) is not an internet IP address. | |
| 400 | IllegalParam.IP | The specified IP address (%s) is invalid. | |
| 400 | Mismatch.SourceIdAndTargetId | Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound. | |
| 400 | IllegalParam.SourceAndTargetInternetIp | Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario. | |
| 400 | IllegalParam.SourcePort | The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536]. | |
| 400 | IllegalParam.TargetPort | The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536]. | |
| 400 | IllegalParam.SourceId | The specified SourceId(%s) may be not exist. | |
| 400 | IllegalParam.TargetId | The specified TargetId(%s) may be not exist. | |
| 400 | IllegalParam.SourceIp | Please enter a valid source IP. | |
| 400 | IllegalParam.SourceType | The specified source type (%s) is invalid. | |
| 400 | IllegalParam.Protocol | The specified Protocol(%s) is invalid. | |
| 400 | IllegalParam.TargetType | The specified target type (%s) is invalid. | |
| 400 | IllegalParam.TargetIp | The specified target ip (%s) is invalid. | |
| 400 | IllegalParam.NotSupportHaVpn | The specified VPN(%s), which is not currently supported for such instances. | |
| 400 | IllegalParam.SourceNotBound | Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being. | |
| 400 | IllegalParam.TargetNotBound | Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being. | |
| 400 | IllegalParam.NotPublicIp | The specified (%s) is invalid. | |
| 400 | IllegalParam.SourceEqualTarget | The specified source and destination are identical, which is not supported for analysis. | |
| 400 | IllegalParam.TypeAndIdMismatch | The specified instanceId (%s) and type do not match. | |
| 403 | Forbidden.NetworkPath | The current user has not activated NIS and is not authorized to use the path analysis interface. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。