Consulta instâncias EPN.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
ens:DescribeEpnInstances |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| EPNInstanceId |
string |
Não |
O número da versão. |
2017-11-10 |
| EPNInstanceName |
string |
Não |
O nome da instância EPN. |
testEPNInstanceName |
| PageNumber |
integer |
Não |
O número da página. Valor padrão: 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas por página. Valores válidos: 1 a 50. Valor padrão: 10. |
10 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| EPNInstances |
object |
||
| EPNInstance |
array<object> |
Detalhes das instâncias EPN. |
|
|
object |
|||
| CreationTime |
string |
The time when the instance was created. The time is displayed in UTC. |
2019-11-01T06:08:46Z |
| EPNInstanceId |
string |
The ID of the EPN instance. |
epn**** |
| EPNInstanceName |
string |
The name of the EPN instance. |
ens_test_epn |
| EPNInstanceType |
string |
Set the value to EdgeToEdge. |
EdgeToEdge |
| EndTime |
string |
The end of the time range during which the data was queried. The time is displayed in UTC. |
2019-11-01T06:08:46Z |
| InternetMaxBandwidthOut |
integer |
The inbound bandwidth. Unit: Mbit/s. |
40 |
| ModifyTime |
string |
The time when the instance was last modified. The time is displayed in UTC. |
2019-11-01T06:08:46Z |
| NetworkingModel |
string |
The networking mode. Valid values:
|
SpeedUp |
| StartTime |
string |
The beginning of the time range during which the data was queried. The time is displayed in UTC. |
2019-11-01T06:08:46Z |
| Status |
string |
The status of the instance. Valid values:
|
Running |
| PageNumber |
integer |
O número da página. |
1 |
| PageSize |
integer |
O número de entradas por página. |
40 |
| RequestId |
string |
O ID da solicitação. |
A1707FC0-430C-423A-B624-284046B20399 |
| TotalCount |
integer |
O número total de páginas retornadas. |
1 |
Exemplos
Resposta de sucesso
JSON formato
{
"EPNInstances": {
"EPNInstance": [
{
"CreationTime": "2019-11-01T06:08:46Z",
"EPNInstanceId": "epn****",
"EPNInstanceName": "ens_test_epn",
"EPNInstanceType": "EdgeToEdge",
"EndTime": "2019-11-01T06:08:46Z",
"InternetMaxBandwidthOut": 40,
"ModifyTime": "2019-11-01T06:08:46Z",
"NetworkingModel": "SpeedUp",
"StartTime": "2019-11-01T06:08:46Z",
"Status": "Running"
}
]
},
"PageNumber": 1,
"PageSize": 40,
"RequestId": "A1707FC0-430C-423A-B624-284046B20399",
"TotalCount": 1
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. | An error occurred when you call the operation. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.