ネットワーク到達可能性の分析タスクを開始します。
操作説明
この操作を呼び出すことで、ソースと送信先に関する情報のみを指定して、ネットワーク到達可能性の分析タスクを開始できます。到達可能性分析のためにネットワークパスを作成する必要はありません。分析結果はシステムに記録されません。パスパラメーターおよび分析結果を 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****",
"TargetId": "i-m5eactvw7wtpktv5****",
"SourceType": "ecs",
"TargetType": "ecs",
"SourcePort": "0",
"TargetPort": "80",
"Protocol": "tcp",
"SourceIpAddress": "192.168.XX.XX",
"TargetIpAddress": "172.50.XX.XX"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。