Active ou modifie les paramètres de limitation de débit QoS de l'interface réseau élastique (ENI).
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
|
ecs:EnableNetworkInterfaceQoS |
update |
*NetworkInterface
|
Aucune | Aucune |
Syntaxe de la requête
POST HTTP/1.1
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| RegionId |
string |
Oui |
L'identifiant de la région. Vous pouvez appeler DescribeRegions pour consulter la liste la plus récente des régions d'Alibaba Cloud. |
cn-hangzhou |
| NetworkInterfaceId |
string |
Oui |
L'identifiant de la région. Vous pouvez appeler DescribeRegions pour consulter la liste la plus récente des régions d'Alibaba Cloud. |
cn-hangzhou |
| QoS |
object |
Non |
L'identifiant de l'interface réseau élastique (ENI). |
eni-2zeh9atclduxvf1z**** |
| BandwidthTx |
integer |
Non |
The maximum outbound internal bandwidth limit. Unit: kbit/s. Increment: 1000 (1 Mbit/s). Value range: [50000, +∞). |
50000 |
| BandwidthRx |
integer |
Non |
The maximum inbound internal bandwidth limit. Unit: kbit/s. Increment: 1000 (1 Mbit/s). Value range: [50000, +∞). |
50000 |
| PpsTx |
integer |
Non |
The outbound internal packet forwarding rate. Unit: pps. Increment: 10000. Value range: [10000, +∞). |
50000 |
| PpsRx |
integer |
Non |
The inbound internal packet forwarding rate. Unit: pps. Increment: 10000. Value range: [10000, +∞). |
50000 |
| ConcurrentConnections |
integer |
Non |
The maximum number of sessions. Increment: 10000. Value range: [10000, +∞). |
50000 |
|
Non |
Paramètres de limitation de débit QoS. |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Schéma de la réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Exemples
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s | A parameter is not specified. |
| 400 | UnsupportedParameter | %s | The parameter is not supported. |
| 400 | InvalidParameter | %s | The specified parameter is invalid. |
| 400 | InvalidInstanceID.Malformed | %s | The specified InstanceId parameter is invalid. |
| 400 | InvalidParams.EniId | %s | The specified EniId parameter is invalid. |
| 400 | Forbidden.RegionId | %s | The service is unavailable in the current region. |
| 400 | InvalidParameter.Conflict | %s | The specified parameter is invalid. Check whether parameter conflicts exist. %s is a variable. An error message is dynamically returned based on call conditions. |
| 403 | InvalidUserType.NotSupported | %s | Your account does not support this operation. |
| 403 | Abs.InvalidAccount.NotFound | %s | Your Alibaba Cloud account does not exist or your AccessKey pair has expired. |
| 403 | Forbidden.NotSupportRAM | %s | RAM users are not authorized to perform this operation. |
| 403 | Forbidden.SubUser | %s | You are not authorized to manage this resource. Contact the owner of the Alibaba Cloud account for authorization. |
| 403 | InvalidOperation.EniServiceManaged | %s | The operation is invalid. |
| 403 | InvalidOperation.ResourceManagedByCloudProduct | %s | You cannot modify security groups managed by cloud services. |
| 404 | InvalidEniId.NotFound | %s | |
| 404 | InvalidVSwitchId.NotFound | %s | The specified vSwitch does not exist. |
| 404 | InvalidSecurityGroupId.NotFound | %s | The specified security group ID does not exist. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.