Show / Hide Table of Contents

Class ReservationArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ReservationArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ReservationArgs : ResourceArgs

Constructors

View Source

ReservationArgs()

Declaration
public ReservationArgs()

Properties

View Source

Description

An optional description of this resource.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Zone

The zone where the reservation is made.

Declaration
public Input<string> Zone { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.