Retrieves information about the specified reservation block.
HTTP request
GET https://compute.googleapis.com/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
zone |
Name of the zone for this request. Zone name should conform to RFC1035. |
reservation |
The name of the reservation. Name should conform to RFC1035 or be a resource ID. Authorization requires the following IAM permission on the specified resource
|
reservation |
The name of the reservation block. Name should conform to RFC1035 or be a resource ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "resource": { "kind": string, "id": string, "creationTimestamp": string, "name": string, "zone": string, "selfLink": string, "selfLinkWithId": string, "count": integer, "inUseCount": integer, "reservationMaintenance": { "upcomingGroupMaintenance": { "type": enum, "canReschedule": boolean, "windowStartTime": string, "windowEndTime": string, "latestWindowStartTime": string, "maintenanceStatus": enum }, "enableOpportunisticMaintenance": boolean, "maintenanceOngoingCount": integer, "maintenancePendingCount": integer, "schedulingType": enum }, "status": enum, "physicalTopology": { "cluster": string, "block": string } } } |
Fields | |
---|---|
resource |
|
resource. |
[Output Only] Type of the resource. Always |
resource. |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
resource. |
[Output Only] Creation timestamp in RFC3339 text format. |
resource. |
[Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z? |
resource. |
[Output Only] Zone in which the reservation block resides. |
resource. |
[Output Only] Server-defined fully-qualified URL for this resource. |
resource. |
[Output Only] Server-defined URL for this resource with the resource id. |
resource. |
[Output Only] The number of resources that are allocated in this reservation block. |
resource. |
[Output Only] The number of instances that are currently in use on this reservation block. |
resource. |
[Output Only] Maintenance information for this reservation block. |
resource. |
Maintenance information on this group of VMs. |
resource. |
Defines the type of maintenance. |
resource. |
Indicates if the maintenance can be customer triggered. |
resource. |
The current start time of the maintenance window. This timestamp value is in RFC3339 text format. |
resource. |
The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format. |
resource. |
The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format. |
resource. |
|
resource. |
This setting enables or disables opportunistic maintenance. If enabled, maintenance is performed on unused reservations whenever possible. |
resource. |
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. |
resource. |
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance. |
resource. |
The type of maintenance for the reservation. |
resource. |
[Output Only] Status of the reservation block. |
resource. |
[Output Only] The physical topology of the reservation block. |
resource. |
The cluster name of the reservation block. |
resource. |
The hash of the capacity block within the cluster. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.