v1

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

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

post/v1/{+parent}:importState

Path parameters

parentstring required

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

Request body

lockIdstring int64

Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.

Response

Successful response