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>
impl<S: State> VirtualMachineScaleSetExtensionArgsBuilder<S>
sourcepub fn build_struct(self) -> VirtualMachineScaleSetExtensionArgswhere
S: IsComplete,
pub fn build_struct(self) -> VirtualMachineScaleSetExtensionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn auto_upgrade_minor_version(
self,
value: impl Into<Output<Option<bool>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
pub fn auto_upgrade_minor_version(
self,
value: impl Into<Output<Option<bool>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
sourcepub fn maybe_auto_upgrade_minor_version(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
pub fn maybe_auto_upgrade_minor_version(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
sourcepub fn automatic_upgrade_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
pub fn automatic_upgrade_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
sourcepub fn maybe_automatic_upgrade_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
pub fn maybe_automatic_upgrade_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
sourcepub fn failure_suppression_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>where
S::FailureSuppressionEnabled: IsUnset,
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.
sourcepub fn maybe_failure_suppression_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>where
S::FailureSuppressionEnabled: IsUnset,
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.
sourcepub fn force_update_tag(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>where
S::ForceUpdateTag: IsUnset,
pub fn force_update_tag(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>where
S::ForceUpdateTag: IsUnset,
sourcepub fn maybe_force_update_tag(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>where
S::ForceUpdateTag: IsUnset,
pub fn maybe_force_update_tag(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetForceUpdateTag<S>>where
S::ForceUpdateTag: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn protected_settings(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
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.
sourcepub fn maybe_protected_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
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.
sourcepub fn protected_settings_from_key_vault(
self,
value: impl Into<Output<Option<VirtualMachineScaleSetExtensionProtectedSettingsFromKeyVault>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
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 withprotected_settings
sourcepub fn maybe_protected_settings_from_key_vault(
self,
value: Option<impl Into<Output<Option<VirtualMachineScaleSetExtensionProtectedSettingsFromKeyVault>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
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 withprotected_settings
sourcepub fn provision_after_extensions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
pub fn provision_after_extensions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
sourcepub fn maybe_provision_after_extensions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
pub fn maybe_provision_after_extensions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
sourcepub fn publisher(
self,
value: impl Into<Output<String>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
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.
sourcepub fn settings(
self,
value: impl Into<Output<Option<String>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
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.
sourcepub fn maybe_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
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.
sourcepub fn type_(
self,
value: impl Into<Output<String>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetType<S>>where
S::Type: IsUnset,
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.
sourcepub fn type_handler_version(
self,
value: impl Into<Output<String>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetTypeHandlerVersion<S>>where
S::TypeHandlerVersion: IsUnset,
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
andType
of Virtual Machine Scale Set Extensions can be found using the Azure CLI, via:
az vmss extension image list --location westus -o table
sourcepub fn virtual_machine_scale_set_id(
self,
value: impl Into<Output<String>>,
) -> VirtualMachineScaleSetExtensionArgsBuilder<SetVirtualMachineScaleSetId<S>>where
S::VirtualMachineScaleSetId: IsUnset,
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
orazure.compute.WindowsVirtualMachineScaleSet
resource - when using the olderazure.compute.ScaleSet
resource extensions should instead be defined inline.