pulumi_wasm_providers_azure_mini::compute::virtual_machine_scale_set_extension

Struct VirtualMachineScaleSetExtensionArgsBuilder

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

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

Implementations§

source§

impl<S: State> VirtualMachineScaleSetExtensionArgsBuilder<S>

source

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

Finish building and return the requested object

source

pub fn auto_upgrade_minor_version( self, value: impl Into<Output<Option<bool>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>
where S::AutoUpgradeMinorVersion: IsUnset,

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

Should the latest version of the Extension be used at Deployment Time, if one is available? This won’t auto-update the extension on existing installation. Defaults to true.

source

pub fn maybe_auto_upgrade_minor_version( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>
where S::AutoUpgradeMinorVersion: IsUnset,

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

Should the latest version of the Extension be used at Deployment Time, if one is available? This won’t auto-update the extension on existing installation. Defaults to true.

source

pub fn automatic_upgrade_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>
where S::AutomaticUpgradeEnabled: IsUnset,

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

Should the Extension be automatically updated whenever the Publisher releases a new version of this VM Extension?

source

pub fn maybe_automatic_upgrade_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>
where S::AutomaticUpgradeEnabled: IsUnset,

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

Should the Extension be automatically updated whenever the Publisher releases a new version of this VM Extension?

source

pub fn failure_suppression_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>
where S::FailureSuppressionEnabled: IsUnset,

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

Should failures from the extension be suppressed? Possible values are true or false. Defaults to false.

NOTE: Operational failures such as not connecting to the VM will not be suppressed regardless of the failure_suppression_enabled value.

source

pub fn maybe_failure_suppression_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>
where S::FailureSuppressionEnabled: IsUnset,

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

Should failures from the extension be suppressed? Possible values are true or false. Defaults to false.

NOTE: Operational failures such as not connecting to the VM will not be suppressed regardless of the failure_suppression_enabled value.

source

pub fn force_update_tag( self, value: impl Into<Output<Option<String>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>
where S::ForceUpdateTag: IsUnset,

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

A value which, when different to the previous value can be used to force-run the Extension even if the Extension Configuration hasn’t changed.

source

pub fn maybe_force_update_tag( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>
where S::ForceUpdateTag: IsUnset,

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

A value which, when different to the previous value can be used to force-run the Extension even if the Extension Configuration hasn’t changed.

source

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

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

The name for the Virtual Machine Scale Set Extension. Changing this forces a new resource to be created.

source

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

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

The name for the Virtual Machine Scale Set Extension. Changing this forces a new resource to be created.

source

pub fn protected_settings( self, value: impl Into<Output<Option<String>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettings<S>>
where S::ProtectedSettings: IsUnset,

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

A JSON String which specifies Sensitive Settings (such as Passwords) for the Extension.

NOTE: Keys within the protected_settings block are notoriously case-sensitive, where the casing required (e.g. TitleCase vs snakeCase) depends on the Extension being used. Please refer to the documentation for the specific Virtual Machine Extension you’re looking to use for more information.

source

pub fn maybe_protected_settings( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettings<S>>
where S::ProtectedSettings: IsUnset,

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

A JSON String which specifies Sensitive Settings (such as Passwords) for the Extension.

NOTE: Keys within the protected_settings block are notoriously case-sensitive, where the casing required (e.g. TitleCase vs snakeCase) depends on the Extension being used. Please refer to the documentation for the specific Virtual Machine Extension you’re looking to use for more information.

source

pub fn protected_settings_from_key_vault( self, value: impl Into<Output<Option<VirtualMachineScaleSetExtensionProtectedSettingsFromKeyVault>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>
where S::ProtectedSettingsFromKeyVault: IsUnset,

Optional (Some / Option setters). Default:

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

A protected_settings_from_key_vault block as defined below.

Note: protected_settings_from_key_vault cannot be used with protected_settings

source

pub fn maybe_protected_settings_from_key_vault( self, value: Option<impl Into<Output<Option<VirtualMachineScaleSetExtensionProtectedSettingsFromKeyVault>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>
where S::ProtectedSettingsFromKeyVault: IsUnset,

Optional (Some / Option setters). Default:

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

A protected_settings_from_key_vault block as defined below.

Note: protected_settings_from_key_vault cannot be used with protected_settings

source

pub fn provision_after_extensions( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>
where S::ProvisionAfterExtensions: IsUnset,

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

An ordered list of Extension names which this should be provisioned after.

source

pub fn maybe_provision_after_extensions( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>
where S::ProvisionAfterExtensions: IsUnset,

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

An ordered list of Extension names which this should be provisioned after.

source

pub fn publisher( self, value: impl Into<Output<String>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetPublisher<S>>
where S::Publisher: IsUnset,

Required.

Specifies the Publisher of the Extension. Changing this forces a new resource to be created.

source

pub fn settings( self, value: impl Into<Output<Option<String>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetSettings<S>>
where S::Settings: IsUnset,

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

A JSON String which specifies Settings for the Extension.

NOTE: Keys within the settings block are notoriously case-sensitive, where the casing required (e.g. TitleCase vs snakeCase) depends on the Extension being used. Please refer to the documentation for the specific Virtual Machine Extension you’re looking to use for more information.

source

pub fn maybe_settings( self, value: Option<impl Into<Output<Option<String>>>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetSettings<S>>
where S::Settings: IsUnset,

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

A JSON String which specifies Settings for the Extension.

NOTE: Keys within the settings block are notoriously case-sensitive, where the casing required (e.g. TitleCase vs snakeCase) depends on the Extension being used. Please refer to the documentation for the specific Virtual Machine Extension you’re looking to use for more information.

source

pub fn type_( self, value: impl Into<Output<String>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetType<S>>
where S::Type: IsUnset,

Required.

Specifies the Type of the Extension. Changing this forces a new resource to be created.

source

pub fn type_handler_version( self, value: impl Into<Output<String>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetTypeHandlerVersion<S>>
where S::TypeHandlerVersion: IsUnset,

Required.

Specifies the version of the extension to use, available versions can be found using the Azure CLI.

Note: The Publisher and Type of Virtual Machine Scale Set Extensions can be found using the Azure CLI, via:

az vmss extension image list --location westus -o table
source

pub fn virtual_machine_scale_set_id( self, value: impl Into<Output<String>>, ) -> VirtualMachineScaleSetExtensionArgsBuilder<SetVirtualMachineScaleSetId<S>>
where S::VirtualMachineScaleSetId: IsUnset,

Required.

The ID of the Virtual Machine Scale Set. Changing this forces a new resource to be created.

NOTE: This should be the ID from the azure.compute.LinuxVirtualMachineScaleSet or azure.compute.WindowsVirtualMachineScaleSet resource - when using the older azure.compute.ScaleSet resource extensions should instead be defined inline.

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.