This API is used to query details about a bandwidth.
Name |
Type |
Description |
|---|---|---|
bandwidth |
bandwidth object |
Specifies the bandwidth object. |
Name |
Type |
Description |
|---|---|---|
name |
String |
|
size |
Integer |
|
id |
String |
Specifies the bandwidth ID, which uniquely identifies the bandwidth. |
share_type |
String |
|
publicip_info |
Array of publicip_info objects |
|
tenant_id |
String |
Specifies the project ID. |
bandwidth_type |
String |
|
charge_mode |
String |
If the value is traffic, the billing is based on traffic. |
billing_info |
String |
Specifies the bill information. If billing_info is specified, the bandwidth is in yearly/monthly billing mode. |
enterprise_project_id |
String |
NOTE:
This parameter is unsupported. Do not use it. |
status |
String |
|
created_at |
String |
|
updated_at |
String |
|
Name |
Type |
Description |
|---|---|---|
publicip_id |
String |
Specifies the ID of the EIP that uses the bandwidth. |
publicip_address |
String |
Specifies the obtained EIP if only IPv4 EIPs are available. |
ip_version |
Integer |
|
publicip_type |
String |
|
{
"bandwidth": {
"id": "3cbd5ae9-368f-4bc8-8841-f2ecc322c64a",
"name": "EIPResourceSetup_1553594229",
"size": 5,
"share_type": "PER",
"publicip_info": [
{
"publicip_id": "22b02f40-b95f-465a-ae9b-7c8b0f042a41",
"publicip_address": "10.xx.xx.62",
"ip_version": 4,
"publicip_type": "5_bgp",
}
],
"tenant_id": "26ae5181a416420998eb2093aaed84d9",
"bandwidth_type": "bgp",
"charge_mode": "traffic",
"enterprise_project_id": "0",
"status": "NORMAL",
"created_at": "2020-04-21T07:58:02Z",
"updated_at": "2020-04-21T07:58:02Z"
}
}
See Status Codes.
See Error Codes.