Method: reservations.get

Retrieves information about the specified reservation.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/zones/{zone}/reservations/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

zone

string

Name of the zone for this request.

resourceId

string

Name of the reservation to retrieve.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "selfLink": string,
  "zone": string,
  "description": string,
  "name": string,
  "commitment": string,
  "specificReservationRequired": boolean,
  "status": enum,
  "shareSettings": {
    "shareType": enum,
    "projects": [
      string
    ],
    "projectMap": {
      string: {
        "projectId": string
      },
      ...
    }
  },
  "satisfiesPzs": boolean,
  "kind": string,
  "specificReservation": {
    "instanceProperties": {
      "machineType": string