lb.load-balancers.network-move-planShow what moving a load balancer to another VPC would do
Request syntax
GET /lb/api/load-balancers/{id}/network-move-planPath parameters
idRequiredstring
Constraints: uuid
Query parameters
vpcIdRequiredstring
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 examplecurl -X GET "https://console.platform.deutschecloud.app/lb/api/load-balancers/id/network-move-plan" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.lb.loadBalancers.networkMovePlan({ id: "id", vpcId: "example" });from dcloud import Client
client = Client()
result = client.lb.load_balancers.network_move_plan(id="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.