MachineImageArgs constructor
const
MachineImageArgs({
- Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
bool?> ? guestFlush, - Input<
MachineImageMachineImageEncryptionKey?> ? machineImageEncryptionKey, - Input<
String?> ? name, - Input<
MachineImageParams?> ? params, - Input<
String?> ? project, - required Input<
String> sourceInstance,
Creates a new MachineImageArgs.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description A text description of the resource.
guestFlush Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process.
machineImageEncryptionKey Encrypts the machine image using a customer-supplied encryption key.
name Name of the resource.
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.
sourceInstance The source instance used to create the machine image. You can provide this as a partial or full URL to the resource.
Implementation
const MachineImageArgs({
this.deletionPolicy,
this.description,
this.guestFlush,
this.machineImageEncryptionKey,
this.name,
this.params,
this.project,
required this.sourceInstance,
});