Elastigroup GCP

Lock Instance

Set termination protection for a specific instance.

post/gcp/gce/instance/{instanceId}/lock

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/gcp/gce/instance/{instanceId}/lock
  • Auth
    HTTP bearer

Query parameters

ttlInMinutesstring required

Specify a TTL (in minutes) for this lock, i.e.: for how long the protection will be valid for.

Parameters

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

Response

(unresolved $ref)

Changes

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