Method: projects.locations.instances.detachLun

Detach LUN from Instance.

HTTP request

POST https://baremetalsolution.googleapis.com/v2/{instance=projects/*/locations/*/instances/*}:detachLun

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
instance

string

Required. Name of the instance.

Request body

The request body contains data with the following structure:

JSON representation
{
  "lun": string,
  "skipReboot": boolean
}
Fields
lun

string

Required. Name of the Lun to detach.

skipReboot

boolean

If true, performs lun unmapping without instance reboot.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.