Google Compute Engine

Delete instance

Deletes the specified Instance resource. For more information, see Deleting an instance.

Inputs

Field

Type

Description

instance [required]

string

Name of the instance resource to delete.

project [required]

string

Project ID for this request.

requestId

string,null

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

zone [required]

string

The name of the zone for this request.

Outputs

Expand All

Field

Type

Description

result [required]

object

Delete instance output result.

clientOperationId

string,null

Operation clientOperationId

creationTimestamp

string,null

Operation creationTimestamp

description

string,null

Operation description

endTime

string,null

Operation endTime

error

Operation error

httpErrorMessage

string,null

Operation httpErrorMessage

httpErrorStatusCode

number,null

Operation httpErrorStatusCode

id

Operation id

insertTime

string,null

Operation insertTime

instancesBulkInsertOperationMetadata

Operation instancesBulkInsertOperationMetadata

kind

string,null

Operation kind

name

string,null

Operation name

operationGroupId

string,null

Operation operationGroupId

operationType

string,null

Operation operationType

progress

number,null

Operation progress

region

string,null

Operation region

selfLink

string,null

Operation selfLink

setCommonInstanceMetadataOperationMetadata

Operation setCommonInstanceMetadataOperationMetadata

startTime

string,null

Operation startTime

status

Operation status

statusMessage

string,null

Operation statusMessage

targetId

Operation targetId

targetLink

string,null

Operation targetLink

user

string,null

Operation user

warnings

Operation warnings

zone

string,null

Operation zone