WindowsVirtualMachine
Manages a Windows Virtual Machine.
Disclaimers
Note This provider will automatically remove the OS Disk by default - 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.VirtualMachineresource instead.Note This resource does not support attaching existing OS Disks. You can instead capture an image of the OS Disk or continue to use the
azure.compute.VirtualMachineresource instead.In this release there’s a known issue where the
public_ip_addressandpublic_ip_addressesfields may not be fully populated for Dynamic Public IP’s.
Create a WindowsVirtualMachine Resource
new WindowsVirtualMachine(name: string, args: WindowsVirtualMachineArgs, opts?: CustomResourceOptions);def WindowsVirtualMachine(resource_name, opts=None, additional_capabilities=None, additional_unattend_contents=None, admin_password=None, admin_username=None, allow_extension_operations=None, availability_set_id=None, boot_diagnostics=None, computer_name=None, custom_data=None, dedicated_host_id=None, enable_automatic_updates=None, eviction_policy=None, identity=None, license_type=None, location=None, max_bid_price=None, name=None, network_interface_ids=None, os_disk=None, plan=None, priority=None, provision_vm_agent=None, proximity_placement_group_id=None, resource_group_name=None, secrets=None, size=None, source_image_id=None, source_image_reference=None, tags=None, timezone=None, virtual_machine_scale_set_id=None, winrm_listeners=None, zone=None, __props__=None);func NewWindowsVirtualMachine(ctx *Context, name string, args WindowsVirtualMachineArgs, opts ...ResourceOption) (*WindowsVirtualMachine, error)public WindowsVirtualMachine(string name, WindowsVirtualMachineArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args WindowsVirtualMachineArgs
- 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 WindowsVirtualMachineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WindowsVirtualMachineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WindowsVirtualMachine Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WindowsVirtualMachine 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- Network
Interface List<string>Ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- Os
Disk WindowsVirtual Machine Os Disk Args A
os_diskblock as defined below.- Resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- Size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- Additional
Capabilities WindowsVirtual Machine Additional Capabilities Args A
additional_capabilitiesblock as defined below.- Additional
Unattend List<WindowsContents Virtual Machine Additional Unattend Content Args> One or more
additional_unattend_contentblocks as defined below. Changing this forces a new resource to be created.- Allow
Extension boolOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- Availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- Boot
Diagnostics WindowsVirtual Machine Boot Diagnostics Args A
boot_diagnosticsblock as defined below.- Computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- Dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- Enable
Automatic boolUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- Eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- Identity
Windows
Virtual Machine Identity Args An
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. 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 should exist. Changing this forces a new resource to be created.
- Max
Bid doublePrice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- Name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- Plan
Windows
Virtual Machine Plan Args A
planblock as defined below. Changing this forces a new resource to be created.- Priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- Provision
Vm boolAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- Proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- Secrets
List<Windows
Virtual Machine Secret Args> One or more
secretblocks as defined below.- Source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Source
Image WindowsReference Virtual Machine Source Image Reference Args A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- Dictionary<string, string>
A mapping of tags which should be assigned to this Virtual Machine.
- Timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- Virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- Winrm
Listeners List<WindowsVirtual Machine Winrm Listener Args> One or more
winrm_listenerblocks as defined below.- Zone string
The Zone in which this Virtual Machine should be created. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- Network
Interface []stringIds . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- Os
Disk WindowsVirtual Machine Os Disk A
os_diskblock as defined below.- Resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- Size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- Additional
Capabilities WindowsVirtual Machine Additional Capabilities A
additional_capabilitiesblock as defined below.- Additional
Unattend []WindowsContents Virtual Machine Additional Unattend Content One or more
additional_unattend_contentblocks as defined below. Changing this forces a new resource to be created.- Allow
Extension boolOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- Availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- Boot
Diagnostics WindowsVirtual Machine Boot Diagnostics A
boot_diagnosticsblock as defined below.- Computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- Dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- Enable
Automatic boolUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- Eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- Identity
Windows
Virtual Machine Identity An
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. 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 should exist. Changing this forces a new resource to be created.
- Max
Bid float64Price The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- Name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- Plan
Windows
Virtual Machine Plan A
planblock as defined below. Changing this forces a new resource to be created.- Priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- Provision
Vm boolAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- Proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- Secrets
[]Windows
Virtual Machine Secret One or more
secretblocks as defined below.- Source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Source
Image WindowsReference Virtual Machine Source Image Reference A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- map[string]string
A mapping of tags which should be assigned to this Virtual Machine.
- Timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- Virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- Winrm
Listeners []WindowsVirtual Machine Winrm Listener One or more
winrm_listenerblocks as defined below.- Zone string
The Zone in which this Virtual Machine should be created. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- network
Interface string[]Ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- os
Disk WindowsVirtual Machine Os Disk A
os_diskblock as defined below.- resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- additional
Capabilities WindowsVirtual Machine Additional Capabilities A
additional_capabilitiesblock as defined below.- additional
Unattend WindowsContents Virtual Machine Additional Unattend Content[] One or more
additional_unattend_contentblocks as defined below. Changing this forces a new resource to be created.- allow
Extension booleanOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- boot
Diagnostics WindowsVirtual Machine Boot Diagnostics A
boot_diagnosticsblock as defined below.- computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- enable
Automatic booleanUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- identity
Windows
Virtual Machine Identity An
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. 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 should exist. Changing this forces a new resource to be created.
- max
Bid numberPrice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- plan
Windows
Virtual Machine Plan A
planblock as defined below. Changing this forces a new resource to be created.- priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- provision
Vm booleanAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- secrets
Windows
Virtual Machine Secret[] One or more
secretblocks as defined below.- source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- source
Image WindowsReference Virtual Machine Source Image Reference A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- {[key: string]: string}
A mapping of tags which should be assigned to this Virtual Machine.
- timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- winrm
Listeners WindowsVirtual Machine Winrm Listener[] One or more
winrm_listenerblocks as defined below.- zone string
The Zone in which this Virtual Machine should be created. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- network_
interface_ List[str]ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- os_
disk Dict[WindowsVirtual Machine Os Disk] A
os_diskblock as defined below.- resource_
group_ strname The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- size str
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- additional_
capabilities Dict[WindowsVirtual Machine Additional Capabilities] A
additional_capabilitiesblock as defined below.- additional_
unattend_ List[Windowscontents Virtual Machine Additional Unattend Content] One or more
additional_unattend_contentblocks as defined below. Changing this forces a new resource to be created.- allow_
extension_ booloperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- availability_
set_ strid Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- boot_
diagnostics Dict[WindowsVirtual Machine Boot Diagnostics] A
boot_diagnosticsblock as defined below.- computer_
name str Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- custom_
data str The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- dedicated_
host_ strid The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- enable_
automatic_ boolupdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- eviction_
policy str Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- identity
Dict[Windows
Virtual Machine Identity] An
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. 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 should exist. Changing this forces a new resource to be created.
- max_
bid_ floatprice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- name str
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- plan
Dict[Windows
Virtual Machine Plan] A
planblock as defined below. Changing this forces a new resource to be created.- priority str
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- provision_
vm_ boolagent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- proximity_
placement_ strgroup_ id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- secrets
List[Windows
Virtual Machine Secret] One or more
secretblocks as defined below.- source_
image_ strid The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- source_
image_ Dict[Windowsreference Virtual Machine Source Image Reference] A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- Dict[str, str]
A mapping of tags which should be assigned to this Virtual Machine.
- timezone str
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- virtual_
machine_ strscale_ set_ id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- winrm_
listeners List[WindowsVirtual Machine Winrm Listener] One or more
winrm_listenerblocks as defined below.- zone str
The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the WindowsVirtualMachine resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- Private
Ip List<string>Addresses A list of Private IP Addresses assigned to this Virtual Machine.
- Public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- Public
Ip List<string>Addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- Virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- Private
Ip []stringAddresses A list of Private IP Addresses assigned to this Virtual Machine.
- Public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- Public
Ip []stringAddresses A list of the Public IP Addresses assigned to this Virtual Machine.
- Virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- private
Ip string[]Addresses A list of Private IP Addresses assigned to this Virtual Machine.
- public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- public
Ip string[]Addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
ip_ straddress The Primary Private IP Address assigned to this Virtual Machine.
- private_
ip_ List[str]addresses A list of Private IP Addresses assigned to this Virtual Machine.
- public_
ip_ straddress The Primary Public IP Address assigned to this Virtual Machine.
- public_
ip_ List[str]addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- virtual_
machine_ strid A 128-bit identifier which uniquely identifies this Virtual Machine.
Look up an Existing WindowsVirtualMachine Resource
Get an existing WindowsVirtualMachine 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?: WindowsVirtualMachineState, opts?: CustomResourceOptions): WindowsVirtualMachinestatic get(resource_name, id, opts=None, additional_capabilities=None, additional_unattend_contents=None, admin_password=None, admin_username=None, allow_extension_operations=None, availability_set_id=None, boot_diagnostics=None, computer_name=None, custom_data=None, dedicated_host_id=None, enable_automatic_updates=None, eviction_policy=None, identity=None, license_type=None, location=None, max_bid_price=None, name=None, network_interface_ids=None, os_disk=None, plan=None, priority=None, private_ip_address=None, private_ip_addresses=None, provision_vm_agent=None, proximity_placement_group_id=None, public_ip_address=None, public_ip_addresses=None, resource_group_name=None, secrets=None, size=None, source_image_id=None, source_image_reference=None, tags=None, timezone=None, virtual_machine_id=None, virtual_machine_scale_set_id=None, winrm_listeners=None, zone=None, __props__=None);func GetWindowsVirtualMachine(ctx *Context, name string, id IDInput, state *WindowsVirtualMachineState, opts ...ResourceOption) (*WindowsVirtualMachine, error)public static WindowsVirtualMachine Get(string name, Input<string> id, WindowsVirtualMachineState? 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 Additional Capabilities Args A
additional_capabilitiesblock as defined below.- Additional
Unattend List<WindowsContents Virtual Machine Additional Unattend Content Args> One or more
additional_unattend_contentblocks as defined below. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- Allow
Extension boolOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- Availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- Boot
Diagnostics WindowsVirtual Machine Boot Diagnostics Args A
boot_diagnosticsblock as defined below.- Computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- Dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- Enable
Automatic boolUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- Eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- Identity
Windows
Virtual Machine Identity Args An
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. 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 should exist. Changing this forces a new resource to be created.
- Max
Bid doublePrice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- Name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- Network
Interface List<string>Ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- Os
Disk WindowsVirtual Machine Os Disk Args A
os_diskblock as defined below.- Plan
Windows
Virtual Machine Plan Args A
planblock as defined below. Changing this forces a new resource to be created.- Priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- Private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- Private
Ip List<string>Addresses A list of Private IP Addresses assigned to this Virtual Machine.
- Provision
Vm boolAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- Proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- Public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- Public
Ip List<string>Addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- Resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- Secrets
List<Windows
Virtual Machine Secret Args> One or more
secretblocks as defined below.- Size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- Source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Source
Image WindowsReference Virtual Machine Source Image Reference Args A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- Dictionary<string, string>
A mapping of tags which should be assigned to this Virtual Machine.
- Timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- Virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- Virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- Winrm
Listeners List<WindowsVirtual Machine Winrm Listener Args> One or more
winrm_listenerblocks as defined below.- Zone string
The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
- Additional
Capabilities WindowsVirtual Machine Additional Capabilities A
additional_capabilitiesblock as defined below.- Additional
Unattend []WindowsContents Virtual Machine Additional Unattend Content One or more
additional_unattend_contentblocks as defined below. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- Allow
Extension boolOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- Availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- Boot
Diagnostics WindowsVirtual Machine Boot Diagnostics A
boot_diagnosticsblock as defined below.- Computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- Custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- Dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- Enable
Automatic boolUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- Eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- Identity
Windows
Virtual Machine Identity An
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. 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 should exist. Changing this forces a new resource to be created.
- Max
Bid float64Price The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- Name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- Network
Interface []stringIds . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- Os
Disk WindowsVirtual Machine Os Disk A
os_diskblock as defined below.- Plan
Windows
Virtual Machine Plan A
planblock as defined below. Changing this forces a new resource to be created.- Priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- Private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- Private
Ip []stringAddresses A list of Private IP Addresses assigned to this Virtual Machine.
- Provision
Vm boolAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- Proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- Public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- Public
Ip []stringAddresses A list of the Public IP Addresses assigned to this Virtual Machine.
- Resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- Secrets
[]Windows
Virtual Machine Secret One or more
secretblocks as defined below.- Size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- Source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Source
Image WindowsReference Virtual Machine Source Image Reference A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- map[string]string
A mapping of tags which should be assigned to this Virtual Machine.
- Timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- Virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- Virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- Winrm
Listeners []WindowsVirtual Machine Winrm Listener One or more
winrm_listenerblocks as defined below.- Zone string
The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
- additional
Capabilities WindowsVirtual Machine Additional Capabilities A
additional_capabilitiesblock as defined below.- additional
Unattend WindowsContents Virtual Machine Additional Unattend Content[] One or more
additional_unattend_contentblocks as defined below. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- allow
Extension booleanOperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- availability
Set stringId Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- boot
Diagnostics WindowsVirtual Machine Boot Diagnostics A
boot_diagnosticsblock as defined below.- computer
Name string Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- custom
Data string The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- dedicated
Host stringId The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- enable
Automatic booleanUpdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- eviction
Policy string Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- identity
Windows
Virtual Machine Identity An
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. 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 should exist. Changing this forces a new resource to be created.
- max
Bid numberPrice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- name string
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- network
Interface string[]Ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- os
Disk WindowsVirtual Machine Os Disk A
os_diskblock as defined below.- plan
Windows
Virtual Machine Plan A
planblock as defined below. Changing this forces a new resource to be created.- priority string
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- private
Ip stringAddress The Primary Private IP Address assigned to this Virtual Machine.
- private
Ip string[]Addresses A list of Private IP Addresses assigned to this Virtual Machine.
- provision
Vm booleanAgent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- proximity
Placement stringGroup Id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- public
Ip stringAddress The Primary Public IP Address assigned to this Virtual Machine.
- public
Ip string[]Addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- resource
Group stringName The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- secrets
Windows
Virtual Machine Secret[] One or more
secretblocks as defined below.- size string
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- source
Image stringId The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- source
Image WindowsReference Virtual Machine Source Image Reference A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- {[key: string]: string}
A mapping of tags which should be assigned to this Virtual Machine.
- timezone string
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- virtual
Machine stringId A 128-bit identifier which uniquely identifies this Virtual Machine.
- virtual
Machine stringScale Set Id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- winrm
Listeners WindowsVirtual Machine Winrm Listener[] One or more
winrm_listenerblocks as defined below.- zone string
The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
- additional_
capabilities Dict[WindowsVirtual Machine Additional Capabilities] A
additional_capabilitiesblock as defined below.- additional_
unattend_ List[Windowscontents Virtual Machine Additional Unattend Content] One or more
additional_unattend_contentblocks as defined below. 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 used for the Virtual Machine. Changing this forces a new resource to be created.
- allow_
extension_ booloperations Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.
- availability_
set_ strid Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
- boot_
diagnostics Dict[WindowsVirtual Machine Boot Diagnostics] A
boot_diagnosticsblock as defined below.- computer_
name str Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the
namefield. If the value of thenamefield is not a validcomputer_name, then you must specifycomputer_name. Changing this forces a new resource to be created.- custom_
data str The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
- dedicated_
host_ strid The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.
- enable_
automatic_ boolupdates Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
- eviction_
policy str Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is
Deallocate. Changing this forces a new resource to be created.- identity
Dict[Windows
Virtual Machine Identity] An
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. 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 should exist. Changing this forces a new resource to be created.
- max_
bid_ floatprice The maximum price you’re willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the
eviction_policy. Defaults to-1, which means that the Virtual Machine should not be evicted for price reasons.- name str
The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
- network_
interface_ List[str]ids . A list of Network Interface ID’s which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
- os_
disk Dict[WindowsVirtual Machine Os Disk] A
os_diskblock as defined below.- plan
Dict[Windows
Virtual Machine Plan] A
planblock as defined below. Changing this forces a new resource to be created.- priority str
Specifies the priority of this Virtual Machine. Possible values are
RegularandSpot. Defaults toRegular. Changing this forces a new resource to be created.- private_
ip_ straddress The Primary Private IP Address assigned to this Virtual Machine.
- private_
ip_ List[str]addresses A list of Private IP Addresses assigned to this Virtual Machine.
- provision_
vm_ boolagent Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to
true. Changing this forces a new resource to be created.- proximity_
placement_ strgroup_ id The ID of the Proximity Placement Group which the Virtual Machine should be assigned to. Changing this forces a new resource to be created.
- public_
ip_ straddress The Primary Public IP Address assigned to this Virtual Machine.
- public_
ip_ List[str]addresses A list of the Public IP Addresses assigned to this Virtual Machine.
- resource_
group_ strname The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
- secrets
List[Windows
Virtual Machine Secret] One or more
secretblocks as defined below.- size str
The SKU which should be used for this Virtual Machine, such as
Standard_F2.- source_
image_ strid The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
- source_
image_ Dict[Windowsreference Virtual Machine Source Image Reference] A
source_image_referenceblock as defined below. Changing this forces a new resource to be created.- Dict[str, str]
A mapping of tags which should be assigned to this Virtual Machine.
- timezone str
Specifies the Time Zone which should be used by the Virtual Machine, the possible values are defined here.
- virtual_
machine_ strid A 128-bit identifier which uniquely identifies this Virtual Machine.
- virtual_
machine_ strscale_ set_ id Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
- winrm_
listeners List[WindowsVirtual Machine Winrm Listener] One or more
winrm_listenerblocks as defined below.- zone str
The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
Supporting Types
WindowsVirtualMachineAdditionalCapabilities
- Ultra
Ssd boolEnabled Should the capacity to enable Data Disks of the
UltraSSD_LRSstorage account type be supported on this Virtual Machine? 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? 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? 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? Defaults tofalse. Changing this forces a new resource to be created.
WindowsVirtualMachineAdditionalUnattendContent
- 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.
WindowsVirtualMachineBootDiagnostics
- 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.
WindowsVirtualMachineIdentity
- Type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine. 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.
- Principal
Id string The ID of the System Managed Service Principal.
- Tenant
Id string The ID of the Tenant the System Managed Service Principal is assigned in.
- Type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine. 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.
- Principal
Id string The ID of the System Managed Service Principal.
- Tenant
Id string The ID of the Tenant the System Managed Service Principal is assigned in.
- type string
The type of Managed Identity which should be assigned to the Windows Virtual Machine. 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.
- principal
Id string The ID of the System Managed Service Principal.
- tenant
Id string The ID of the Tenant the System Managed Service Principal is assigned in.
- type str
The type of Managed Identity which should be assigned to the Windows Virtual Machine. 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.
- principal_
id str The ID of the System Managed Service Principal.
- tenant_
id str The ID of the Tenant the System Managed Service Principal is assigned in.
WindowsVirtualMachineOsDisk
- 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 are
Standard_LRS,StandardSSD_LRSandPremium_LRS. Changing this forces a new resource to be created.- Diff
Disk WindowsSettings Virtual Machine Os Disk Diff Disk Settings Args A
diff_disk_settingsblock as defined above.- 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 is sourced from.
- Name string
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
- 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 are
Standard_LRS,StandardSSD_LRSandPremium_LRS. Changing this forces a new resource to be created.- Diff
Disk WindowsSettings Virtual Machine Os Disk Diff Disk Settings A
diff_disk_settingsblock as defined above.- 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 is sourced from.
- Name string
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
- 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 are
Standard_LRS,StandardSSD_LRSandPremium_LRS. Changing this forces a new resource to be created.- diff
Disk WindowsSettings Virtual Machine Os Disk Diff Disk Settings A
diff_disk_settingsblock as defined above.- 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 is sourced from.
- name string
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
- 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 are
Standard_LRS,StandardSSD_LRSandPremium_LRS. Changing this forces a new resource to be created.- diff
Disk Dict[WindowsSettings Virtual Machine Os Disk Diff Disk Settings] A
diff_disk_settingsblock as defined above.- 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 is sourced from.
- name str
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
- write_
accelerator_ boolenabled Should Write Accelerator be Enabled for this OS Disk? Defaults to
false.
WindowsVirtualMachineOsDiskDiffDiskSettings
WindowsVirtualMachinePlan
- Name string
Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Product string
Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Product string
Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- name string
Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- product string
Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- name str
Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- product str
Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- publisher str
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
WindowsVirtualMachineSecret
- Certificates
List<Windows
Virtual Machine 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 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 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 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.
WindowsVirtualMachineSecretCertificate
WindowsVirtualMachineSourceImageReference
- Offer string
(Optional) Specifies the offer of the image used to create the virtual machines.
- Publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Sku string
(Optional) Specifies the SKU of the image used to create the virtual machines.
- Version string
(Optional) Specifies the version of the image used to create the virtual machines.
- Offer string
(Optional) Specifies the offer of the image used to create the virtual machines.
- Publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- Sku string
(Optional) Specifies the SKU of the image used to create the virtual machines.
- Version string
(Optional) Specifies the version of the image used to create the virtual machines.
- offer string
(Optional) Specifies the offer of the image used to create the virtual machines.
- publisher string
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- sku string
(Optional) Specifies the SKU of the image used to create the virtual machines.
- version string
(Optional) Specifies the version of the image used to create the virtual machines.
- offer str
(Optional) Specifies the offer of the image used to create the virtual machines.
- publisher str
Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
- sku str
(Optional) Specifies the SKU of the image used to create the virtual machines.
- version str
(Optional) Specifies the version of the image used to create the virtual machines.
WindowsVirtualMachineWinrmListener
- Protocol string
- Certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- Protocol string
- Certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- protocol string
- certificate
Url string The Secret URL of a Key Vault Certificate, which must be specified when
protocolis set toHttps.
- protocol str
- 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.