Interface ComputeReservationConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeReservationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.894Z") @Stability(Stable) public interface ComputeReservationConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeReservationConfig.BuilderA builder forComputeReservationConfigstatic classComputeReservationConfig.Jsii$ProxyAn implementation forComputeReservationConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeReservationConfig.Builderbuilder()default StringgetDescription()An optional description of this resource.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#id ComputeReservation#id}.StringgetName()Name of the resource.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#project ComputeReservation#project}.default ComputeReservationShareSettingsgetShareSettings()share_settings block.ComputeReservationSpecificReservationgetSpecificReservation()specific_reservation block.default ObjectgetSpecificReservationRequired()When set to true, only VMs that target this reservation by name can consume this reservation.default ComputeReservationTimeoutsgetTimeouts()timeouts block.StringgetZone()The zone where the reservation is made.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
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](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#name ComputeReservation#name}
-
getSpecificReservation
@Stability(Stable) @NotNull ComputeReservationSpecificReservation getSpecificReservation()
specific_reservation block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#specific_reservation ComputeReservation#specific_reservation}
-
getZone
@Stability(Stable) @NotNull String getZone()
The zone where the reservation is made.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#zone ComputeReservation#zone}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#description ComputeReservation#description}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#id ComputeReservation#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#project ComputeReservation#project}.
-
getShareSettings
@Stability(Stable) @Nullable default ComputeReservationShareSettings getShareSettings()
share_settings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#share_settings ComputeReservation#share_settings}
-
getSpecificReservationRequired
@Stability(Stable) @Nullable default Object getSpecificReservationRequired()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#specific_reservation_required ComputeReservation#specific_reservation_required}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeReservationTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#timeouts ComputeReservation#timeouts}
-
builder
@Stability(Stable) static ComputeReservationConfig.Builder builder()
- Returns:
- a
ComputeReservationConfig.BuilderofComputeReservationConfig
-
-