Documentation ¶
Index ¶
- func ComputeReservation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeReservation_IsConstruct(x interface{}) *bool
- func ComputeReservation_IsTerraformElement(x interface{}) *bool
- func ComputeReservation_IsTerraformResource(x interface{}) *bool
- func ComputeReservation_TfResourceType() *string
- func NewComputeReservationShareSettingsOutputReference_Override(c ComputeReservationShareSettingsOutputReference, ...)
- func NewComputeReservationShareSettingsProjectMapList_Override(c ComputeReservationShareSettingsProjectMapList, ...)
- func NewComputeReservationShareSettingsProjectMapOutputReference_Override(c ComputeReservationShareSettingsProjectMapOutputReference, ...)
- func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override(c ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList, ...)
- func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override(...)
- func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override(c ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList, ...)
- func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override(...)
- func NewComputeReservationSpecificReservationInstancePropertiesOutputReference_Override(c ComputeReservationSpecificReservationInstancePropertiesOutputReference, ...)
- func NewComputeReservationSpecificReservationOutputReference_Override(c ComputeReservationSpecificReservationOutputReference, ...)
- func NewComputeReservationTimeoutsOutputReference_Override(c ComputeReservationTimeoutsOutputReference, ...)
- func NewComputeReservation_Override(c ComputeReservation, scope constructs.Construct, id *string, ...)
- type ComputeReservation
- type ComputeReservationConfig
- type ComputeReservationShareSettings
- type ComputeReservationShareSettingsOutputReference
- type ComputeReservationShareSettingsProjectMap
- type ComputeReservationShareSettingsProjectMapList
- type ComputeReservationShareSettingsProjectMapOutputReference
- type ComputeReservationSpecificReservation
- type ComputeReservationSpecificReservationInstanceProperties
- type ComputeReservationSpecificReservationInstancePropertiesGuestAccelerators
- type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList
- type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference
- type ComputeReservationSpecificReservationInstancePropertiesLocalSsds
- type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList
- type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference
- type ComputeReservationSpecificReservationInstancePropertiesOutputReference
- type ComputeReservationSpecificReservationOutputReference
- type ComputeReservationTimeouts
- type ComputeReservationTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeReservation_GenerateConfigForImport ¶
func ComputeReservation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeReservation resource upon running "cdktf plan <stack-name>".
func ComputeReservation_IsConstruct ¶
func ComputeReservation_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 ComputeReservation_IsTerraformElement ¶
func ComputeReservation_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeReservation_IsTerraformResource ¶
func ComputeReservation_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeReservation_TfResourceType ¶
func ComputeReservation_TfResourceType() *string
func NewComputeReservationShareSettingsOutputReference_Override ¶
func NewComputeReservationShareSettingsOutputReference_Override(c ComputeReservationShareSettingsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeReservationShareSettingsProjectMapList_Override ¶
func NewComputeReservationShareSettingsProjectMapList_Override(c ComputeReservationShareSettingsProjectMapList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeReservationShareSettingsProjectMapOutputReference_Override ¶
func NewComputeReservationShareSettingsProjectMapOutputReference_Override(c ComputeReservationShareSettingsProjectMapOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override ¶
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList_Override(c ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override ¶
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference_Override(c ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override ¶
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsList_Override(c ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override ¶
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference_Override(c ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeReservationSpecificReservationInstancePropertiesOutputReference_Override ¶
func NewComputeReservationSpecificReservationInstancePropertiesOutputReference_Override(c ComputeReservationSpecificReservationInstancePropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeReservationSpecificReservationOutputReference_Override ¶
func NewComputeReservationSpecificReservationOutputReference_Override(c ComputeReservationSpecificReservationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeReservationTimeoutsOutputReference_Override ¶
func NewComputeReservationTimeoutsOutputReference_Override(c ComputeReservationTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeReservation_Override ¶
func NewComputeReservation_Override(c ComputeReservation, scope constructs.Construct, id *string, config *ComputeReservationConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation google_compute_reservation} Resource.
Types ¶
type ComputeReservation ¶
type ComputeReservation 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() ComputeReservationSpecificReservationOutputReference SpecificReservationInput() *ComputeReservationSpecificReservation SpecificReservationRequired() interface{} SetSpecificReservationRequired(val interface{}) SpecificReservationRequiredInput() interface{} Status() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeReservationTimeoutsOutputReference 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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutSpecificReservation(value *ComputeReservationSpecificReservation) PutTimeouts(value *ComputeReservationTimeouts) 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{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() 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/6.13.0/docs/resources/compute_reservation google_compute_reservation}.
func NewComputeReservation ¶
func NewComputeReservation(scope constructs.Construct, id *string, config *ComputeReservationConfig) ComputeReservation
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation google_compute_reservation} Resource.
type ComputeReservationConfig ¶
type ComputeReservationConfig 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/6.13.0/docs/resources/compute_reservation#name ComputeReservation#name} Name *string `field:"required" json:"name" yaml:"name"` // specific_reservation block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#specific_reservation ComputeReservation#specific_reservation} SpecificReservation *ComputeReservationSpecificReservation `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/6.13.0/docs/resources/compute_reservation#zone ComputeReservation#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/6.13.0/docs/resources/compute_reservation#description ComputeReservation#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/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. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#project ComputeReservation#project}. Project *string `field:"optional" json:"project" yaml:"project"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#share_settings ComputeReservation#share_settings} ShareSettings *ComputeReservationShareSettings `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/6.13.0/docs/resources/compute_reservation#specific_reservation_required ComputeReservation#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/6.13.0/docs/resources/compute_reservation#timeouts ComputeReservation#timeouts} Timeouts *ComputeReservationTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeReservationShareSettings ¶
type ComputeReservationShareSettings struct { // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#project_map ComputeReservation#project_map} ProjectMap interface{} `field:"optional" json:"projectMap" yaml:"projectMap"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#share_type ComputeReservation#share_type} ShareType *string `field:"optional" json:"shareType" yaml:"shareType"` }
type ComputeReservationShareSettingsOutputReference ¶
type ComputeReservationShareSettingsOutputReference 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 NewComputeReservationShareSettingsOutputReference ¶
func NewComputeReservationShareSettingsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeReservationShareSettingsOutputReference
type ComputeReservationShareSettingsProjectMap ¶
type ComputeReservationShareSettingsProjectMap 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/6.13.0/docs/resources/compute_reservation#project_id ComputeReservation#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` }
type ComputeReservationShareSettingsProjectMapList ¶
type ComputeReservationShareSettingsProjectMapList 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). // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeReservationShareSettingsProjectMapList ¶
func NewComputeReservationShareSettingsProjectMapList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeReservationShareSettingsProjectMapList
type ComputeReservationShareSettingsProjectMapOutputReference ¶
type ComputeReservationShareSettingsProjectMapOutputReference 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 NewComputeReservationShareSettingsProjectMapOutputReference ¶
func NewComputeReservationShareSettingsProjectMapOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeReservationShareSettingsProjectMapOutputReference
type ComputeReservationSpecificReservation ¶
type ComputeReservationSpecificReservation struct { // The number of resources that are allocated. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#count ComputeReservation#count} Count *float64 `field:"required" json:"count" yaml:"count"` // instance_properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#instance_properties ComputeReservation#instance_properties} InstanceProperties *ComputeReservationSpecificReservationInstanceProperties `field:"required" json:"instanceProperties" yaml:"instanceProperties"` }
type ComputeReservationSpecificReservationInstanceProperties ¶
type ComputeReservationSpecificReservationInstanceProperties struct { // The name of the machine type to reserve. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#machine_type ComputeReservation#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/6.13.0/docs/resources/compute_reservation#guest_accelerators ComputeReservation#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/6.13.0/docs/resources/compute_reservation#local_ssds ComputeReservation#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/6.13.0/docs/resources/compute_reservation#min_cpu_platform ComputeReservation#min_cpu_platform} MinCpuPlatform *string `field:"optional" json:"minCpuPlatform" yaml:"minCpuPlatform"` }
type ComputeReservationSpecificReservationInstancePropertiesGuestAccelerators ¶
type ComputeReservationSpecificReservationInstancePropertiesGuestAccelerators struct { // The number of the guest accelerator cards exposed to this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#accelerator_count ComputeReservation#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/6.13.0/docs/resources/compute_reservation#accelerator_type ComputeReservation#accelerator_type} AcceleratorType *string `field:"required" json:"acceleratorType" yaml:"acceleratorType"` }
type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList ¶
type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference // 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 NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList ¶
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList
type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference ¶
type ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference 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 NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference ¶
func NewComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference
type ComputeReservationSpecificReservationInstancePropertiesLocalSsds ¶
type ComputeReservationSpecificReservationInstancePropertiesLocalSsds struct { // The size of the disk in base-2 GB. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#disk_size_gb ComputeReservation#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/6.13.0/docs/resources/compute_reservation#interface ComputeReservation#interface} Interface *string `field:"optional" json:"interface" yaml:"interface"` }
type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList ¶
type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference // 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 NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsList ¶
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList
type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference ¶
type ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference 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 NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference ¶
func NewComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference
type ComputeReservationSpecificReservationInstancePropertiesOutputReference ¶
type ComputeReservationSpecificReservationInstancePropertiesOutputReference 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() ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList GuestAcceleratorsInput() interface{} InternalValue() *ComputeReservationSpecificReservationInstanceProperties SetInternalValue(val *ComputeReservationSpecificReservationInstanceProperties) LocalSsds() ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList 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 NewComputeReservationSpecificReservationInstancePropertiesOutputReference ¶
func NewComputeReservationSpecificReservationInstancePropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeReservationSpecificReservationInstancePropertiesOutputReference
type ComputeReservationSpecificReservationOutputReference ¶
type ComputeReservationSpecificReservationOutputReference 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() ComputeReservationSpecificReservationInstancePropertiesOutputReference InstancePropertiesInput() *ComputeReservationSpecificReservationInstanceProperties InternalValue() *ComputeReservationSpecificReservation SetInternalValue(val *ComputeReservationSpecificReservation) 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 *ComputeReservationSpecificReservationInstanceProperties) // 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 NewComputeReservationSpecificReservationOutputReference ¶
func NewComputeReservationSpecificReservationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeReservationSpecificReservationOutputReference
type ComputeReservationTimeouts ¶
type ComputeReservationTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#create ComputeReservation#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#delete ComputeReservation#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_reservation#update ComputeReservation#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeReservationTimeoutsOutputReference ¶
type ComputeReservationTimeoutsOutputReference 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 NewComputeReservationTimeoutsOutputReference ¶
func NewComputeReservationTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeReservationTimeoutsOutputReference
Source Files ¶
- ComputeReservation.go
- ComputeReservationConfig.go
- ComputeReservationShareSettings.go
- ComputeReservationShareSettingsOutputReference.go
- ComputeReservationShareSettingsOutputReference__checks.go
- ComputeReservationShareSettingsProjectMap.go
- ComputeReservationShareSettingsProjectMapList.go
- ComputeReservationShareSettingsProjectMapList__checks.go
- ComputeReservationShareSettingsProjectMapOutputReference.go
- ComputeReservationShareSettingsProjectMapOutputReference__checks.go
- ComputeReservationSpecificReservation.go
- ComputeReservationSpecificReservationInstanceProperties.go
- ComputeReservationSpecificReservationInstancePropertiesGuestAccelerators.go
- ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList.go
- ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsList__checks.go
- ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference.go
- ComputeReservationSpecificReservationInstancePropertiesGuestAcceleratorsOutputReference__checks.go
- ComputeReservationSpecificReservationInstancePropertiesLocalSsds.go
- ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList.go
- ComputeReservationSpecificReservationInstancePropertiesLocalSsdsList__checks.go
- ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference.go
- ComputeReservationSpecificReservationInstancePropertiesLocalSsdsOutputReference__checks.go
- ComputeReservationSpecificReservationInstancePropertiesOutputReference.go
- ComputeReservationSpecificReservationInstancePropertiesOutputReference__checks.go
- ComputeReservationSpecificReservationOutputReference.go
- ComputeReservationSpecificReservationOutputReference__checks.go
- ComputeReservationTimeouts.go
- ComputeReservationTimeoutsOutputReference.go
- ComputeReservationTimeoutsOutputReference__checks.go
- ComputeReservation__checks.go
- main.go