Skip to main content

lingjun subnet

Manage Lingjun subnet resources

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

create​

ecctl lingjun subnet create [flags]

Create Lingjun subnet

  • Kind: mutation · Risk: medium
  • Synchronous: waits for Available (waiter available_after_change, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
CreateSubnetEvery time the command runs.Perform the resource operation.
GetSubnetWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
GetSubnetWhen --no-wait is not specified.Return the final resource view. (cached; no additional request)
ParameterTypeRequiredDescription
--cidrcidr✓subnet CIDR block
--namestring✓Lingjun subnet name
--regionstring✓Alibaba Cloud region
--vpdstring✓Lingjun VPD ID
--zonestring✓zone ID
--tagkey_valuetag assignment key=value
--typestringsubnet usage type

update​

ecctl lingjun subnet update <id> [flags]

Update Lingjun subnet

  • Kind: mutation · Risk: medium
  • Synchronous: waits for Available (waiter available_after_change, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
UpdateSubnetEvery time the command runs.Perform the resource operation.
GetSubnetWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
GetSubnetWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region
--vpdstring✓Lingjun VPD ID
--zonestring✓zone ID
--namestringLingjun subnet name

delete​

ecctl lingjun subnet delete <id> [flags]

Delete Lingjun subnet

  • Kind: mutation · Risk: high
  • Synchronous: waits for absent (waiter deleted_after_delete, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
DeleteSubnetEvery time the command runs.Perform the resource operation.
ListSubnetsWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region
--vpdstring✓Lingjun VPD ID
--zonestring✓zone ID

get​

ecctl lingjun subnet get <id> [flags]

Get Lingjun subnet

  • Kind: read · Risk: low
APIWhen calledPurpose
GetSubnetEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--vpdstringLingjun VPD ID

list​

ecctl lingjun subnet list [flags]

List Lingjun subnets

  • Kind: read · Risk: low
APIWhen calledPurpose
ListSubnetsEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba 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)