pub struct MachineImageArgs {
pub description: Output<Option<String>>,
pub guest_flush: Output<Option<bool>>,
pub machine_image_encryption_key: Output<Option<MachineImageMachineImageEncryptionKey>>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub source_instance: Output<String>,
}
Fields§
§description: Output<Option<String>>
A text description of the resource.
guest_flush: Output<Option<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).
machine_image_encryption_key: Output<Option<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.
name: Output<Option<String>>
Name of the resource.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
source_instance: Output<String>
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource.
Implementations§
source§impl MachineImageArgs
impl MachineImageArgs
sourcepub fn builder() -> MachineImageArgsBuilder
pub fn builder() -> MachineImageArgsBuilder
Create an instance of MachineImageArgs
using the builder syntax
Trait Implementations§
source§impl Clone for MachineImageArgs
impl Clone for MachineImageArgs
source§fn clone(&self) -> MachineImageArgs
fn clone(&self) -> MachineImageArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for MachineImageArgs
impl RefUnwindSafe for MachineImageArgs
impl Send for MachineImageArgs
impl Sync for MachineImageArgs
impl Unpin for MachineImageArgs
impl UnwindSafe for MachineImageArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)