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 |
Required. Name of the instance. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "lun": string, "skipReboot": boolean } |
Fields | |
---|---|
lun |
Required. Name of the Lun to detach. |
skipReboot |
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.