ImageArgs constructor
- Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
int?> ? diskSizeGb, - Input<
String?> ? family, - Input<
List< ? guestOsFeatures,ImageGuestOsFeature> ?> - Input<
ImageImageEncryptionKey?> ? imageEncryptionKey, - Input<
Map< ? labels,String, String> ?> - Input<
List< ? licenses,String> ?> - Input<
String?> ? name, - Input<
ImageParams?> ? params, - Input<
String?> ? project, - Input<
ImageRawDisk?> ? rawDisk, - Input<
ImageShieldedInstanceInitialState?> ? shieldedInstanceInitialState, - Input<
String?> ? sourceDisk, - Input<
ImageSourceDiskEncryptionKey?> ? sourceDiskEncryptionKey, - Input<
String?> ? sourceImage, - Input<
ImageSourceImageEncryptionKey?> ? sourceImageEncryptionKey, - Input<
String?> ? sourceSnapshot, - Input<
ImageSourceSnapshotEncryptionKey?> ? sourceSnapshotEncryptionKey, - Input<
List< ? storageLocations,String> ?>
Creates a new ImageArgs.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description An optional description of this resource. Provide this property when
diskSizeGb Size of the image when restored onto a persistent disk (in GB).
family The name of the image family to which this image belongs. You can
guestOsFeatures A list of features to enable on the guest operating system.
imageEncryptionKey Encrypts the image using a customer-supplied encryption key.
labels Labels to apply to this Image.
licenses Any applicable license URI.
name Name of the resource; provided by the client when the resource is
params Additional params passed with the request, but not persisted as part of resource payload.
project The ID of the project in which the resource belongs.
rawDisk The parameters of the raw disk image.
shieldedInstanceInitialState Set the secure boot keys of shielded instance.
sourceDisk The source disk to create this image based on.
sourceDiskEncryptionKey The customer-supplied encryption key of the source disk. Required if
sourceImage URL of the source image used to create this image. In order to create an image, you must provide the full or partial
sourceImageEncryptionKey The customer-supplied encryption key of the source image. Required if
sourceSnapshot URL of the source snapshot used to create this image.
sourceSnapshotEncryptionKey The customer-supplied encryption key of the source snapshot. Required if
storageLocations Cloud Storage bucket storage location of the image
Implementation
const ImageArgs({
this.deletionPolicy,
this.description,
this.diskSizeGb,
this.family,
this.guestOsFeatures,
this.imageEncryptionKey,
this.labels,
this.licenses,
this.name,
this.params,
this.project,
this.rawDisk,
this.shieldedInstanceInitialState,
this.sourceDisk,
this.sourceDiskEncryptionKey,
this.sourceImage,
this.sourceImageEncryptionKey,
this.sourceSnapshot,
this.sourceSnapshotEncryptionKey,
this.storageLocations,
});