Class ReservationState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ReservationState : ResourceArgs
Constructors
View SourceReservationState()
Declaration
public ReservationState()
Properties
View SourceCommitment
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
Declaration
public Input<string> Commitment { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CreationTimestamp
Creation timestamp in RFC3339 text format.
Declaration
public Input<string> CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
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> |
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SpecificReservation
Reservation for instances with specific machine shapes. Structure is documented below.
Declaration
public Input<ReservationSpecificReservationGetArgs> SpecificReservation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ReservationSpecificReservationGetArgs> |
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> |
Status
The status of the reservation.
Declaration
public Input<string> Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Zone
The zone where the reservation is made.
Declaration
public Input<string> Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |