Crea una tarea para analizar la alcanzabilidad de la red.
Descripción de la operación
-
La operación CreateNetworkReachableAnalysis se utiliza para crear una tarea que analiza la alcanzabilidad de la ruta de red creada mediante la operación CreateNetworkPath y registra los resultados del análisis.
-
La operación CreateNetworkReachableAnalysis se puede invocar para analizar repetidamente la alcanzabilidad de una ruta de red.
-
Puede crear hasta 1,000 registros de análisis de alcanzabilidad dentro de una cuenta de Alibaba Cloud.
Pruébelo ahora
Test
Autorización de RAM
|
Action |
Nivel de acceso |
Tipo de recurso |
Clave de condición |
Acción dependiente |
|
nis:CreateNetworkReachableAnalysis |
create |
*NetworkReachableAnalysis
|
Ninguna | Ninguna |
Parámetros de la solicitud
|
Parámetro |
Tipo |
Obligatorio |
Descripción |
Ejemplo |
| RegionId |
string |
No |
El ID de la región para la que desea crear una tarea de análisis de alcanzabilidad de la red. |
cn-shanghai |
| NetworkPathId |
string |
Sí |
El ID de la ruta de red. Puede invocar la operación CreateNetworkPath para obtener el ID de la ruta de red. |
np-b2f618ceb2c84057**** |
| Tag |
array<object> |
No |
Las etiquetas que se agregarán al recurso. |
|
|
object |
No |
La información de la etiqueta. |
||
| Key |
string |
No |
La clave de la etiqueta que se agregará al recurso. La clave de la etiqueta puede tener hasta 128 caracteres de longitud y no puede contener Puede agregar hasta 20 etiquetas en cada llamada. |
Team |
| Value |
string |
No |
El valor de la etiqueta que se agregará al recurso. El valor de la etiqueta puede tener hasta 128 caracteres de longitud y no puede contener Puede agregar hasta 20 valores de etiqueta en cada llamada. |
ops |
Elementos de la respuesta
|
Elemento |
Tipo |
Descripción |
Ejemplo |
|
object |
|||
| NetworkReachableAnalysisId |
string |
El ID de la tarea de análisis de alcanzabilidad de la red. |
nra-2fede05617494417**** |
| RequestId |
string |
El ID de la solicitud. |
A7F0D6EC-E19E-58AC-AC9F-08036763960F |
Ejemplos
Respuesta exitosa
JSON Formato
{
"NetworkReachableAnalysisId": "nra-2fede05617494417****",
"RequestId": "A7F0D6EC-E19E-58AC-AC9F-08036763960F"
}
Códigos de error
|
Código de estado HTTP |
Código de error |
Mensaje de error |
Descripción |
|---|---|---|---|
| 400 | IncorrectStatus.NetworkPath | The last analysis status of %s is %s. Please try again later. | The Reachability Analyzer task %s is not completed. Try again after the task is completed. |
| 400 | QuotaExceeded.ParallelNraLimit | The maximum number of parallel reachability analysis task is exceeded. | The number of parallel Reachability Analyzer tasks exceeds the upper limit. |
| 400 | QuotaExceeded.MaxNraCount | The maximum number of reachability analysis task is exceeded. | The number of saved Reachability Analyzer tasks exceeds the upper limit. |
| 400 | IllegalParam.ZoneId | The specified available zone (%s) is invalid. | The specified zone (%s) is invalid. |
| 400 | IllegalParam.StepMinutes | The specified sampling interval (%s) is invalid. | The specified sampling interval (%s) is invalid. |
| 400 | IllegalParam.BeginTime | The specified begin time (%s) is invalid. | The specified start time (%s) is invalid. |
| 400 | IllegalParam.EndTime | The specified end time (%s) is invalid. | The specified end time (%s) is invalid. |
| 400 | Mismatch.BeginTimeAndEndTime | The specified begin time must be earlier than the end time. | The specified start time must be earlier than the end time. |
| 400 | MissingParameter.TagValue | You must specify Tag.N.Value. | |
| 400 | NumberExceed.Tags | The maximum number of Tags is exceeded. | |
| 400 | MissingParameter.TagKey | You must specify Tag.N.Key. | |
| 400 | Duplicate.TagKey | The Tag.N.Key contains duplicate keys. | |
| 400 | InvalidParameter.TagKey | The Tag.N.Key parameter is invalid. | |
| 400 | InvalidParameter.TagValue | The Tag.N.Value parameter is invalid. | |
| 404 | ResourceNotFound.NetworkPath | The specified resource of %s is not found. |
Consulte Códigos de error para ver la lista completa.
Notas de la versión
Consulte Notas de la versión para ver la lista completa.