Class FutureReservationsResource
The "futureReservations" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class FutureReservationsResource
Constructors
FutureReservationsResource(IClientService)
Constructs a new resource.
Declaration
public FutureReservationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AggregatedList(String)
Retrieves an aggregated list of future reservations.
Declaration
public virtual FutureReservationsResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.AggregatedListRequest |
Cancel(String, String, String)
Cancel the specified future reservation.
Declaration
public virtual FutureReservationsResource.CancelRequest Cancel(string project, string zone, string futureReservation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
| System.String | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.CancelRequest |
Delete(String, String, String)
Deletes the specified future reservation.
Declaration
public virtual FutureReservationsResource.DeleteRequest Delete(string project, string zone, string futureReservation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
| System.String | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.DeleteRequest |
Get(String, String, String)
Retrieves information about the specified future reservation.
Declaration
public virtual FutureReservationsResource.GetRequest Get(string project, string zone, string futureReservation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
| System.String | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.GetRequest |
Insert(FutureReservation, String, String)
Creates a new Future Reservation.
Declaration
public virtual FutureReservationsResource.InsertRequest Insert(FutureReservation body, string project, string zone)
Parameters
| Type | Name | Description |
|---|---|---|
| FutureReservation | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.InsertRequest |
List(String, String)
A list of all the future reservations that have been configured for the specified project in specified zone.
Declaration
public virtual FutureReservationsResource.ListRequest List(string project, string zone)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.ListRequest |
Update(FutureReservation, String, String, String)
Updates the specified future reservation.
Declaration
public virtual FutureReservationsResource.UpdateRequest Update(FutureReservation body, string project, string zone, string futureReservation)
Parameters
| Type | Name | Description |
|---|---|---|
| FutureReservation | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone for this request. Name should conform to RFC1035. |
| System.String | futureReservation | Name of the reservation to update. Name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| FutureReservationsResource.UpdateRequest |