MachineImageArgs class
The set of arguments for MachineImage. The set of arguments for MachineImage.
Constructors
-
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.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionA text description of the resource.guestFlushSpecify this to create an application consistent machine image by informing the OS to prepare for the snapshot process.machineImageEncryptionKeyEncrypts the machine image using a customer-supplied encryption key.nameName of the resource.paramsAdditional params passed with the request, but not persisted as part of resource payload.projectThe ID of the project in which the resource belongs.sourceInstanceThe source instance used to create the machine image. You can provide this as a partial or full URL to the resource.const -
MachineImageArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
A text description of the resource.
final
-
guestFlush
→ Input<
bool?> ? -
Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process.
Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
machineImageEncryptionKey
→ Input<
MachineImageMachineImageEncryptionKey?> ? -
Encrypts the machine image using a customer-supplied encryption key.
After you encrypt a machine image with a customer-supplied key, you must
provide the same key if you use the machine image later (e.g. to create a
instance from the image)
Structure is documented below.
final
-
name
→ Input<
String?> ? -
Name of the resource.
final
-
params
→ Input<
MachineImageParams?> ? -
Additional params passed with the request, but not persisted as part of resource payload.
Structure is documented below.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceInstance
→ Input<
String> -
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited