text: # coding=utf-8
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
  
  import warnings
  import pulumi
  import pulumi.runtime
  from typing import Any, Mapping, Optional, Sequence, Union, overload
  from .. import _utilities
  from . import outputs
  from ._inputs import *
  
  __all__ = ['WindowsVirtualMachineArgs', 'WindowsVirtualMachine']
  
  @pulumi.input_type
  class WindowsVirtualMachineArgs:
      def __init__(__self__, *,
                   admin_password: pulumi.Input[str],
                   admin_username: pulumi.Input[str],
                   network_interface_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
                   os_disk: pulumi.Input['WindowsVirtualMachineOsDiskArgs'],
                   resource_group_name: pulumi.Input[str],
                   size: pulumi.Input[str],
                   additional_capabilities: Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']] = None,
                   additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]] = None,
                   allow_extension_operations: Optional[pulumi.Input[bool]] = None,
                   availability_set_id: Optional[pulumi.Input[str]] = None,
                   boot_diagnostics: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']] = None,
                   computer_name: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   dedicated_host_id: Optional[pulumi.Input[str]] = None,
                   enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
                   encryption_at_host_enabled: Optional[pulumi.Input[bool]] = None,
                   eviction_policy: Optional[pulumi.Input[str]] = None,
                   extensions_time_budget: Optional[pulumi.Input[str]] = None,
                   identity: Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']] = None,
                   license_type: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   max_bid_price: Optional[pulumi.Input[float]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   patch_mode: Optional[pulumi.Input[str]] = None,
                   plan: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']] = None,
                   platform_fault_domain: Optional[pulumi.Input[int]] = None,
                   priority: Optional[pulumi.Input[str]] = None,
                   provision_vm_agent: Optional[pulumi.Input[bool]] = None,
                   proximity_placement_group_id: Optional[pulumi.Input[str]] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]] = None,
                   secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
                   source_image_id: Optional[pulumi.Input[str]] = None,
                   source_image_reference: Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   timezone: Optional[pulumi.Input[str]] = None,
                   user_data: Optional[pulumi.Input[str]] = None,
                   virtual_machine_scale_set_id: Optional[pulumi.Input[str]] = None,
                   vtpm_enabled: Optional[pulumi.Input[bool]] = None,
                   winrm_listeners: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]] = None,
                   zone: Optional[pulumi.Input[str]] = None):
          """
          The set of arguments for constructing a WindowsVirtualMachine resource.
          :param pulumi.Input[str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] network_interface_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.
          :param pulumi.Input['WindowsVirtualMachineOsDiskArgs'] os_disk: A `os_disk` block as defined below.
          :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
          :param pulumi.Input[str] size: The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          :param pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs'] additional_capabilities: A `additional_capabilities` block as defined below.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine?
          :param pulumi.Input[str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs'] boot_diagnostics: A `boot_diagnostics` block as defined below.
          :param pulumi.Input[str] computer_name: 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.
          :param pulumi.Input[str] custom_data: The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] dedicated_host_id: The ID of a Dedicated Host where this machine should be run on.
          :param pulumi.Input[bool] enable_automatic_updates: Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] encryption_at_host_enabled: Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          :param pulumi.Input[str] eviction_policy: 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.
          :param pulumi.Input[str] extensions_time_budget: Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          :param pulumi.Input['WindowsVirtualMachineIdentityArgs'] identity: An `identity` block as defined below.
          :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[float] max_bid_price: 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.
          :param pulumi.Input[str] name: The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] patch_mode: Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          :param pulumi.Input['WindowsVirtualMachinePlanArgs'] plan: A `plan` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[int] platform_fault_domain: Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          :param pulumi.Input[str] priority: 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.
          :param pulumi.Input[bool] provision_vm_agent: Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          :param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]] secrets: One or more `secret` blocks as defined below.
          :param pulumi.Input[bool] secure_boot_enabled: Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] source_image_id: The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          :param pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs'] source_image_reference: A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to this Virtual Machine.
          :param pulumi.Input[str] timezone: Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          :param pulumi.Input[str] user_data: The Base64-Encoded User Data which should be used for this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_scale_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.
          :param pulumi.Input[bool] vtpm_enabled: Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]] winrm_listeners: One or more `winrm_listener` blocks as defined below.
          :param pulumi.Input[str] zone: The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          pulumi.set(__self__, "admin_password", admin_password)
          pulumi.set(__self__, "admin_username", admin_username)
          pulumi.set(__self__, "network_interface_ids", network_interface_ids)
          pulumi.set(__self__, "os_disk", os_disk)
          pulumi.set(__self__, "resource_group_name", resource_group_name)
          pulumi.set(__self__, "size", size)
          if additional_capabilities is not None:
              pulumi.set(__self__, "additional_capabilities", additional_capabilities)
          if additional_unattend_contents is not None:
              pulumi.set(__self__, "additional_unattend_contents", additional_unattend_contents)
          if allow_extension_operations is not None:
              pulumi.set(__self__, "allow_extension_operations", allow_extension_operations)
          if availability_set_id is not None:
              pulumi.set(__self__, "availability_set_id", availability_set_id)
          if boot_diagnostics is not None:
              pulumi.set(__self__, "boot_diagnostics", boot_diagnostics)
          if computer_name is not None:
              pulumi.set(__self__, "computer_name", computer_name)
          if custom_data is not None:
              pulumi.set(__self__, "custom_data", custom_data)
          if dedicated_host_id is not None:
              pulumi.set(__self__, "dedicated_host_id", dedicated_host_id)
          if enable_automatic_updates is not None:
              pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
          if encryption_at_host_enabled is not None:
              pulumi.set(__self__, "encryption_at_host_enabled", encryption_at_host_enabled)
          if eviction_policy is not None:
              pulumi.set(__self__, "eviction_policy", eviction_policy)
          if extensions_time_budget is not None:
              pulumi.set(__self__, "extensions_time_budget", extensions_time_budget)
          if identity is not None:
              pulumi.set(__self__, "identity", identity)
          if license_type is not None:
              pulumi.set(__self__, "license_type", license_type)
          if location is not None:
              pulumi.set(__self__, "location", location)
          if max_bid_price is not None:
              pulumi.set(__self__, "max_bid_price", max_bid_price)
          if name is not None:
              pulumi.set(__self__, "name", name)
          if patch_mode is not None:
              pulumi.set(__self__, "patch_mode", patch_mode)
          if plan is not None:
              pulumi.set(__self__, "plan", plan)
          if platform_fault_domain is not None:
              pulumi.set(__self__, "platform_fault_domain", platform_fault_domain)
          if priority is not None:
              pulumi.set(__self__, "priority", priority)
          if provision_vm_agent is not None:
              pulumi.set(__self__, "provision_vm_agent", provision_vm_agent)
          if proximity_placement_group_id is not None:
              pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id)
          if secrets is not None:
              pulumi.set(__self__, "secrets", secrets)
          if secure_boot_enabled is not None:
              pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled)
          if source_image_id is not None:
              pulumi.set(__self__, "source_image_id", source_image_id)
          if source_image_reference is not None:
              pulumi.set(__self__, "source_image_reference", source_image_reference)
          if tags is not None:
              pulumi.set(__self__, "tags", tags)
          if timezone is not None:
              pulumi.set(__self__, "timezone", timezone)
          if user_data is not None:
              pulumi.set(__self__, "user_data", user_data)
          if virtual_machine_scale_set_id is not None:
              pulumi.set(__self__, "virtual_machine_scale_set_id", virtual_machine_scale_set_id)
          if vtpm_enabled is not None:
              pulumi.set(__self__, "vtpm_enabled", vtpm_enabled)
          if winrm_listeners is not None:
              pulumi.set(__self__, "winrm_listeners", winrm_listeners)
          if zone is not None:
              pulumi.set(__self__, "zone", zone)
  
      @property
      @pulumi.getter(name="adminPassword")
      def admin_password(self) -> pulumi.Input[str]:
          """
          The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_password")
  
      @admin_password.setter
      def admin_password(self, value: pulumi.Input[str]):
          pulumi.set(self, "admin_password", value)
  
      @property
      @pulumi.getter(name="adminUsername")
      def admin_username(self) -> pulumi.Input[str]:
          """
          The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_username")
  
      @admin_username.setter
      def admin_username(self, value: pulumi.Input[str]):
          pulumi.set(self, "admin_username", value)
  
      @property
      @pulumi.getter(name="networkInterfaceIds")
      def network_interface_ids(self) -> pulumi.Input[Sequence[pulumi.Input[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.
          """
          return pulumi.get(self, "network_interface_ids")
  
      @network_interface_ids.setter
      def network_interface_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
          pulumi.set(self, "network_interface_ids", value)
  
      @property
      @pulumi.getter(name="osDisk")
      def os_disk(self) -> pulumi.Input['WindowsVirtualMachineOsDiskArgs']:
          """
          A `os_disk` block as defined below.
          """
          return pulumi.get(self, "os_disk")
  
      @os_disk.setter
      def os_disk(self, value: pulumi.Input['WindowsVirtualMachineOsDiskArgs']):
          pulumi.set(self, "os_disk", value)
  
      @property
      @pulumi.getter(name="resourceGroupName")
      def resource_group_name(self) -> pulumi.Input[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.
          """
          return pulumi.get(self, "resource_group_name")
  
      @resource_group_name.setter
      def resource_group_name(self, value: pulumi.Input[str]):
          pulumi.set(self, "resource_group_name", value)
  
      @property
      @pulumi.getter
      def size(self) -> pulumi.Input[str]:
          """
          The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          """
          return pulumi.get(self, "size")
  
      @size.setter
      def size(self, value: pulumi.Input[str]):
          pulumi.set(self, "size", value)
  
      @property
      @pulumi.getter(name="additionalCapabilities")
      def additional_capabilities(self) -> Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']]:
          """
          A `additional_capabilities` block as defined below.
          """
          return pulumi.get(self, "additional_capabilities")
  
      @additional_capabilities.setter
      def additional_capabilities(self, value: Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']]):
          pulumi.set(self, "additional_capabilities", value)
  
      @property
      @pulumi.getter(name="additionalUnattendContents")
      def additional_unattend_contents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]:
          """
          One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "additional_unattend_contents")
  
      @additional_unattend_contents.setter
      def additional_unattend_contents(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]):
          pulumi.set(self, "additional_unattend_contents", value)
  
      @property
      @pulumi.getter(name="allowExtensionOperations")
      def allow_extension_operations(self) -> Optional[pulumi.Input[bool]]:
          """
          Should Extension Operations be allowed on this Virtual Machine?
          """
          return pulumi.get(self, "allow_extension_operations")
  
      @allow_extension_operations.setter
      def allow_extension_operations(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "allow_extension_operations", value)
  
      @property
      @pulumi.getter(name="availabilitySetId")
      def availability_set_id(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "availability_set_id")
  
      @availability_set_id.setter
      def availability_set_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "availability_set_id", value)
  
      @property
      @pulumi.getter(name="bootDiagnostics")
      def boot_diagnostics(self) -> Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']]:
          """
          A `boot_diagnostics` block as defined below.
          """
          return pulumi.get(self, "boot_diagnostics")
  
      @boot_diagnostics.setter
      def boot_diagnostics(self, value: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']]):
          pulumi.set(self, "boot_diagnostics", value)
  
      @property
      @pulumi.getter(name="computerName")
      def computer_name(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "computer_name")
  
      @computer_name.setter
      def computer_name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "computer_name", value)
  
      @property
      @pulumi.getter(name="customData")
      def custom_data(self) -> Optional[pulumi.Input[str]]:
          """
          The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "custom_data")
  
      @custom_data.setter
      def custom_data(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "custom_data", value)
  
      @property
      @pulumi.getter(name="dedicatedHostId")
      def dedicated_host_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of a Dedicated Host where this machine should be run on.
          """
          return pulumi.get(self, "dedicated_host_id")
  
      @dedicated_host_id.setter
      def dedicated_host_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "dedicated_host_id", value)
  
      @property
      @pulumi.getter(name="enableAutomaticUpdates")
      def enable_automatic_updates(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "enable_automatic_updates")
  
      @enable_automatic_updates.setter
      def enable_automatic_updates(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "enable_automatic_updates", value)
  
      @property
      @pulumi.getter(name="encryptionAtHostEnabled")
      def encryption_at_host_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          """
          return pulumi.get(self, "encryption_at_host_enabled")
  
      @encryption_at_host_enabled.setter
      def encryption_at_host_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "encryption_at_host_enabled", value)
  
      @property
      @pulumi.getter(name="evictionPolicy")
      def eviction_policy(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "eviction_policy")
  
      @eviction_policy.setter
      def eviction_policy(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "eviction_policy", value)
  
      @property
      @pulumi.getter(name="extensionsTimeBudget")
      def extensions_time_budget(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          """
          return pulumi.get(self, "extensions_time_budget")
  
      @extensions_time_budget.setter
      def extensions_time_budget(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "extensions_time_budget", value)
  
      @property
      @pulumi.getter
      def identity(self) -> Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']]:
          """
          An `identity` block as defined below.
          """
          return pulumi.get(self, "identity")
  
      @identity.setter
      def identity(self, value: Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']]):
          pulumi.set(self, "identity", value)
  
      @property
      @pulumi.getter(name="licenseType")
      def license_type(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          """
          return pulumi.get(self, "license_type")
  
      @license_type.setter
      def license_type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "license_type", value)
  
      @property
      @pulumi.getter
      def location(self) -> Optional[pulumi.Input[str]]:
          """
          The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "location")
  
      @location.setter
      def location(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "location", value)
  
      @property
      @pulumi.getter(name="maxBidPrice")
      def max_bid_price(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "max_bid_price")
  
      @max_bid_price.setter
      def max_bid_price(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "max_bid_price", value)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter(name="patchMode")
      def patch_mode(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          """
          return pulumi.get(self, "patch_mode")
  
      @patch_mode.setter
      def patch_mode(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "patch_mode", value)
  
      @property
      @pulumi.getter
      def plan(self) -> Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']]:
          """
          A `plan` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "plan")
  
      @plan.setter
      def plan(self, value: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']]):
          pulumi.set(self, "plan", value)
  
      @property
      @pulumi.getter(name="platformFaultDomain")
      def platform_fault_domain(self) -> Optional[pulumi.Input[int]]:
          """
          Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          """
          return pulumi.get(self, "platform_fault_domain")
  
      @platform_fault_domain.setter
      def platform_fault_domain(self, value: Optional[pulumi.Input[int]]):
          pulumi.set(self, "platform_fault_domain", value)
  
      @property
      @pulumi.getter
      def priority(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "priority")
  
      @priority.setter
      def priority(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "priority", value)
  
      @property
      @pulumi.getter(name="provisionVmAgent")
      def provision_vm_agent(self) -> Optional[pulumi.Input[bool]]:
          """
          Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "provision_vm_agent")
  
      @provision_vm_agent.setter
      def provision_vm_agent(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "provision_vm_agent", value)
  
      @property
      @pulumi.getter(name="proximityPlacementGroupId")
      def proximity_placement_group_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          """
          return pulumi.get(self, "proximity_placement_group_id")
  
      @proximity_placement_group_id.setter
      def proximity_placement_group_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "proximity_placement_group_id", value)
  
      @property
      @pulumi.getter
      def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]]:
          """
          One or more `secret` blocks as defined below.
          """
          return pulumi.get(self, "secrets")
  
      @secrets.setter
      def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]]):
          pulumi.set(self, "secrets", value)
  
      @property
      @pulumi.getter(name="secureBootEnabled")
      def secure_boot_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "secure_boot_enabled")
  
      @secure_boot_enabled.setter
      def secure_boot_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "secure_boot_enabled", value)
  
      @property
      @pulumi.getter(name="sourceImageId")
      def source_image_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_id")
  
      @source_image_id.setter
      def source_image_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "source_image_id", value)
  
      @property
      @pulumi.getter(name="sourceImageReference")
      def source_image_reference(self) -> Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']]:
          """
          A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_reference")
  
      @source_image_reference.setter
      def source_image_reference(self, value: Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']]):
          pulumi.set(self, "source_image_reference", value)
  
      @property
      @pulumi.getter
      def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
          """
          A mapping of tags which should be assigned to this Virtual Machine.
          """
          return pulumi.get(self, "tags")
  
      @tags.setter
      def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
          pulumi.set(self, "tags", value)
  
      @property
      @pulumi.getter
      def timezone(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          """
          return pulumi.get(self, "timezone")
  
      @timezone.setter
      def timezone(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "timezone", value)
  
      @property
      @pulumi.getter(name="userData")
      def user_data(self) -> Optional[pulumi.Input[str]]:
          """
          The Base64-Encoded User Data which should be used for this Virtual Machine.
          """
          return pulumi.get(self, "user_data")
  
      @user_data.setter
      def user_data(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "user_data", value)
  
      @property
      @pulumi.getter(name="virtualMachineScaleSetId")
      def virtual_machine_scale_set_id(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "virtual_machine_scale_set_id")
  
      @virtual_machine_scale_set_id.setter
      def virtual_machine_scale_set_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "virtual_machine_scale_set_id", value)
  
      @property
      @pulumi.getter(name="vtpmEnabled")
      def vtpm_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "vtpm_enabled")
  
      @vtpm_enabled.setter
      def vtpm_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "vtpm_enabled", value)
  
      @property
      @pulumi.getter(name="winrmListeners")
      def winrm_listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]]:
          """
          One or more `winrm_listener` blocks as defined below.
          """
          return pulumi.get(self, "winrm_listeners")
  
      @winrm_listeners.setter
      def winrm_listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]]):
          pulumi.set(self, "winrm_listeners", value)
  
      @property
      @pulumi.getter
      def zone(self) -> Optional[pulumi.Input[str]]:
          """
          The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "zone")
  
      @zone.setter
      def zone(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "zone", value)
  
  
  @pulumi.input_type
  class _WindowsVirtualMachineState:
      def __init__(__self__, *,
                   additional_capabilities: Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']] = None,
                   additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]] = None,
                   admin_password: Optional[pulumi.Input[str]] = None,
                   admin_username: Optional[pulumi.Input[str]] = None,
                   allow_extension_operations: Optional[pulumi.Input[bool]] = None,
                   availability_set_id: Optional[pulumi.Input[str]] = None,
                   boot_diagnostics: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']] = None,
                   computer_name: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   dedicated_host_id: Optional[pulumi.Input[str]] = None,
                   enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
                   encryption_at_host_enabled: Optional[pulumi.Input[bool]] = None,
                   eviction_policy: Optional[pulumi.Input[str]] = None,
                   extensions_time_budget: Optional[pulumi.Input[str]] = None,
                   identity: Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']] = None,
                   license_type: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   max_bid_price: Optional[pulumi.Input[float]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   os_disk: Optional[pulumi.Input['WindowsVirtualMachineOsDiskArgs']] = None,
                   patch_mode: Optional[pulumi.Input[str]] = None,
                   plan: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']] = None,
                   platform_fault_domain: Optional[pulumi.Input[int]] = None,
                   priority: Optional[pulumi.Input[str]] = None,
                   private_ip_address: Optional[pulumi.Input[str]] = None,
                   private_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   provision_vm_agent: Optional[pulumi.Input[bool]] = None,
                   proximity_placement_group_id: Optional[pulumi.Input[str]] = None,
                   public_ip_address: Optional[pulumi.Input[str]] = None,
                   public_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]] = None,
                   secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
                   size: Optional[pulumi.Input[str]] = None,
                   source_image_id: Optional[pulumi.Input[str]] = None,
                   source_image_reference: Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   timezone: Optional[pulumi.Input[str]] = None,
                   user_data: Optional[pulumi.Input[str]] = None,
                   virtual_machine_id: Optional[pulumi.Input[str]] = None,
                   virtual_machine_scale_set_id: Optional[pulumi.Input[str]] = None,
                   vtpm_enabled: Optional[pulumi.Input[bool]] = None,
                   winrm_listeners: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]] = None,
                   zone: Optional[pulumi.Input[str]] = None):
          """
          Input properties used for looking up and filtering WindowsVirtualMachine resources.
          :param pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs'] additional_capabilities: A `additional_capabilities` block as defined below.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine?
          :param pulumi.Input[str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs'] boot_diagnostics: A `boot_diagnostics` block as defined below.
          :param pulumi.Input[str] computer_name: 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.
          :param pulumi.Input[str] custom_data: The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] dedicated_host_id: The ID of a Dedicated Host where this machine should be run on.
          :param pulumi.Input[bool] enable_automatic_updates: Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] encryption_at_host_enabled: Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          :param pulumi.Input[str] eviction_policy: 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.
          :param pulumi.Input[str] extensions_time_budget: Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          :param pulumi.Input['WindowsVirtualMachineIdentityArgs'] identity: An `identity` block as defined below.
          :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[float] max_bid_price: 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.
          :param pulumi.Input[str] name: The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] network_interface_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.
          :param pulumi.Input['WindowsVirtualMachineOsDiskArgs'] os_disk: A `os_disk` block as defined below.
          :param pulumi.Input[str] patch_mode: Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          :param pulumi.Input['WindowsVirtualMachinePlanArgs'] plan: A `plan` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[int] platform_fault_domain: Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          :param pulumi.Input[str] priority: 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.
          :param pulumi.Input[str] private_ip_address: The Primary Private IP Address assigned to this Virtual Machine.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ip_addresses: A list of Private IP Addresses assigned to this Virtual Machine.
          :param pulumi.Input[bool] provision_vm_agent: Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          :param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          :param pulumi.Input[str] public_ip_address: The Primary Public IP Address assigned to this Virtual Machine.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] public_ip_addresses: A list of the Public IP Addresses assigned to this Virtual Machine.
          :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]] secrets: One or more `secret` blocks as defined below.
          :param pulumi.Input[bool] secure_boot_enabled: Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] size: The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          :param pulumi.Input[str] source_image_id: The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          :param pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs'] source_image_reference: A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to this Virtual Machine.
          :param pulumi.Input[str] timezone: Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          :param pulumi.Input[str] user_data: The Base64-Encoded User Data which should be used for this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_id: A 128-bit identifier which uniquely identifies this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_scale_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.
          :param pulumi.Input[bool] vtpm_enabled: Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]] winrm_listeners: One or more `winrm_listener` blocks as defined below.
          :param pulumi.Input[str] zone: The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          if additional_capabilities is not None:
              pulumi.set(__self__, "additional_capabilities", additional_capabilities)
          if additional_unattend_contents is not None:
              pulumi.set(__self__, "additional_unattend_contents", additional_unattend_contents)
          if admin_password is not None:
              pulumi.set(__self__, "admin_password", admin_password)
          if admin_username is not None:
              pulumi.set(__self__, "admin_username", admin_username)
          if allow_extension_operations is not None:
              pulumi.set(__self__, "allow_extension_operations", allow_extension_operations)
          if availability_set_id is not None:
              pulumi.set(__self__, "availability_set_id", availability_set_id)
          if boot_diagnostics is not None:
              pulumi.set(__self__, "boot_diagnostics", boot_diagnostics)
          if computer_name is not None:
              pulumi.set(__self__, "computer_name", computer_name)
          if custom_data is not None:
              pulumi.set(__self__, "custom_data", custom_data)
          if dedicated_host_id is not None:
              pulumi.set(__self__, "dedicated_host_id", dedicated_host_id)
          if enable_automatic_updates is not None:
              pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
          if encryption_at_host_enabled is not None:
              pulumi.set(__self__, "encryption_at_host_enabled", encryption_at_host_enabled)
          if eviction_policy is not None:
              pulumi.set(__self__, "eviction_policy", eviction_policy)
          if extensions_time_budget is not None:
              pulumi.set(__self__, "extensions_time_budget", extensions_time_budget)
          if identity is not None:
              pulumi.set(__self__, "identity", identity)
          if license_type is not None:
              pulumi.set(__self__, "license_type", license_type)
          if location is not None:
              pulumi.set(__self__, "location", location)
          if max_bid_price is not None:
              pulumi.set(__self__, "max_bid_price", max_bid_price)
          if name is not None:
              pulumi.set(__self__, "name", name)
          if network_interface_ids is not None:
              pulumi.set(__self__, "network_interface_ids", network_interface_ids)
          if os_disk is not None:
              pulumi.set(__self__, "os_disk", os_disk)
          if patch_mode is not None:
              pulumi.set(__self__, "patch_mode", patch_mode)
          if plan is not None:
              pulumi.set(__self__, "plan", plan)
          if platform_fault_domain is not None:
              pulumi.set(__self__, "platform_fault_domain", platform_fault_domain)
          if priority is not None:
              pulumi.set(__self__, "priority", priority)
          if private_ip_address is not None:
              pulumi.set(__self__, "private_ip_address", private_ip_address)
          if private_ip_addresses is not None:
              pulumi.set(__self__, "private_ip_addresses", private_ip_addresses)
          if provision_vm_agent is not None:
              pulumi.set(__self__, "provision_vm_agent", provision_vm_agent)
          if proximity_placement_group_id is not None:
              pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id)
          if public_ip_address is not None:
              pulumi.set(__self__, "public_ip_address", public_ip_address)
          if public_ip_addresses is not None:
              pulumi.set(__self__, "public_ip_addresses", public_ip_addresses)
          if resource_group_name is not None:
              pulumi.set(__self__, "resource_group_name", resource_group_name)
          if secrets is not None:
              pulumi.set(__self__, "secrets", secrets)
          if secure_boot_enabled is not None:
              pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled)
          if size is not None:
              pulumi.set(__self__, "size", size)
          if source_image_id is not None:
              pulumi.set(__self__, "source_image_id", source_image_id)
          if source_image_reference is not None:
              pulumi.set(__self__, "source_image_reference", source_image_reference)
          if tags is not None:
              pulumi.set(__self__, "tags", tags)
          if timezone is not None:
              pulumi.set(__self__, "timezone", timezone)
          if user_data is not None:
              pulumi.set(__self__, "user_data", user_data)
          if virtual_machine_id is not None:
              pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
          if virtual_machine_scale_set_id is not None:
              pulumi.set(__self__, "virtual_machine_scale_set_id", virtual_machine_scale_set_id)
          if vtpm_enabled is not None:
              pulumi.set(__self__, "vtpm_enabled", vtpm_enabled)
          if winrm_listeners is not None:
              pulumi.set(__self__, "winrm_listeners", winrm_listeners)
          if zone is not None:
              pulumi.set(__self__, "zone", zone)
  
      @property
      @pulumi.getter(name="additionalCapabilities")
      def additional_capabilities(self) -> Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']]:
          """
          A `additional_capabilities` block as defined below.
          """
          return pulumi.get(self, "additional_capabilities")
  
      @additional_capabilities.setter
      def additional_capabilities(self, value: Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']]):
          pulumi.set(self, "additional_capabilities", value)
  
      @property
      @pulumi.getter(name="additionalUnattendContents")
      def additional_unattend_contents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]:
          """
          One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "additional_unattend_contents")
  
      @additional_unattend_contents.setter
      def additional_unattend_contents(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]):
          pulumi.set(self, "additional_unattend_contents", value)
  
      @property
      @pulumi.getter(name="adminPassword")
      def admin_password(self) -> Optional[pulumi.Input[str]]:
          """
          The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_password")
  
      @admin_password.setter
      def admin_password(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "admin_password", value)
  
      @property
      @pulumi.getter(name="adminUsername")
      def admin_username(self) -> Optional[pulumi.Input[str]]:
          """
          The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_username")
  
      @admin_username.setter
      def admin_username(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "admin_username", value)
  
      @property
      @pulumi.getter(name="allowExtensionOperations")
      def allow_extension_operations(self) -> Optional[pulumi.Input[bool]]:
          """
          Should Extension Operations be allowed on this Virtual Machine?
          """
          return pulumi.get(self, "allow_extension_operations")
  
      @allow_extension_operations.setter
      def allow_extension_operations(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "allow_extension_operations", value)
  
      @property
      @pulumi.getter(name="availabilitySetId")
      def availability_set_id(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "availability_set_id")
  
      @availability_set_id.setter
      def availability_set_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "availability_set_id", value)
  
      @property
      @pulumi.getter(name="bootDiagnostics")
      def boot_diagnostics(self) -> Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']]:
          """
          A `boot_diagnostics` block as defined below.
          """
          return pulumi.get(self, "boot_diagnostics")
  
      @boot_diagnostics.setter
      def boot_diagnostics(self, value: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']]):
          pulumi.set(self, "boot_diagnostics", value)
  
      @property
      @pulumi.getter(name="computerName")
      def computer_name(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "computer_name")
  
      @computer_name.setter
      def computer_name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "computer_name", value)
  
      @property
      @pulumi.getter(name="customData")
      def custom_data(self) -> Optional[pulumi.Input[str]]:
          """
          The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "custom_data")
  
      @custom_data.setter
      def custom_data(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "custom_data", value)
  
      @property
      @pulumi.getter(name="dedicatedHostId")
      def dedicated_host_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of a Dedicated Host where this machine should be run on.
          """
          return pulumi.get(self, "dedicated_host_id")
  
      @dedicated_host_id.setter
      def dedicated_host_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "dedicated_host_id", value)
  
      @property
      @pulumi.getter(name="enableAutomaticUpdates")
      def enable_automatic_updates(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "enable_automatic_updates")
  
      @enable_automatic_updates.setter
      def enable_automatic_updates(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "enable_automatic_updates", value)
  
      @property
      @pulumi.getter(name="encryptionAtHostEnabled")
      def encryption_at_host_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          """
          return pulumi.get(self, "encryption_at_host_enabled")
  
      @encryption_at_host_enabled.setter
      def encryption_at_host_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "encryption_at_host_enabled", value)
  
      @property
      @pulumi.getter(name="evictionPolicy")
      def eviction_policy(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "eviction_policy")
  
      @eviction_policy.setter
      def eviction_policy(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "eviction_policy", value)
  
      @property
      @pulumi.getter(name="extensionsTimeBudget")
      def extensions_time_budget(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          """
          return pulumi.get(self, "extensions_time_budget")
  
      @extensions_time_budget.setter
      def extensions_time_budget(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "extensions_time_budget", value)
  
      @property
      @pulumi.getter
      def identity(self) -> Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']]:
          """
          An `identity` block as defined below.
          """
          return pulumi.get(self, "identity")
  
      @identity.setter
      def identity(self, value: Optional[pulumi.Input['WindowsVirtualMachineIdentityArgs']]):
          pulumi.set(self, "identity", value)
  
      @property
      @pulumi.getter(name="licenseType")
      def license_type(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          """
          return pulumi.get(self, "license_type")
  
      @license_type.setter
      def license_type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "license_type", value)
  
      @property
      @pulumi.getter
      def location(self) -> Optional[pulumi.Input[str]]:
          """
          The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "location")
  
      @location.setter
      def location(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "location", value)
  
      @property
      @pulumi.getter(name="maxBidPrice")
      def max_bid_price(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "max_bid_price")
  
      @max_bid_price.setter
      def max_bid_price(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "max_bid_price", value)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter(name="networkInterfaceIds")
      def network_interface_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[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.
          """
          return pulumi.get(self, "network_interface_ids")
  
      @network_interface_ids.setter
      def network_interface_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
          pulumi.set(self, "network_interface_ids", value)
  
      @property
      @pulumi.getter(name="osDisk")
      def os_disk(self) -> Optional[pulumi.Input['WindowsVirtualMachineOsDiskArgs']]:
          """
          A `os_disk` block as defined below.
          """
          return pulumi.get(self, "os_disk")
  
      @os_disk.setter
      def os_disk(self, value: Optional[pulumi.Input['WindowsVirtualMachineOsDiskArgs']]):
          pulumi.set(self, "os_disk", value)
  
      @property
      @pulumi.getter(name="patchMode")
      def patch_mode(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          """
          return pulumi.get(self, "patch_mode")
  
      @patch_mode.setter
      def patch_mode(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "patch_mode", value)
  
      @property
      @pulumi.getter
      def plan(self) -> Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']]:
          """
          A `plan` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "plan")
  
      @plan.setter
      def plan(self, value: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']]):
          pulumi.set(self, "plan", value)
  
      @property
      @pulumi.getter(name="platformFaultDomain")
      def platform_fault_domain(self) -> Optional[pulumi.Input[int]]:
          """
          Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          """
          return pulumi.get(self, "platform_fault_domain")
  
      @platform_fault_domain.setter
      def platform_fault_domain(self, value: Optional[pulumi.Input[int]]):
          pulumi.set(self, "platform_fault_domain", value)
  
      @property
      @pulumi.getter
      def priority(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "priority")
  
      @priority.setter
      def priority(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "priority", value)
  
      @property
      @pulumi.getter(name="privateIpAddress")
      def private_ip_address(self) -> Optional[pulumi.Input[str]]:
          """
          The Primary Private IP Address assigned to this Virtual Machine.
          """
          return pulumi.get(self, "private_ip_address")
  
      @private_ip_address.setter
      def private_ip_address(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "private_ip_address", value)
  
      @property
      @pulumi.getter(name="privateIpAddresses")
      def private_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
          """
          A list of Private IP Addresses assigned to this Virtual Machine.
          """
          return pulumi.get(self, "private_ip_addresses")
  
      @private_ip_addresses.setter
      def private_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
          pulumi.set(self, "private_ip_addresses", value)
  
      @property
      @pulumi.getter(name="provisionVmAgent")
      def provision_vm_agent(self) -> Optional[pulumi.Input[bool]]:
          """
          Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "provision_vm_agent")
  
      @provision_vm_agent.setter
      def provision_vm_agent(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "provision_vm_agent", value)
  
      @property
      @pulumi.getter(name="proximityPlacementGroupId")
      def proximity_placement_group_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          """
          return pulumi.get(self, "proximity_placement_group_id")
  
      @proximity_placement_group_id.setter
      def proximity_placement_group_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "proximity_placement_group_id", value)
  
      @property
      @pulumi.getter(name="publicIpAddress")
      def public_ip_address(self) -> Optional[pulumi.Input[str]]:
          """
          The Primary Public IP Address assigned to this Virtual Machine.
          """
          return pulumi.get(self, "public_ip_address")
  
      @public_ip_address.setter
      def public_ip_address(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "public_ip_address", value)
  
      @property
      @pulumi.getter(name="publicIpAddresses")
      def public_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
          """
          A list of the Public IP Addresses assigned to this Virtual Machine.
          """
          return pulumi.get(self, "public_ip_addresses")
  
      @public_ip_addresses.setter
      def public_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
          pulumi.set(self, "public_ip_addresses", value)
  
      @property
      @pulumi.getter(name="resourceGroupName")
      def resource_group_name(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "resource_group_name")
  
      @resource_group_name.setter
      def resource_group_name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "resource_group_name", value)
  
      @property
      @pulumi.getter
      def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]]:
          """
          One or more `secret` blocks as defined below.
          """
          return pulumi.get(self, "secrets")
  
      @secrets.setter
      def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineSecretArgs']]]]):
          pulumi.set(self, "secrets", value)
  
      @property
      @pulumi.getter(name="secureBootEnabled")
      def secure_boot_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "secure_boot_enabled")
  
      @secure_boot_enabled.setter
      def secure_boot_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "secure_boot_enabled", value)
  
      @property
      @pulumi.getter
      def size(self) -> Optional[pulumi.Input[str]]:
          """
          The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          """
          return pulumi.get(self, "size")
  
      @size.setter
      def size(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "size", value)
  
      @property
      @pulumi.getter(name="sourceImageId")
      def source_image_id(self) -> Optional[pulumi.Input[str]]:
          """
          The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_id")
  
      @source_image_id.setter
      def source_image_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "source_image_id", value)
  
      @property
      @pulumi.getter(name="sourceImageReference")
      def source_image_reference(self) -> Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']]:
          """
          A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_reference")
  
      @source_image_reference.setter
      def source_image_reference(self, value: Optional[pulumi.Input['WindowsVirtualMachineSourceImageReferenceArgs']]):
          pulumi.set(self, "source_image_reference", value)
  
      @property
      @pulumi.getter
      def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
          """
          A mapping of tags which should be assigned to this Virtual Machine.
          """
          return pulumi.get(self, "tags")
  
      @tags.setter
      def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
          pulumi.set(self, "tags", value)
  
      @property
      @pulumi.getter
      def timezone(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          """
          return pulumi.get(self, "timezone")
  
      @timezone.setter
      def timezone(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "timezone", value)
  
      @property
      @pulumi.getter(name="userData")
      def user_data(self) -> Optional[pulumi.Input[str]]:
          """
          The Base64-Encoded User Data which should be used for this Virtual Machine.
          """
          return pulumi.get(self, "user_data")
  
      @user_data.setter
      def user_data(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "user_data", value)
  
      @property
      @pulumi.getter(name="virtualMachineId")
      def virtual_machine_id(self) -> Optional[pulumi.Input[str]]:
          """
          A 128-bit identifier which uniquely identifies this Virtual Machine.
          """
          return pulumi.get(self, "virtual_machine_id")
  
      @virtual_machine_id.setter
      def virtual_machine_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "virtual_machine_id", value)
  
      @property
      @pulumi.getter(name="virtualMachineScaleSetId")
      def virtual_machine_scale_set_id(self) -> Optional[pulumi.Input[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.
          """
          return pulumi.get(self, "virtual_machine_scale_set_id")
  
      @virtual_machine_scale_set_id.setter
      def virtual_machine_scale_set_id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "virtual_machine_scale_set_id", value)
  
      @property
      @pulumi.getter(name="vtpmEnabled")
      def vtpm_enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "vtpm_enabled")
  
      @vtpm_enabled.setter
      def vtpm_enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "vtpm_enabled", value)
  
      @property
      @pulumi.getter(name="winrmListeners")
      def winrm_listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]]:
          """
          One or more `winrm_listener` blocks as defined below.
          """
          return pulumi.get(self, "winrm_listeners")
  
      @winrm_listeners.setter
      def winrm_listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]]]):
          pulumi.set(self, "winrm_listeners", value)
  
      @property
      @pulumi.getter
      def zone(self) -> Optional[pulumi.Input[str]]:
          """
          The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "zone")
  
      @zone.setter
      def zone(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "zone", value)
  
  
  class WindowsVirtualMachine(pulumi.CustomResource):
      @overload
      def __init__(__self__,
                   resource_name: str,
                   opts: Optional[pulumi.ResourceOptions] = None,
                   additional_capabilities: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalCapabilitiesArgs']]] = None,
                   additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]] = None,
                   admin_password: Optional[pulumi.Input[str]] = None,
                   admin_username: Optional[pulumi.Input[str]] = None,
                   allow_extension_operations: Optional[pulumi.Input[bool]] = None,
                   availability_set_id: Optional[pulumi.Input[str]] = None,
                   boot_diagnostics: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineBootDiagnosticsArgs']]] = None,
                   computer_name: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   dedicated_host_id: Optional[pulumi.Input[str]] = None,
                   enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
                   encryption_at_host_enabled: Optional[pulumi.Input[bool]] = None,
                   eviction_policy: Optional[pulumi.Input[str]] = None,
                   extensions_time_budget: Optional[pulumi.Input[str]] = None,
                   identity: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineIdentityArgs']]] = None,
                   license_type: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   max_bid_price: Optional[pulumi.Input[float]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   os_disk: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineOsDiskArgs']]] = None,
                   patch_mode: Optional[pulumi.Input[str]] = None,
                   plan: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachinePlanArgs']]] = None,
                   platform_fault_domain: Optional[pulumi.Input[int]] = None,
                   priority: Optional[pulumi.Input[str]] = None,
                   provision_vm_agent: Optional[pulumi.Input[bool]] = None,
                   proximity_placement_group_id: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSecretArgs']]]]] = None,
                   secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
                   size: Optional[pulumi.Input[str]] = None,
                   source_image_id: Optional[pulumi.Input[str]] = None,
                   source_image_reference: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSourceImageReferenceArgs']]] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   timezone: Optional[pulumi.Input[str]] = None,
                   user_data: Optional[pulumi.Input[str]] = None,
                   virtual_machine_scale_set_id: Optional[pulumi.Input[str]] = None,
                   vtpm_enabled: Optional[pulumi.Input[bool]] = None,
                   winrm_listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineWinrmListenerArgs']]]]] = None,
                   zone: Optional[pulumi.Input[str]] = None,
                   __props__=None):
          """
          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` setting within the Provider block.
  
          > **Note** All arguments including the administrator login and password will be stored in the raw state as plain-text.
  
          > **Note** This resource does not support Unmanaged Disks. If you need to use Unmanaged Disks you can continue to use the `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 `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.
  
          ## Example Usage
  
          This example provisions a basic Windows Virtual Machine on an internal network.
  
          ```python
          import pulumi
          import pulumi_azure as azure
  
          example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
          example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
              address_spaces=["10.0.0.0/16"],
              location=example_resource_group.location,
              resource_group_name=example_resource_group.name)
          example_subnet = azure.network.Subnet("exampleSubnet",
              resource_group_name=example_resource_group.name,
              virtual_network_name=example_virtual_network.name,
              address_prefixes=["10.0.2.0/24"])
          example_network_interface = azure.network.NetworkInterface("exampleNetworkInterface",
              location=example_resource_group.location,
              resource_group_name=example_resource_group.name,
              ip_configurations=[azure.network.NetworkInterfaceIpConfigurationArgs(
                  name="internal",
                  subnet_id=example_subnet.id,
                  private_ip_address_allocation="Dynamic",
              )])
          example_windows_virtual_machine = azure.compute.WindowsVirtualMachine("exampleWindowsVirtualMachine",
              resource_group_name=example_resource_group.name,
              location=example_resource_group.location,
              size="Standard_F2",
              admin_username="adminuser",
              admin_password="P@$$w0rd1234!",
              network_interface_ids=[example_network_interface.id],
              os_disk=azure.compute.WindowsVirtualMachineOsDiskArgs(
                  caching="ReadWrite",
                  storage_account_type="Standard_LRS",
              ),
              source_image_reference=azure.compute.WindowsVirtualMachineSourceImageReferenceArgs(
                  publisher="MicrosoftWindowsServer",
                  offer="WindowsServer",
                  sku="2016-Datacenter",
                  version="latest",
              ))
          ```
  
          ## Import
  
          Windows Virtual Machines can be imported using the `resource id`, e.g.
  
          ```sh
           $ pulumi import azure:compute/windowsVirtualMachine:WindowsVirtualMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/virtualMachines/machine1
          ```
  
          :param str resource_name: The name of the resource.
          :param pulumi.ResourceOptions opts: Options for the resource.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalCapabilitiesArgs']] additional_capabilities: A `additional_capabilities` block as defined below.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalUnattendContentArgs']]]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine?
          :param pulumi.Input[str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineBootDiagnosticsArgs']] boot_diagnostics: A `boot_diagnostics` block as defined below.
          :param pulumi.Input[str] computer_name: 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.
          :param pulumi.Input[str] custom_data: The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] dedicated_host_id: The ID of a Dedicated Host where this machine should be run on.
          :param pulumi.Input[bool] enable_automatic_updates: Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] encryption_at_host_enabled: Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          :param pulumi.Input[str] eviction_policy: 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.
          :param pulumi.Input[str] extensions_time_budget: Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineIdentityArgs']] identity: An `identity` block as defined below.
          :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[float] max_bid_price: 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.
          :param pulumi.Input[str] name: The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] network_interface_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.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineOsDiskArgs']] os_disk: A `os_disk` block as defined below.
          :param pulumi.Input[str] patch_mode: Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachinePlanArgs']] plan: A `plan` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[int] platform_fault_domain: Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          :param pulumi.Input[str] priority: 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.
          :param pulumi.Input[bool] provision_vm_agent: Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          :param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSecretArgs']]]] secrets: One or more `secret` blocks as defined below.
          :param pulumi.Input[bool] secure_boot_enabled: Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] size: The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          :param pulumi.Input[str] source_image_id: The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineSourceImageReferenceArgs']] source_image_reference: A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to this Virtual Machine.
          :param pulumi.Input[str] timezone: Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          :param pulumi.Input[str] user_data: The Base64-Encoded User Data which should be used for this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_scale_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.
          :param pulumi.Input[bool] vtpm_enabled: Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineWinrmListenerArgs']]]] winrm_listeners: One or more `winrm_listener` blocks as defined below.
          :param pulumi.Input[str] zone: The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          ...
      @overload
      def __init__(__self__,
                   resource_name: str,
                   args: WindowsVirtualMachineArgs,
                   opts: Optional[pulumi.ResourceOptions] = None):
          """
          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` setting within the Provider block.
  
          > **Note** All arguments including the administrator login and password will be stored in the raw state as plain-text.
  
          > **Note** This resource does not support Unmanaged Disks. If you need to use Unmanaged Disks you can continue to use the `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 `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.
  
          ## Example Usage
  
          This example provisions a basic Windows Virtual Machine on an internal network.
  
          ```python
          import pulumi
          import pulumi_azure as azure
  
          example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
          example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
              address_spaces=["10.0.0.0/16"],
              location=example_resource_group.location,
              resource_group_name=example_resource_group.name)
          example_subnet = azure.network.Subnet("exampleSubnet",
              resource_group_name=example_resource_group.name,
              virtual_network_name=example_virtual_network.name,
              address_prefixes=["10.0.2.0/24"])
          example_network_interface = azure.network.NetworkInterface("exampleNetworkInterface",
              location=example_resource_group.location,
              resource_group_name=example_resource_group.name,
              ip_configurations=[azure.network.NetworkInterfaceIpConfigurationArgs(
                  name="internal",
                  subnet_id=example_subnet.id,
                  private_ip_address_allocation="Dynamic",
              )])
          example_windows_virtual_machine = azure.compute.WindowsVirtualMachine("exampleWindowsVirtualMachine",
              resource_group_name=example_resource_group.name,
              location=example_resource_group.location,
              size="Standard_F2",
              admin_username="adminuser",
              admin_password="P@$$w0rd1234!",
              network_interface_ids=[example_network_interface.id],
              os_disk=azure.compute.WindowsVirtualMachineOsDiskArgs(
                  caching="ReadWrite",
                  storage_account_type="Standard_LRS",
              ),
              source_image_reference=azure.compute.WindowsVirtualMachineSourceImageReferenceArgs(
                  publisher="MicrosoftWindowsServer",
                  offer="WindowsServer",
                  sku="2016-Datacenter",
                  version="latest",
              ))
          ```
  
          ## Import
  
          Windows Virtual Machines can be imported using the `resource id`, e.g.
  
          ```sh
           $ pulumi import azure:compute/windowsVirtualMachine:WindowsVirtualMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/virtualMachines/machine1
          ```
  
          :param str resource_name: The name of the resource.
          :param WindowsVirtualMachineArgs args: The arguments to use to populate this resource's properties.
          :param pulumi.ResourceOptions opts: Options for the resource.
          """
          ...
      def __init__(__self__, resource_name: str, *args, **kwargs):
          resource_args, opts = _utilities.get_resource_args_opts(WindowsVirtualMachineArgs, pulumi.ResourceOptions, *args, **kwargs)
          if resource_args is not None:
              __self__._internal_init(resource_name, opts, **resource_args.__dict__)
          else:
              __self__._internal_init(resource_name, *args, **kwargs)
  
      def _internal_init(__self__,
                   resource_name: str,
                   opts: Optional[pulumi.ResourceOptions] = None,
                   additional_capabilities: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalCapabilitiesArgs']]] = None,
                   additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]] = None,
                   admin_password: Optional[pulumi.Input[str]] = None,
                   admin_username: Optional[pulumi.Input[str]] = None,
                   allow_extension_operations: Optional[pulumi.Input[bool]] = None,
                   availability_set_id: Optional[pulumi.Input[str]] = None,
                   boot_diagnostics: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineBootDiagnosticsArgs']]] = None,
                   computer_name: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   dedicated_host_id: Optional[pulumi.Input[str]] = None,
                   enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
                   encryption_at_host_enabled: Optional[pulumi.Input[bool]] = None,
                   eviction_policy: Optional[pulumi.Input[str]] = None,
                   extensions_time_budget: Optional[pulumi.Input[str]] = None,
                   identity: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineIdentityArgs']]] = None,
                   license_type: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   max_bid_price: Optional[pulumi.Input[float]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   os_disk: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineOsDiskArgs']]] = None,
                   patch_mode: Optional[pulumi.Input[str]] = None,
                   plan: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachinePlanArgs']]] = None,
                   platform_fault_domain: Optional[pulumi.Input[int]] = None,
                   priority: Optional[pulumi.Input[str]] = None,
                   provision_vm_agent: Optional[pulumi.Input[bool]] = None,
                   proximity_placement_group_id: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSecretArgs']]]]] = None,
                   secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
                   size: Optional[pulumi.Input[str]] = None,
                   source_image_id: Optional[pulumi.Input[str]] = None,
                   source_image_reference: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSourceImageReferenceArgs']]] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   timezone: Optional[pulumi.Input[str]] = None,
                   user_data: Optional[pulumi.Input[str]] = None,
                   virtual_machine_scale_set_id: Optional[pulumi.Input[str]] = None,
                   vtpm_enabled: Optional[pulumi.Input[bool]] = None,
                   winrm_listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineWinrmListenerArgs']]]]] = None,
                   zone: Optional[pulumi.Input[str]] = None,
                   __props__=None):
          if opts is None:
              opts = pulumi.ResourceOptions()
          if not isinstance(opts, pulumi.ResourceOptions):
              raise TypeError('Expected resource options to be a ResourceOptions instance')
          if opts.version is None:
              opts.version = _utilities.get_version()
          if opts.id is None:
              if __props__ is not None:
                  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
              __props__ = WindowsVirtualMachineArgs.__new__(WindowsVirtualMachineArgs)
  
              __props__.__dict__["additional_capabilities"] = additional_capabilities
              __props__.__dict__["additional_unattend_contents"] = additional_unattend_contents
              if admin_password is None and not opts.urn:
                  raise TypeError("Missing required property 'admin_password'")
              __props__.__dict__["admin_password"] = admin_password
              if admin_username is None and not opts.urn:
                  raise TypeError("Missing required property 'admin_username'")
              __props__.__dict__["admin_username"] = admin_username
              __props__.__dict__["allow_extension_operations"] = allow_extension_operations
              __props__.__dict__["availability_set_id"] = availability_set_id
              __props__.__dict__["boot_diagnostics"] = boot_diagnostics
              __props__.__dict__["computer_name"] = computer_name
              __props__.__dict__["custom_data"] = custom_data
              __props__.__dict__["dedicated_host_id"] = dedicated_host_id
              __props__.__dict__["enable_automatic_updates"] = enable_automatic_updates
              __props__.__dict__["encryption_at_host_enabled"] = encryption_at_host_enabled
              __props__.__dict__["eviction_policy"] = eviction_policy
              __props__.__dict__["extensions_time_budget"] = extensions_time_budget
              __props__.__dict__["identity"] = identity
              __props__.__dict__["license_type"] = license_type
              __props__.__dict__["location"] = location
              __props__.__dict__["max_bid_price"] = max_bid_price
              __props__.__dict__["name"] = name
              if network_interface_ids is None and not opts.urn:
                  raise TypeError("Missing required property 'network_interface_ids'")
              __props__.__dict__["network_interface_ids"] = network_interface_ids
              if os_disk is None and not opts.urn:
                  raise TypeError("Missing required property 'os_disk'")
              __props__.__dict__["os_disk"] = os_disk
              __props__.__dict__["patch_mode"] = patch_mode
              __props__.__dict__["plan"] = plan
              __props__.__dict__["platform_fault_domain"] = platform_fault_domain
              __props__.__dict__["priority"] = priority
              __props__.__dict__["provision_vm_agent"] = provision_vm_agent
              __props__.__dict__["proximity_placement_group_id"] = proximity_placement_group_id
              if resource_group_name is None and not opts.urn:
                  raise TypeError("Missing required property 'resource_group_name'")
              __props__.__dict__["resource_group_name"] = resource_group_name
              __props__.__dict__["secrets"] = secrets
              __props__.__dict__["secure_boot_enabled"] = secure_boot_enabled
              if size is None and not opts.urn:
                  raise TypeError("Missing required property 'size'")
              __props__.__dict__["size"] = size
              __props__.__dict__["source_image_id"] = source_image_id
              __props__.__dict__["source_image_reference"] = source_image_reference
              __props__.__dict__["tags"] = tags
              __props__.__dict__["timezone"] = timezone
              __props__.__dict__["user_data"] = user_data
              __props__.__dict__["virtual_machine_scale_set_id"] = virtual_machine_scale_set_id
              __props__.__dict__["vtpm_enabled"] = vtpm_enabled
              __props__.__dict__["winrm_listeners"] = winrm_listeners
              __props__.__dict__["zone"] = zone
              __props__.__dict__["private_ip_address"] = None
              __props__.__dict__["private_ip_addresses"] = None
              __props__.__dict__["public_ip_address"] = None
              __props__.__dict__["public_ip_addresses"] = None
              __props__.__dict__["virtual_machine_id"] = None
          super(WindowsVirtualMachine, __self__).__init__(
              'azure:compute/windowsVirtualMachine:WindowsVirtualMachine',
              resource_name,
              __props__,
              opts)
  
      @staticmethod
      def get(resource_name: str,
              id: pulumi.Input[str],
              opts: Optional[pulumi.ResourceOptions] = None,
              additional_capabilities: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalCapabilitiesArgs']]] = None,
              additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]] = None,
              admin_password: Optional[pulumi.Input[str]] = None,
              admin_username: Optional[pulumi.Input[str]] = None,
              allow_extension_operations: Optional[pulumi.Input[bool]] = None,
              availability_set_id: Optional[pulumi.Input[str]] = None,
              boot_diagnostics: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineBootDiagnosticsArgs']]] = None,
              computer_name: Optional[pulumi.Input[str]] = None,
              custom_data: Optional[pulumi.Input[str]] = None,
              dedicated_host_id: Optional[pulumi.Input[str]] = None,
              enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
              encryption_at_host_enabled: Optional[pulumi.Input[bool]] = None,
              eviction_policy: Optional[pulumi.Input[str]] = None,
              extensions_time_budget: Optional[pulumi.Input[str]] = None,
              identity: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineIdentityArgs']]] = None,
              license_type: Optional[pulumi.Input[str]] = None,
              location: Optional[pulumi.Input[str]] = None,
              max_bid_price: Optional[pulumi.Input[float]] = None,
              name: Optional[pulumi.Input[str]] = None,
              network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              os_disk: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineOsDiskArgs']]] = None,
              patch_mode: Optional[pulumi.Input[str]] = None,
              plan: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachinePlanArgs']]] = None,
              platform_fault_domain: Optional[pulumi.Input[int]] = None,
              priority: Optional[pulumi.Input[str]] = None,
              private_ip_address: Optional[pulumi.Input[str]] = None,
              private_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              provision_vm_agent: Optional[pulumi.Input[bool]] = None,
              proximity_placement_group_id: Optional[pulumi.Input[str]] = None,
              public_ip_address: Optional[pulumi.Input[str]] = None,
              public_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              resource_group_name: Optional[pulumi.Input[str]] = None,
              secrets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSecretArgs']]]]] = None,
              secure_boot_enabled: Optional[pulumi.Input[bool]] = None,
              size: Optional[pulumi.Input[str]] = None,
              source_image_id: Optional[pulumi.Input[str]] = None,
              source_image_reference: Optional[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSourceImageReferenceArgs']]] = None,
              tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
              timezone: Optional[pulumi.Input[str]] = None,
              user_data: Optional[pulumi.Input[str]] = None,
              virtual_machine_id: Optional[pulumi.Input[str]] = None,
              virtual_machine_scale_set_id: Optional[pulumi.Input[str]] = None,
              vtpm_enabled: Optional[pulumi.Input[bool]] = None,
              winrm_listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineWinrmListenerArgs']]]]] = None,
              zone: Optional[pulumi.Input[str]] = None) -> 'WindowsVirtualMachine':
          """
          Get an existing WindowsVirtualMachine resource's state with the given name, id, and optional extra
          properties used to qualify the lookup.
  
          :param str resource_name: The unique name of the resulting resource.
          :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
          :param pulumi.ResourceOptions opts: Options for the resource.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalCapabilitiesArgs']] additional_capabilities: A `additional_capabilities` block as defined below.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineAdditionalUnattendContentArgs']]]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine?
          :param pulumi.Input[str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineBootDiagnosticsArgs']] boot_diagnostics: A `boot_diagnostics` block as defined below.
          :param pulumi.Input[str] computer_name: 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.
          :param pulumi.Input[str] custom_data: The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] dedicated_host_id: The ID of a Dedicated Host where this machine should be run on.
          :param pulumi.Input[bool] enable_automatic_updates: Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[bool] encryption_at_host_enabled: Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          :param pulumi.Input[str] eviction_policy: 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.
          :param pulumi.Input[str] extensions_time_budget: Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineIdentityArgs']] identity: An `identity` block as defined below.
          :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          :param pulumi.Input[float] max_bid_price: 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.
          :param pulumi.Input[str] name: The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] network_interface_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.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineOsDiskArgs']] os_disk: A `os_disk` block as defined below.
          :param pulumi.Input[str] patch_mode: Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachinePlanArgs']] plan: A `plan` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[int] platform_fault_domain: Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          :param pulumi.Input[str] priority: 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.
          :param pulumi.Input[str] private_ip_address: The Primary Private IP Address assigned to this Virtual Machine.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ip_addresses: A list of Private IP Addresses assigned to this Virtual Machine.
          :param pulumi.Input[bool] provision_vm_agent: Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          :param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          :param pulumi.Input[str] public_ip_address: The Primary Public IP Address assigned to this Virtual Machine.
          :param pulumi.Input[Sequence[pulumi.Input[str]]] public_ip_addresses: A list of the Public IP Addresses assigned to this Virtual Machine.
          :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineSecretArgs']]]] secrets: One or more `secret` blocks as defined below.
          :param pulumi.Input[bool] secure_boot_enabled: Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[str] size: The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          :param pulumi.Input[str] source_image_id: The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          :param pulumi.Input[pulumi.InputType['WindowsVirtualMachineSourceImageReferenceArgs']] source_image_reference: A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to this Virtual Machine.
          :param pulumi.Input[str] timezone: Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          :param pulumi.Input[str] user_data: The Base64-Encoded User Data which should be used for this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_id: A 128-bit identifier which uniquely identifies this Virtual Machine.
          :param pulumi.Input[str] virtual_machine_scale_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.
          :param pulumi.Input[bool] vtpm_enabled: Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WindowsVirtualMachineWinrmListenerArgs']]]] winrm_listeners: One or more `winrm_listener` blocks as defined below.
          :param pulumi.Input[str] zone: The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
  
          __props__ = _WindowsVirtualMachineState.__new__(_WindowsVirtualMachineState)
  
          __props__.__dict__["additional_capabilities"] = additional_capabilities
          __props__.__dict__["additional_unattend_contents"] = additional_unattend_contents
          __props__.__dict__["admin_password"] = admin_password
          __props__.__dict__["admin_username"] = admin_username
          __props__.__dict__["allow_extension_operations"] = allow_extension_operations
          __props__.__dict__["availability_set_id"] = availability_set_id
          __props__.__dict__["boot_diagnostics"] = boot_diagnostics
          __props__.__dict__["computer_name"] = computer_name
          __props__.__dict__["custom_data"] = custom_data
          __props__.__dict__["dedicated_host_id"] = dedicated_host_id
          __props__.__dict__["enable_automatic_updates"] = enable_automatic_updates
          __props__.__dict__["encryption_at_host_enabled"] = encryption_at_host_enabled
          __props__.__dict__["eviction_policy"] = eviction_policy
          __props__.__dict__["extensions_time_budget"] = extensions_time_budget
          __props__.__dict__["identity"] = identity
          __props__.__dict__["license_type"] = license_type
          __props__.__dict__["location"] = location
          __props__.__dict__["max_bid_price"] = max_bid_price
          __props__.__dict__["name"] = name
          __props__.__dict__["network_interface_ids"] = network_interface_ids
          __props__.__dict__["os_disk"] = os_disk
          __props__.__dict__["patch_mode"] = patch_mode
          __props__.__dict__["plan"] = plan
          __props__.__dict__["platform_fault_domain"] = platform_fault_domain
          __props__.__dict__["priority"] = priority
          __props__.__dict__["private_ip_address"] = private_ip_address
          __props__.__dict__["private_ip_addresses"] = private_ip_addresses
          __props__.__dict__["provision_vm_agent"] = provision_vm_agent
          __props__.__dict__["proximity_placement_group_id"] = proximity_placement_group_id
          __props__.__dict__["public_ip_address"] = public_ip_address
          __props__.__dict__["public_ip_addresses"] = public_ip_addresses
          __props__.__dict__["resource_group_name"] = resource_group_name
          __props__.__dict__["secrets"] = secrets
          __props__.__dict__["secure_boot_enabled"] = secure_boot_enabled
          __props__.__dict__["size"] = size
          __props__.__dict__["source_image_id"] = source_image_id
          __props__.__dict__["source_image_reference"] = source_image_reference
          __props__.__dict__["tags"] = tags
          __props__.__dict__["timezone"] = timezone
          __props__.__dict__["user_data"] = user_data
          __props__.__dict__["virtual_machine_id"] = virtual_machine_id
          __props__.__dict__["virtual_machine_scale_set_id"] = virtual_machine_scale_set_id
          __props__.__dict__["vtpm_enabled"] = vtpm_enabled
          __props__.__dict__["winrm_listeners"] = winrm_listeners
          __props__.__dict__["zone"] = zone
          return WindowsVirtualMachine(resource_name, opts=opts, __props__=__props__)
  
      @property
      @pulumi.getter(name="additionalCapabilities")
      def additional_capabilities(self) -> pulumi.Output[Optional['outputs.WindowsVirtualMachineAdditionalCapabilities']]:
          """
          A `additional_capabilities` block as defined below.
          """
          return pulumi.get(self, "additional_capabilities")
  
      @property
      @pulumi.getter(name="additionalUnattendContents")
      def additional_unattend_contents(self) -> pulumi.Output[Optional[Sequence['outputs.WindowsVirtualMachineAdditionalUnattendContent']]]:
          """
          One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "additional_unattend_contents")
  
      @property
      @pulumi.getter(name="adminPassword")
      def admin_password(self) -> pulumi.Output[str]:
          """
          The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_password")
  
      @property
      @pulumi.getter(name="adminUsername")
      def admin_username(self) -> pulumi.Output[str]:
          """
          The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "admin_username")
  
      @property
      @pulumi.getter(name="allowExtensionOperations")
      def allow_extension_operations(self) -> pulumi.Output[Optional[bool]]:
          """
          Should Extension Operations be allowed on this Virtual Machine?
          """
          return pulumi.get(self, "allow_extension_operations")
  
      @property
      @pulumi.getter(name="availabilitySetId")
      def availability_set_id(self) -> pulumi.Output[Optional[str]]:
          """
          Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "availability_set_id")
  
      @property
      @pulumi.getter(name="bootDiagnostics")
      def boot_diagnostics(self) -> pulumi.Output[Optional['outputs.WindowsVirtualMachineBootDiagnostics']]:
          """
          A `boot_diagnostics` block as defined below.
          """
          return pulumi.get(self, "boot_diagnostics")
  
      @property
      @pulumi.getter(name="computerName")
      def computer_name(self) -> pulumi.Output[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.
          """
          return pulumi.get(self, "computer_name")
  
      @property
      @pulumi.getter(name="customData")
      def custom_data(self) -> pulumi.Output[Optional[str]]:
          """
          The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "custom_data")
  
      @property
      @pulumi.getter(name="dedicatedHostId")
      def dedicated_host_id(self) -> pulumi.Output[Optional[str]]:
          """
          The ID of a Dedicated Host where this machine should be run on.
          """
          return pulumi.get(self, "dedicated_host_id")
  
      @property
      @pulumi.getter(name="enableAutomaticUpdates")
      def enable_automatic_updates(self) -> pulumi.Output[Optional[bool]]:
          """
          Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "enable_automatic_updates")
  
      @property
      @pulumi.getter(name="encryptionAtHostEnabled")
      def encryption_at_host_enabled(self) -> pulumi.Output[Optional[bool]]:
          """
          Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
          """
          return pulumi.get(self, "encryption_at_host_enabled")
  
      @property
      @pulumi.getter(name="evictionPolicy")
      def eviction_policy(self) -> pulumi.Output[Optional[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.
          """
          return pulumi.get(self, "eviction_policy")
  
      @property
      @pulumi.getter(name="extensionsTimeBudget")
      def extensions_time_budget(self) -> pulumi.Output[Optional[str]]:
          """
          Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (`PT1H30M`).
          """
          return pulumi.get(self, "extensions_time_budget")
  
      @property
      @pulumi.getter
      def identity(self) -> pulumi.Output[Optional['outputs.WindowsVirtualMachineIdentity']]:
          """
          An `identity` block as defined below.
          """
          return pulumi.get(self, "identity")
  
      @property
      @pulumi.getter(name="licenseType")
      def license_type(self) -> pulumi.Output[Optional[str]]:
          """
          Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/en-us/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
          """
          return pulumi.get(self, "license_type")
  
      @property
      @pulumi.getter
      def location(self) -> pulumi.Output[str]:
          """
          The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "location")
  
      @property
      @pulumi.getter(name="maxBidPrice")
      def max_bid_price(self) -> pulumi.Output[Optional[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.
          """
          return pulumi.get(self, "max_bid_price")
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Output[str]:
          """
          The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "name")
  
      @property
      @pulumi.getter(name="networkInterfaceIds")
      def network_interface_ids(self) -> pulumi.Output[Sequence[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.
          """
          return pulumi.get(self, "network_interface_ids")
  
      @property
      @pulumi.getter(name="osDisk")
      def os_disk(self) -> pulumi.Output['outputs.WindowsVirtualMachineOsDisk']:
          """
          A `os_disk` block as defined below.
          """
          return pulumi.get(self, "os_disk")
  
      @property
      @pulumi.getter(name="patchMode")
      def patch_mode(self) -> pulumi.Output[Optional[str]]:
          """
          Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`.
          """
          return pulumi.get(self, "patch_mode")
  
      @property
      @pulumi.getter
      def plan(self) -> pulumi.Output[Optional['outputs.WindowsVirtualMachinePlan']]:
          """
          A `plan` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "plan")
  
      @property
      @pulumi.getter(name="platformFaultDomain")
      def platform_fault_domain(self) -> pulumi.Output[Optional[int]]:
          """
          Specifies the Platform Fault Domain in which this Windows Virtual Machine should be created. Defaults to `-1`, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Windows Virtual Machine to be created.
          """
          return pulumi.get(self, "platform_fault_domain")
  
      @property
      @pulumi.getter
      def priority(self) -> pulumi.Output[Optional[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.
          """
          return pulumi.get(self, "priority")
  
      @property
      @pulumi.getter(name="privateIpAddress")
      def private_ip_address(self) -> pulumi.Output[str]:
          """
          The Primary Private IP Address assigned to this Virtual Machine.
          """
          return pulumi.get(self, "private_ip_address")
  
      @property
      @pulumi.getter(name="privateIpAddresses")
      def private_ip_addresses(self) -> pulumi.Output[Sequence[str]]:
          """
          A list of Private IP Addresses assigned to this Virtual Machine.
          """
          return pulumi.get(self, "private_ip_addresses")
  
      @property
      @pulumi.getter(name="provisionVmAgent")
      def provision_vm_agent(self) -> pulumi.Output[Optional[bool]]:
          """
          Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "provision_vm_agent")
  
      @property
      @pulumi.getter(name="proximityPlacementGroupId")
      def proximity_placement_group_id(self) -> pulumi.Output[Optional[str]]:
          """
          The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
          """
          return pulumi.get(self, "proximity_placement_group_id")
  
      @property
      @pulumi.getter(name="publicIpAddress")
      def public_ip_address(self) -> pulumi.Output[str]:
          """
          The Primary Public IP Address assigned to this Virtual Machine.
          """
          return pulumi.get(self, "public_ip_address")
  
      @property
      @pulumi.getter(name="publicIpAddresses")
      def public_ip_addresses(self) -> pulumi.Output[Sequence[str]]:
          """
          A list of the Public IP Addresses assigned to this Virtual Machine.
          """
          return pulumi.get(self, "public_ip_addresses")
  
      @property
      @pulumi.getter(name="resourceGroupName")
      def resource_group_name(self) -> pulumi.Output[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.
          """
          return pulumi.get(self, "resource_group_name")
  
      @property
      @pulumi.getter
      def secrets(self) -> pulumi.Output[Optional[Sequence['outputs.WindowsVirtualMachineSecret']]]:
          """
          One or more `secret` blocks as defined below.
          """
          return pulumi.get(self, "secrets")
  
      @property
      @pulumi.getter(name="secureBootEnabled")
      def secure_boot_enabled(self) -> pulumi.Output[Optional[bool]]:
          """
          Specifies if Secure Boot and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "secure_boot_enabled")
  
      @property
      @pulumi.getter
      def size(self) -> pulumi.Output[str]:
          """
          The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
          """
          return pulumi.get(self, "size")
  
      @property
      @pulumi.getter(name="sourceImageId")
      def source_image_id(self) -> pulumi.Output[Optional[str]]:
          """
          The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_id")
  
      @property
      @pulumi.getter(name="sourceImageReference")
      def source_image_reference(self) -> pulumi.Output[Optional['outputs.WindowsVirtualMachineSourceImageReference']]:
          """
          A `source_image_reference` block as defined below. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "source_image_reference")
  
      @property
      @pulumi.getter
      def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
          """
          A mapping of tags which should be assigned to this Virtual Machine.
          """
          return pulumi.get(self, "tags")
  
      @property
      @pulumi.getter
      def timezone(self) -> pulumi.Output[Optional[str]]:
          """
          Specifies the Time Zone which should be used by the Virtual Machine, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
          """
          return pulumi.get(self, "timezone")
  
      @property
      @pulumi.getter(name="userData")
      def user_data(self) -> pulumi.Output[Optional[str]]:
          """
          The Base64-Encoded User Data which should be used for this Virtual Machine.
          """
          return pulumi.get(self, "user_data")
  
      @property
      @pulumi.getter(name="virtualMachineId")
      def virtual_machine_id(self) -> pulumi.Output[str]:
          """
          A 128-bit identifier which uniquely identifies this Virtual Machine.
          """
          return pulumi.get(self, "virtual_machine_id")
  
      @property
      @pulumi.getter(name="virtualMachineScaleSetId")
      def virtual_machine_scale_set_id(self) -> pulumi.Output[Optional[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.
          """
          return pulumi.get(self, "virtual_machine_scale_set_id")
  
      @property
      @pulumi.getter(name="vtpmEnabled")
      def vtpm_enabled(self) -> pulumi.Output[Optional[bool]]:
          """
          Specifies if vTPM (virtual Trusted Plaform Module) and Trusted Launch is enabled for the Virtual Machine. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "vtpm_enabled")
  
      @property
      @pulumi.getter(name="winrmListeners")
      def winrm_listeners(self) -> pulumi.Output[Optional[Sequence['outputs.WindowsVirtualMachineWinrmListener']]]:
          """
          One or more `winrm_listener` blocks as defined below.
          """
          return pulumi.get(self, "winrm_listeners")
  
      @property
      @pulumi.getter
      def zone(self) -> pulumi.Output[str]:
          """
          The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
          """
          return pulumi.get(self, "zone")
  
  