Cria uma tarefa para análise de acessibilidade de rede.
Descrição da operação
-
A operação CreateNetworkReachableAnalysis é usada para criar uma tarefa de análise da acessibilidade do caminho de rede criado pela operação CreateNetworkPath e registrar os resultados da análise.
-
A operação CreateNetworkReachableAnalysis pode ser chamada para analisar repetidamente a acessibilidade de um caminho de rede.
-
Você pode criar até 1.000 registros de análise de acessibilidade em uma única conta Alibaba Cloud.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
nis:CreateNetworkReachableAnalysis |
create |
*NetworkReachableAnalysis
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região para a qual você deseja criar uma tarefa de análise de acessibilidade de rede. |
cn-shanghai |
| NetworkPathId |
string |
Sim |
O ID do caminho de rede. Você pode chamar a operação CreateNetworkPath para obter o ID do caminho de rede. |
np-b2f618ceb2c84057**** |
| Tag |
array<object> |
Não |
As tags a serem adicionadas ao recurso. |
|
|
object |
Não |
As informações da tag. |
||
| Key |
string |
Não |
A chave da tag a ser adicionada ao recurso. A chave da tag pode ter até 128 caracteres e não pode conter Você pode adicionar até 20 tags em cada chamada. |
Team |
| Value |
string |
Não |
O valor da tag a ser adicionado ao recurso. O valor da tag pode ter até 128 caracteres e não pode conter Você pode adicionar até 20 valores de tag em cada chamada. |
ops |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| NetworkReachableAnalysisId |
string |
O ID da tarefa de análise de acessibilidade de rede. |
nra-2fede05617494417**** |
| RequestId |
string |
O ID da solicitação. |
A7F0D6EC-E19E-58AC-AC9F-08036763960F |
Exemplos
Resposta de sucesso
JSON formato
{
"NetworkReachableAnalysisId": "nra-2fede05617494417****",
"RequestId": "A7F0D6EC-E19E-58AC-AC9F-08036763960F"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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 Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.