v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13337193.3 KB
projects

Perform reimage operation on a single server.

post/v2/{+name}:reimage

Path parameters

namestring required

Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

kmsKeyVersionstring

Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}.

sshKeysstring[]

Optional. List of SSH Keys used during reimaging an instance.

osImagestring

Required. The OS image code of the image which will be used in the reimage operation.

Response

Successful response