ImageArgs constructor

const ImageArgs({
  1. Input<String?>? deletionPolicy,
  2. Input<String?>? description,
  3. Input<int?>? diskSizeGb,
  4. Input<String?>? family,
  5. Input<List<ImageGuestOsFeature>?>? guestOsFeatures,
  6. Input<ImageImageEncryptionKey?>? imageEncryptionKey,
  7. Input<Map<String, String>?>? labels,
  8. Input<List<String>?>? licenses,
  9. Input<String?>? name,
  10. Input<ImageParams?>? params,
  11. Input<String?>? project,
  12. Input<ImageRawDisk?>? rawDisk,
  13. Input<ImageShieldedInstanceInitialState?>? shieldedInstanceInitialState,
  14. Input<String?>? sourceDisk,
  15. Input<ImageSourceDiskEncryptionKey?>? sourceDiskEncryptionKey,
  16. Input<String?>? sourceImage,
  17. Input<ImageSourceImageEncryptionKey?>? sourceImageEncryptionKey,
  18. Input<String?>? sourceSnapshot,
  19. Input<ImageSourceSnapshotEncryptionKey?>? sourceSnapshotEncryptionKey,
  20. Input<List<String>?>? storageLocations,
})

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,
});