pub struct ExtensionArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ExtensionArgsBuilder<S>
impl<S: State> ExtensionArgsBuilder<S>
sourcepub fn build_struct(self) -> ExtensionArgswhere
S: IsComplete,
pub fn build_struct(self) -> ExtensionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn auto_upgrade_minor_version(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
pub fn auto_upgrade_minor_version(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
sourcepub fn maybe_auto_upgrade_minor_version(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
pub fn maybe_auto_upgrade_minor_version(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ExtensionArgsBuilder<SetAutoUpgradeMinorVersion<S>>where
S::AutoUpgradeMinorVersion: IsUnset,
sourcepub fn automatic_upgrade_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
pub fn automatic_upgrade_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
sourcepub fn maybe_automatic_upgrade_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
pub fn maybe_automatic_upgrade_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ExtensionArgsBuilder<SetAutomaticUpgradeEnabled<S>>where
S::AutomaticUpgradeEnabled: IsUnset,
sourcepub fn failure_suppression_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>where
S::FailureSuppressionEnabled: IsUnset,
pub fn failure_suppression_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ExtensionArgsBuilder<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>>>>,
) -> ExtensionArgsBuilder<SetFailureSuppressionEnabled<S>>where
S::FailureSuppressionEnabled: IsUnset,
pub fn maybe_failure_suppression_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ExtensionArgsBuilder<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 name(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn protected_settings(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
pub fn protected_settings(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The protected_settings passed to the extension, like settings, these are specified as a JSON object in a string.
Please Note: Certain VM Extensions require that the keys in the
protected_settings
block are case sensitive. If you’re seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for theJsonADDomainExtension
extension, the keys are expected to be inTitleCase
.)
sourcepub fn maybe_protected_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
pub fn maybe_protected_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetProtectedSettings<S>>where
S::ProtectedSettings: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The protected_settings passed to the extension, like settings, these are specified as a JSON object in a string.
Please Note: Certain VM Extensions require that the keys in the
protected_settings
block are case sensitive. If you’re seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for theJsonADDomainExtension
extension, the keys are expected to be inTitleCase
.)
sourcepub fn protected_settings_from_key_vault(
self,
value: impl Into<Output<Option<ExtensionProtectedSettingsFromKeyVault>>>,
) -> ExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
pub fn protected_settings_from_key_vault(
self,
value: impl Into<Output<Option<ExtensionProtectedSettingsFromKeyVault>>>,
) -> ExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::ExtensionProtectedSettingsFromKeyVault>,
> 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<ExtensionProtectedSettingsFromKeyVault>>>>,
) -> ExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
pub fn maybe_protected_settings_from_key_vault(
self,
value: Option<impl Into<Output<Option<ExtensionProtectedSettingsFromKeyVault>>>>,
) -> ExtensionArgsBuilder<SetProtectedSettingsFromKeyVault<S>>where
S::ProtectedSettingsFromKeyVault: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::ExtensionProtectedSettingsFromKeyVault>,
> 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>>>>,
) -> ExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
pub fn provision_after_extensions(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> ExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
sourcepub fn maybe_provision_after_extensions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> ExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
pub fn maybe_provision_after_extensions(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> ExtensionArgsBuilder<SetProvisionAfterExtensions<S>>where
S::ProvisionAfterExtensions: IsUnset,
sourcepub fn publisher(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
pub fn publisher(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetPublisher<S>>where
S::Publisher: IsUnset,
Required.
The publisher of the extension, available publishers can be found by using the Azure CLI. Changing this forces a new resource to be created.
sourcepub fn settings(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
pub fn settings(
self,
value: impl Into<Output<Option<String>>>,
) -> ExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The settings passed to the extension, these are specified as a JSON object in a string.
Please Note: Certain VM Extensions require that the keys in the
settings
block are case sensitive. If you’re seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for theJsonADDomainExtension
extension, the keys are expected to be inTitleCase
.)
sourcepub fn maybe_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
pub fn maybe_settings(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExtensionArgsBuilder<SetSettings<S>>where
S::Settings: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The settings passed to the extension, these are specified as a JSON object in a string.
Please Note: Certain VM Extensions require that the keys in the
settings
block are case sensitive. If you’re seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for theJsonADDomainExtension
extension, the keys are expected to be inTitleCase
.)
sourcepub fn type_(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type_(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetType<S>>where
S::Type: IsUnset,
Required.
The type of extension, available types for a publisher can be found using the Azure CLI.
Note: The
Publisher
andType
of Virtual Machine Extensions can be found using the Azure CLI, via:
az vm extension image list --location westus -o table
sourcepub fn type_handler_version(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetTypeHandlerVersion<S>>where
S::TypeHandlerVersion: IsUnset,
pub fn type_handler_version(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetTypeHandlerVersion<S>>where
S::TypeHandlerVersion: IsUnset,
Required.
Specifies the version of the extension to use, available versions can be found using the Azure CLI.
sourcepub fn virtual_machine_id(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetVirtualMachineId<S>>where
S::VirtualMachineId: IsUnset,
pub fn virtual_machine_id(
self,
value: impl Into<Output<String>>,
) -> ExtensionArgsBuilder<SetVirtualMachineId<S>>where
S::VirtualMachineId: IsUnset,
Required.
The ID of the Virtual Machine. Changing this forces a new resource to be created