Files
cloudpods/docs/instance/bind-groups.yaml
Rain 8e55bee9b3 feat & fix: Add batch operator and fix some bugs for instance group
Feature:
1. Add apis: list server by group, list group by server, bind
servers, unbind servers, bind groups, unbind groups.
2. Add climc command and docs corresponding to the above newly added apis
3. Add log about binding and unbinding operator.
4. Support enable and disable instance group.
Fix:
1. Set capacity zeor if there are not enough resource aboue forced
instance group in one host.
2. Change the stage(real delete => pending delete) that guest leave all groups.
2019-11-06 13:06:03 +08:00

17 lines
387 B
YAML

post:
summary: 批量绑定主机组
parameters:
- $ref: '../parameters/instance.yaml#/instanceId'
- in: body
name: groups
required: true
schema:
$ref: '../schemas/instance.yaml#/InstanceBindGroups'
responses:
200:
description: 实例信息
schema:
$ref: '../schemas/instance.yaml#/InstanceResponse'
tags:
- instance