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 features configuration 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.VirtualMachine resource 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.VirtualMachine resource instead.

In this release there’s a known issue where the public_ip_address and public_ip_addresses fields may not be fully populated for Dynamic Public IP’s.

Create a WindowsVirtualMachine Resource

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);
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:

AdminPassword string

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

AdminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

NetworkInterfaceIds List<string>

. 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.

OsDisk WindowsVirtualMachineOsDiskArgs

A os_disk block as defined below.

ResourceGroupName string

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.

AdditionalCapabilities WindowsVirtualMachineAdditionalCapabilitiesArgs

A additional_capabilities block as defined below.

AdditionalUnattendContents List<WindowsVirtualMachineAdditionalUnattendContentArgs>

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

AllowExtensionOperations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

AvailabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

BootDiagnostics WindowsVirtualMachineBootDiagnosticsArgs

A boot_diagnostics block as defined below.

ComputerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

CustomData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

DedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

EnableAutomaticUpdates bool

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

EvictionPolicy 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 WindowsVirtualMachineIdentityArgs

An identity block as defined below.

LicenseType 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_Client and Windows_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.

MaxBidPrice double

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 WindowsVirtualMachinePlanArgs

A plan block as defined below. Changing this forces a new resource to be created.

Priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

ProvisionVmAgent bool

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

ProximityPlacementGroupId string

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<WindowsVirtualMachineSecretArgs>

One or more secret blocks as defined below.

SourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

SourceImageReference WindowsVirtualMachineSourceImageReferenceArgs

A source_image_reference block as defined below. Changing this forces a new resource to be created.

Tags 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.

VirtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

WinrmListeners List<WindowsVirtualMachineWinrmListenerArgs>

One or more winrm_listener blocks as defined below.

Zone string

The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

AdminPassword string

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

AdminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

NetworkInterfaceIds []string

. 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.

OsDisk WindowsVirtualMachineOsDisk

A os_disk block as defined below.

ResourceGroupName string

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.

AdditionalCapabilities WindowsVirtualMachineAdditionalCapabilities

A additional_capabilities block as defined below.

AdditionalUnattendContents []WindowsVirtualMachineAdditionalUnattendContent

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

AllowExtensionOperations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

AvailabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

BootDiagnostics WindowsVirtualMachineBootDiagnostics

A boot_diagnostics block as defined below.

ComputerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

CustomData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

DedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

EnableAutomaticUpdates bool

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

EvictionPolicy 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 WindowsVirtualMachineIdentity

An identity block as defined below.

LicenseType 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_Client and Windows_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.

MaxBidPrice float64

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 WindowsVirtualMachinePlan

A plan block as defined below. Changing this forces a new resource to be created.

Priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

ProvisionVmAgent bool

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

ProximityPlacementGroupId string

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 []WindowsVirtualMachineSecret

One or more secret blocks as defined below.

SourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

SourceImageReference WindowsVirtualMachineSourceImageReference

A source_image_reference block as defined below. Changing this forces a new resource to be created.

Tags 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.

VirtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

WinrmListeners []WindowsVirtualMachineWinrmListener

One or more winrm_listener blocks as defined below.

Zone string

The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

adminPassword string

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

adminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

networkInterfaceIds string[]

. 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.

osDisk WindowsVirtualMachineOsDisk

A os_disk block as defined below.

resourceGroupName string

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.

additionalCapabilities WindowsVirtualMachineAdditionalCapabilities

A additional_capabilities block as defined below.

additionalUnattendContents WindowsVirtualMachineAdditionalUnattendContent[]

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

allowExtensionOperations boolean

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

availabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

bootDiagnostics WindowsVirtualMachineBootDiagnostics

A boot_diagnostics block as defined below.

computerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

customData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

dedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

enableAutomaticUpdates boolean

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

evictionPolicy 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 WindowsVirtualMachineIdentity

An identity block as defined below.

