Class ReservationArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ReservationArgs : ResourceArgs
Constructors
View SourceReservationArgs()
Declaration
public ReservationArgs()
Properties
View SourceDescription
An optional description of this resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression a-z? which means the
first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SpecificReservation
Reservation for instances with specific machine shapes. Structure is documented below.
Declaration
public Input<ReservationSpecificReservationArgs> SpecificReservation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ReservationSpecificReservationArgs> |
SpecificReservationRequired
When set to true, only VMs that target this reservation by name can consume this reservation. Otherwise, it can be consumed by VMs with affinity for any reservation. Defaults to false.
Declaration
public Input<bool> SpecificReservationRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Zone
The zone where the reservation is made.
Declaration
public Input<string> Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |