Show / Hide Table of Contents

Class ReservationBlocksResource

The "reservationBlocks" collection of methods.

Inheritance
object
ReservationBlocksResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ReservationBlocksResource

Constructors

ReservationBlocksResource(IClientService)

Constructs a new resource.

Declaration
public ReservationBlocksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string, string, string, string)

Retrieves information about the specified reservation block.

Declaration
public virtual ReservationBlocksResource.GetRequest Get(string project, string zone, string reservation, string reservationBlock)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string reservation

The name of the reservation. Name should conform to RFC1035 or be a resource ID.

string reservationBlock

The name of the reservation block. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationBlocksResource.GetRequest

List(string, string, string)

Retrieves a list of reservation blocks under a single reservation.

Declaration
public virtual ReservationBlocksResource.ListRequest List(string project, string zone, string reservation)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string reservation

The name of the reservation. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationBlocksResource.ListRequest

PerformMaintenance(ReservationsBlocksPerformMaintenanceRequest, string, string, string, string)

Allows customers to perform maintenance on a reservation block

Declaration
public virtual ReservationBlocksResource.PerformMaintenanceRequest PerformMaintenance(ReservationsBlocksPerformMaintenanceRequest body, string project, string zone, string reservation, string reservationBlock)
Parameters
Type Name Description
ReservationsBlocksPerformMaintenanceRequest body

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string reservation

The name of the reservation. Name should conform to RFC1035 or be a resource ID.

string reservationBlock

The name of the reservation block. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationBlocksResource.PerformMaintenanceRequest
In this article
Back to top Generated by DocFX