lb.load-balancers.network-move-plan

Show what moving a load balancer to another VPC would do

GET /lb/api/load-balancers/{id}/network-move-planIAM lb:DescribeLoadBalancersRead

Request syntax

GET /lb/api/load-balancers/{id}/network-move-plan

Path parameters

  • idRequired

    string

    Constraints: uuid

Query parameters

  • vpcIdRequired

    string

    The VPC it would move to (its id), or `none` for leaving its VPC

    Constraints: /^(none|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/i

Response

200: `data` is the plan: `from` and `to` (vpcId, vpcName, cidr; null for no network), `path` (`detach-first`, `attach-only`, `detach-only` or `none`), `interruption`, `effects`, `dependants` (instances it reaches by private address: kind, id, name, href, effect) and `refusal` with `refusalStatus` (why the move cannot run, or null).

A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.

Errors

  • 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
  • 401No credentials, or an access key that is unknown, revoked or expired.
  • 403The caller's policies do not allow lb:DescribeLoadBalancers on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
  • 404The resource does not exist in your organization.

Examples

The required parameters only, with example values. Replace id and the other placeholders with your own.

dcloud lb load-balancers network-move-plan id --vpc-id example

Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_lb_load-balancers_network-move-plan.