pub struct WindowsVirtualMachineScaleSetArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> WindowsVirtualMachineScaleSetArgsBuilder<S>
impl<S: State> WindowsVirtualMachineScaleSetArgsBuilder<S>
sourcepub fn build_struct(self) -> WindowsVirtualMachineScaleSetArgswhere
S: IsComplete,
pub fn build_struct(self) -> WindowsVirtualMachineScaleSetArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn additional_capabilities(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAdditionalCapabilities>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>where
S::AdditionalCapabilities: IsUnset,
pub fn additional_capabilities(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAdditionalCapabilities>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>where
S::AdditionalCapabilities: IsUnset,
sourcepub fn maybe_additional_capabilities(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAdditionalCapabilities>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>where
S::AdditionalCapabilities: IsUnset,
pub fn maybe_additional_capabilities(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAdditionalCapabilities>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>where
S::AdditionalCapabilities: IsUnset,
sourcepub fn additional_unattend_contents(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetAdditionalUnattendContent>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalUnattendContents<S>>where
S::AdditionalUnattendContents: IsUnset,
pub fn additional_unattend_contents(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetAdditionalUnattendContent>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalUnattendContents<S>>where
S::AdditionalUnattendContents: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
Vec<
super::super::types::compute::WindowsVirtualMachineScaleSetAdditionalUnattendContent,
>,
>,
> as Default>::default()
One or more additional_unattend_content
blocks as defined below. Changing this forces a new resource to be created.
sourcepub fn maybe_additional_unattend_contents(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetAdditionalUnattendContent>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalUnattendContents<S>>where
S::AdditionalUnattendContents: IsUnset,
pub fn maybe_additional_unattend_contents(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetAdditionalUnattendContent>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdditionalUnattendContents<S>>where
S::AdditionalUnattendContents: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
Vec<
super::super::types::compute::WindowsVirtualMachineScaleSetAdditionalUnattendContent,
>,
>,
> as Default>::default()
One or more additional_unattend_content
blocks as defined below. Changing this forces a new resource to be created.
sourcepub fn admin_password(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdminPassword<S>>where
S::AdminPassword: IsUnset,
pub fn admin_password(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdminPassword<S>>where
S::AdminPassword: IsUnset,
Required.
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
sourcepub fn admin_username(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdminUsername<S>>where
S::AdminUsername: IsUnset,
pub fn admin_username(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAdminUsername<S>>where
S::AdminUsername: IsUnset,
Required.
The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
sourcepub fn automatic_instance_repair(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticInstanceRepair>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>where
S::AutomaticInstanceRepair: IsUnset,
pub fn automatic_instance_repair(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticInstanceRepair>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>where
S::AutomaticInstanceRepair: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetAutomaticInstanceRepair,
>,
> as Default>::default()
An automatic_instance_repair
block as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a valid health_probe_id
or an Application Health Extension.
Note: For more information about Automatic Instance Repair, please refer to this doc.
sourcepub fn maybe_automatic_instance_repair(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticInstanceRepair>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>where
S::AutomaticInstanceRepair: IsUnset,
pub fn maybe_automatic_instance_repair(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticInstanceRepair>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>where
S::AutomaticInstanceRepair: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetAutomaticInstanceRepair,
>,
> as Default>::default()
An automatic_instance_repair
block as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a valid health_probe_id
or an Application Health Extension.
Note: For more information about Automatic Instance Repair, please refer to this doc.
sourcepub fn automatic_os_upgrade_policy(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>where
S::AutomaticOsUpgradePolicy: IsUnset,
pub fn automatic_os_upgrade_policy(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>where
S::AutomaticOsUpgradePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy,
>,
> as Default>::default()
An automatic_os_upgrade_policy
block as defined below. This can only be specified when upgrade_mode
is set to either Automatic
or Rolling
.
sourcepub fn maybe_automatic_os_upgrade_policy(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>where
S::AutomaticOsUpgradePolicy: IsUnset,
pub fn maybe_automatic_os_upgrade_policy(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>where
S::AutomaticOsUpgradePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy,
>,
> as Default>::default()
An automatic_os_upgrade_policy
block as defined below. This can only be specified when upgrade_mode
is set to either Automatic
or Rolling
.
sourcepub fn boot_diagnostics(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetBootDiagnostics>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>where
S::BootDiagnostics: IsUnset,
pub fn boot_diagnostics(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetBootDiagnostics>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>where
S::BootDiagnostics: IsUnset,
sourcepub fn maybe_boot_diagnostics(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetBootDiagnostics>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>where
S::BootDiagnostics: IsUnset,
pub fn maybe_boot_diagnostics(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetBootDiagnostics>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>where
S::BootDiagnostics: IsUnset,
sourcepub fn capacity_reservation_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
pub fn capacity_reservation_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the ID of the Capacity Reservation Group which the Virtual Machine Scale Set should be allocated to. Changing this forces a new resource to be created.
Note:
capacity_reservation_group_id
cannot be used withproximity_placement_group_id
Note:
single_placement_group
must be set tofalse
whencapacity_reservation_group_id
is specified.
sourcepub fn maybe_capacity_reservation_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
pub fn maybe_capacity_reservation_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the ID of the Capacity Reservation Group which the Virtual Machine Scale Set should be allocated to. Changing this forces a new resource to be created.
Note:
capacity_reservation_group_id
cannot be used withproximity_placement_group_id
Note:
single_placement_group
must be set tofalse
whencapacity_reservation_group_id
is specified.
sourcepub fn computer_name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetComputerNamePrefix<S>>where
S::ComputerNamePrefix: IsUnset,
pub fn computer_name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetComputerNamePrefix<S>>where
S::ComputerNamePrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The prefix which should be used for the name of the Virtual Machines in this Scale Set. If unspecified this defaults to the value for the name
field. If the value of the name
field is not a valid computer_name_prefix
, then you must specify computer_name_prefix
. Changing this forces a new resource to be created.
sourcepub fn maybe_computer_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetComputerNamePrefix<S>>where
S::ComputerNamePrefix: IsUnset,
pub fn maybe_computer_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetComputerNamePrefix<S>>where
S::ComputerNamePrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The prefix which should be used for the name of the Virtual Machines in this Scale Set. If unspecified this defaults to the value for the name
field. If the value of the name
field is not a valid computer_name_prefix
, then you must specify computer_name_prefix
. Changing this forces a new resource to be created.
sourcepub fn custom_data(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCustomData<S>>where
S::CustomData: IsUnset,
pub fn custom_data(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCustomData<S>>where
S::CustomData: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
Note: When Custom Data has been configured, it’s not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
sourcepub fn maybe_custom_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCustomData<S>>where
S::CustomData: IsUnset,
pub fn maybe_custom_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetCustomData<S>>where
S::CustomData: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
Note: When Custom Data has been configured, it’s not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
sourcepub fn data_disks(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetDataDisk>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
pub fn data_disks(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetDataDisk>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
sourcepub fn maybe_data_disks(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetDataDisk>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
pub fn maybe_data_disks(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetDataDisk>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>where
S::DataDisks: IsUnset,
sourcepub fn do_not_run_extensions_on_overprovisioned_machines(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>where
S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,
pub fn do_not_run_extensions_on_overprovisioned_machines(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>where
S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,
sourcepub fn maybe_do_not_run_extensions_on_overprovisioned_machines(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>where
S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,
pub fn maybe_do_not_run_extensions_on_overprovisioned_machines(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>where
S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,
sourcepub fn edge_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
pub fn edge_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
sourcepub fn maybe_edge_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
pub fn maybe_edge_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
sourcepub fn enable_automatic_updates(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEnableAutomaticUpdates<S>>where
S::EnableAutomaticUpdates: IsUnset,
pub fn enable_automatic_updates(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEnableAutomaticUpdates<S>>where
S::EnableAutomaticUpdates: IsUnset,
sourcepub fn maybe_enable_automatic_updates(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEnableAutomaticUpdates<S>>where
S::EnableAutomaticUpdates: IsUnset,
pub fn maybe_enable_automatic_updates(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEnableAutomaticUpdates<S>>where
S::EnableAutomaticUpdates: IsUnset,
sourcepub fn encryption_at_host_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>where
S::EncryptionAtHostEnabled: IsUnset,
pub fn encryption_at_host_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>where
S::EncryptionAtHostEnabled: IsUnset,
sourcepub fn maybe_encryption_at_host_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>where
S::EncryptionAtHostEnabled: IsUnset,
pub fn maybe_encryption_at_host_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>where
S::EncryptionAtHostEnabled: IsUnset,
sourcepub fn eviction_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEvictionPolicy<S>>where
S::EvictionPolicy: IsUnset,
pub fn eviction_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEvictionPolicy<S>>where
S::EvictionPolicy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are Deallocate
and Delete
. Changing this forces a new resource to be created.
Note: This can only be configured when
priority
is set toSpot
.
sourcepub fn maybe_eviction_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEvictionPolicy<S>>where
S::EvictionPolicy: IsUnset,
pub fn maybe_eviction_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetEvictionPolicy<S>>where
S::EvictionPolicy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are Deallocate
and Delete
. Changing this forces a new resource to be created.
Note: This can only be configured when
priority
is set toSpot
.
sourcepub fn extension_operations_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionOperationsEnabled<S>>where
S::ExtensionOperationsEnabled: IsUnset,
pub fn extension_operations_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionOperationsEnabled<S>>where
S::ExtensionOperationsEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should extension operations be allowed on the Virtual Machine Scale Set? Possible values are true
or false
. Defaults to true
. Changing this forces a new Windows Virtual Machine Scale Set to be created.
Note:
extension_operations_enabled
may only be set tofalse
if there are no extensions defined in theextension
field.
sourcepub fn maybe_extension_operations_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionOperationsEnabled<S>>where
S::ExtensionOperationsEnabled: IsUnset,
pub fn maybe_extension_operations_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionOperationsEnabled<S>>where
S::ExtensionOperationsEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should extension operations be allowed on the Virtual Machine Scale Set? Possible values are true
or false
. Defaults to true
. Changing this forces a new Windows Virtual Machine Scale Set to be created.
Note:
extension_operations_enabled
may only be set tofalse
if there are no extensions defined in theextension
field.
sourcepub fn extensions(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetExtension>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>where
S::Extensions: IsUnset,
pub fn extensions(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetExtension>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>where
S::Extensions: IsUnset,
sourcepub fn maybe_extensions(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetExtension>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>where
S::Extensions: IsUnset,
pub fn maybe_extensions(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetExtension>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>where
S::Extensions: IsUnset,
sourcepub fn extensions_time_budget(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionsTimeBudget<S>>where
S::ExtensionsTimeBudget: IsUnset,
pub fn extensions_time_budget(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionsTimeBudget<S>>where
S::ExtensionsTimeBudget: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the duration allocated for all extensions to start. The time duration should be between 15
minutes and 120
minutes (inclusive) and should be specified in ISO 8601 format. Defaults to PT1H30M
.
sourcepub fn maybe_extensions_time_budget(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionsTimeBudget<S>>where
S::ExtensionsTimeBudget: IsUnset,
pub fn maybe_extensions_time_budget(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetExtensionsTimeBudget<S>>where
S::ExtensionsTimeBudget: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the duration allocated for all extensions to start. The time duration should be between 15
minutes and 120
minutes (inclusive) and should be specified in ISO 8601 format. Defaults to PT1H30M
.
sourcepub fn gallery_applications(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetGalleryApplication>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetGalleryApplications<S>>where
S::GalleryApplications: IsUnset,
pub fn gallery_applications(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetGalleryApplication>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetGalleryApplications<S>>where
S::GalleryApplications: IsUnset,
sourcepub fn maybe_gallery_applications(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetGalleryApplication>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetGalleryApplications<S>>where
S::GalleryApplications: IsUnset,
pub fn maybe_gallery_applications(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetGalleryApplication>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetGalleryApplications<S>>where
S::GalleryApplications: IsUnset,
sourcepub fn health_probe_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>where
S::HealthProbeId: IsUnset,
pub fn health_probe_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>where
S::HealthProbeId: IsUnset,
sourcepub fn maybe_health_probe_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>where
S::HealthProbeId: IsUnset,
pub fn maybe_health_probe_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>where
S::HealthProbeId: IsUnset,
sourcepub fn host_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>where
S::HostGroupId: IsUnset,
pub fn host_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>where
S::HostGroupId: IsUnset,
sourcepub fn maybe_host_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>where
S::HostGroupId: IsUnset,
pub fn maybe_host_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>where
S::HostGroupId: IsUnset,
sourcepub fn identity(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetIdentity>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn identity(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetIdentity>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
sourcepub fn maybe_identity(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetIdentity>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn maybe_identity(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetIdentity>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
sourcepub fn instances(
self,
value: impl Into<Output<i32>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
pub fn instances(
self,
value: impl Into<Output<i32>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
Required.
The number of Virtual Machines in the Scale Set.
NOTE: If you’re using AutoScaling, you may wish to use
Ignore Changes
functionality to ignore changes to this field.
sourcepub fn license_type(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLicenseType<S>>where
S::LicenseType: IsUnset,
pub fn license_type(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLicenseType<S>>where
S::LicenseType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the type of on-premise license (also known as Azure Hybrid Use Benefit) which should be used for this Virtual Machine Scale Set. Possible values are None
, Windows_Client
and Windows_Server
.
sourcepub fn maybe_license_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLicenseType<S>>where
S::LicenseType: IsUnset,
pub fn maybe_license_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLicenseType<S>>where
S::LicenseType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the type of on-premise license (also known as Azure Hybrid Use Benefit) which should be used for this Virtual Machine Scale Set. Possible values are None
, Windows_Client
and Windows_Server
.
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn max_bid_price(
self,
value: impl Into<Output<Option<f64>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetMaxBidPrice<S>>where
S::MaxBidPrice: IsUnset,
pub fn max_bid_price(
self,
value: impl Into<Output<Option<f64>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetMaxBidPrice<S>>where
S::MaxBidPrice: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<f64>> as Default>::default()
.
The maximum price you’re willing to pay for each Virtual Machine in this Scale Set, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machines in the Scale Set will be evicted using the eviction_policy
. Defaults to -1
, which means that each Virtual Machine in the Scale Set should not be evicted for price reasons.
Note: This can only be configured when
priority
is set toSpot
.
sourcepub fn maybe_max_bid_price(
self,
value: Option<impl Into<Output<Option<f64>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetMaxBidPrice<S>>where
S::MaxBidPrice: IsUnset,
pub fn maybe_max_bid_price(
self,
value: Option<impl Into<Output<Option<f64>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetMaxBidPrice<S>>where
S::MaxBidPrice: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<f64>> as Default>::default()
.
The maximum price you’re willing to pay for each Virtual Machine in this Scale Set, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machines in the Scale Set will be evicted using the eviction_policy
. Defaults to -1
, which means that each Virtual Machine in the Scale Set should not be evicted for price reasons.
Note: This can only be configured when
priority
is set toSpot
.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_interfaces(
self,
value: impl Into<Output<Vec<WindowsVirtualMachineScaleSetNetworkInterface>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn network_interfaces(
self,
value: impl Into<Output<Vec<WindowsVirtualMachineScaleSetNetworkInterface>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
Required.
One or more network_interface
blocks as defined below.
sourcepub fn os_disk(
self,
value: impl Into<Output<WindowsVirtualMachineScaleSetOsDisk>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
pub fn os_disk(
self,
value: impl Into<Output<WindowsVirtualMachineScaleSetOsDisk>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOsDisk<S>>where
S::OsDisk: IsUnset,
Required.
An os_disk
block as defined below.
sourcepub fn overprovision(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOverprovision<S>>where
S::Overprovision: IsUnset,
pub fn overprovision(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOverprovision<S>>where
S::Overprovision: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should Azure over-provision Virtual Machines in this Scale Set? This means that multiple Virtual Machines will be provisioned and Azure will keep the instances which become available first - which improves provisioning success rates and improves deployment time. You’re not billed for these over-provisioned VM’s and they don’t count towards the Subscription Quota. Defaults to true
.
sourcepub fn maybe_overprovision(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOverprovision<S>>where
S::Overprovision: IsUnset,
pub fn maybe_overprovision(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetOverprovision<S>>where
S::Overprovision: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should Azure over-provision Virtual Machines in this Scale Set? This means that multiple Virtual Machines will be provisioned and Azure will keep the instances which become available first - which improves provisioning success rates and improves deployment time. You’re not billed for these over-provisioned VM’s and they don’t count towards the Subscription Quota. Defaults to true
.
sourcepub fn plan(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetPlan>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlan<S>>where
S::Plan: IsUnset,
pub fn plan(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetPlan>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlan<S>>where
S::Plan: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::WindowsVirtualMachineScaleSetPlan>,
> as Default>::default()
A plan
block as defined below. Changing this forces a new resource to be created.
Note: When using an image from Azure Marketplace a
plan
must be specified.
sourcepub fn maybe_plan(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetPlan>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlan<S>>where
S::Plan: IsUnset,
pub fn maybe_plan(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetPlan>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlan<S>>where
S::Plan: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::WindowsVirtualMachineScaleSetPlan>,
> as Default>::default()
A plan
block as defined below. Changing this forces a new resource to be created.
Note: When using an image from Azure Marketplace a
plan
must be specified.
sourcepub fn platform_fault_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
pub fn platform_fault_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
sourcepub fn maybe_platform_fault_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
pub fn maybe_platform_fault_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
sourcepub fn priority(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn priority(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Priority of this Virtual Machine Scale Set. Possible values are Regular
and Spot
. Defaults to Regular
. Changing this value forces a new resource.
Note: When
priority
is set toSpot
aneviction_policy
must be specified.
sourcepub fn maybe_priority(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn maybe_priority(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Priority of this Virtual Machine Scale Set. Possible values are Regular
and Spot
. Defaults to Regular
. Changing this value forces a new resource.
Note: When
priority
is set toSpot
aneviction_policy
must be specified.
sourcepub fn provision_vm_agent(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>where
S::ProvisionVmAgent: IsUnset,
pub fn provision_vm_agent(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>where
S::ProvisionVmAgent: IsUnset,
sourcepub fn maybe_provision_vm_agent(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>where
S::ProvisionVmAgent: IsUnset,
pub fn maybe_provision_vm_agent(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>where
S::ProvisionVmAgent: IsUnset,
sourcepub fn proximity_placement_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
pub fn proximity_placement_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
sourcepub fn maybe_proximity_placement_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
pub fn maybe_proximity_placement_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the Resource Group in which the Windows Virtual Machine Scale Set should be exist. Changing this forces a new resource to be created.
sourcepub fn rolling_upgrade_policy(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetRollingUpgradePolicy>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>where
S::RollingUpgradePolicy: IsUnset,
pub fn rolling_upgrade_policy(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetRollingUpgradePolicy>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>where
S::RollingUpgradePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetRollingUpgradePolicy,
>,
> as Default>::default()
A rolling_upgrade_policy
block as defined below. This is Required and can only be specified when upgrade_mode
is set to Automatic
or Rolling
. Changing this forces a new resource to be created.
sourcepub fn maybe_rolling_upgrade_policy(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetRollingUpgradePolicy>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>where
S::RollingUpgradePolicy: IsUnset,
pub fn maybe_rolling_upgrade_policy(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetRollingUpgradePolicy>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>where
S::RollingUpgradePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetRollingUpgradePolicy,
>,
> as Default>::default()
A rolling_upgrade_policy
block as defined below. This is Required and can only be specified when upgrade_mode
is set to Automatic
or Rolling
. Changing this forces a new resource to be created.
sourcepub fn scale_in(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetScaleIn>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>where
S::ScaleIn: IsUnset,
pub fn scale_in(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetScaleIn>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>where
S::ScaleIn: IsUnset,
sourcepub fn maybe_scale_in(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetScaleIn>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>where
S::ScaleIn: IsUnset,
pub fn maybe_scale_in(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetScaleIn>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>where
S::ScaleIn: IsUnset,
sourcepub fn secrets(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetSecret>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>where
S::Secrets: IsUnset,
pub fn secrets(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetSecret>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>where
S::Secrets: IsUnset,
sourcepub fn maybe_secrets(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetSecret>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>where
S::Secrets: IsUnset,
pub fn maybe_secrets(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetSecret>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>where
S::Secrets: IsUnset,
sourcepub fn secure_boot_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>where
S::SecureBootEnabled: IsUnset,
pub fn secure_boot_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>where
S::SecureBootEnabled: IsUnset,
sourcepub fn maybe_secure_boot_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>where
S::SecureBootEnabled: IsUnset,
pub fn maybe_secure_boot_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>where
S::SecureBootEnabled: IsUnset,
sourcepub fn single_placement_group(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>where
S::SinglePlacementGroup: IsUnset,
pub fn single_placement_group(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>where
S::SinglePlacementGroup: IsUnset,
sourcepub fn maybe_single_placement_group(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>where
S::SinglePlacementGroup: IsUnset,
pub fn maybe_single_placement_group(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>where
S::SinglePlacementGroup: IsUnset,
sourcepub fn sku(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSku<S>>where
S::Sku: IsUnset,
pub fn sku(
self,
value: impl Into<Output<String>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSku<S>>where
S::Sku: IsUnset,
Required.
The Virtual Machine SKU for the Scale Set, such as Standard_F2
.
sourcepub fn source_image_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageId<S>>where
S::SourceImageId: IsUnset,
pub fn source_image_id(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageId<S>>where
S::SourceImageId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of an Image which each Virtual Machine in this Scale Set should be based on. Possible Image ID types include Image ID
, Shared Image ID
, Shared Image Version ID
, Community Gallery Image ID
, Community Gallery Image Version ID
, Shared Gallery Image ID
and Shared Gallery Image Version ID
.
Note: One of either
source_image_id
orsource_image_reference
must be set.
sourcepub fn maybe_source_image_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageId<S>>where
S::SourceImageId: IsUnset,
pub fn maybe_source_image_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageId<S>>where
S::SourceImageId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of an Image which each Virtual Machine in this Scale Set should be based on. Possible Image ID types include Image ID
, Shared Image ID
, Shared Image Version ID
, Community Gallery Image ID
, Community Gallery Image Version ID
, Shared Gallery Image ID
and Shared Gallery Image Version ID
.
Note: One of either
source_image_id
orsource_image_reference
must be set.
sourcepub fn source_image_reference(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetSourceImageReference>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>where
S::SourceImageReference: IsUnset,
pub fn source_image_reference(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetSourceImageReference>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>where
S::SourceImageReference: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetSourceImageReference,
>,
> as Default>::default()
A source_image_reference
block as defined below.
Note: One of either
source_image_id
orsource_image_reference
must be set.
sourcepub fn maybe_source_image_reference(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetSourceImageReference>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>where
S::SourceImageReference: IsUnset,
pub fn maybe_source_image_reference(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetSourceImageReference>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>where
S::SourceImageReference: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::WindowsVirtualMachineScaleSetSourceImageReference,
>,
> as Default>::default()
A source_image_reference
block as defined below.
Note: One of either
source_image_id
orsource_image_reference
must be set.
sourcepub fn spot_restore(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetSpotRestore>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>where
S::SpotRestore: IsUnset,
pub fn spot_restore(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetSpotRestore>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>where
S::SpotRestore: IsUnset,
sourcepub fn maybe_spot_restore(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetSpotRestore>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>where
S::SpotRestore: IsUnset,
pub fn maybe_spot_restore(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetSpotRestore>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>where
S::SpotRestore: IsUnset,
sourcepub fn termination_notification(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetTerminationNotification>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>where
S::TerminationNotification: IsUnset,
pub fn termination_notification(
self,
value: impl Into<Output<Option<WindowsVirtualMachineScaleSetTerminationNotification>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>where
S::TerminationNotification: IsUnset,
sourcepub fn maybe_termination_notification(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetTerminationNotification>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>where
S::TerminationNotification: IsUnset,
pub fn maybe_termination_notification(
self,
value: Option<impl Into<Output<Option<WindowsVirtualMachineScaleSetTerminationNotification>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>where
S::TerminationNotification: IsUnset,
sourcepub fn timezone(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTimezone<S>>where
S::Timezone: IsUnset,
pub fn timezone(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTimezone<S>>where
S::Timezone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the time zone of the virtual machine, the possible values are defined here.
sourcepub fn maybe_timezone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTimezone<S>>where
S::Timezone: IsUnset,
pub fn maybe_timezone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetTimezone<S>>where
S::Timezone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the time zone of the virtual machine, the possible values are defined here.
sourcepub fn upgrade_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>where
S::UpgradeMode: IsUnset,
pub fn upgrade_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>where
S::UpgradeMode: IsUnset,
sourcepub fn maybe_upgrade_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>where
S::UpgradeMode: IsUnset,
pub fn maybe_upgrade_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>where
S::UpgradeMode: IsUnset,
sourcepub fn user_data(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
pub fn user_data(
self,
value: impl Into<Output<Option<String>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
sourcepub fn maybe_user_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
pub fn maybe_user_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
sourcepub fn vtpm_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>where
S::VtpmEnabled: IsUnset,
pub fn vtpm_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>where
S::VtpmEnabled: IsUnset,
sourcepub fn maybe_vtpm_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>where
S::VtpmEnabled: IsUnset,
pub fn maybe_vtpm_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>where
S::VtpmEnabled: IsUnset,
sourcepub fn winrm_listeners(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetWinrmListener>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetWinrmListeners<S>>where
S::WinrmListeners: IsUnset,
pub fn winrm_listeners(
self,
value: impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetWinrmListener>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetWinrmListeners<S>>where
S::WinrmListeners: IsUnset,
sourcepub fn maybe_winrm_listeners(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetWinrmListener>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetWinrmListeners<S>>where
S::WinrmListeners: IsUnset,
pub fn maybe_winrm_listeners(
self,
value: Option<impl Into<Output<Option<Vec<WindowsVirtualMachineScaleSetWinrmListener>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetWinrmListeners<S>>where
S::WinrmListeners: IsUnset,
sourcepub fn zone_balance(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZoneBalance<S>>where
S::ZoneBalance: IsUnset,
pub fn zone_balance(
self,
value: impl Into<Output<Option<bool>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZoneBalance<S>>where
S::ZoneBalance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should the Virtual Machines in this Scale Set be strictly evenly distributed across Availability Zones? Defaults to false
. Changing this forces a new resource to be created.
Note: This can only be set to
true
when one or morezones
are configured.
sourcepub fn maybe_zone_balance(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZoneBalance<S>>where
S::ZoneBalance: IsUnset,
pub fn maybe_zone_balance(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZoneBalance<S>>where
S::ZoneBalance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Should the Virtual Machines in this Scale Set be strictly evenly distributed across Availability Zones? Defaults to false
. Changing this forces a new resource to be created.
Note: This can only be set to
true
when one or morezones
are configured.
sourcepub fn zones(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
pub fn zones(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Specifies a list of Availability Zones in which this Windows Virtual Machine Scale Set should be located.
Note: Updating
zones
to remove an existing zone forces a new Virtual Machine Scale Set to be created.
sourcepub fn maybe_zones(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
pub fn maybe_zones(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> WindowsVirtualMachineScaleSetArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Specifies a list of Availability Zones in which this Windows Virtual Machine Scale Set should be located.
Note: Updating
zones
to remove an existing zone forces a new Virtual Machine Scale Set to be created.