All Products
Search
Document Center

:EnableNetworkInterfaceQoS

Last Updated:Jan 05, 2026

Enable or modify Elastic Network Interface (ENI) QoS rate limit settings

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecs:EnableNetworkInterfaceQoSupdate
*NetworkInterface
acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
QoSobjectNo

QoS Speed Limit Settings

BandwidthTxlongNo

The maximum outbound internal bandwidth.

Unit: kbit/s, step size: 1000 (1Mbps), value range: [50000, +♾️)

50000
BandwidthRxlongNo

The maximum inbound internal bandwidth.

Unit: kbit/s, step size: 1000 (1Mbps), value range: [50000, +♾️)

50000
PpsTxlongNo

The outbound packet forwarding rate over the internal network.

Unit: pps, step size: 10000, value range: [10000, +♾️)

50000
PpsRxlongNo

The inbound packet forwarding rate over the internal network.

Unit: pps, step size: 10000, value range: [10000, +♾️)

50000
ConcurrentConnectionslongNo

Maximum Number of Sessions

Step size: 10000, value range: [10000, +♾️)

50000

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParameter%sA parameter is not specified.
400UnsupportedParameter%sThe parameter is not supported.
400InvalidParameter%sThe specified parameter is invalid.
400InvalidInstanceID.Malformed%sThe specified InstanceId parameter is invalid.
400InvalidParams.EniId%sThe specified EniId parameter is invalid.
400Forbidden.RegionId%sThe service is unavailable in the current region.
400InvalidParameter.Conflict%sThe specified parameter is invalid. Check whether parameter conflicts exist. %s is a variable. An error message is dynamically returned based on call conditions.
403InvalidUserType.NotSupported%sYour account does not support this operation.
403Abs.InvalidAccount.NotFound%sYour Alibaba Cloud account does not exist or your AccessKey pair has expired.
403Forbidden.NotSupportRAM%sRAM users are not authorized to perform this operation.
403Forbidden.SubUser%sYou are not authorized to manage this resource. Contact the owner of the Alibaba Cloud account for authorization.
403InvalidOperation.EniServiceManaged%sThe operation is invalid.
403InvalidOperation.ResourceManagedByCloudProduct%sYou cannot modify security groups managed by cloud services.
404InvalidEniId.NotFound%sThe specified ENI ID does not exist.
404InvalidVSwitchId.NotFound%sThe specified vSwitch does not exist.
404InvalidSecurityGroupId.NotFound%sThe specified security group ID does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-12-03Add OperationView Change Details