pub struct ImageArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ImageArgsBuilder<S>
impl<S: State> ImageArgsBuilder<S>
sourcepub fn build_struct(self) -> ImageArgswhere
S: IsComplete,
pub fn build_struct(self) -> ImageArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn data_disks(
self,
value: impl Into<Output<Option<Vec<ImageDataDisk>>>>,
) -> ImageArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
pub fn data_disks(
self,
value: impl Into<Output<Option<Vec<ImageDataDisk>>>>,
) -> ImageArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
sourcepub fn maybe_data_disks(
self,
value: Option<impl Into<Output<Option<Vec<ImageDataDisk>>>>>,
) -> ImageArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
pub fn maybe_data_disks(
self,
value: Option<impl Into<Output<Option<Vec<ImageDataDisk>>>>>,
) -> ImageArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
sourcepub fn hyper_v_generation(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetHyperVGeneration<S>>where
S::HyperVGeneration: IsUnset,
pub fn hyper_v_generation(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetHyperVGeneration<S>>where
S::HyperVGeneration: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The HyperVGenerationType of the VirtualMachine created from the image as V1
, V2
. Defaults to V1
. Changing this forces a new resource to be created.
Note:
zone_resilient
can only be set totrue
if the image is stored in a region that supports availability zones.
sourcepub fn maybe_hyper_v_generation(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetHyperVGeneration<S>>where
S::HyperVGeneration: IsUnset,
pub fn maybe_hyper_v_generation(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetHyperVGeneration<S>>where
S::HyperVGeneration: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The HyperVGenerationType of the VirtualMachine created from the image as V1
, V2
. Defaults to V1
. Changing this forces a new resource to be created.
Note:
zone_resilient
can only be set totrue
if the image is stored in a region that supports availability zones.
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn os_disk(
self,
value: impl Into<Output<Option<ImageOsDisk>>>,
) -> ImageArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
pub fn os_disk(
self,
value: impl Into<Output<Option<ImageOsDisk>>>,
) -> ImageArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
sourcepub fn maybe_os_disk(
self,
value: Option<impl Into<Output<Option<ImageOsDisk>>>>,
) -> ImageArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
pub fn maybe_os_disk(
self,
value: Option<impl Into<Output<Option<ImageOsDisk>>>>,
) -> ImageArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> ImageArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> ImageArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the resource group in which to create the image. Changing this forces a new resource to be created.