pulumi_wasm_providers_azure_mini::compute::shared_image

Struct SharedImageArgsBuilder

source
pub struct SharedImageArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> SharedImageArgsBuilder<S>

source

pub fn build_struct(self) -> SharedImageArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn accelerated_network_support_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetAcceleratedNetworkSupportEnabled<S>>
where S::AcceleratedNetworkSupportEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.

source

pub fn maybe_accelerated_network_support_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetAcceleratedNetworkSupportEnabled<S>>
where S::AcceleratedNetworkSupportEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.

source

pub fn architecture( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetArchitecture<S>>
where S::Architecture: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

CPU architecture supported by an OS. Possible values are x64 and Arm64. Defaults to x64. Changing this forces a new resource to be created.

source

pub fn maybe_architecture( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetArchitecture<S>>
where S::Architecture: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

CPU architecture supported by an OS. Possible values are x64 and Arm64. Defaults to x64. Changing this forces a new resource to be created.

source

pub fn confidential_vm_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetConfidentialVmEnabled<S>>
where S::ConfidentialVmEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.

Note:: Only one of trusted_launch_supported, trusted_launch_enabled, confidential_vm_supported and confidential_vm_enabled can be specified.

source

pub fn maybe_confidential_vm_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetConfidentialVmEnabled<S>>
where S::ConfidentialVmEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.

Note:: Only one of trusted_launch_supported, trusted_launch_enabled, confidential_vm_supported and confidential_vm_enabled can be specified.

source

pub fn confidential_vm_supported( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetConfidentialVmSupported<S>>
where S::ConfidentialVmSupported: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.

source

pub fn maybe_confidential_vm_supported( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetConfidentialVmSupported<S>>
where S::ConfidentialVmSupported: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.

source

pub fn description( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A description of this Shared Image.

source

pub fn maybe_description( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A description of this Shared Image.

source

pub fn disk_controller_type_nvme_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetDiskControllerTypeNvmeEnabled<S>>
where S::DiskControllerTypeNvmeEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports NVMe disks. Changing this forces a new resource to be created.

source

pub fn maybe_disk_controller_type_nvme_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetDiskControllerTypeNvmeEnabled<S>>
where S::DiskControllerTypeNvmeEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports NVMe disks. Changing this forces a new resource to be created.

source

pub fn disk_types_not_alloweds( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> SharedImageArgsBuilder<SetDiskTypesNotAlloweds<S>>
where S::DiskTypesNotAlloweds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more Disk Types not allowed for the Image. Possible values include Standard_LRS and Premium_LRS.

source

pub fn maybe_disk_types_not_alloweds( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> SharedImageArgsBuilder<SetDiskTypesNotAlloweds<S>>
where S::DiskTypesNotAlloweds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

One or more Disk Types not allowed for the Image. Possible values include Standard_LRS and Premium_LRS.

source

pub fn end_of_life_date( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetEndOfLifeDate<S>>
where S::EndOfLifeDate: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The end of life date in RFC3339 format of the Image.

source

pub fn maybe_end_of_life_date( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetEndOfLifeDate<S>>
where S::EndOfLifeDate: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The end of life date in RFC3339 format of the Image.

source

pub fn eula( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetEula<S>>
where S::Eula: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.

source

pub fn maybe_eula( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetEula<S>>
where S::Eula: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.

source

pub fn gallery_name( self, value: impl Into<Output<String>>, ) -> SharedImageArgsBuilder<SetGalleryName<S>>
where S::GalleryName: IsUnset,

Required.

Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.

source

pub fn hibernation_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetHibernationEnabled<S>>
where S::HibernationEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports hibernation. Changing this forces a new resource to be created.

source

pub fn maybe_hibernation_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetHibernationEnabled<S>>
where S::HibernationEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if the Shared Image supports hibernation. Changing this forces a new resource to be created.

source

pub fn hyper_v_generation( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetHyperVGeneration<S>>
where S::HyperVGeneration: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are V1 and V2. Defaults to V1. Changing this forces a new resource to be created.

source

pub fn maybe_hyper_v_generation( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetHyperVGeneration<S>>
where S::HyperVGeneration: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are V1 and V2. Defaults to V1. Changing this forces a new resource to be created.

source

pub fn identifier( self, value: impl Into<Output<SharedImageIdentifier>>, ) -> SharedImageArgsBuilder<SetIdentifier<S>>
where S::Identifier: IsUnset,

Required.

An identifier block as defined below.

source

pub fn location( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetLocation<S>>
where S::Location: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.

source

pub fn maybe_location( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetLocation<S>>
where S::Location: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum memory in GB recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum memory in GB recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum count of vCPUs recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum count of vCPUs recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Minimum memory in GB recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Minimum memory in GB recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Minimum count of vCPUs recommended for the Image.

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Minimum count of vCPUs recommended for the Image.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the name of the Shared Image. Changing this forces a new resource to be created.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the name of the Shared Image. Changing this forces a new resource to be created.

source

pub fn os_type( self, value: impl Into<Output<String>>, ) -> SharedImageArgsBuilder<SetOsType<S>>
where S::OsType: IsUnset,

Required.

The type of Operating System present in this Shared Image. Possible values are Linux and Windows. Changing this forces a new resource to be created.

source

pub fn privacy_statement_uri( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetPrivacyStatementUri<S>>
where S::PrivacyStatementUri: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.

source

pub fn maybe_privacy_statement_uri( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetPrivacyStatementUri<S>>
where S::PrivacyStatementUri: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.

source

pub fn purchase_plan( self, value: impl Into<Output<Option<SharedImagePurchasePlan>>>, ) -> SharedImageArgsBuilder<SetPurchasePlan<S>>
where S::PurchasePlan: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::SharedImagePurchasePlan>,
> as Default>::default()

A purchase_plan block as defined below.

source

pub fn maybe_purchase_plan( self, value: Option<impl Into<Output<Option<SharedImagePurchasePlan>>>>, ) -> SharedImageArgsBuilder<SetPurchasePlan<S>>
where S::PurchasePlan: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::SharedImagePurchasePlan>,
> as Default>::default()

A purchase_plan block as defined below.

source

pub fn release_note_uri( self, value: impl Into<Output<Option<String>>>, ) -> SharedImageArgsBuilder<SetReleaseNoteUri<S>>
where S::ReleaseNoteUri: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI containing the Release Notes associated with this Shared Image.

source

pub fn maybe_release_note_uri( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SharedImageArgsBuilder<SetReleaseNoteUri<S>>
where S::ReleaseNoteUri: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI containing the Release Notes associated with this Shared Image.

source

pub fn resource_group_name( self, value: impl Into<Output<String>>, ) -> SharedImageArgsBuilder<SetResourceGroupName<S>>
where S::ResourceGroupName: IsUnset,

Required.

The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.

source

pub fn specialized( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetSpecialized<S>>
where S::Specialized: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies that the Operating System used inside this Image has not been Generalized (for example, sysprep on Windows has not been run). Changing this forces a new resource to be created.

!> Note: It’s recommended to Generalize images where possible - Specialized Images reuse the same UUID internally within each Virtual Machine, which can have unintended side-effects.

source

pub fn maybe_specialized( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetSpecialized<S>>
where S::Specialized: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies that the Operating System used inside this Image has not been Generalized (for example, sysprep on Windows has not been run). Changing this forces a new resource to be created.

!> Note: It’s recommended to Generalize images where possible - Specialized Images reuse the same UUID internally within each Virtual Machine, which can have unintended side-effects.

source

pub fn tags( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> SharedImageArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

A mapping of tags to assign to the Shared Image.

source

pub fn maybe_tags( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> SharedImageArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

A mapping of tags to assign to the Shared Image.

source

pub fn trusted_launch_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetTrustedLaunchEnabled<S>>
where S::TrustedLaunchEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.

source

pub fn maybe_trusted_launch_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetTrustedLaunchEnabled<S>>
where S::TrustedLaunchEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.

source

pub fn trusted_launch_supported( self, value: impl Into<Output<Option<bool>>>, ) -> SharedImageArgsBuilder<SetTrustedLaunchSupported<S>>
where S::TrustedLaunchSupported: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if supports creation of both Trusted Launch virtual machines and Gen2 virtual machines with standard security created from the Shared Image. Changing this forces a new resource to be created.

source

pub fn maybe_trusted_launch_supported( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SharedImageArgsBuilder<SetTrustedLaunchSupported<S>>
where S::TrustedLaunchSupported: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Specifies if supports creation of both Trusted Launch virtual machines and Gen2 virtual machines with standard security created from the Shared Image. Changing this forces a new resource to be created.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.