Memanggil DescribeEpnInstanceAttribute untuk membuat kueri informasi jaringan dari jaringan komunikasi edge-to-edge.
Deskripsi operasi
Dalam mode jaringan privat, instances kosong; dalam mode jaringan publik, vSwitch kosong.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeEpnInstanceAttribute |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EPNInstanceId |
string |
Yes |
ID dari instance jaringan edge-to-edge. |
epn-xxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| ConfVersions |
array<object> |
Informasi konfigurasi jaringan edge-to-edge. |
|
|
object |
|||
| ConfVersion |
string |
Nomor versi. |
2017-10-11 |
| EnsRegionId |
string |
ID node. |
cn-chengdu-telecom |
| EPNInstanceId |
string |
ID instance jaringan edge-to-edge. |
epn-xxxx |
| EPNInstanceName |
string |
Nama instance jaringan edge-to-edge. |
epn-test |
| Instances |
array<object> |
Informasi instance. |
|
|
object |
|||
| EnsRegionId |
string |
ID node. |
cn-chengdu-telecom-4 |
| InstanceId |
string |
ID instance. |
epn-xxx |
| InstanceName |
string |
Nama instance. |
epn-test |
| Isp |
string |
Penyedia layanan internet (ISP). Nilai yang valid:
|
cmcc |
| PrivateIpAddress |
string |
Alamat IP privat. |
192.168.1.12 |
| PublicIpAddress |
string |
Alamat IP publik. |
20.3.XX.XX |
| Status |
string |
Status instance. Nilai yang valid:
|
Running |
| NetworkingModel |
string |
Mode jaringan. Nilai yang valid:
|
SpeedUp |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| VSwitches |
array<object> |
Informasi vSwitch. |
|
|
object |
|||
| CidrBlock |
string |
Blok CIDR. |
10.0.0.1/24 |
| EnsRegionId |
string |
ID node. |
cn-chengdu-telecom-4 |
| VSwitchId |
string |
ID vSwitch. |
vs-xxxx |
| VSwitchName |
string |
Nama vSwitch. |
vs-test |
Contoh
Respons sukses
JSONformat
{
"ConfVersions": [
{
"ConfVersion": "2017-10-11",
"EnsRegionId": "cn-chengdu-telecom"
}
],
"EPNInstanceId": "epn-xxxx",
"EPNInstanceName": "epn-test",
"Instances": [
{
"EnsRegionId": "cn-chengdu-telecom-4",
"InstanceId": "epn-xxx",
"InstanceName": "epn-test",
"Isp": "cmcc",
"PrivateIpAddress": "192.168.1.12",
"PublicIpAddress": "20.3.XX.XX",
"Status": "Running"
}
],
"NetworkingModel": "SpeedUp",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"VSwitches": [
{
"CidrBlock": "10.0.0.1/24",
"EnsRegionId": "\t cn-chengdu-telecom-4",
"VSwitchId": "vs-xxxx",
"VSwitchName": "vs-test"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.