Skip to main content

lingjun er

Manage Lingjun Enterprise Router (HUB) resources

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

create

ecctl lingjun er create [flags]

Create Lingjun ER

  • Kind: mutation · Risk: medium
  • Synchronous: waits for Available (waiter available_after_change, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
CreateErEvery time the command runs.Perform the resource operation.
GetErWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
GetErWhen --no-wait is not specified.Return the final resource view. (cached; no additional request)
ParameterTypeRequiredDescription
--master-zonestringmaster zone ID
--namestringER name
--regionstringAlibaba Cloud region
--descriptionstringER description
--resource-groupstringresource group ID
--tagkey_valuetag assignment key=value

update

ecctl lingjun er update <id> [flags]

Update Lingjun ER (attributes, attachments or route maps)

  • Kind: mutation · Risk: medium
  • Synchronous: waits for Available (waiter available_after_change, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
UpdateErWhen --name is specified or --description is specified.Perform the resource operation.
CreateErAttachmentWhen --attachment contains a value prefixed with +.Perform the resource operation.
DeleteErAttachmentWhen --attachment contains a value prefixed with -.Perform the resource operation.
CreateErRouteMapWhen --route-map contains a value prefixed with +.Perform the resource operation.
DeleteErRouteMapWhen --route-map contains a value prefixed with -.Perform the resource operation.
GetErWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
GetErWhen --no-wait is not specified.Return the final resource view. (cached; no additional request)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--attachmentstringattachment change; prefix with + to add (inline kv: instance=...,instance_type=VPD|VCC,name=...,auto_receive_all_route=true|false[,resource_tenant=...]) or - to remove (value is the attachment ID, e.g. -era-xxx)
--descriptionstringER description
--namestringER name
--route-mapstringroute map change; prefix with + to add (inline kv: route_map_num=...,action=permit|deny,reception_instance=...,reception_instance_type=VPD|VCC,transmission_instance=...,transmission_instance_type=VPD|VCC[,destination_cidr=...,description=...,reception_instance_owner=...,transmission_instance_owner=...]) or - to remove (value is the route-map ID, e.g. -ermap-xxx)

delete

ecctl lingjun er delete <id> [flags]

Delete Lingjun ER

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

get

ecctl lingjun er get <id> [flags]

Get Lingjun ER

  • Kind: read · Risk: low
APIWhen calledPurpose
GetErEvery time the command runs.Read the resource view.
ListErAttachmentsWhen --with-attachments is specified.Read the resource view.
ListErRouteMapsWhen --with-route-maps is specified.Read the resource view.
ListErRouteEntriesWhen --with-routes is specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--limitintegermaximum resources to return (default: 100)
--pageintegerresults page to return (default: 1)
--with-attachmentsbooleaninclude ER attachments list in get output
--with-route-mapsbooleaninclude ER route maps list in get output
--with-routesbooleaninclude ER route entries list in get output

list

ecctl lingjun er list [flags]

List Lingjun ERs

  • Kind: read · Risk: low
APIWhen calledPurpose
ListErsEvery 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)