Attach a VPC to a Group
Attaches one or more VPC networks to the group. New nodes launched after the change join the attached VPC(s). VPC operations are only allowed while the group is stopped - use Stop / Start first.
PUT
/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/Path parameters
scaler_idPathintegerrequiredThe
idof the auto scaling group, as returned by List.- required
- must be a valid auto scaling group ID
example12345
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request.
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the group.
- required
- must be a valid region name (e.g., Delhi, Chennai)
example{{location}}
Request body
application/json
VPC networks to attach to the group.
List of VPC networks to attach.
Responses
200Successful response
VPC attach confirmation.
example
200example
vpc has been attached successfullyexample
Success