dcloud lb load-balancers change-networkMove a network or private dedicated load balancer to another VPC
lb11/lb21/lb31: a load balancer is in one network at a time, so it leaves its VPC before joining the new one, then adds its targets reached by private address again: those are unreachable for about half a minute; its public addresses, listeners and public targets are not affected. Its address in the VPC changes. When joining fails it goes back to its old network and the reason is in reconcileError. Private dedicated: it stops serving in its old VPC at once and serves in the new one within about 2 minutes (several minutes when its nodes must start there first); its name stays and its addresses change.
Synopsis
dcloud lb load-balancers change-network id --vpc-id vpcIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--vpc-idRequiredstring
The VPC to move to; null leaves its VPC (lb11/lb21/lb31 only, and only without targets reached by private address; 400 for a private dedicated load balancer, which is always in a VPC). Required: a missing field is 400, never a detach
Constraints: uuid
May be null.
Example
dcloud lb load-balancers change-network id --vpc-id 00000000-0000-0000-0000-000000000000Generated from the API description, the same one the API checks requests against and the CLI is built from.