Consulte la liste des instances de bande passante partagée Internet dans une région.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
vpc:DescribeCommonBandwidthPackages |
get |
*CommonBandwidthPackage
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| IncludeReservationData |
boolean |
Non |
Indique si les informations sur les commandes en attente doivent être renvoyées. Valeurs valides : |
false |
| RegionId |
string |
Oui |
L'identifiant de la région où réside l'instance de bande passante partagée Internet. |
cn-hangzhou |
| BandwidthPackageId |
string |
Non |
L'identifiant de l'instance de bande passante partagée Internet. |
cbwp-2ze2ic1xd2qeqk145**** |
| ResourceGroupId |
string |
Non |
L'identifiant du groupe de ressources. |
rg-acfmxazb4ph**** |
| Name |
string |
Non |
Le nom de l'instance de bande passante partagée Internet. |
test123 |
| PageNumber |
integer |
Non |
Le numéro de page. Valeur par défaut : 1. |
1 |
| PageSize |
integer |
Non |
Le nombre d'entrées par page. Valeurs valides : 1 à 50. Valeur par défaut : 10. |
10 |
| DryRun |
boolean |
Non |
Indique si un test à blanc doit être effectué, sans exécuter la requête réelle. Valeurs valides : |
false |
| Tag |
array<object> |
Non |
Les balises à ajouter à l'instance de bande passante partagée Internet. |
|
|
object |
Non |
|||
| Key |
string |
Non |
La clé de balise à ajouter à l'instance de bande passante partagée Internet. Vous pouvez spécifier jusqu'à 20 clés de balise. La clé de balise ne peut pas être une chaîne vide. |
KeyTest |
| Value |
string |
Non |
La valeur de balise à ajouter à l'instance de bande passante partagée Internet. Vous pouvez spécifier jusqu'à 20 valeurs de balise. La valeur de balise peut être une chaîne vide. |
ValueTest |
| SecurityProtectionEnabled |
boolean |
Non |
Indique si Anti-DDoS Pro/Premium doit être activé. Valeurs valides : |
false |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Les paramètres de réponse. |
||
| PageSize |
integer |
Le nombre d'entrées par page. |
10 |
| RequestId |
string |
L'identifiant de la requête. |
20E6FD1C-7321-4DAD-BDFD-EC8769E4AA33 |
| PageNumber |
integer |
Le numéro de page. |
1 |
| TotalCount |
integer |
Le nombre total d'entrées renvoyées. |
1 |
| CommonBandwidthPackages |
object |
||
| CommonBandwidthPackage |
array<object> |
Les détails de l'instance de bande passante partagée Internet. |
|
|
array<object> |
|||
| ReservationActiveTime |
string |
The renewal active time, in the format of |
2018-08-30T16:00:00Z |
| Status |
string |
The status of the Internet Shared Bandwidth instance. Valid values:
|
Available |
| CreationTime |
string |
The time when the Internet Shared Bandwidth instance was created, in the format of |
2017-06-28T06:39:20Z |
| ReservationOrderType |
string |
The renewal with specification change type. Valid values:
|
RENEWCHANGE |
| DeletionProtection |
boolean |
Indicates whether deletion protection is enabled. Valid values:
|
true |
| ReservationInternetChargeType |
string |
The billing method after the specification change. **PayByTraffic**: Pay-by-data-transfer. |
PayByBandwidth |
| Ratio |
integer |
The minimum bandwidth guarantee percentage of the Internet Shared Bandwidth instance. Only 20 is returned. Remarque
This parameter is supported only on the China site (aliyun.com). |
20 |
| InstanceChargeType |
string |
The billing method of the Internet Shared Bandwidth instance. **PostPaid**: Pay-as-you-go. |
PostPaid |
| RegionId |
string |
The region ID of the Internet Shared Bandwidth instance. |
cn-hangzhou |
| BandwidthPackageId |
string |
The ID of the Internet Shared Bandwidth instance. |
cbwp-bp1t3sm1ffzmshdki**** |
| ServiceManaged |
integer |
Indicates whether the resource is created by a service account. Valid values:
|
1 |
| Bandwidth |
string |
The peak bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s. |
20 |
| Description |
string |
The description of the Internet Shared Bandwidth instance. |
none |
| ExpiredTime |
string |
The expiration time of the Internet Shared Bandwidth instance, in the format of |
2019-01-15T03:08:37Z |
| ReservationBandwidth |
string |
The bandwidth value after the specification change. Unit: Mbit/s. |
1000 |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxazb4ph**** |
| InternetChargeType |
string |
The billing method of the Internet Shared Bandwidth instance.
|
PayByBandwidth |
| BusinessStatus |
string |
The business status of the Internet Shared Bandwidth instance. Valid values:
|
Normal |
| Name |
string |
The name of the Internet Shared Bandwidth instance. |
abc |
| ISP |
string |
The line type. Valid values:
If you are a whitelist user of single-ISP bandwidth, the following types may also be returned:
If you are a Finance Cloud user in the China (Hangzhou) region, BGP_FinanceCloud is returned. |
BGP |
| HasReservationData |
string |
Indicates whether there are pending orders. Valid values:
|
false |
| PublicIpAddresses |
object |
||
| PublicIpAddresse |
array<object> |
The public IP addresses in the Internet Shared Bandwidth instance. |
|
|
object |
The public IP addresses in the Internet Shared Bandwidth instance. |
||
| IpAddress |
string |
The public IP address. |
47.95.XX.XX |
| AllocationId |
string |
The instance ID of the public IP address. |
eip-bp13e9i2qst4g6jzi**** |
| BandwidthPackageIpRelationStatus |
string |
The association status between the Internet Shared Bandwidth instance and the EIP. Valid values:
|
BINDED |
| SecurityProtectionTypes |
object |
||
| SecurityProtectionType |
array |
The security protection level.
Remarque
This parameter is deprecated. |
|
|
string |
The security protection level.
Remarque
This parameter is deprecated. |
AntiDDoS_Enhanced |
|
| Tags |
object |
||
| Tag |
array<object> |
The list of tags associated with the Internet Shared Bandwidth instance. |
|
|
object |
The list of tags associated with the Internet Shared Bandwidth instance. |
||
| Key |
string |
The tag key of the Internet Shared Bandwidth instance. |
KeyTest |
| Value |
string |
The tag value of the Internet Shared Bandwidth instance. |
ValueTest |
| BizType |
string |
The business type of the Internet Shared Bandwidth instance. Valid values:
|
CloudBox |
| Zone |
string |
The zone of the Internet Shared Bandwidth instance. When zone resources are overloaded, the Internet Shared Bandwidth instance may be scheduled to another zone to ensure service stability. |
ap-southeast-1-lzdvn-cb |
Exemples
JSON format
{
"PageSize": 10,
"RequestId": "20E6FD1C-7321-4DAD-BDFD-EC8769E4AA33",
"PageNumber": 1,
"TotalCount": 1,
"CommonBandwidthPackages": {
"CommonBandwidthPackage": [
{
"ReservationActiveTime": "2018-08-30T16:00:00Z",
"Status": "Available",
"CreationTime": "2017-06-28T06:39:20Z",
"ReservationOrderType": "RENEWCHANGE",
"DeletionProtection": true,
"ReservationInternetChargeType": "PayByBandwidth",
"Ratio": 20,
"InstanceChargeType": "PostPaid",
"RegionId": "cn-hangzhou",
"BandwidthPackageId": "cbwp-bp1t3sm1ffzmshdki****",
"ServiceManaged": 1,
"Bandwidth": "20",
"Description": "none",
"ExpiredTime": "2019-01-15T03:08:37Z",
"ReservationBandwidth": "1000",
"ResourceGroupId": "rg-acfmxazb4ph****",
"InternetChargeType": "PayByBandwidth",
"BusinessStatus": "Normal",
"Name": "abc",
"ISP": "BGP",
"HasReservationData": "false",
"PublicIpAddresses": {
"PublicIpAddresse": [
{
"IpAddress": "47.95.XX.XX",
"AllocationId": "eip-bp13e9i2qst4g6jzi****",
"BandwidthPackageIpRelationStatus": "BINDED"
}
]
},
"SecurityProtectionTypes": {
"SecurityProtectionType": [
"AntiDDoS_Enhanced"
]
},
"Tags": {
"Tag": [
{
"Key": "KeyTest",
"Value": "ValueTest"
}
]
},
"BizType": "CloudBox",
"Zone": "ap-southeast-1-lzdvn-cb"
}
]
}
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | InvalidBandwidthPackageIdNumber.NotSupported | The number of BandwidthPackageIds exceeds the limit. | The number of BandwidthPackageIds exceeds the limit. |
| 400 | InvalidResourceGroupId | The specified ResourceGroupId does not exist. | The specified resource group ID does not exist. |
| 400 | OperationUnsupported.ResourceGroupId | ResourceGroup is not supported in this region. | The operation is not supported. Resource group IDs are not supported in Finance Cloud. |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.