Documentation ¶
Index ¶
- func ComputeImage_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeImage_IsConstruct(x interface{}) *bool
- func ComputeImage_IsTerraformElement(x interface{}) *bool
- func ComputeImage_IsTerraformResource(x interface{}) *bool
- func ComputeImage_TfResourceType() *string
- func NewComputeImageGuestOsFeaturesList_Override(c ComputeImageGuestOsFeaturesList, ...)
- func NewComputeImageGuestOsFeaturesOutputReference_Override(c ComputeImageGuestOsFeaturesOutputReference, ...)
- func NewComputeImageImageEncryptionKeyOutputReference_Override(c ComputeImageImageEncryptionKeyOutputReference, ...)
- func NewComputeImageRawDiskOutputReference_Override(c ComputeImageRawDiskOutputReference, ...)
- func NewComputeImageTimeoutsOutputReference_Override(c ComputeImageTimeoutsOutputReference, ...)
- func NewComputeImage_Override(c ComputeImage, scope constructs.Construct, id *string, ...)
- type ComputeImage
- type ComputeImageConfig
- type ComputeImageGuestOsFeatures
- type ComputeImageGuestOsFeaturesList
- type ComputeImageGuestOsFeaturesOutputReference
- type ComputeImageImageEncryptionKey
- type ComputeImageImageEncryptionKeyOutputReference
- type ComputeImageRawDisk
- type ComputeImageRawDiskOutputReference
- type ComputeImageTimeouts
- type ComputeImageTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeImage_GenerateConfigForImport ¶
func ComputeImage_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeImage resource upon running "cdktf plan <stack-name>".
func ComputeImage_IsConstruct ¶
func ComputeImage_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 ComputeImage_IsTerraformElement ¶
func ComputeImage_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeImage_IsTerraformResource ¶
func ComputeImage_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeImage_TfResourceType ¶
func ComputeImage_TfResourceType() *string
func NewComputeImageGuestOsFeaturesList_Override ¶
func NewComputeImageGuestOsFeaturesList_Override(c ComputeImageGuestOsFeaturesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeImageGuestOsFeaturesOutputReference_Override ¶
func NewComputeImageGuestOsFeaturesOutputReference_Override(c ComputeImageGuestOsFeaturesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeImageImageEncryptionKeyOutputReference_Override ¶
func NewComputeImageImageEncryptionKeyOutputReference_Override(c ComputeImageImageEncryptionKeyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeImageRawDiskOutputReference_Override ¶
func NewComputeImageRawDiskOutputReference_Override(c ComputeImageRawDiskOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeImageTimeoutsOutputReference_Override ¶
func NewComputeImageTimeoutsOutputReference_Override(c ComputeImageTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeImage_Override ¶
func NewComputeImage_Override(c ComputeImage, scope constructs.Construct, id *string, config *ComputeImageConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image google_compute_image} Resource.
Types ¶
type ComputeImage ¶
type ComputeImage interface { cdktf.TerraformResource ArchiveSizeBytes() *float64 // Experimental. CdktfStack() cdktf.TerraformStack // 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 DiskSizeGb() *float64 SetDiskSizeGb(val *float64) DiskSizeGbInput() *float64 EffectiveLabels() cdktf.StringMap Family() *string SetFamily(val *string) FamilyInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GuestOsFeatures() ComputeImageGuestOsFeaturesList GuestOsFeaturesInput() interface{} Id() *string SetId(val *string) IdInput() *string ImageEncryptionKey() ComputeImageImageEncryptionKeyOutputReference ImageEncryptionKeyInput() *ComputeImageImageEncryptionKey LabelFingerprint() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Licenses() *[]*string SetLicenses(val *[]*string) LicensesInput() *[]*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{}) RawDisk() ComputeImageRawDiskOutputReference RawDiskInput() *ComputeImageRawDisk // Experimental. RawOverrides() interface{} SelfLink() *string SourceDisk() *string SetSourceDisk(val *string) SourceDiskInput() *string SourceImage() *string SetSourceImage(val *string) SourceImageInput() *string SourceSnapshot() *string SetSourceSnapshot(val *string) SourceSnapshotInput() *string StorageLocations() *[]*string SetStorageLocations(val *[]*string) StorageLocationsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformLabels() cdktf.StringMap // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeImageTimeoutsOutputReference TimeoutsInput() interface{} // 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) PutGuestOsFeatures(value interface{}) PutImageEncryptionKey(value *ComputeImageImageEncryptionKey) PutRawDisk(value *ComputeImageRawDisk) PutTimeouts(value *ComputeImageTimeouts) ResetDescription() ResetDiskSizeGb() ResetFamily() ResetGuestOsFeatures() ResetId() ResetImageEncryptionKey() ResetLabels() ResetLicenses() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetRawDisk() ResetSourceDisk() ResetSourceImage() ResetSourceSnapshot() ResetStorageLocations() 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_image google_compute_image}.
func NewComputeImage ¶
func NewComputeImage(scope constructs.Construct, id *string, config *ComputeImageConfig) ComputeImage
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image google_compute_image} Resource.
type ComputeImageConfig ¶
type ComputeImageConfig 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_image#name ComputeImage#name} Name *string `field:"required" json:"name" yaml:"name"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#description ComputeImage#description} Description *string `field:"optional" json:"description" yaml:"description"` // Size of the image when restored onto a persistent disk (in GB). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#disk_size_gb ComputeImage#disk_size_gb} DiskSizeGb *float64 `field:"optional" json:"diskSizeGb" yaml:"diskSizeGb"` // The name of the image family to which this image belongs. // // You can // create disks by specifying an image family instead of a specific // image name. The image family always returns its latest image that is // not deprecated. The name of the image family must comply with // RFC1035. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#family ComputeImage#family} Family *string `field:"optional" json:"family" yaml:"family"` // guest_os_features block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#guest_os_features ComputeImage#guest_os_features} GuestOsFeatures interface{} `field:"optional" json:"guestOsFeatures" yaml:"guestOsFeatures"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#id ComputeImage#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"` // image_encryption_key block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#image_encryption_key ComputeImage#image_encryption_key} ImageEncryptionKey *ComputeImageImageEncryptionKey `field:"optional" json:"imageEncryptionKey" yaml:"imageEncryptionKey"` // Labels to apply to this Image. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field 'effective_labels' for all of the labels present on the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#labels ComputeImage#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Any applicable license URI. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#licenses ComputeImage#licenses} Licenses *[]*string `field:"optional" json:"licenses" yaml:"licenses"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#project ComputeImage#project}. Project *string `field:"optional" json:"project" yaml:"project"` // raw_disk block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#raw_disk ComputeImage#raw_disk} RawDisk *ComputeImageRawDisk `field:"optional" json:"rawDisk" yaml:"rawDisk"` // The source disk to create this image based on. // // You must provide either this property or the // rawDisk.source property but not both to create an image. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#source_disk ComputeImage#source_disk} SourceDisk *string `field:"optional" json:"sourceDisk" yaml:"sourceDisk"` // URL of the source image used to create this image. // // In order to create an image, you must provide the full or partial // URL of one of the following: // // * The selfLink URL // * This property // * The rawDisk.source URL // * The sourceDisk URL // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#source_image ComputeImage#source_image} SourceImage *string `field:"optional" json:"sourceImage" yaml:"sourceImage"` // URL of the source snapshot used to create this image. // // In order to create an image, you must provide the full or partial URL of one of the following: // // * The selfLink URL // * This property // * The sourceImage URL // * The rawDisk.source URL // * The sourceDisk URL // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#source_snapshot ComputeImage#source_snapshot} SourceSnapshot *string `field:"optional" json:"sourceSnapshot" yaml:"sourceSnapshot"` // Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#storage_locations ComputeImage#storage_locations} StorageLocations *[]*string `field:"optional" json:"storageLocations" yaml:"storageLocations"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#timeouts ComputeImage#timeouts} Timeouts *ComputeImageTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeImageGuestOsFeatures ¶
type ComputeImageGuestOsFeatures struct { // The type of supported feature. // // Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#type ComputeImage#type} Type *string `field:"required" json:"type" yaml:"type"` }
type ComputeImageGuestOsFeaturesList ¶
type ComputeImageGuestOsFeaturesList 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) ComputeImageGuestOsFeaturesOutputReference // 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 NewComputeImageGuestOsFeaturesList ¶
func NewComputeImageGuestOsFeaturesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeImageGuestOsFeaturesList
type ComputeImageGuestOsFeaturesOutputReference ¶
type ComputeImageGuestOsFeaturesOutputReference 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 InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *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 // 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 NewComputeImageGuestOsFeaturesOutputReference ¶
func NewComputeImageGuestOsFeaturesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeImageGuestOsFeaturesOutputReference
type ComputeImageImageEncryptionKey ¶
type ComputeImageImageEncryptionKey struct { // The self link of the encryption key that is stored in Google Cloud KMS. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link} KmsKeySelfLink *string `field:"optional" json:"kmsKeySelfLink" yaml:"kmsKeySelfLink"` // The service account being used for the encryption request for the given KMS key. // // If absent, the Compute Engine default service // account is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account} KmsKeyServiceAccount *string `field:"optional" json:"kmsKeyServiceAccount" yaml:"kmsKeyServiceAccount"` }
type ComputeImageImageEncryptionKeyOutputReference ¶
type ComputeImageImageEncryptionKeyOutputReference 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 InternalValue() *ComputeImageImageEncryptionKey SetInternalValue(val *ComputeImageImageEncryptionKey) KmsKeySelfLink() *string SetKmsKeySelfLink(val *string) KmsKeySelfLinkInput() *string KmsKeyServiceAccount() *string SetKmsKeyServiceAccount(val *string) KmsKeyServiceAccountInput() *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 ResetKmsKeySelfLink() ResetKmsKeyServiceAccount() // 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 NewComputeImageImageEncryptionKeyOutputReference ¶
func NewComputeImageImageEncryptionKeyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeImageImageEncryptionKeyOutputReference
type ComputeImageRawDisk ¶
type ComputeImageRawDisk struct { // The full Google Cloud Storage URL where disk storage is stored You must provide either this property or the sourceDisk property but not both. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#source ComputeImage#source} Source *string `field:"required" json:"source" yaml:"source"` // The format used to encode and transmit the block device, which should be TAR. // // This is just a container and transmission format // and not a runtime format. Provided by the client when the disk // image is created. Default value: "TAR" Possible values: ["TAR"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#container_type ComputeImage#container_type} ContainerType *string `field:"optional" json:"containerType" yaml:"containerType"` // An optional SHA1 checksum of the disk image before unpackaging. // // This is provided by the client when the disk image is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#sha1 ComputeImage#sha1} Sha1 *string `field:"optional" json:"sha1" yaml:"sha1"` }
type ComputeImageRawDiskOutputReference ¶
type ComputeImageRawDiskOutputReference 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) ContainerType() *string SetContainerType(val *string) ContainerTypeInput() *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 // Experimental. Fqn() *string InternalValue() *ComputeImageRawDisk SetInternalValue(val *ComputeImageRawDisk) Sha1() *string SetSha1(val *string) Sha1Input() *string Source() *string SetSource(val *string) SourceInput() *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 ResetContainerType() ResetSha1() // 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 NewComputeImageRawDiskOutputReference ¶
func NewComputeImageRawDiskOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeImageRawDiskOutputReference
type ComputeImageTimeouts ¶
type ComputeImageTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_image#create ComputeImage#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_image#delete ComputeImage#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_image#update ComputeImage#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeImageTimeoutsOutputReference ¶
type ComputeImageTimeoutsOutputReference 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 NewComputeImageTimeoutsOutputReference ¶
func NewComputeImageTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeImageTimeoutsOutputReference
Source Files ¶
- ComputeImage.go
- ComputeImageConfig.go
- ComputeImageGuestOsFeatures.go
- ComputeImageGuestOsFeaturesList.go
- ComputeImageGuestOsFeaturesList__checks.go
- ComputeImageGuestOsFeaturesOutputReference.go
- ComputeImageGuestOsFeaturesOutputReference__checks.go
- ComputeImageImageEncryptionKey.go
- ComputeImageImageEncryptionKeyOutputReference.go
- ComputeImageImageEncryptionKeyOutputReference__checks.go
- ComputeImageRawDisk.go
- ComputeImageRawDiskOutputReference.go
- ComputeImageRawDiskOutputReference__checks.go
- ComputeImageTimeouts.go
- ComputeImageTimeoutsOutputReference.go
- ComputeImageTimeoutsOutputReference__checks.go
- ComputeImage__checks.go
- main.go