Skip to main content

lingjun eni

Manage Lingjun elastic network interfaces

Run ecctl lingjun eni <action> -h for usage, or ecctl schema lingjun.eni.<action> --full for the complete, agent-readable spec of every parameter and behavior.

create

ecctl lingjun eni create [flags]

Create Lingjun ENI

  • Kind: mutation · Risk: medium
  • Synchronous: waits for Unattached (waiter unattached_after_create, timeout 300s); use --no-wait to skip.
  • Idempotent via ClientToken.
APIWhen calledPurpose
CreateElasticNetworkInterfaceEvery time the command runs.Perform the resource operation.
GetElasticNetworkInterfaceWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
GetElasticNetworkInterfaceWhen --no-wait is not specified.Return the final resource view. (cached; no additional request)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--subnetstringcloud vSwitch ID
--vpdstringcloud VPC ID
--zonestringzone ID
--descriptionstringENI description
--enable-jumbo-framebooleanenable jumbo frame
--nodestringLingjun node ID
--resource-groupstringresource group ID
--security-groupstringsecurity group ID
--tagkey_valuetag assignment key=value

update

ecctl lingjun eni update <id> [flags]

Update Lingjun ENI

  • Kind: mutation · Risk: medium
  • Idempotent via ClientToken.
APIWhen calledPurpose
UpdateElasticNetworkInterfaceWhen --description is specified or --security-group is specified.Perform the resource operation.
AssignLeniPrivateIpAddressWhen --ip contains a value prefixed with +.Perform the resource operation.
UnassignLeniPrivateIpAddressWhen --ip contains a value prefixed with -.Perform the resource operation.
GetElasticNetworkInterfaceWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--descriptionstringENI description
--ipstringIP change; prefix with + to assign or - to release
--security-groupstringsecurity group ID

delete

ecctl lingjun eni delete <id> [flags]

Delete Lingjun ENI

  • Kind: mutation · Risk: high
  • Synchronous: waits for absent (waiter deleted_after_delete, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
DeleteElasticNetworkInterfaceEvery time the command runs.Perform the resource operation.
ListElasticNetworkInterfacesWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region

get

ecctl lingjun eni get <id> [flags]

Get Lingjun ENI

  • Kind: read · Risk: low
APIWhen calledPurpose
GetElasticNetworkInterfaceEvery time the command runs.Read the resource view.
ListLeniPrivateIpAddressesWhen --with-ips is specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--with-ipsbooleaninclude secondary private IP addresses

list

ecctl lingjun eni list [flags]

List Lingjun ENIs

  • Kind: read · Risk: low
APIWhen calledPurpose
ListElasticNetworkInterfacesEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--limitintegermaximum resources to return (default: 100)
--pageintegerresults page to return (default: 1)