Skip to main content

rg resource

Manage resources across resource groups

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

update

ecctl rg resource update <id> [flags]

Move resources to a target resource group

  • Kind: mutation · Risk: medium
  • Synchronous: waits for matched (waiter resources_visible_after_move, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
MoveResourcesEvery time the command runs.Perform the resource operation.
ListResourcesWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--resourceobjectresources to move

list

ecctl rg resource list <id> [flags]

List resources in a resource group

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