WindowsVirtualMachineScaleSet
Manages a Windows Virtual Machine Scale Set.
Disclaimers
Note This provider will automatically update & reimage the nodes in the Scale Set (if Required) during an Update - this behaviour can be configured using the
featuresconfiguration within the Provider configuration block.Note: This resource does not support Unmanaged Disks. If you need to use Unmanaged Disks you can continue to use the
azure.compute.ScaleSetresource instead
Create a WindowsVirtualMachineScaleSet Resource
new WindowsVirtualMachineScaleSet(name: string, args: WindowsVirtualMachineScaleSetArgs, opts?: CustomResourceOptions);def WindowsVirtualMachineScaleSet(resource_name, opts=None, additional_capabilities=None, additional_unattend_contents=None, admin_password=None, admin_username=None, automatic_instance_repair=None, automatic_os_upgrade_policy=None, boot_diagnostics=None, computer_name_prefix=None, custom_data=None, data_disks=None, do_not_run_extensions_on_overprovisioned_machines=None, enable_automatic_updates=None, eviction_policy=None, health_probe_id=None, identity=None, instances=None, license_type=None, location=None, max_bid_price=None, name=None, network_interfaces=None, os_disk=None, overprovision=None, plan=None, priority=None, provision_vm_agent=None, proximity_placement_group_id=None, resource_group_name=None, rolling_upgrade_policy=None, scale_in_policy=None, secrets=None, single_placement_group=None, sku=None, source_image_id=None, source_image_reference=None, tags=None, terminate_notification=None, timezone=None, upgrade_mode=None, winrm_listeners=None, zone_balance=None, zones=None, __props__=None);func NewWindowsVirtualMachineScaleSet(ctx *Context, name string, args WindowsVirtualMachineScaleSetArgs, opts ...ResourceOption) (*WindowsVirtualMachineScaleSet, error)public WindowsVirtualMachineScaleSet(string name, WindowsVirtualMachineScaleSetArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args WindowsVirtualMachineScaleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WindowsVirtualMachineScaleSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WindowsVirtualMachineScaleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WindowsVirtualMachineScaleSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WindowsVirtualMachineScaleSet resource accepts the following input properties:
- Admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- Admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- Instances int
The number of Virtual Machines in the Scale Set.
- Network
Interfaces List<WindowsVirtual Machine Scale Set Network Interface Args> One or more
network_interfaceblocks as defined below.- Os
Disk WindowsVirtual Machine Scale Set Os Disk Args An
os_diskblock as defined below.- Resource
Group stringName 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.
- Sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- Additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities Args A
additional_capabilitiesblock as defined below.- Additional
Unattend List<WindowsContents Virtual Machine Scale Set Additional Unattend Content Args> One or more
additional_unattend_contentblocks as defined below.- Automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair Args A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- Automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy Args A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- Boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics Args A
boot_diagnosticsblock as defined below.- Computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- Data
Disks List<WindowsVirtual Machine Scale Set Data Disk Args> One or more
data_diskblocks as defined below.- Do
Not boolRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- Enable
Automatic boolUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- Eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- Health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- Identity
Windows
Virtual Machine Scale Set Identity Args A
identityblock as defined below.- License
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- Location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- Max
Bid doublePrice 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.- Name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- Overprovision bool
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
false.- Plan
Windows
Virtual Machine Scale Set Plan Args - Priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- Provision
Vm boolAgent 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.- Proximity
Placement stringGroup Id 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.
- Rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy Args A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- Scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- Secrets
List<Windows
Virtual Machine Scale Set Secret Args> One or more
secretblocks as defined below.- Single
Placement boolGroup 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
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- Source
Image WindowsReference Virtual Machine Scale Set Source Image Reference Args A
source_image_referenceblock as defined below.- Dictionary<string, string>
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- Terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification Args A
terminate_notificationblock as defined below.- Timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- Upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- Winrm
Listeners List<WindowsVirtual Machine Scale Set Winrm Listener Args> One or more
winrm_listenerblocks as defined below.- Zone
Balance bool 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.- Zones List<string>
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- Admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- Admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- Instances int
The number of Virtual Machines in the Scale Set.
- Network
Interfaces []WindowsVirtual Machine Scale Set Network Interface One or more
network_interfaceblocks as defined below.- Os
Disk WindowsVirtual Machine Scale Set Os Disk An
os_diskblock as defined below.- Resource
Group stringName 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.
- Sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- Additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities A
additional_capabilitiesblock as defined below.- Additional
Unattend []WindowsContents Virtual Machine Scale Set Additional Unattend Content One or more
additional_unattend_contentblocks as defined below.- Automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- Automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- Boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics A
boot_diagnosticsblock as defined below.- Computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- Data
Disks []WindowsVirtual Machine Scale Set Data Disk One or more
data_diskblocks as defined below.- Do
Not boolRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- Enable
Automatic boolUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- Eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- Health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- Identity
Windows
Virtual Machine Scale Set Identity A
identityblock as defined below.- License
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- Location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- Max
Bid float64Price 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.- Name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- Overprovision bool
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
false.- Plan
Windows
Virtual Machine Scale Set Plan - Priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- Provision
Vm boolAgent 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.- Proximity
Placement stringGroup Id 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.
- Rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- Scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- Secrets
[]Windows
Virtual Machine Scale Set Secret One or more
secretblocks as defined below.- Single
Placement boolGroup 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
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- Source
Image WindowsReference Virtual Machine Scale Set Source Image Reference A
source_image_referenceblock as defined below.- map[string]string
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- Terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification A
terminate_notificationblock as defined below.- Timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- Upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- Winrm
Listeners []WindowsVirtual Machine Scale Set Winrm Listener One or more
winrm_listenerblocks as defined below.- Zone
Balance bool 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.- Zones []string
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- instances number
The number of Virtual Machines in the Scale Set.
- network
Interfaces WindowsVirtual Machine Scale Set Network Interface[] One or more
network_interfaceblocks as defined below.- os
Disk WindowsVirtual Machine Scale Set Os Disk An
os_diskblock as defined below.- resource
Group stringName 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.
- sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities A
additional_capabilitiesblock as defined below.- additional
Unattend WindowsContents Virtual Machine Scale Set Additional Unattend Content[] One or more
additional_unattend_contentblocks as defined below.- automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics A
boot_diagnosticsblock as defined below.- computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- data
Disks WindowsVirtual Machine Scale Set Data Disk[] One or more
data_diskblocks as defined below.- do
Not booleanRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- enable
Automatic booleanUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- identity
Windows
Virtual Machine Scale Set Identity A
identityblock as defined below.- license
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- max
Bid numberPrice 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.- name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- overprovision boolean
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
false.- plan
Windows
Virtual Machine Scale Set Plan - priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- provision
Vm booleanAgent 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.- proximity
Placement stringGroup Id 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.
- rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- secrets
Windows
Virtual Machine Scale Set Secret[] One or more
secretblocks as defined below.- single
Placement booleanGroup 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
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- source
Image WindowsReference Virtual Machine Scale Set Source Image Reference A
source_image_referenceblock as defined below.- {[key: string]: string}
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification A
terminate_notificationblock as defined below.- timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- winrm
Listeners WindowsVirtual Machine Scale Set Winrm Listener[] One or more
winrm_listenerblocks as defined below.- zone
Balance boolean 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.- zones string[]
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- admin_
password str The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- admin_
username str The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- instances float
The number of Virtual Machines in the Scale Set.
- network_
interfaces List[WindowsVirtual Machine Scale Set Network Interface] One or more
network_interfaceblocks as defined below.- os_
disk Dict[WindowsVirtual Machine Scale Set Os Disk] An
os_diskblock as defined below.- resource_
group_ strname 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.
- sku str
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- additional_
capabilities Dict[WindowsVirtual Machine Scale Set Additional Capabilities] A
additional_capabilitiesblock as defined below.- additional_
unattend_ List[Windowscontents Virtual Machine Scale Set Additional Unattend Content] One or more
additional_unattend_contentblocks as defined below.- automatic_
instance_ Dict[Windowsrepair Virtual Machine Scale Set Automatic Instance Repair] A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- automatic_
os_ Dict[Windowsupgrade_ policy Virtual Machine Scale Set Automatic Os Upgrade Policy] A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- boot_
diagnostics Dict[WindowsVirtual Machine Scale Set Boot Diagnostics] A
boot_diagnosticsblock as defined below.- computer_
name_ strprefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- custom_
data str The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- data_
disks List[WindowsVirtual Machine Scale Set Data Disk] One or more
data_diskblocks as defined below.- do_
not_ boolrun_ extensions_ on_ overprovisioned_ machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- enable_
automatic_ boolupdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- eviction_
policy str The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- health_
probe_ strid The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- identity
Dict[Windows
Virtual Machine Scale Set Identity] A
identityblock as defined below.- license_
type str 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_ClientandWindows_Server. Changing this forces a new resource to be created.- location str
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- max_
bid_ floatprice 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.- name str
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- overprovision bool
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
false.- plan
Dict[Windows
Virtual Machine Scale Set Plan] - priority str
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- provision_
vm_ boolagent 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.- proximity_
placement_ strgroup_ id 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.
- rolling_
upgrade_ Dict[Windowspolicy Virtual Machine Scale Set Rolling Upgrade Policy] A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- scale_
in_ strpolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- secrets
List[Windows
Virtual Machine Scale Set Secret] One or more
secretblocks as defined below.- single_
placement_ boolgroup 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_
image_ strid The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- source_
image_ Dict[Windowsreference Virtual Machine Scale Set Source Image Reference] A
source_image_referenceblock as defined below.- Dict[str, str]
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- terminate_
notification Dict[WindowsVirtual Machine Scale Set Terminate Notification] A
terminate_notificationblock as defined below.- timezone str
Specifies the time zone of the virtual machine, the possible values are defined here.
- upgrade_
mode str Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- winrm_
listeners List[WindowsVirtual Machine Scale Set Winrm Listener] One or more
winrm_listenerblocks as defined below.- zone_
balance bool 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.- zones List[str]
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the WindowsVirtualMachineScaleSet resource produces the following output properties:
Look up an Existing WindowsVirtualMachineScaleSet Resource
Get an existing WindowsVirtualMachineScaleSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WindowsVirtualMachineScaleSetState, opts?: CustomResourceOptions): WindowsVirtualMachineScaleSetstatic get(resource_name, id, opts=None, additional_capabilities=None, additional_unattend_contents=None, admin_password=None, admin_username=None, automatic_instance_repair=None, automatic_os_upgrade_policy=None, boot_diagnostics=None, computer_name_prefix=None, custom_data=None, data_disks=None, do_not_run_extensions_on_overprovisioned_machines=None, enable_automatic_updates=None, eviction_policy=None, health_probe_id=None, identity=None, instances=None, license_type=None, location=None, max_bid_price=None, name=None, network_interfaces=None, os_disk=None, overprovision=None, plan=None, priority=None, provision_vm_agent=None, proximity_placement_group_id=None, resource_group_name=None, rolling_upgrade_policy=None, scale_in_policy=None, secrets=None, single_placement_group=None, sku=None, source_image_id=None, source_image_reference=None, tags=None, terminate_notification=None, timezone=None, unique_id=None, upgrade_mode=None, winrm_listeners=None, zone_balance=None, zones=None, __props__=None);func GetWindowsVirtualMachineScaleSet(ctx *Context, name string, id IDInput, state *WindowsVirtualMachineScaleSetState, opts ...ResourceOption) (*WindowsVirtualMachineScaleSet, error)public static WindowsVirtualMachineScaleSet Get(string name, Input<string> id, WindowsVirtualMachineScaleSetState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities Args A
additional_capabilitiesblock as defined below.- Additional
Unattend List<WindowsContents Virtual Machine Scale Set Additional Unattend Content Args> One or more
additional_unattend_contentblocks as defined below.- Admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- Admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- Automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair Args A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- Automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy Args A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- Boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics Args A
boot_diagnosticsblock as defined below.- Computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- Data
Disks List<WindowsVirtual Machine Scale Set Data Disk Args> One or more
data_diskblocks as defined below.- Do
Not boolRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- Enable
Automatic boolUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- Eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- Health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- Identity
Windows
Virtual Machine Scale Set Identity Args A
identityblock as defined below.- Instances int
The number of Virtual Machines in the Scale Set.
- License
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- Location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- Max
Bid doublePrice 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.- Name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- Network
Interfaces List<WindowsVirtual Machine Scale Set Network Interface Args> One or more
network_interfaceblocks as defined below.- Os
Disk WindowsVirtual Machine Scale Set Os Disk Args An
os_diskblock as defined below.- Overprovision bool
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
false.- Plan
Windows
Virtual Machine Scale Set Plan Args - Priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- Provision
Vm boolAgent 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.- Proximity
Placement stringGroup Id 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.
- Resource
Group stringName 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.
- Rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy Args A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- Scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- Secrets
List<Windows
Virtual Machine Scale Set Secret Args> One or more
secretblocks as defined below.- Single
Placement boolGroup 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.- Sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- Source
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- Source
Image WindowsReference Virtual Machine Scale Set Source Image Reference Args A
source_image_referenceblock as defined below.- Dictionary<string, string>
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- Terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification Args A
terminate_notificationblock as defined below.- Timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- Unique
Id string The Unique ID for this Windows Virtual Machine Scale Set.
- Upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- Winrm
Listeners List<WindowsVirtual Machine Scale Set Winrm Listener Args> One or more
winrm_listenerblocks as defined below.- Zone
Balance bool 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.- Zones List<string>
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- Additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities A
additional_capabilitiesblock as defined below.- Additional
Unattend []WindowsContents Virtual Machine Scale Set Additional Unattend Content One or more
additional_unattend_contentblocks as defined below.- Admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- Admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- Automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- Automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- Boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics A
boot_diagnosticsblock as defined below.- Computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- Data
Disks []WindowsVirtual Machine Scale Set Data Disk One or more
data_diskblocks as defined below.- Do
Not boolRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- Enable
Automatic boolUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- Eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- Health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- Identity
Windows
Virtual Machine Scale Set Identity A
identityblock as defined below.- Instances int
The number of Virtual Machines in the Scale Set.
- License
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- Location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- Max
Bid float64Price 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.- Name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- Network
Interfaces []WindowsVirtual Machine Scale Set Network Interface One or more
network_interfaceblocks as defined below.- Os
Disk WindowsVirtual Machine Scale Set Os Disk An
os_diskblock as defined below.- Overprovision bool
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
false.- Plan
Windows
Virtual Machine Scale Set Plan - Priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- Provision
Vm boolAgent 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.- Proximity
Placement stringGroup Id 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.
- Resource
Group stringName 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.
- Rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- Scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- Secrets
[]Windows
Virtual Machine Scale Set Secret One or more
secretblocks as defined below.- Single
Placement boolGroup 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.- Sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- Source
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- Source
Image WindowsReference Virtual Machine Scale Set Source Image Reference A
source_image_referenceblock as defined below.- map[string]string
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- Terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification A
terminate_notificationblock as defined below.- Timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- Unique
Id string The Unique ID for this Windows Virtual Machine Scale Set.
- Upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- Winrm
Listeners []WindowsVirtual Machine Scale Set Winrm Listener One or more
winrm_listenerblocks as defined below.- Zone
Balance bool 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.- Zones []string
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- additional
Capabilities WindowsVirtual Machine Scale Set Additional Capabilities A
additional_capabilitiesblock as defined below.- additional
Unattend WindowsContents Virtual Machine Scale Set Additional Unattend Content[] One or more
additional_unattend_contentblocks as defined below.- admin
Password string The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- admin
Username string The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- automatic
Instance WindowsRepair Virtual Machine Scale Set Automatic Instance Repair A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- automatic
Os WindowsUpgrade Policy Virtual Machine Scale Set Automatic Os Upgrade Policy A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- boot
Diagnostics WindowsVirtual Machine Scale Set Boot Diagnostics A
boot_diagnosticsblock as defined below.- computer
Name stringPrefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- data
Disks WindowsVirtual Machine Scale Set Data Disk[] One or more
data_diskblocks as defined below.- do
Not booleanRun Extensions On Overprovisioned Machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- enable
Automatic booleanUpdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- eviction
Policy string The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- health
Probe stringId The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- identity
Windows
Virtual Machine Scale Set Identity A
identityblock as defined below.- instances number
The number of Virtual Machines in the Scale Set.
- license
Type string 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_ClientandWindows_Server. Changing this forces a new resource to be created.- location string
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- max
Bid numberPrice 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.- name string
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- network
Interfaces WindowsVirtual Machine Scale Set Network Interface[] One or more
network_interfaceblocks as defined below.- os
Disk WindowsVirtual Machine Scale Set Os Disk An
os_diskblock as defined below.- overprovision boolean
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
false.- plan
Windows
Virtual Machine Scale Set Plan - priority string
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- provision
Vm booleanAgent 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.- proximity
Placement stringGroup Id 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.
- resource
Group stringName 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.
- rolling
Upgrade WindowsPolicy Virtual Machine Scale Set Rolling Upgrade Policy A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- scale
In stringPolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- secrets
Windows
Virtual Machine Scale Set Secret[] One or more
secretblocks as defined below.- single
Placement booleanGroup 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.- sku string
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- source
Image stringId The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- source
Image WindowsReference Virtual Machine Scale Set Source Image Reference A
source_image_referenceblock as defined below.- {[key: string]: string}
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- terminate
Notification WindowsVirtual Machine Scale Set Terminate Notification A
terminate_notificationblock as defined below.- timezone string
Specifies the time zone of the virtual machine, the possible values are defined here.
- unique
Id string The Unique ID for this Windows Virtual Machine Scale Set.
- upgrade
Mode string Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- winrm
Listeners WindowsVirtual Machine Scale Set Winrm Listener[] One or more
winrm_listenerblocks as defined below.- zone
Balance boolean 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.- zones string[]
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
- additional_
capabilities Dict[WindowsVirtual Machine Scale Set Additional Capabilities] A
additional_capabilitiesblock as defined below.- additional_
unattend_ List[Windowscontents Virtual Machine Scale Set Additional Unattend Content] One or more
additional_unattend_contentblocks as defined below.- admin_
password str The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
- admin_
username str The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
- automatic_
instance_ Dict[Windowsrepair Virtual Machine Scale Set Automatic Instance Repair] A
automatic_instance_repairblock as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a validhealth_probe_idor an Application Health Extension.- automatic_
os_ Dict[Windowsupgrade_ policy Virtual Machine Scale Set Automatic Os Upgrade Policy] A
automatic_os_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomatic.- boot_
diagnostics Dict[WindowsVirtual Machine Scale Set Boot Diagnostics] A
boot_diagnosticsblock as defined below.- computer_
name_ strprefix 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
namefield. If the value of thenamefield is not a validcomputer_name_prefix, then you must specifycomputer_name_prefix.- custom_
data str The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
- data_
disks List[WindowsVirtual Machine Scale Set Data Disk] One or more
data_diskblocks as defined below.- do_
not_ boolrun_ extensions_ on_ overprovisioned_ machines Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to
false.- enable_
automatic_ boolupdates Are automatic updates enabled for this Virtual Machine? Defaults to
true.- eviction_
policy str The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
- health_
probe_ strid The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when
upgrade_modeis set toAutomaticorRolling.- identity
Dict[Windows
Virtual Machine Scale Set Identity] A
identityblock as defined below.- instances float
The number of Virtual Machines in the Scale Set.
- license_
type str 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_ClientandWindows_Server. Changing this forces a new resource to be created.- location str
The Azure location where the Windows Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
- max_
bid_ floatprice 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.- name str
The name of the Windows Virtual Machine Scale Set. Changing this forces a new resource to be created.
- network_
interfaces List[WindowsVirtual Machine Scale Set Network Interface] One or more
network_interfaceblocks as defined below.- os_
disk Dict[WindowsVirtual Machine Scale Set Os Disk] An
os_diskblock as defined below.- overprovision bool
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
false.- plan
Dict[Windows
Virtual Machine Scale Set Plan] - priority str
The Priority of this Virtual Machine Scale Set. Possible values are
RegularandSpot. Defaults toRegular. Changing this value forces a new resource.- provision_
vm_ boolagent 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.- proximity_
placement_ strgroup_ id 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.
- resource_
group_ strname 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.
- rolling_
upgrade_ Dict[Windowspolicy Virtual Machine Scale Set Rolling Upgrade Policy] A
rolling_upgrade_policyblock as defined below. This is Required and can only be specified whenupgrade_modeis set toAutomaticorRolling.- scale_
in_ strpolicy The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are
Default,NewestVMandOldestVM, defaults toDefault. For more information about scale in policy, please refer to this doc.- secrets
List[Windows
Virtual Machine Scale Set Secret] One or more
secretblocks as defined below.- single_
placement_ boolgroup 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.- sku str
The Virtual Machine SKU for the Scale Set, such as
Standard_F2.- source_
image_ strid The ID of an Image which each Virtual Machine in this Scale Set should be based on.
- source_
image_ Dict[Windowsreference Virtual Machine Scale Set Source Image Reference] A
source_image_referenceblock as defined below.- Dict[str, str]
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
- terminate_
notification Dict[WindowsVirtual Machine Scale Set Terminate Notification] A
terminate_notificationblock as defined below.- timezone str
Specifies the time zone of the virtual machine, the possible values are defined here.
- unique_
id str The Unique ID for this Windows Virtual Machine Scale Set.
- upgrade_
mode str Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are
Automatic,ManualandRolling. Defaults toManual.- winrm_
listeners List[WindowsVirtual Machine Scale Set Winrm Listener] One or more
winrm_listenerblocks as defined below.- zone_
balance bool 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.- zones List[str]
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
Supporting Types
WindowsVirtualMachineScaleSetAdditionalCapabilities
- Ultra
Ssd boolEnabled Should the capacity to enable Data Disks of the
UltraSSD_LRSstorage account type be supported on this Virtual Machine Scale Set? Defaults tofalse. Changing this forces a new resource to be created.
- Ultra
Ssd boolEnabled Should the capacity to enable Data Disks of the
UltraSSD_LRSstorage account type be supported on this Virtual Machine Scale Set? Defaults tofalse. Changing this forces a new resource to be created.
- ultra
Ssd booleanEnabled Should the capacity to enable Data Disks of the
UltraSSD_LRSstorage account type be supported on this Virtual Machine Scale Set? Defaults tofalse. Changing this forces a new resource to be created.
- ultra
Ssd boolEnabled Should the capacity to enable Data Disks of the
UltraSSD_LRSstorage account type be supported on this Virtual Machine Scale Set? Defaults tofalse. Changing this forces a new resource to be created.
WindowsVirtualMachineScaleSetAdditionalUnattendContent
- Content string
The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
- Setting string
The name of the setting to which the content applies. Possible values are
AutoLogonandFirstLogonCommands. Changing this forces a new resource to be created.
- Content string
The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
- Setting string
The name of the setting to which the content applies. Possible values are
AutoLogonandFirstLogonCommands. Changing this forces a new resource to be created.
- content string
The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
- setting string
The name of the setting to which the content applies. Possible values are
AutoLogonandFirstLogonCommands. Changing this forces a new resource to be created.
- content str
The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
- setting str
The name of the setting to which the content applies. Possible values are
AutoLogonandFirstLogonCommands. Changing this forces a new resource to be created.
WindowsVirtualMachineScaleSetAutomaticInstanceRepair
- Enabled bool
Should the automatic instance repair be enabled on this Virtual Machine Scale Set?
- Grace
Period string Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. The time duration should be specified in ISO 8601 format.
- Enabled bool
Should the automatic instance repair be enabled on this Virtual Machine Scale Set?
- Grace
Period string Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. The time duration should be specified in ISO 8601 format.
- enabled boolean
Should the automatic instance repair be enabled on this Virtual Machine Scale Set?
- grace
Period string Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. The time duration should be specified in ISO 8601 format.
- enabled bool
Should the automatic instance repair be enabled on this Virtual Machine Scale Set?
- grace
Period str Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. The time duration should be specified in ISO 8601 format.
WindowsVirtualMachineScaleSetAutomaticOsUpgradePolicy
- Disable
Automatic boolRollback Should automatic rollbacks be disabled? Changing this forces a new resource to be created.
- Enable
Automatic boolOs Upgrade Should OS Upgrades automatically be applied to Scale Set instances in a rolling fashion when a newer version of the OS Image becomes available? Changing this forces a new resource to be created.
- Disable
Automatic boolRollback Should automatic rollbacks be disabled? Changing this forces a new resource to be created.
- Enable
Automatic boolOs Upgrade Should OS Upgrades automatically be applied to Scale Set instances in a rolling fashion when a newer version of the OS Image becomes available? Changing this forces a new resource to be created.
- disable
Automatic booleanRollback Should automatic rollbacks be disabled? Changing this forces a new resource to be created.
- enable
Automatic booleanOs Upgrade Should OS Upgrades automatically be applied to Scale Set instances in a rolling fashion when a newer version of the OS Image becomes available? Changing this forces a new resource to be created.
- disable
Automatic boolRollback Should automatic rollbacks be disabled? Changing this forces a new resource to be created.
- enable
Automatic boolOs Upgrade Should OS Upgrades automatically be applied to Scale Set instances in a rolling fashion when a newer version of the OS Image becomes available? Changing this forces a new resource to be created.
WindowsVirtualMachineScaleSetBootDiagnostics
- Storage
Account stringUri The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
- Storage
Account stringUri The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
- storage
Account stringUri The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
- storage
Account strUri The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
WindowsVirtualMachineScaleSetDataDisk
- Caching string
The type of Caching which should be used for this Data Disk. Possible values are
None,ReadOnlyandReadWrite.- Disk
Size intGb The size of the Data Disk which should be created.
- Lun int
The Logical Unit Number of the Data Disk, which must be unique within the Virtual Machine.
- Storage
Account stringType The Type of Storage Account which should back this Data Disk. Possible values include
Standard_LRS,StandardSSD_LRS,Premium_LRSandUltraSSD_LRS.- Create
Option string The create option which should be used for this Data Disk. Possible values are
EmptyandFromImage. Defaults toEmpty. (FromImageshould only be used if the source image includes data disks).- Disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this Data Disk.
- Write
Accelerator boolEnabled Should Write Accelerator be enabled for this Data Disk? Defaults to
false.
- Caching string
The type of Caching which should be used for this Data Disk. Possible values are
None,ReadOnlyandReadWrite.- Disk
Size intGb The size of the Data Disk which should be created.
- Lun int
The Logical Unit Number of the Data Disk, which must be unique within the Virtual Machine.
- Storage
Account stringType The Type of Storage Account which should back this Data Disk. Possible values include
Standard_LRS,StandardSSD_LRS,Premium_LRSandUltraSSD_LRS.- Create
Option string The create option which should be used for this Data Disk. Possible values are
EmptyandFromImage. Defaults toEmpty. (FromImageshould only be used if the source image includes data disks).- Disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this Data Disk.
- Write
Accelerator boolEnabled Should Write Accelerator be enabled for this Data Disk? Defaults to
false.
- caching string
The type of Caching which should be used for this Data Disk. Possible values are
None,ReadOnlyandReadWrite.- disk
Size numberGb The size of the Data Disk which should be created.
- lun number
The Logical Unit Number of the Data Disk, which must be unique within the Virtual Machine.
- storage
Account stringType The Type of Storage Account which should back this Data Disk. Possible values include
Standard_LRS,StandardSSD_LRS,Premium_LRSandUltraSSD_LRS.- create
Option string The create option which should be used for this Data Disk. Possible values are
EmptyandFromImage. Defaults toEmpty. (FromImageshould only be used if the source image includes data disks).- disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this Data Disk.
- write
Accelerator booleanEnabled Should Write Accelerator be enabled for this Data Disk? Defaults to
false.
- caching str
The type of Caching which should be used for this Data Disk. Possible values are
None,ReadOnlyandReadWrite.- disk_
size_ floatgb The size of the Data Disk which should be created.
- lun float
The Logical Unit Number of the Data Disk, which must be unique within the Virtual Machine.
- storage_
account_ strtype The Type of Storage Account which should back this Data Disk. Possible values include
Standard_LRS,StandardSSD_LRS,Premium_LRSandUltraSSD_LRS.- create_
option str The create option which should be used for this Data Disk. Possible values are
EmptyandFromImage. Defaults toEmpty. (FromImageshould only be used if the source image includes data disks).- disk_
encryption_ strset_ id The ID of the Disk Encryption Set which should be used to encrypt this Data Disk.
- write_
accelerator_ boolenabled Should Write Accelerator be enabled for this Data Disk? Defaults to
false.
WindowsVirtualMachineScaleSetIdentity
- Type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine Scale Set. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned.- Identity
Ids List<string> A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine Scale Set.
- Principal
Id string The ID of the System Managed Service Principal.
- Type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine Scale Set. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned.- Identity
Ids []string A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine Scale Set.
- Principal
Id string The ID of the System Managed Service Principal.
- type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine Scale Set. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned.- identity
Ids string[] A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine Scale Set.
- principal
Id string The ID of the System Managed Service Principal.
- type str
The type of Managed Identity which should be assigned to the Windows Virtual Machine Scale Set. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned.- identity
Ids List[str] A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine Scale Set.
- principal_
id str The ID of the System Managed Service Principal.
WindowsVirtualMachineScaleSetNetworkInterface
- Ip
Configurations List<WindowsVirtual Machine Scale Set Network Interface Ip Configuration Args> One or more
ip_configurationblocks as defined above.- Name string
The Name which should be used for this Network Interface. Changing this forces a new resource to be created.
- Dns
Servers List<string> A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
- Enable
Accelerated boolNetworking Does this Network Interface support Accelerated Networking? Defaults to
false.- Enable
Ip boolForwarding Does this Network Interface support IP Forwarding? Defaults to
false.- Network
Security stringGroup Id The ID of a Network Security Group which should be assigned to this Network Interface.
- Primary bool
Is this the Primary IP Configuration?
- Ip
Configurations []WindowsVirtual Machine Scale Set Network Interface Ip Configuration One or more
ip_configurationblocks as defined above.- Name string
The Name which should be used for this Network Interface. Changing this forces a new resource to be created.
- Dns
Servers []string A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
- Enable
Accelerated boolNetworking Does this Network Interface support Accelerated Networking? Defaults to
false.- Enable
Ip boolForwarding Does this Network Interface support IP Forwarding? Defaults to
false.- Network
Security stringGroup Id The ID of a Network Security Group which should be assigned to this Network Interface.
- Primary bool
Is this the Primary IP Configuration?
- ip
Configurations WindowsVirtual Machine Scale Set Network Interface Ip Configuration[] One or more
ip_configurationblocks as defined above.- name string
The Name which should be used for this Network Interface. Changing this forces a new resource to be created.
- dns
Servers string[] A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
- enable
Accelerated booleanNetworking Does this Network Interface support Accelerated Networking? Defaults to
false.- enable
Ip booleanForwarding Does this Network Interface support IP Forwarding? Defaults to
false.- network
Security stringGroup Id The ID of a Network Security Group which should be assigned to this Network Interface.
- primary boolean
Is this the Primary IP Configuration?
- ip_
configurations List[WindowsVirtual Machine Scale Set Network Interface Ip Configuration] One or more
ip_configurationblocks as defined above.- name str
The Name which should be used for this Network Interface. Changing this forces a new resource to be created.
- dns_
servers List[str] A list of IP Addresses of DNS Servers which should be assigned to the Network Interface.
- enable_
accelerated_ boolnetworking Does this Network Interface support Accelerated Networking? Defaults to
false.- enable_
ip_ boolforwarding Does this Network Interface support IP Forwarding? Defaults to
false.- network_
security_ strgroup_ id The ID of a Network Security Group which should be assigned to this Network Interface.
- primary bool
Is this the Primary IP Configuration?
WindowsVirtualMachineScaleSetNetworkInterfaceIpConfiguration
- Name string
The Name which should be used for this IP Configuration.
- Application
Gateway List<string>Backend Address Pool Ids A list of Backend Address Pools ID’s from a Application Gateway which this Virtual Machine Scale Set should be connected to.
- Application
Security List<string>Group Ids A list of Application Security Group ID’s which this Virtual Machine Scale Set should be connected to.
- Load
Balancer List<string>Backend Address Pool Ids A list of Backend Address Pools ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- Load
Balancer List<string>Inbound Nat Rules Ids A list of NAT Rule ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- Primary bool
Is this the Primary IP Configuration for this Network Interface? Defaults to
false.- Public
Ip List<WindowsAddresses Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address Args> A
public_ip_addressblock as defined below.- Subnet
Id string The ID of the Subnet which this IP Configuration should be connected to.
- Version string
The Internet Protocol Version which should be used for this IP Configuration. Possible values are
IPv4andIPv6. Defaults toIPv4.
- Name string
The Name which should be used for this IP Configuration.
- Application
Gateway []stringBackend Address Pool Ids A list of Backend Address Pools ID’s from a Application Gateway which this Virtual Machine Scale Set should be connected to.
- Application
Security []stringGroup Ids A list of Application Security Group ID’s which this Virtual Machine Scale Set should be connected to.
- Load
Balancer []stringBackend Address Pool Ids A list of Backend Address Pools ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- Load
Balancer []stringInbound Nat Rules Ids A list of NAT Rule ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- Primary bool
Is this the Primary IP Configuration for this Network Interface? Defaults to
false.- Public
Ip []WindowsAddresses Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address A
public_ip_addressblock as defined below.- Subnet
Id string The ID of the Subnet which this IP Configuration should be connected to.
- Version string
The Internet Protocol Version which should be used for this IP Configuration. Possible values are
IPv4andIPv6. Defaults toIPv4.
- name string
The Name which should be used for this IP Configuration.
- application
Gateway string[]Backend Address Pool Ids A list of Backend Address Pools ID’s from a Application Gateway which this Virtual Machine Scale Set should be connected to.
- application
Security string[]Group Ids A list of Application Security Group ID’s which this Virtual Machine Scale Set should be connected to.
- load
Balancer string[]Backend Address Pool Ids A list of Backend Address Pools ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- load
Balancer string[]Inbound Nat Rules Ids A list of NAT Rule ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- primary boolean
Is this the Primary IP Configuration for this Network Interface? Defaults to
false.- public
Ip WindowsAddresses Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address[] A
public_ip_addressblock as defined below.- subnet
Id string The ID of the Subnet which this IP Configuration should be connected to.
- version string
The Internet Protocol Version which should be used for this IP Configuration. Possible values are
IPv4andIPv6. Defaults toIPv4.
- name str
The Name which should be used for this IP Configuration.
- application
Gateway List[str]Backend Address Pool Ids A list of Backend Address Pools ID’s from a Application Gateway which this Virtual Machine Scale Set should be connected to.
- application
Security List[str]Group Ids A list of Application Security Group ID’s which this Virtual Machine Scale Set should be connected to.
- load
Balancer List[str]Backend Address Pool Ids A list of Backend Address Pools ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- load
Balancer List[str]Inbound Nat Rules Ids A list of NAT Rule ID’s from a Load Balancer which this Virtual Machine Scale Set should be connected to.
- primary bool
Is this the Primary IP Configuration for this Network Interface? Defaults to
false.- public_
ip_ List[Windowsaddresses Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address] A
public_ip_addressblock as defined below.- subnet_
id str The ID of the Subnet which this IP Configuration should be connected to.
- version str
The Internet Protocol Version which should be used for this IP Configuration. Possible values are
IPv4andIPv6. Defaults toIPv4.
WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress
- Name string
The Name of the Public IP Address Configuration.
- Domain
Name stringLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
- Idle
Timeout intIn Minutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range
4to32.-
List<Windows
Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address Ip Tag Args> One or more
ip_tagblocks as defined above.- Public
Ip stringPrefix Id The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
- Name string
The Name of the Public IP Address Configuration.
- Domain
Name stringLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
- Idle
Timeout intIn Minutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range
4to32.-
[]Windows
Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address Ip Tag One or more
ip_tagblocks as defined above.- Public
Ip stringPrefix Id The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
- name string
The Name of the Public IP Address Configuration.
- domain
Name stringLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
- idle
Timeout numberIn Minutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range
4to32.-
Windows
Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address Ip Tag[] One or more
ip_tagblocks as defined above.- public
Ip stringPrefix Id The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
- name str
The Name of the Public IP Address Configuration.
- domain_
name_ strlabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
- idle_
timeout_ floatin_ minutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range
4to32.-
List[Windows
Virtual Machine Scale Set Network Interface Ip Configuration Public Ip Address Ip Tag] One or more
ip_tagblocks as defined above.- public_
ip_ strprefix_ id The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag
WindowsVirtualMachineScaleSetOsDisk
- Caching string
The Type of Caching which should be used for the Internal OS Disk. Possible values are
None,ReadOnlyandReadWrite.- Storage
Account stringType The Type of Storage Account which should back this the Internal OS Disk. Possible values include
Standard_LRS,StandardSSD_LRSandPremium_LRS.- Diff
Disk WindowsSettings Virtual Machine Scale Set Os Disk Diff Disk Settings Args A
diff_disk_settingsblock as defined above. Changing this forces a new resource to be created.- Disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this OS Disk.
- Disk
Size intGb The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine Scale Set is sourced from.
- Write
Accelerator boolEnabled Should Write Accelerator be Enabled for this OS Disk? Defaults to
false.
- Caching string
The Type of Caching which should be used for the Internal OS Disk. Possible values are
None,ReadOnlyandReadWrite.- Storage
Account stringType The Type of Storage Account which should back this the Internal OS Disk. Possible values include
Standard_LRS,StandardSSD_LRSandPremium_LRS.- Diff
Disk WindowsSettings Virtual Machine Scale Set Os Disk Diff Disk Settings A
diff_disk_settingsblock as defined above. Changing this forces a new resource to be created.- Disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this OS Disk.
- Disk
Size intGb The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine Scale Set is sourced from.
- Write
Accelerator boolEnabled Should Write Accelerator be Enabled for this OS Disk? Defaults to
false.
- caching string
The Type of Caching which should be used for the Internal OS Disk. Possible values are
None,ReadOnlyandReadWrite.- storage
Account stringType The Type of Storage Account which should back this the Internal OS Disk. Possible values include
Standard_LRS,StandardSSD_LRSandPremium_LRS.- diff
Disk WindowsSettings Virtual Machine Scale Set Os Disk Diff Disk Settings A
diff_disk_settingsblock as defined above. Changing this forces a new resource to be created.- disk
Encryption stringSet Id The ID of the Disk Encryption Set which should be used to encrypt this OS Disk.
- disk
Size numberGb The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine Scale Set is sourced from.
- write
Accelerator booleanEnabled Should Write Accelerator be Enabled for this OS Disk? Defaults to
false.
- caching str
The Type of Caching which should be used for the Internal OS Disk. Possible values are
None,ReadOnlyandReadWrite.- storage_
account_ strtype The Type of Storage Account which should back this the Internal OS Disk. Possible values include
Standard_LRS,StandardSSD_LRSandPremium_LRS.- diff
Disk Dict[WindowsSettings Virtual Machine Scale Set Os Disk Diff Disk Settings] A
diff_disk_settingsblock as defined above. Changing this forces a new resource to be created.- disk_
encryption_ strset_ id The ID of the Disk Encryption Set which should be used to encrypt this OS Disk.
- disk_
size_ floatgb The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine Scale Set is sourced from.
- write_
accelerator_ boolenabled Should Write Accelerator be Enabled for this OS Disk? Defaults to
false.
WindowsVirtualMachineScaleSetOsDiskDiffDiskSettings
WindowsVirtualMachineScaleSetPlan
WindowsVirtualMachineScaleSetRollingUpgradePolicy
- Max
Batch intInstance Percent The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. Changing this forces a new resource to be created.
- Max
Unhealthy intInstance Percent The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. Changing this forces a new resource to be created.
- Max
Unhealthy intUpgraded Instance Percent The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. Changing this forces a new resource to be created.
- Pause
Time stringBetween Batches The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. Changing this forces a new resource to be created.
- Max
Batch intInstance Percent The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. Changing this forces a new resource to be created.
- Max
Unhealthy intInstance Percent The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. Changing this forces a new resource to be created.
- Max
Unhealthy intUpgraded Instance Percent The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. Changing this forces a new resource to be created.
- Pause
Time stringBetween Batches The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. Changing this forces a new resource to be created.
- max
Batch numberInstance Percent The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. Changing this forces a new resource to be created.
- max
Unhealthy numberInstance Percent The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. Changing this forces a new resource to be created.
- max
Unhealthy numberUpgraded Instance Percent The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. Changing this forces a new resource to be created.
- pause
Time stringBetween Batches The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. Changing this forces a new resource to be created.
- max
Batch floatInstance Percent The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. Changing this forces a new resource to be created.
- max
Unhealthy floatInstance Percent The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. Changing this forces a new resource to be created.
- max
Unhealthy floatUpgraded Instance Percent The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. Changing this forces a new resource to be created.
- pause
Time strBetween Batches The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. Changing this forces a new resource to be created.
WindowsVirtualMachineScaleSetSecret
- Certificates
List<Windows
Virtual Machine Scale Set Secret Certificate Args> One or more
certificateblocks as defined above.- Key
Vault stringId The ID of the Key Vault from which all Secrets should be sourced.
- Certificates
[]Windows
Virtual Machine Scale Set Secret Certificate One or more
certificateblocks as defined above.- Key
Vault stringId The ID of the Key Vault from which all Secrets should be sourced.
- certificates
Windows
Virtual Machine Scale Set Secret Certificate[] One or more
certificateblocks as defined above.- key
Vault stringId The ID of the Key Vault from which all Secrets should be sourced.
- certificates
List[Windows
Virtual Machine Scale Set Secret Certificate] One or more
certificateblocks as defined above.- key_
vault_ strid The ID of the Key Vault from which all Secrets should be sourced.
WindowsVirtualMachineScaleSetSecretCertificate
WindowsVirtualMachineScaleSetSourceImageReference
- Offer string
Specifies the offer of the image used to create the virtual machines.
- Publisher string
Specifies the publisher of the image used to create the virtual machines.
- Sku string
Specifies the SKU of the image used to create the virtual machines.
- Version string
Specifies the version of the image used to create the virtual machines.
- Offer string
Specifies the offer of the image used to create the virtual machines.
- Publisher string
Specifies the publisher of the image used to create the virtual machines.
- Sku string
Specifies the SKU of the image used to create the virtual machines.
- Version string
Specifies the version of the image used to create the virtual machines.
- offer string
Specifies the offer of the image used to create the virtual machines.
- publisher string
Specifies the publisher of the image used to create the virtual machines.
- sku string
Specifies the SKU of the image used to create the virtual machines.
- version string
Specifies the version of the image used to create the virtual machines.
- offer str
Specifies the offer of the image used to create the virtual machines.
- publisher str
Specifies the publisher of the image used to create the virtual machines.
- sku str
Specifies the SKU of the image used to create the virtual machines.
- version str
Specifies the version of the image used to create the virtual machines.
WindowsVirtualMachineScaleSetTerminateNotification
- Enabled bool
Should the terminate notification be enabled on this Virtual Machine Scale Set? Defaults to
false.- Timeout string
Length of time (in minutes, between 5 and 15) a notification to be sent to the VM on the instance metadata server till the VM gets deleted. The time duration should be specified in ISO 8601 format.
- Enabled bool
Should the terminate notification be enabled on this Virtual Machine Scale Set? Defaults to
false.- Timeout string
Length of time (in minutes, between 5 and 15) a notification to be sent to the VM on the instance metadata server till the VM gets deleted. The time duration should be specified in ISO 8601 format.
- enabled boolean
Should the terminate notification be enabled on this Virtual Machine Scale Set? Defaults to
false.- timeout string
Length of time (in minutes, between 5 and 15) a notification to be sent to the VM on the instance metadata server till the VM gets deleted. The time duration should be specified in ISO 8601 format.
- enabled bool
Should the terminate notification be enabled on this Virtual Machine Scale Set? Defaults to
false.- timeout str
Length of time (in minutes, between 5 and 15) a notification to be sent to the VM on the instance metadata server till the VM gets deleted. The time duration should be specified in ISO 8601 format.
WindowsVirtualMachineScaleSetWinrmListener
- Protocol string
The Protocol of the WinRM Listener. Possible values are
HttpandHttps.- Certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- Protocol string
The Protocol of the WinRM Listener. Possible values are
HttpandHttps.- Certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- protocol string
The Protocol of the WinRM Listener. Possible values are
HttpandHttps.- certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- protocol str
The Protocol of the WinRM Listener. Possible values are
HttpandHttps.- certificate
Url str The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.