licenseType 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_Client and Windows_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.

maxBidPrice number

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 WindowsVirtualMachinePlan

A plan block as defined below. Changing this forces a new resource to be created.

priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

provisionVmAgent boolean

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

proximityPlacementGroupId string

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 WindowsVirtualMachineSecret[]

One or more secret blocks as defined below.

sourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

sourceImageReference WindowsVirtualMachineSourceImageReference

A source_image_reference block as defined below. Changing this forces a new resource to be created.

tags {[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.

virtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

winrmListeners WindowsVirtualMachineWinrmListener[]

One or more winrm_listener blocks 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_ids List[str]

. 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[WindowsVirtualMachineOsDisk]

A os_disk block as defined below.

resource_group_name str

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[WindowsVirtualMachineAdditionalCapabilities]

A additional_capabilities block as defined below.

additional_unattend_contents List[WindowsVirtualMachineAdditionalUnattendContent]

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

allow_extension_operations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

availability_set_id str

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[WindowsVirtualMachineBootDiagnostics]

A boot_diagnostics block 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 name field. If the value of the name field is not a valid computer_name, then you must specify computer_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_id str

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

enable_automatic_updates bool

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[WindowsVirtualMachineIdentity]

An identity block 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_Client and Windows_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_price float

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[WindowsVirtualMachinePlan]

A plan block as defined below. Changing this forces a new resource to be created.

priority str

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

provision_vm_agent bool

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_group_id str

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[WindowsVirtualMachineSecret]

One or more secret blocks as defined below.

source_image_id str

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

source_image_reference Dict[WindowsVirtualMachineSourceImageReference]

A source_image_reference block as defined below. Changing this forces a new resource to be created.

tags 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_scale_set_id str

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[WindowsVirtualMachineWinrmListener]

One or more winrm_listener blocks 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.
PrivateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

PrivateIpAddresses List<string>

A list of Private IP Addresses assigned to this Virtual Machine.

PublicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

PublicIpAddresses List<string>

A list of the Public IP Addresses assigned to this Virtual Machine.

VirtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

Id string
The provider-assigned unique ID for this managed resource.
PrivateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

PrivateIpAddresses []string

A list of Private IP Addresses assigned to this Virtual Machine.

PublicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

PublicIpAddresses []string

A list of the Public IP Addresses assigned to this Virtual Machine.

VirtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

id string
The provider-assigned unique ID for this managed resource.
privateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

privateIpAddresses string[]

A list of Private IP Addresses assigned to this Virtual Machine.

publicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

publicIpAddresses string[]

A list of the Public IP Addresses assigned to this Virtual Machine.

virtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

id str
The provider-assigned unique ID for this managed resource.
private_ip_address str

The Primary Private IP Address assigned to this Virtual Machine.

private_ip_addresses List[str]

A list of Private IP Addresses assigned to this Virtual Machine.

public_ip_address str

The Primary Public IP Address assigned to this Virtual Machine.

public_ip_addresses List[str]

A list of the Public IP Addresses assigned to this Virtual Machine.

virtual_machine_id str

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.

static 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)
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:

AdditionalCapabilities WindowsVirtualMachineAdditionalCapabilitiesArgs

A additional_capabilities block as defined below.

AdditionalUnattendContents List<WindowsVirtualMachineAdditionalUnattendContentArgs>

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

AdminPassword string

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

AdminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

AllowExtensionOperations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

AvailabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

BootDiagnostics WindowsVirtualMachineBootDiagnosticsArgs

A boot_diagnostics block as defined below.

ComputerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

CustomData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

DedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

EnableAutomaticUpdates bool

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

EvictionPolicy 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 WindowsVirtualMachineIdentityArgs

An identity block as defined below.

LicenseType 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_Client and Windows_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.

MaxBidPrice double

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.

NetworkInterfaceIds List<string>

. 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.

OsDisk WindowsVirtualMachineOsDiskArgs

A os_disk block as defined below.

Plan WindowsVirtualMachinePlanArgs

A plan block as defined below. Changing this forces a new resource to be created.

Priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

PrivateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

PrivateIpAddresses List<string>

A list of Private IP Addresses assigned to this Virtual Machine.

ProvisionVmAgent bool

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

ProximityPlacementGroupId string

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

PublicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

PublicIpAddresses List<string>

A list of the Public IP Addresses assigned to this Virtual Machine.

ResourceGroupName string

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<WindowsVirtualMachineSecretArgs>

One or more secret blocks as defined below.

Size string

The SKU which should be used for this Virtual Machine, such as Standard_F2.

SourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

SourceImageReference WindowsVirtualMachineSourceImageReferenceArgs

A source_image_reference block as defined below. Changing this forces a new resource to be created.

Tags 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.

VirtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

VirtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

WinrmListeners List<WindowsVirtualMachineWinrmListenerArgs>

One or more winrm_listener blocks as defined below.

Zone string

The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

AdditionalCapabilities WindowsVirtualMachineAdditionalCapabilities

A additional_capabilities block as defined below.

AdditionalUnattendContents []WindowsVirtualMachineAdditionalUnattendContent

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

AdminPassword string

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

AdminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

AllowExtensionOperations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

AvailabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

BootDiagnostics WindowsVirtualMachineBootDiagnostics

A boot_diagnostics block as defined below.

ComputerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

CustomData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

DedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

EnableAutomaticUpdates bool

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

EvictionPolicy 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 WindowsVirtualMachineIdentity

An identity block as defined below.

LicenseType 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_Client and Windows_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.

MaxBidPrice float64

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.

NetworkInterfaceIds []string

. 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.

OsDisk WindowsVirtualMachineOsDisk

A os_disk block as defined below.

Plan WindowsVirtualMachinePlan

A plan block as defined below. Changing this forces a new resource to be created.

Priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

PrivateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

PrivateIpAddresses []string

A list of Private IP Addresses assigned to this Virtual Machine.

ProvisionVmAgent bool

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

ProximityPlacementGroupId string

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

PublicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

PublicIpAddresses []string

A list of the Public IP Addresses assigned to this Virtual Machine.

ResourceGroupName string

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 []WindowsVirtualMachineSecret

One or more secret blocks as defined below.

Size string

The SKU which should be used for this Virtual Machine, such as Standard_F2.

SourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

SourceImageReference WindowsVirtualMachineSourceImageReference

A source_image_reference block as defined below. Changing this forces a new resource to be created.

Tags 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.

VirtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

VirtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

WinrmListeners []WindowsVirtualMachineWinrmListener

One or more winrm_listener blocks as defined below.

Zone string

The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

additionalCapabilities WindowsVirtualMachineAdditionalCapabilities

A additional_capabilities block as defined below.

additionalUnattendContents WindowsVirtualMachineAdditionalUnattendContent[]

One or more additional_unattend_content blocks as defined below. Changing this forces a new resource to be created.

adminPassword string

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

adminUsername string

The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.

allowExtensionOperations boolean

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

availabilitySetId string

Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

bootDiagnostics WindowsVirtualMachineBootDiagnostics

A boot_diagnostics block as defined below.

computerName string

Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.

customData string

The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.

dedicatedHostId string

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

enableAutomaticUpdates boolean

Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.

evictionPolicy 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 WindowsVirtualMachineIdentity

An identity block as defined below.

licenseType 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_Client and Windows_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.

maxBidPrice number

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.

networkInterfaceIds string[]

. 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.

osDisk WindowsVirtualMachineOsDisk

A os_disk block as defined below.

plan WindowsVirtualMachinePlan

A plan block as defined below. Changing this forces a new resource to be created.

priority string

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

privateIpAddress string

The Primary Private IP Address assigned to this Virtual Machine.

privateIpAddresses string[]

A list of Private IP Addresses assigned to this Virtual Machine.

provisionVmAgent boolean

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

proximityPlacementGroupId string

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

publicIpAddress string

The Primary Public IP Address assigned to this Virtual Machine.

publicIpAddresses string[]

A list of the Public IP Addresses assigned to this Virtual Machine.

resourceGroupName string

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 WindowsVirtualMachineSecret[]

One or more secret blocks as defined below.

size string

The SKU which should be used for this Virtual Machine, such as Standard_F2.

sourceImageId string

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

sourceImageReference WindowsVirtualMachineSourceImageReference

A source_image_reference block as defined below. Changing this forces a new resource to be created.

tags {[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.

virtualMachineId string

A 128-bit identifier which uniquely identifies this Virtual Machine.

virtualMachineScaleSetId string

Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.

winrmListeners WindowsVirtualMachineWinrmListener[]

One or more winrm_listener blocks 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[WindowsVirtualMachineAdditionalCapabilities]

A additional_capabilities block as defined below.

additional_unattend_contents List[WindowsVirtualMachineAdditionalUnattendContent]

One or more additional_unattend_content blocks 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_operations bool

Should Extension Operations be allowed on this Virtual Machine? Changing this forces a new resource to be created.

availability_set_id str

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[WindowsVirtualMachineBootDiagnostics]

A boot_diagnostics block 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 name field. If the value of the name field is not a valid computer_name, then you must specify computer_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_id str

The ID of a Dedicated Host where this machine should be run on. Changing this forces a new resource to be created.

enable_automatic_updates bool

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[WindowsVirtualMachineIdentity]

An identity block 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_Client and Windows_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_price float

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_ids List[str]

. 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[WindowsVirtualMachineOsDisk]

A os_disk block as defined below.

plan Dict[WindowsVirtualMachinePlan]

A plan block as defined below. Changing this forces a new resource to be created.

priority str

Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.

private_ip_address str

The Primary Private IP Address assigned to this Virtual Machine.

private_ip_addresses List[str]

A list of Private IP Addresses assigned to this Virtual Machine.

provision_vm_agent bool

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_group_id str

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_address str

The Primary Public IP Address assigned to this Virtual Machine.

public_ip_addresses List[str]

A list of the Public IP Addresses assigned to this Virtual Machine.

resource_group_name str

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[WindowsVirtualMachineSecret]

One or more secret blocks as defined below.

size str

The SKU which should be used for this Virtual Machine, such as Standard_F2.

source_image_id str

The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.

source_image_reference Dict[WindowsVirtualMachineSourceImageReference]

A source_image_reference block as defined below. Changing this forces a new resource to be created.

tags 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_id str

A 128-bit identifier which uniquely identifies this Virtual Machine.

virtual_machine_scale_set_id str

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[WindowsVirtualMachineWinrmListener]

One or more winrm_listener blocks 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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

UltraSsdEnabled bool

Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false. Changing this forces a new resource to be created.

UltraSsdEnabled bool

Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false. Changing this forces a new resource to be created.

ultraSsdEnabled boolean

Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false. Changing this forces a new resource to be created.

ultraSsdEnabled bool

Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false. Changing this forces a new resource to be created.

WindowsVirtualMachineAdditionalUnattendContent

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 AutoLogon and FirstLogonCommands. 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 AutoLogon and FirstLogonCommands. 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 AutoLogon and FirstLogonCommands. 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 AutoLogon and FirstLogonCommands. Changing this forces a new resource to be created.

WindowsVirtualMachineBootDiagnostics

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

StorageAccountUri string

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.

StorageAccountUri string

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.

storageAccountUri string

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.

storageAccountUri str

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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The type of Managed Identity which should be assigned to the Windows Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.

IdentityIds List<string>

A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine.

PrincipalId string

The ID of the System Managed Service Principal.

TenantId 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, UserAssigned and SystemAssigned, UserAssigned.

IdentityIds []string

A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine.

PrincipalId string

The ID of the System Managed Service Principal.

TenantId 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, UserAssigned and SystemAssigned, UserAssigned.

identityIds string[]

A list of User Managed Identity ID’s which should be assigned to the Windows Virtual Machine.

principalId string

The ID of the System Managed Service Principal.

tenantId 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, UserAssigned and SystemAssigned, UserAssigned.

identityIds 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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Caching string

The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.

StorageAccountType string

The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS and Premium_LRS. Changing this forces a new resource to be created.

DiffDiskSettings WindowsVirtualMachineOsDiskDiffDiskSettingsArgs

A diff_disk_settings block as defined above.

DiskEncryptionSetId string

The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.

DiskSizeGb int

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.

WriteAcceleratorEnabled bool

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, ReadOnly and ReadWrite.

StorageAccountType string

The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS and Premium_LRS. Changing this forces a new resource to be created.

DiffDiskSettings WindowsVirtualMachineOsDiskDiffDiskSettings

A diff_disk_settings block as defined above.

DiskEncryptionSetId string

The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.

DiskSizeGb int

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.

WriteAcceleratorEnabled bool

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, ReadOnly and ReadWrite.

storageAccountType string

The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS and Premium_LRS. Changing this forces a new resource to be created.

diffDiskSettings WindowsVirtualMachineOsDiskDiffDiskSettings

A diff_disk_settings block as defined above.

diskEncryptionSetId string

The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.

diskSizeGb number

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.

writeAcceleratorEnabled boolean

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, ReadOnly and ReadWrite.

storage_account_type str

The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS and Premium_LRS. Changing this forces a new resource to be created.

diffDiskSettings Dict[WindowsVirtualMachineOsDiskDiffDiskSettings]

A diff_disk_settings block as defined above.

disk_encryption_set_id str

The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.

disk_size_gb float

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_enabled bool

Should Write Accelerator be Enabled for this OS Disk? Defaults to false.

WindowsVirtualMachineOsDiskDiffDiskSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Option string

Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.

Option string

Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.

option string

Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.

option str

Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.

WindowsVirtualMachinePlan

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Certificates List<WindowsVirtualMachineSecretCertificateArgs>

One or more certificate blocks as defined above.

KeyVaultId string

The ID of the Key Vault from which all Secrets should be sourced.

Certificates []WindowsVirtualMachineSecretCertificate

One or more certificate blocks as defined above.

KeyVaultId string

The ID of the Key Vault from which all Secrets should be sourced.

certificates WindowsVirtualMachineSecretCertificate[]

One or more certificate blocks as defined above.

keyVaultId string

The ID of the Key Vault from which all Secrets should be sourced.

certificates List[WindowsVirtualMachineSecretCertificate]

One or more certificate blocks as defined above.

key_vault_id str

The ID of the Key Vault from which all Secrets should be sourced.

WindowsVirtualMachineSecretCertificate

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Store string

The certificate store on the Virtual Machine where the certificate should be added.

Url string

The Secret URL of a Key Vault Certificate.

Store string

The certificate store on the Virtual Machine where the certificate should be added.

Url string

The Secret URL of a Key Vault Certificate.

store string

The certificate store on the Virtual Machine where the certificate should be added.

url string

The Secret URL of a Key Vault Certificate.

store str

The certificate store on the Virtual Machine where the certificate should be added.

url str

The Secret URL of a Key Vault Certificate.

WindowsVirtualMachineSourceImageReference

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Protocol string
CertificateUrl string

The Secret URL of a Key Vault Certificate, which must be specified when protocol is set to Https.

Protocol string
CertificateUrl string

The Secret URL of a Key Vault Certificate, which must be specified when protocol is set to Https.

protocol string
certificateUrl string

The Secret URL of a Key Vault Certificate, which must be specified when protocol is set to Https.

protocol str
certificateUrl str

The Secret URL of a Key Vault Certificate, which must be specified when protocol is set to Https.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.