Documentation ¶
Index ¶
- func GoogleComputeReservation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleComputeReservation_IsConstruct(x interface{}) *bool
- func GoogleComputeReservation_IsTerraformElement(x interface{}) *bool
- func GoogleComputeReservation_IsTerraformResource(x interface{}) *bool
- func GoogleComputeReservation_TfResourceType() *string
- func NewGoogleComputeReservationShareSettingsOutputReference_Override(g GoogleComputeReservationShareSettingsOutputReference, ...)
- func NewGoogleComputeReservationShareSettingsProjectMapList_Override(g GoogleComputeReservationShareSettingsProjectMapList, ...)
- func NewGoogleComputeReservationShareSettingsProjectMapOutputReference_Override(g GoogleComputeReservationShareSettingsProjectMapOutputReference, ...)
- func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override(...)
- func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override(...)
- func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList, ...)
- func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override(...)
- func NewGoogleComputeReservationSpecificReservationInstancePropertiesOutputReference_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference, ...)
- func NewGoogleComputeReservationSpecificReservationOutputReference_Override(g GoogleComputeReservationSpecificReservationOutputReference, ...)
- func NewGoogleComputeReservationTimeoutsOutputReference_Override(g GoogleComputeReservationTimeoutsOutputReference, ...)
- func NewGoogleComputeReservation_Override(g GoogleComputeReservation, scope constructs.Construct, id *string, ...)
- type GoogleComputeReservation
- type GoogleComputeReservationConfig
- type GoogleComputeReservationShareSettings
- type GoogleComputeReservationShareSettingsOutputReference
- type GoogleComputeReservationShareSettingsProjectMap
- type GoogleComputeReservationShareSettingsProjectMapList
- type GoogleComputeReservationShareSettingsProjectMapOutputReference
- type GoogleComputeReservationSpecificReservation
- type GoogleComputeReservationSpecificReservationInstanceProperties
- type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAccelerators
- type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList
- type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference
- type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsds
- type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList
- type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference
- type GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference
- type GoogleComputeReservationSpecificReservationOutputReference
- type GoogleComputeReservationTimeouts
- type GoogleComputeReservationTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleComputeReservation_GenerateConfigForImport ¶
func GoogleComputeReservation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleComputeReservation resource upon running "cdktf plan <stack-name>".
func GoogleComputeReservation_IsConstruct ¶
func GoogleComputeReservation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func GoogleComputeReservation_IsTerraformElement ¶
func GoogleComputeReservation_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleComputeReservation_IsTerraformResource ¶
func GoogleComputeReservation_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleComputeReservation_TfResourceType ¶
func GoogleComputeReservation_TfResourceType() *string
func NewGoogleComputeReservationShareSettingsOutputReference_Override ¶
func NewGoogleComputeReservationShareSettingsOutputReference_Override(g GoogleComputeReservationShareSettingsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeReservationShareSettingsProjectMapList_Override ¶
func NewGoogleComputeReservationShareSettingsProjectMapList_Override(g GoogleComputeReservationShareSettingsProjectMapList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeReservationShareSettingsProjectMapOutputReference_Override ¶
func NewGoogleComputeReservationShareSettingsProjectMapOutputReference_Override(g GoogleComputeReservationShareSettingsProjectMapOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeReservationSpecificReservationInstancePropertiesOutputReference_Override ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesOutputReference_Override(g GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeReservationSpecificReservationOutputReference_Override ¶
func NewGoogleComputeReservationSpecificReservationOutputReference_Override(g GoogleComputeReservationSpecificReservationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeReservationTimeoutsOutputReference_Override ¶
func NewGoogleComputeReservationTimeoutsOutputReference_Override(g GoogleComputeReservationTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeReservation_Override ¶
func NewGoogleComputeReservation_Override(g GoogleComputeReservation, scope constructs.Construct, id *string, config *GoogleComputeReservationConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation google_compute_reservation} Resource.
Types ¶
type GoogleComputeReservation ¶
type GoogleComputeReservation interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack Commitment() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string SpecificReservation() GoogleComputeReservationSpecificReservationOutputReference SpecificReservationInput() *GoogleComputeReservationSpecificReservation SpecificReservationRequired() interface{} SetSpecificReservationRequired(val interface{}) SpecificReservationRequiredInput() interface{} Status() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleComputeReservationTimeoutsOutputReference TimeoutsInput() interface{} Zone() *string SetZone(val *string) ZoneInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutSpecificReservation(value *GoogleComputeReservationSpecificReservation) PutTimeouts(value *GoogleComputeReservationTimeouts) ResetDescription() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetSpecificReservationRequired() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation google_compute_reservation}.
func NewGoogleComputeReservation ¶
func NewGoogleComputeReservation(scope constructs.Construct, id *string, config *GoogleComputeReservationConfig) GoogleComputeReservation
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation google_compute_reservation} Resource.
type GoogleComputeReservationConfig ¶
type GoogleComputeReservationConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // 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]([-a-z0-9]*[a-z0-9])?' 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-beta/5.7.0/docs/resources/google_compute_reservation#name GoogleComputeReservation#name} Name *string `field:"required" json:"name" yaml:"name"` // specific_reservation block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#specific_reservation GoogleComputeReservation#specific_reservation} SpecificReservation *GoogleComputeReservationSpecificReservation `field:"required" json:"specificReservation" yaml:"specificReservation"` // The zone where the reservation is made. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#zone GoogleComputeReservation#zone} Zone *string `field:"required" json:"zone" yaml:"zone"` // An optional description of this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#description GoogleComputeReservation#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#id GoogleComputeReservation#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. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#project GoogleComputeReservation#project}. Project *string `field:"optional" json:"project" yaml:"project"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#share_settings GoogleComputeReservation#share_settings} ShareSettings *GoogleComputeReservationShareSettings `field:"optional" json:"shareSettings" yaml:"shareSettings"` // 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-beta/5.7.0/docs/resources/google_compute_reservation#specific_reservation_required GoogleComputeReservation#specific_reservation_required} SpecificReservationRequired interface{} `field:"optional" json:"specificReservationRequired" yaml:"specificReservationRequired"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#timeouts GoogleComputeReservation#timeouts} Timeouts *GoogleComputeReservationTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type GoogleComputeReservationShareSettings ¶
type GoogleComputeReservationShareSettings struct { // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#project_map GoogleComputeReservation#project_map} ProjectMap interface{} `field:"optional" json:"projectMap" yaml:"projectMap"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#share_type GoogleComputeReservation#share_type} ShareType *string `field:"optional" json:"shareType" yaml:"shareType"` }
type GoogleComputeReservationShareSettingsOutputReference ¶
type GoogleComputeReservationShareSettingsOutputReference interface { cdktf.ComplexObject // Experimental. ComplexObjectIndex() interface{} SetComplexObjectIndex(val interface{}) // Experimental. ComplexObjectIsFromSet() *bool SetComplexObjectIsFromSet(val *bool) // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. TerraformAttribute() *string SetTerraformAttribute(val *string) TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) ComputeFqn() *string GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationAsList() cdktf.IResolvable // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationShareSettingsOutputReference ¶
func NewGoogleComputeReservationShareSettingsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeReservationShareSettingsOutputReference
type GoogleComputeReservationShareSettingsProjectMap ¶
type GoogleComputeReservationShareSettingsProjectMap struct { // // 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. Id *string `field:"required" json:"id" yaml:"id"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#project_id GoogleComputeReservation#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` }
type GoogleComputeReservationShareSettingsProjectMapList ¶
type GoogleComputeReservationShareSettingsProjectMapList interface { cdktf.ComplexList // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. // The attribute on the parent resource this class is referencing. // The parent resource. // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationShareSettingsProjectMapList ¶
func NewGoogleComputeReservationShareSettingsProjectMapList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeReservationShareSettingsProjectMapList
type GoogleComputeReservationShareSettingsProjectMapOutputReference ¶
type GoogleComputeReservationShareSettingsProjectMapOutputReference interface { cdktf.ComplexObject // Experimental. ComplexObjectIndex() interface{} SetComplexObjectIndex(val interface{}) // Experimental. ComplexObjectIsFromSet() *bool SetComplexObjectIsFromSet(val *bool) // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. TerraformAttribute() *string SetTerraformAttribute(val *string) TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) ComputeFqn() *string GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationAsList() cdktf.IResolvable // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationShareSettingsProjectMapOutputReference ¶
func NewGoogleComputeReservationShareSettingsProjectMapOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeReservationShareSettingsProjectMapOutputReference
type GoogleComputeReservationSpecificReservation ¶
type GoogleComputeReservationSpecificReservation struct { // The number of resources that are allocated. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#count GoogleComputeReservation#count} Count *float64 `field:"required" json:"count" yaml:"count"` // instance_properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#instance_properties GoogleComputeReservation#instance_properties} InstanceProperties *GoogleComputeReservationSpecificReservationInstanceProperties `field:"required" json:"instanceProperties" yaml:"instanceProperties"` }
type GoogleComputeReservationSpecificReservationInstanceProperties ¶
type GoogleComputeReservationSpecificReservationInstanceProperties struct { // The name of the machine type to reserve. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#machine_type GoogleComputeReservation#machine_type} MachineType *string `field:"required" json:"machineType" yaml:"machineType"` // guest_accelerators block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#guest_accelerators GoogleComputeReservation#guest_accelerators} GuestAccelerators interface{} `field:"optional" json:"guestAccelerators" yaml:"guestAccelerators"` // local_ssds block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#local_ssds GoogleComputeReservation#local_ssds} LocalSsds interface{} `field:"optional" json:"localSsds" yaml:"localSsds"` // The minimum CPU platform for the reservation. // // For example, // '"Intel Skylake"'. See // the CPU platform availability reference](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones) // for information on available CPU platforms. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#min_cpu_platform GoogleComputeReservation#min_cpu_platform} MinCpuPlatform *string `field:"optional" json:"minCpuPlatform" yaml:"minCpuPlatform"` }
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAccelerators ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAccelerators struct { // The number of the guest accelerator cards exposed to this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#accelerator_count GoogleComputeReservation#accelerator_count} AcceleratorCount *float64 `field:"required" json:"acceleratorCount" yaml:"acceleratorCount"` // The full or partial URL of the accelerator type to attach to this instance. For example: 'projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100'. // // If you are creating an instance template, specify only the accelerator name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#accelerator_type GoogleComputeReservation#accelerator_type} AcceleratorType *string `field:"required" json:"acceleratorType" yaml:"acceleratorType"` }
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference interface { cdktf.ComplexObject AcceleratorCount() *float64 SetAcceleratorCount(val *float64) AcceleratorCountInput() *float64 AcceleratorType() *string SetAcceleratorType(val *string) AcceleratorTypeInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsds ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsds struct { // The size of the disk in base-2 GB. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#disk_size_gb GoogleComputeReservation#disk_size_gb} DiskSizeGb *float64 `field:"required" json:"diskSizeGb" yaml:"diskSizeGb"` // The disk interface to use for attaching this disk. Default value: "SCSI" Possible values: ["SCSI", "NVME"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#interface GoogleComputeReservation#interface} Interface *string `field:"optional" json:"interface" yaml:"interface"` }
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DiskSizeGb() *float64 SetDiskSizeGb(val *float64) DiskSizeGbInput() *float64 // Experimental. Fqn() *string Interface() *string SetInterface(val *string) InterfaceInput() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetInterface() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference
type GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference ¶
type GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GuestAccelerators() GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList GuestAcceleratorsInput() interface{} InternalValue() *GoogleComputeReservationSpecificReservationInstanceProperties SetInternalValue(val *GoogleComputeReservationSpecificReservationInstanceProperties) LocalSsds() GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList LocalSsdsInput() interface{} MachineType() *string SetMachineType(val *string) MachineTypeInput() *string MinCpuPlatform() *string SetMinCpuPlatform(val *string) MinCpuPlatformInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutGuestAccelerators(value interface{}) PutLocalSsds(value interface{}) ResetGuestAccelerators() ResetLocalSsds() ResetMinCpuPlatform() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationInstancePropertiesOutputReference ¶
func NewGoogleComputeReservationSpecificReservationInstancePropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference
type GoogleComputeReservationSpecificReservationOutputReference ¶
type GoogleComputeReservationSpecificReservationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Count() *float64 SetCount(val *float64) CountInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InstanceProperties() GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference InstancePropertiesInput() *GoogleComputeReservationSpecificReservationInstanceProperties InternalValue() *GoogleComputeReservationSpecificReservation SetInternalValue(val *GoogleComputeReservationSpecificReservation) InUseCount() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutInstanceProperties(value *GoogleComputeReservationSpecificReservationInstanceProperties) // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationSpecificReservationOutputReference ¶
func NewGoogleComputeReservationSpecificReservationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeReservationSpecificReservationOutputReference
type GoogleComputeReservationTimeouts ¶
type GoogleComputeReservationTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#create GoogleComputeReservation#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#delete GoogleComputeReservation#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.7.0/docs/resources/google_compute_reservation#update GoogleComputeReservation#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleComputeReservationTimeoutsOutputReference ¶
type GoogleComputeReservationTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeReservationTimeoutsOutputReference ¶
func NewGoogleComputeReservationTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeReservationTimeoutsOutputReference
Source Files ¶
- GoogleComputeReservation.go
- GoogleComputeReservationConfig.go
- GoogleComputeReservationShareSettings.go
- GoogleComputeReservationShareSettingsOutputReference.go
- GoogleComputeReservationShareSettingsOutputReference__checks.go
- GoogleComputeReservationShareSettingsProjectMap.go
- GoogleComputeReservationShareSettingsProjectMapList.go
- GoogleComputeReservationShareSettingsProjectMapList__checks.go
- GoogleComputeReservationShareSettingsProjectMapOutputReference.go
- GoogleComputeReservationShareSettingsProjectMapOutputReference__checks.go
- GoogleComputeReservationSpecificReservation.go
- GoogleComputeReservationSpecificReservationInstanceProperties.go
- GoogleComputeReservationSpecificReservationInstancePropertiesGuestAccelerators.go
- GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList.go
- GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList__checks.go
- GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference.go
- GoogleComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference__checks.go
- GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsds.go
- GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList.go
- GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsList__checks.go
- GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference.go
- GoogleComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference__checks.go
- GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference.go
- GoogleComputeReservationSpecificReservationInstancePropertiesOutputReference__checks.go
- GoogleComputeReservationSpecificReservationOutputReference.go
- GoogleComputeReservationSpecificReservationOutputReference__checks.go
- GoogleComputeReservationTimeouts.go
- GoogleComputeReservationTimeoutsOutputReference.go
- GoogleComputeReservationTimeoutsOutputReference__checks.go
- GoogleComputeReservation__checks.go
- main.go