Elastic Network Interface (ENI) の属性 (キュー数、関連付けられたセキュリティグループ、キューの深さ、通信モード、インスタンスのリリース時にインターフェイスを保持するかどうかなど) を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ecs:ModifyNetworkInterfaceAttribute |
update |
*NetworkInterface
*SecurityGroup
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
ENI が配置されているリージョンの ID。 DescribeRegions 操作を呼び出して、Alibaba Cloud の最新のリージョンリストを照会できます。 |
cn-hangzhou |
| RegionId |
string |
必須 |
ENI が配置されているリージョンの ID。 DescribeRegions 操作を呼び出して、Alibaba Cloud の最新のリージョンリストを照会できます。 |
cn-hangzhou |
| NetworkInterfaceName |
string |
任意 |
ENI の名前。名前の長さは 2~128 文字である必要があります。先頭は英字または中国語文字である必要があり、 デフォルト値:空。 |
eniTestName |
| NetworkInterfaceId |
string |
必須 |
ENI の ID。 |
eni-bp67acfmxazb4p**** |
| QueueNumber |
integer |
任意 |
ENI のキュー数。有効な値:1~2048。
|
8 |
| Description |
string |
任意 |
ENI の説明。説明の長さは 2~255 文字である必要があり、http:// または https:// で始めることはできません。 デフォルト値:空。 |
testDescription |
| SecurityGroupId |
array |
任意 |
1 つ以上のセキュリティグループの ID。指定されたセキュリティグループは、セカンダリネットワークインターフェースに現在関連付けられているセキュリティグループを置き換えます。
|
|
|
string |
任意 |
セキュリティグループ ID。
|
sg-bp67acfmxazb4p**** |
|
| DeleteOnRelease |
boolean |
任意 |
アタッチされているインスタンスがリリースされるときに ENI をリリースするかどうかを指定します。有効な値:
|
true |
| RxQueueSize |
integer |
任意 |
ENI の受信 (Rx) キューの深さ。 説明
このパラメーターはプライベートプレビュー段階です。アクセスをリクエストするには、チケットを送信してください。
|
8192 |
| TxQueueSize |
integer |
任意 |
ENI の送信 (Tx) キューの深さ。 説明
このパラメーターはプライベートプレビュー段階です。アクセスをリクエストするには、チケットを送信してください。
|
8192 |
| NetworkInterfaceTrafficConfig |
object |
任意 |
ENI の通信パラメーター。 |
|
| NetworkInterfaceTrafficMode |
string |
任意 |
ENI の通信モード。有効な値:
ENI が InUse 状態の場合:
説明
このパラメーターはプライベートプレビュー段階です。 |
HighPerformance |
| QueueNumber |
integer |
任意 |
ENI のキュー数。ENI が InUse 状態の場合、次の点にご注意ください:
説明
このパラメーターはプライベートプレビュー段階です。 |
8 |
| QueuePairNumber |
integer |
任意 |
RDMA 対応 ENI のキュー数。ENI が InUse 状態の場合、次の点にご注意ください:
説明
このパラメーターはプライベートプレビュー段階です。 |
8 |
| RxQueueSize |
integer |
任意 |
ENI の受信 (Rx) キューの深さ。 説明
このパラメーターはプライベートプレビュー段階です。アクセスをリクエストするには、チケットを送信してください。
|
8192 |
| TxQueueSize |
integer |
任意 |
ENI の送信 (Tx) キューの深さ。 説明
このパラメーターはプライベートプレビュー段階です。アクセスをリクエストするには、チケットを送信してください。
|
8192 |
| ConnectionTrackingConfiguration |
object |
任意 |
コネクショントラッキングの設定。 詳細については、「接続タイムアウト管理」をご参照ください。 |
|
| TcpEstablishedTimeout |
integer |
任意 |
ESTABLISHED 状態の TCP 接続のタイムアウト期間 (秒単位)。有効な値は 30、60、80、100、200、300、500、700、910 です。 デフォルト値:910。 |
910 |
| TcpClosedAndTimeWaitTimeout |
integer |
任意 |
FIN-WAIT-2 および TIME-WAIT 状態の TCP 接続のタイムアウト期間 (秒単位)。値は 3~15 の整数である必要があります。 デフォルト値:3。 説明
ECS インスタンスが Network Load Balancer (NLB) またはクラシックロードバランサー (CLB) インスタンスの背後にある場合、 |
3 |
| UdpTimeout |
integer |
任意 |
UDP ストリームのタイムアウト期間 (秒単位)。有効な値:10、20、30、60、80、100。 デフォルト値:30。 説明
ECS インスタンスが NLB または CLB インスタンスの背後にある場合、デフォルト値は 100 秒です。 |
30 |
| EnhancedNetwork |
object |
任意 |
このパラメーターは公開されていません。 |
|
| EnableSriov |
boolean |
任意 |
このパラメーターは公開されていません。 |
true |
| EnableRss |
boolean |
任意 |
説明
このパラメーターは公開されていません。 |
false |
| VirtualFunctionTotalQueueNumber |
integer |
任意 |
||
| VirtualFunctionQuantity |
integer |
任意 |
||
| SourceDestCheck |
boolean |
任意 |
送信元/送信先チェックを有効にするかどうかを指定します。この機能を有効にすると、ネットワークセキュリティが強化されます。有効な値:
デフォルト値:false。 説明
この機能は特定のリージョンでのみ利用可能です。詳細については、「送信元/送信先チェック」をご参照ください。 |
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
リクエストに対して返されたデータ。 |
||
| RequestId |
string |
リクエストの一意の識別子。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidOperation.NotSupportModifyQueueNumber | %s | |
| 400 | MissingParameter | %s | |
| 400 | UnsupportedParameter | %s | |
| 400 | InvalidParameter | %s | |
| 400 | InvalidInstanceID.Malformed | %s | |
| 400 | InvalidOperation.InvalidEcsState | %s | |
| 400 | InvalidOperation.InvalidEniState | %s | |
| 400 | InvalidOperation.DetachPrimaryEniNotAllowed | %s | |
| 400 | InvalidParams.EniId | %s | |
| 400 | Forbidden.RegionId | %s | |
| 400 | JoinedGroupLimitExceed | %s | |
| 400 | InvalidEniQueueSize.RegionOrUserNotSupported | The specified parameter RxQueueSize or TxQueueSize is not supported in this region, or this account is not in the whitelist of using eni QueueSize. | |
| 400 | InvalidParameter.EniQueueSize | The specified parameter TxQueueSize and RxQueueSize are not equal or exceed limit. | |
| 400 | InvalidParameter.Conflict | %s | |
| 400 | InvalidConnectionTrackingConfiguration.RegionOrUserNotSupported | The specified parameter ConnectionTrackingConfiguration is not supported in this region, or this account is not in the whitelist of using network interface ConnectionTrackingConfiguration. | |
| 400 | InvalidParameter.InvalidQueuePairNumber | The specified parameter QueuePairNumber exceeds limit. | |
| 400 | InvalidParameter.EniConnectionTrackingConfiguration | The specify network interface connection tracking configuration exceeds limit. | |
| 400 | InvalidOperation.MaxEniQueuePairNumberExceed | The QueuePairNumber on the RDMA ENI exceeds the upper limit allowed for a single ENI. | |
| 400 | InvalidOperation.HighPerformanceEniPerInstanceLimitExceeded | The number of RDMA ENIs attached to the ECS instance exceeds the upper limit. | |
| 400 | InvalidOperation.InstanceTypeNotSupportHighPerformance | The ECS instance type where the ENI is located does not support the RDMA mode. | |
| 400 | InvalidTrafficMode.ModifyToStandardNotSupported | The specified parameter NetworkInterfaceTrafficMode is not supported to modify to Standard. | |
| 400 | InvalidOperation.EniTrafficModeNotSupportIPv6 | The ENI using High Performance traffic mode does not support IPv6. | |
| 400 | InvalidOperation.EniQueuePairNumberOverflow | The RDMA QueuePairNumber of the ECS instance associated with the specified ENI exceeds the limit. | |
| 400 | InvalidParameter.QueuePairNumberMustEmpty | When the traffic mode is set to Standard, the QueuePairNumber must be empty. | |
| 400 | InvalidParameter.EniTrafficMode | The ENI traffic mode is set incorrectly, it must be either Standard or HighPerformance. | |
| 400 | InvalidOperation.InstanceTypeNotSupportRss | The ECS instance type does not support Rss. | |
| 400 | InvalidParameter.EniEnhancedNetwork | The input parameter "EnhancedNetwork" is illegal, when EnableSriov is true, VirtualFunctionTotalQueueNumber must not be empty, and VirtualFunctionQuantity must be 1 to 256. When EnableSriov is empty or false, VirtualFunctionTotalQueueNumber and VirtualFunctionQuantity must be empty. | |
| 400 | InvalidOperation.NotSupportModifyVFQueueNumberAndVFQuantity | The ENI not support modify VirtualFunctionTotalQueueNumber and VirtualFunctionQuantity when EnableSriov is true. | |
| 400 | InvalidOperation.TrunkAttachmentMustEmpty | The Attachment of the current Trunk type Network Interface must be empty when modify EnableSriov to true. | |
| 400 | Throttling | Request was denied due to request throttling, try again later. | |
| 400 | InvalidOperation.SourceDestCheckUnsupported | Modifying sourceDestCheck attribute for network interface is not allowed in the %s region. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | InvalidUserType.NotSupported | %s | |
| 403 | Abs.InvalidAccount.NotFound | %s | |
| 403 | Forbidden.NotSupportRAM | %s | |
| 403 | Forbidden.SubUser | %s | |
| 403 | MaxEniCountExceeded | %s | |
| 403 | EniPerInstanceLimitExceeded | %s | |
| 403 | InvalidOperation.AvailabilityZoneMismatch | %s | |
| 403 | InvalidOperation.VpcMismatch | %s | |
| 403 | SecurityGroupInstanceLimitExceed | %s | |
| 403 | InvalidSecurityGroupId.NotVpc | %s | 参数SecurityGroupId无效,该安全组的网络类型不是专有网络。 |
| 403 | InvalidOperation.InvalidEniType | %s | |
| 403 | InvalidOperation.EniServiceManaged | %s | |
| 403 | InvalidOperation.MultiGroupType | The specified instance can't join different types of security group. | |
| 403 | InvalidOperation.EniCountExceeded | The maximum number of eni in a enterprise level security group is exceeded. | |
| 403 | InvalidParams.NetworkInterfaceName | %s | |
| 403 | InvalidOperation.ModifyPrimaryEniQueueNumber | Primary NetworkInterface is not allowed to modify queue number. | |
| 403 | InvalidOperation.InvalidEniState | Available status or ECS instance attached is Stopped is allowed to modify network interface queue number. | |
| 403 | InvalidOperation.ResourceManagedByCloudProduct | %s | |
| 403 | InvalidParameter.InvalidEniQueueNumber | %s | |
| 403 | InvalidOperation.MaxEniQueueNumberExceeded | %s | |
| 403 | InvalidOperation.ExceedInstanceTypeQueueNumber | %s | |
| 403 | AclLimitExceed | %s | |
| 403 | InvalidOperation.EniTypeUnsupported | The specified eni type does not supported. | |
| 404 | InvalidEcsId.NotFound | %s | |
| 404 | InvalidEniId.NotFound | %s | |
| 404 | InvalidVSwitchId.NotFound | %s | |
| 404 | InvalidSecurityGroupId.NotFound | %s | |
| 404 | InvalidOperation.PrimaryEniOnlySupportModifyNameAndDesc | Primary NetworkInterface is only allowed to modify name and description. | |
| 404 | InvalidParameter.SecurityGroupIdRepeated | The specified security group ids has repeated. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。