Elastigroup GCP

Start Deployment

Deploy the Elastigroup: Triggers a Blue/Green deployment that replaces the existing instances in the Elastigroup

put/gcp/gce/group/{groupId}/roll

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/gcp/gce/group/{groupId}/roll
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1gcp~1gce~1group~1%7BgroupId%7D/get/parameters/1 (unresolved $ref)

Request body

batchSizePercentageinteger required

(in percentage) the batch size of the deployment, i.e.: how many instances to replace in each batch

gracePeriodinteger required

(in seconds) the time until an instance becomes healthy in the load balancer

Example request

{
  "batchSizePercentage": 20,
  "gracePeriod": 300
}

Changes

No recorded changes to this operation across all 12 revisions of this API.