Create an Instance Group for an Instance
post
/api/v2/instances/{id}/instance_groups/
Make a POST request to this resource with the following instance group fields to create a new instance group associated with this instance.
-
name: Name of this instance group. (string, required) -
credential: (id, default=``) policy_instance_percentage: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer, default=0)policy_instance_minimum: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer, default=0)policy_instance_list: List of exact-match Instances that will be assigned to this group (json, default=``)pod_spec_override: (string, default="")
Add Instance Groups for an Instance:
Make a POST request to this resource with only an id field to associate an
existing instance group with this instance.
Remove Instance Groups from this Instance:
Make a POST request to this resource with id and disassociate fields to
remove the instance group from this instance
without deleting the instance group.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : schema
Type:
Show Source
object-
credential(optional):
integer
-
name:
string
-
pod_spec_override(optional):
string
-
policy_instance_list(optional):
array policy_instance_list
List of exact-match Instances that will be assigned to this group
-
policy_instance_minimum(optional):
integer
Static minimum number of Instances that will be automatically assign to this group when new instances come online.
-
policy_instance_percentage(optional):
integer
Minimum percentage of all instances that will be automatically assigned to this group when new instances come online.
Nested Schema : policy_instance_list
Type:
arrayList of exact-match Instances that will be assigned to this group
Show Source