pub struct MachineImageArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> MachineImageArgsBuilder<S>
impl<S: State> MachineImageArgsBuilder<S>
sourcepub fn build_struct(self) -> MachineImageArgswhere
S: IsComplete,
pub fn build_struct(self) -> MachineImageArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn guest_flush(
self,
value: impl Into<Output<Option<bool>>>,
) -> MachineImageArgsBuilder<SetGuestFlush<S>>where
S::GuestFlush: IsUnset,
pub fn guest_flush(
self,
value: impl Into<Output<Option<bool>>>,
) -> MachineImageArgsBuilder<SetGuestFlush<S>>where
S::GuestFlush: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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).
sourcepub fn maybe_guest_flush(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> MachineImageArgsBuilder<SetGuestFlush<S>>where
S::GuestFlush: IsUnset,
pub fn maybe_guest_flush(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> MachineImageArgsBuilder<SetGuestFlush<S>>where
S::GuestFlush: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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).
sourcepub fn machine_image_encryption_key(
self,
value: impl Into<Output<Option<MachineImageMachineImageEncryptionKey>>>,
) -> MachineImageArgsBuilder<SetMachineImageEncryptionKey<S>>where
S::MachineImageEncryptionKey: IsUnset,
pub fn machine_image_encryption_key(
self,
value: impl Into<Output<Option<MachineImageMachineImageEncryptionKey>>>,
) -> MachineImageArgsBuilder<SetMachineImageEncryptionKey<S>>where
S::MachineImageEncryptionKey: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::MachineImageMachineImageEncryptionKey>,
> as Default>::default()
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.
sourcepub fn maybe_machine_image_encryption_key(
self,
value: Option<impl Into<Output<Option<MachineImageMachineImageEncryptionKey>>>>,
) -> MachineImageArgsBuilder<SetMachineImageEncryptionKey<S>>where
S::MachineImageEncryptionKey: IsUnset,
pub fn maybe_machine_image_encryption_key(
self,
value: Option<impl Into<Output<Option<MachineImageMachineImageEncryptionKey>>>>,
) -> MachineImageArgsBuilder<SetMachineImageEncryptionKey<S>>where
S::MachineImageEncryptionKey: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::MachineImageMachineImageEncryptionKey>,
> as Default>::default()
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.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> MachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> MachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn source_instance(
self,
value: impl Into<Output<String>>,
) -> MachineImageArgsBuilder<SetSourceInstance<S>>where
S::SourceInstance: IsUnset,
pub fn source_instance(
self,
value: impl Into<Output<String>>,
) -> MachineImageArgsBuilder<SetSourceInstance<S>>where
S::SourceInstance: IsUnset,
Required.
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource.