pulumi_wasm_providers_azure_mini::compute::linux_virtual_machine_scale_set

Struct LinuxVirtualMachineScaleSetArgsBuilder

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

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

Implementations§

source§

impl<S: State> LinuxVirtualMachineScaleSetArgsBuilder<S>

source

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

Finish building and return the requested object

source

pub fn additional_capabilities( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetAdditionalCapabilities>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>
where S::AdditionalCapabilities: IsUnset,

Optional (Some / Option setters). Default:

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

An additional_capabilities block as defined below.

source

pub fn maybe_additional_capabilities( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetAdditionalCapabilities>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdditionalCapabilities<S>>
where S::AdditionalCapabilities: IsUnset,

Optional (Some / Option setters). Default:

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

An additional_capabilities block as defined below.

source

pub fn admin_password( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdminPassword<S>>
where S::AdminPassword: IsUnset,

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

The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.

Note: When an admin_password is specified disable_password_authentication must be set to false.

Note: One of either admin_password or admin_ssh_key must be specified.

source

pub fn maybe_admin_password( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdminPassword<S>>
where S::AdminPassword: IsUnset,

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

The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.

Note: When an admin_password is specified disable_password_authentication must be set to false.

Note: One of either admin_password or admin_ssh_key must be specified.

source

pub fn admin_ssh_keys( self, value: impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetAdminSshKey>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdminSshKeys<S>>
where S::AdminSshKeys: IsUnset,

Optional (Some / Option setters). Default:

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

One or more admin_ssh_key blocks as defined below.

Note: One of either admin_password or admin_ssh_key must be specified.

source

pub fn maybe_admin_ssh_keys( self, value: Option<impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetAdminSshKey>>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAdminSshKeys<S>>
where S::AdminSshKeys: IsUnset,

Optional (Some / Option setters). Default:

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

One or more admin_ssh_key blocks as defined below.

Note: One of either admin_password or admin_ssh_key must be specified.

source

pub fn admin_username( self, value: impl Into<Output<String>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn automatic_instance_repair( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetAutomaticInstanceRepair>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>
where S::AutomaticInstanceRepair: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::LinuxVirtualMachineScaleSetAutomaticInstanceRepair,
    >,
> 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 the product documentation.

source

pub fn maybe_automatic_instance_repair( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetAutomaticInstanceRepair>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAutomaticInstanceRepair<S>>
where S::AutomaticInstanceRepair: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::LinuxVirtualMachineScaleSetAutomaticInstanceRepair,
    >,
> 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 the product documentation.

source

pub fn automatic_os_upgrade_policy( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>
where S::AutomaticOsUpgradePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy,
    >,
> 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.

source

pub fn maybe_automatic_os_upgrade_policy( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetAutomaticOsUpgradePolicy<S>>
where S::AutomaticOsUpgradePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicy,
    >,
> 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.

source

pub fn boot_diagnostics( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetBootDiagnostics>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>
where S::BootDiagnostics: IsUnset,

Optional (Some / Option setters). Default:

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

A boot_diagnostics block as defined below.

source

pub fn maybe_boot_diagnostics( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetBootDiagnostics>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetBootDiagnostics<S>>
where S::BootDiagnostics: IsUnset,

Optional (Some / Option setters). Default:

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

A boot_diagnostics block as defined below.

source

pub fn capacity_reservation_group_id( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 with proximity_placement_group_id

Note: single_placement_group must be set to false when capacity_reservation_group_id is specified.

source

pub fn maybe_capacity_reservation_group_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 with proximity_placement_group_id

Note: single_placement_group must be set to false when capacity_reservation_group_id is specified.

source

pub fn computer_name_prefix( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn maybe_computer_name_prefix( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn custom_data( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn maybe_custom_data( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn data_disks( self, value: impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetDataDisk>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>
where S::DataDisks: IsUnset,

Optional (Some / Option setters). Default:

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

One or more data_disk blocks as defined below.

source

pub fn maybe_data_disks( self, value: Option<impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetDataDisk>>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDataDisks<S>>
where S::DataDisks: IsUnset,

Optional (Some / Option setters). Default:

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

One or more data_disk blocks as defined below.

source

pub fn disable_password_authentication( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDisablePasswordAuthentication<S>>
where S::DisablePasswordAuthentication: IsUnset,

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

Should Password Authentication be disabled on this Virtual Machine Scale Set? Defaults to true.

In general we’d recommend using SSH Keys for authentication rather than Passwords - but there’s tradeoff’s to each - please see this thread for more information.

Note: When a admin_password is specified disable_password_authentication must be set to false.

source

pub fn maybe_disable_password_authentication( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDisablePasswordAuthentication<S>>
where S::DisablePasswordAuthentication: IsUnset,

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

Should Password Authentication be disabled on this Virtual Machine Scale Set? Defaults to true.

In general we’d recommend using SSH Keys for authentication rather than Passwords - but there’s tradeoff’s to each - please see this thread for more information.

Note: When a admin_password is specified disable_password_authentication must be set to false.

source

pub fn do_not_run_extensions_on_overprovisioned_machines( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>
where S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,

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

Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to false.

source

pub fn maybe_do_not_run_extensions_on_overprovisioned_machines( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetDoNotRunExtensionsOnOverprovisionedMachines<S>>
where S::DoNotRunExtensionsOnOverprovisionedMachines: IsUnset,

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

Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to false.

source

pub fn edge_zone( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>
where S::EdgeZone: IsUnset,

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

Specifies the Edge Zone within the Azure Region where this Linux Virtual Machine Scale Set should exist. Changing this forces a new Linux Virtual Machine Scale Set to be created.

source

pub fn maybe_edge_zone( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetEdgeZone<S>>
where S::EdgeZone: IsUnset,

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

Specifies the Edge Zone within the Azure Region where this Linux Virtual Machine Scale Set should exist. Changing this forces a new Linux Virtual Machine Scale Set to be created.

source

pub fn encryption_at_host_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>
where S::EncryptionAtHostEnabled: IsUnset,

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

Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?

source

pub fn maybe_encryption_at_host_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetEncryptionAtHostEnabled<S>>
where S::EncryptionAtHostEnabled: IsUnset,

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

Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?

source

pub fn eviction_policy( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 to Spot.

source

pub fn maybe_eviction_policy( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 to Spot.

source

pub fn extension_operations_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 Linux Virtual Machine Scale Set to be created.

Note: extension_operations_enabled may only be set to false if there are no extensions defined in the extension field.

source

pub fn maybe_extension_operations_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 Linux Virtual Machine Scale Set to be created.

Note: extension_operations_enabled may only be set to false if there are no extensions defined in the extension field.

source

pub fn extensions( self, value: impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetExtension>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>
where S::Extensions: IsUnset,

Optional (Some / Option setters). Default:

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

One or more extension blocks as defined below

source

pub fn maybe_extensions( self, value: Option<impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetExtension>>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetExtensions<S>>
where S::Extensions: IsUnset,

Optional (Some / Option setters). Default:

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

One or more extension blocks as defined below

source

pub fn extensions_time_budget( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn maybe_extensions_time_budget( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn gallery_applications( self, value: impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetGalleryApplication>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetGalleryApplications<S>>
where S::GalleryApplications: IsUnset,

Optional (Some / Option setters). Default:

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

One or more gallery_application blocks as defined below.

Optional (Some / Option setters). Default:

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

One or more gallery_application blocks as defined below.

source

pub fn health_probe_id( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>
where S::HealthProbeId: IsUnset,

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

The ID of a Load Balancer Probe which should be used to determine the health of an instance. This is Required and can only be specified when upgrade_mode is set to Automatic or Rolling.

source

pub fn maybe_health_probe_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetHealthProbeId<S>>
where S::HealthProbeId: IsUnset,

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

The ID of a Load Balancer Probe which should be used to determine the health of an instance. This is Required and can only be specified when upgrade_mode is set to Automatic or Rolling.

source

pub fn host_group_id( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>
where S::HostGroupId: IsUnset,

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

Specifies the ID of the dedicated host group that the virtual machine scale set resides in. Changing this forces a new resource to be created.

source

pub fn maybe_host_group_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetHostGroupId<S>>
where S::HostGroupId: IsUnset,

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

Specifies the ID of the dedicated host group that the virtual machine scale set resides in. Changing this forces a new resource to be created.

source

pub fn identity( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetIdentity>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>
where S::Identity: IsUnset,

Optional (Some / Option setters). Default:

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

An identity block as defined below.

source

pub fn maybe_identity( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetIdentity>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetIdentity<S>>
where S::Identity: IsUnset,

Optional (Some / Option setters). Default:

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

An identity block as defined below.

source

pub fn instances( self, value: impl Into<Output<Option<i32>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetInstances<S>>
where S::Instances: IsUnset,

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

The number of Virtual Machines in the Scale Set. Defaults to 0.

NOTE: If you’re using AutoScaling, you may wish to use Ignore Changes functionality to ignore changes to this field.

source

pub fn maybe_instances( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetInstances<S>>
where S::Instances: IsUnset,

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

The number of Virtual Machines in the Scale Set. Defaults to 0.

NOTE: If you’re using AutoScaling, you may wish to use Ignore Changes functionality to ignore changes to this field.

source

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

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

The Azure location where the Linux Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.

source

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

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

The Azure location where the Linux Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.

source

pub fn max_bid_price( self, value: impl Into<Output<Option<f64>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 this Scale Set should not be evicted for price reasons.

Note: This can only be configured when priority is set to Spot.

source

pub fn maybe_max_bid_price( self, value: Option<impl Into<Output<Option<f64>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 this Scale Set should not be evicted for price reasons.

Note: This can only be configured when priority is set to Spot.

source

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

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

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

source

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

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

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

source

pub fn network_interfaces( self, value: impl Into<Output<Vec<LinuxVirtualMachineScaleSetNetworkInterface>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetNetworkInterfaces<S>>
where S::NetworkInterfaces: IsUnset,

Required.

One or more network_interface blocks as defined below.

source

pub fn os_disk( self, value: impl Into<Output<LinuxVirtualMachineScaleSetOsDisk>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetOsDisk<S>>
where S::OsDisk: IsUnset,

Required.

An os_disk block as defined below.

source

pub fn overprovision( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn maybe_overprovision( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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.

source

pub fn plan( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetPlan>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetPlan<S>>
where S::Plan: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::LinuxVirtualMachineScaleSetPlan>,
> 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.

source

pub fn maybe_plan( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetPlan>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetPlan<S>>
where S::Plan: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::LinuxVirtualMachineScaleSetPlan>,
> 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.

source

pub fn platform_fault_domain_count( self, value: impl Into<Output<Option<i32>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>
where S::PlatformFaultDomainCount: IsUnset,

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

Specifies the number of fault domains that are used by this Linux Virtual Machine Scale Set. Changing this forces a new resource to be created.

source

pub fn maybe_platform_fault_domain_count( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetPlatformFaultDomainCount<S>>
where S::PlatformFaultDomainCount: IsUnset,

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

Specifies the number of fault domains that are used by this Linux Virtual Machine Scale Set. Changing this forces a new resource to be created.

source

pub fn priority( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 to Spot an eviction_policy must be specified.

source

pub fn maybe_priority( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 to Spot an eviction_policy must be specified.

source

pub fn provision_vm_agent( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>
where S::ProvisionVmAgent: IsUnset,

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

Should the Azure VM Agent be provisioned on each Virtual Machine in the Scale Set? Defaults to true. Changing this value forces a new resource to be created.

source

pub fn maybe_provision_vm_agent( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetProvisionVmAgent<S>>
where S::ProvisionVmAgent: IsUnset,

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

Should the Azure VM Agent be provisioned on each Virtual Machine in the Scale Set? Defaults to true. Changing this value forces a new resource to be created.

source

pub fn proximity_placement_group_id( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>
where S::ProximityPlacementGroupId: IsUnset,

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

The ID of the Proximity Placement Group in which the Virtual Machine Scale Set should be assigned to. Changing this forces a new resource to be created.

source

pub fn maybe_proximity_placement_group_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetProximityPlacementGroupId<S>>
where S::ProximityPlacementGroupId: IsUnset,

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

The ID of the Proximity Placement Group in which the Virtual Machine Scale Set should be assigned to. Changing this forces a new resource to be created.

source

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

Required.

The name of the Resource Group in which the Linux Virtual Machine Scale Set should be exist. Changing this forces a new resource to be created.

source

pub fn rolling_upgrade_policy( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetRollingUpgradePolicy>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>
where S::RollingUpgradePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::LinuxVirtualMachineScaleSetRollingUpgradePolicy>,
> 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.

source

pub fn maybe_rolling_upgrade_policy( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetRollingUpgradePolicy>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetRollingUpgradePolicy<S>>
where S::RollingUpgradePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::LinuxVirtualMachineScaleSetRollingUpgradePolicy>,
> 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.

source

pub fn scale_in( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetScaleIn>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>
where S::ScaleIn: IsUnset,

Optional (Some / Option setters). Default:

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

A scale_in block as defined below.

source

pub fn maybe_scale_in( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetScaleIn>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetScaleIn<S>>
where S::ScaleIn: IsUnset,

Optional (Some / Option setters). Default:

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

A scale_in block as defined below.

source

pub fn secrets( self, value: impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetSecret>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>
where S::Secrets: IsUnset,

Optional (Some / Option setters). Default:

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

One or more secret blocks as defined below.

source

pub fn maybe_secrets( self, value: Option<impl Into<Output<Option<Vec<LinuxVirtualMachineScaleSetSecret>>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSecrets<S>>
where S::Secrets: IsUnset,

Optional (Some / Option setters). Default:

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

One or more secret blocks as defined below.

source

pub fn secure_boot_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>
where S::SecureBootEnabled: IsUnset,

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

Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.

source

pub fn maybe_secure_boot_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSecureBootEnabled<S>>
where S::SecureBootEnabled: IsUnset,

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

Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.

source

pub fn single_placement_group( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>
where S::SinglePlacementGroup: IsUnset,

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

Should this Virtual Machine Scale Set be limited to a Single Placement Group, which means the number of instances will be capped at 100 Virtual Machines. Defaults to true.

source

pub fn maybe_single_placement_group( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSinglePlacementGroup<S>>
where S::SinglePlacementGroup: IsUnset,

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

Should this Virtual Machine Scale Set be limited to a Single Placement Group, which means the number of instances will be capped at 100 Virtual Machines. Defaults to true.

source

pub fn sku( self, value: impl Into<Output<String>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSku<S>>
where S::Sku: IsUnset,

Required.

The Virtual Machine SKU for the Scale Set, such as Standard_F2.

source

pub fn source_image_id( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 or source_image_reference must be set.

source

pub fn maybe_source_image_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 or source_image_reference must be set.

source

pub fn source_image_reference( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetSourceImageReference>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>
where S::SourceImageReference: IsUnset,

Optional (Some / Option setters). Default:

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

A source_image_reference block as defined below.

Note: One of either source_image_id or source_image_reference must be set.

source

pub fn maybe_source_image_reference( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetSourceImageReference>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSourceImageReference<S>>
where S::SourceImageReference: IsUnset,

Optional (Some / Option setters). Default:

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

A source_image_reference block as defined below.

Note: One of either source_image_id or source_image_reference must be set.

source

pub fn spot_restore( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetSpotRestore>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>
where S::SpotRestore: IsUnset,

Optional (Some / Option setters). Default:

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

A spot_restore block as defined below.

source

pub fn maybe_spot_restore( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetSpotRestore>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetSpotRestore<S>>
where S::SpotRestore: IsUnset,

Optional (Some / Option setters). Default:

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

A spot_restore block as defined below.

source

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

Optional (Some / Option setters). Default:

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

A mapping of tags which should be assigned to this Virtual Machine Scale Set.

source

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

Optional (Some / Option setters). Default:

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

A mapping of tags which should be assigned to this Virtual Machine Scale Set.

source

pub fn termination_notification( self, value: impl Into<Output<Option<LinuxVirtualMachineScaleSetTerminationNotification>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>
where S::TerminationNotification: IsUnset,

Optional (Some / Option setters). Default:

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

A termination_notification block as defined below.

source

pub fn maybe_termination_notification( self, value: Option<impl Into<Output<Option<LinuxVirtualMachineScaleSetTerminationNotification>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetTerminationNotification<S>>
where S::TerminationNotification: IsUnset,

Optional (Some / Option setters). Default:

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

A termination_notification block as defined below.

source

pub fn upgrade_mode( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>
where S::UpgradeMode: IsUnset,

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

source

pub fn maybe_upgrade_mode( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetUpgradeMode<S>>
where S::UpgradeMode: IsUnset,

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

source

pub fn user_data( self, value: impl Into<Output<Option<String>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetUserData<S>>
where S::UserData: IsUnset,

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

The Base64-Encoded User Data which should be used for this Virtual Machine Scale Set.

source

pub fn maybe_user_data( self, value: Option<impl Into<Output<Option<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetUserData<S>>
where S::UserData: IsUnset,

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

The Base64-Encoded User Data which should be used for this Virtual Machine Scale Set.

source

pub fn vtpm_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>
where S::VtpmEnabled: IsUnset,

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

Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.

source

pub fn maybe_vtpm_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<SetVtpmEnabled<S>>
where S::VtpmEnabled: IsUnset,

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

Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.

source

pub fn zone_balance( self, value: impl Into<Output<Option<bool>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 more zones are configured.

source

pub fn maybe_zone_balance( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 more zones are configured.

source

pub fn zones( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 Linux 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.

source

pub fn maybe_zones( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> LinuxVirtualMachineScaleSetArgsBuilder<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 Linux 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.

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.