text: # coding=utf-8
  # *** WARNING: this file was generated by the Pulumi SDK Generator. ***
  # *** 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 ._enums import *
  
  __all__ = [
      'AdditionalUnattendContentArgs',
      'ApiEntityReferenceArgs',
      'BootDiagnosticsArgs',
      'DataDiskArgs',
      'DiagnosticsProfileArgs',
      'DiskEncryptionSettingsArgs',
      'HardwareProfileArgs',
      'ImageReferenceArgs',
      'InstanceViewStatusArgs',
      'KeyVaultKeyReferenceArgs',
      'KeyVaultSecretReferenceArgs',
      'LinuxConfigurationArgs',
      'NetworkInterfaceReferenceArgs',
      'NetworkProfileArgs',
      'OSDiskArgs',
      'OSProfileArgs',
      'PlanArgs',
      'SkuArgs',
      'SshConfigurationArgs',
      'SshPublicKeyArgs',
      'StorageProfileArgs',
      'SubResourceArgs',
      'UpgradePolicyArgs',
      'VaultCertificateArgs',
      'VaultSecretGroupArgs',
      'VirtualHardDiskArgs',
      'VirtualMachineExtensionInstanceViewArgs',
      'VirtualMachineScaleSetExtensionArgs',
      'VirtualMachineScaleSetExtensionProfileArgs',
      'VirtualMachineScaleSetIPConfigurationArgs',
      'VirtualMachineScaleSetNetworkConfigurationArgs',
      'VirtualMachineScaleSetNetworkProfileArgs',
      'VirtualMachineScaleSetOSDiskArgs',
      'VirtualMachineScaleSetOSProfileArgs',
      'VirtualMachineScaleSetStorageProfileArgs',
      'VirtualMachineScaleSetVMProfileArgs',
      'WinRMConfigurationArgs',
      'WinRMListenerArgs',
      'WindowsConfigurationArgs',
  ]
  
  @pulumi.input_type
  class AdditionalUnattendContentArgs:
      def __init__(__self__, *,
                   component_name: Optional[pulumi.Input['ComponentNames']] = None,
                   content: Optional[pulumi.Input[str]] = None,
                   pass_name: Optional[pulumi.Input['PassNames']] = None,
                   setting_name: Optional[pulumi.Input['SettingNames']] = None):
          """
          Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.
          :param pulumi.Input['ComponentNames'] component_name: The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
          :param pulumi.Input[str] content: Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
          :param pulumi.Input['PassNames'] pass_name: The pass name. Currently, the only allowable value is OobeSystem.
          :param pulumi.Input['SettingNames'] setting_name: Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
          """
          if component_name is not None:
              pulumi.set(__self__, "component_name", component_name)
          if content is not None:
              pulumi.set(__self__, "content", content)
          if pass_name is not None:
              pulumi.set(__self__, "pass_name", pass_name)
          if setting_name is not None:
              pulumi.set(__self__, "setting_name", setting_name)
  
      @property
      @pulumi.getter(name="componentName")
      def component_name(self) -> Optional[pulumi.Input['ComponentNames']]:
          """
          The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
          """
          return pulumi.get(self, "component_name")
  
      @component_name.setter
      def component_name(self, value: Optional[pulumi.Input['ComponentNames']]):
          pulumi.set(self, "component_name", value)
  
      @property
      @pulumi.getter
      def content(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
          """
          return pulumi.get(self, "content")
  
      @content.setter
      def content(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "content", value)
  
      @property
      @pulumi.getter(name="passName")
      def pass_name(self) -> Optional[pulumi.Input['PassNames']]:
          """
          The pass name. Currently, the only allowable value is OobeSystem.
          """
          return pulumi.get(self, "pass_name")
  
      @pass_name.setter
      def pass_name(self, value: Optional[pulumi.Input['PassNames']]):
          pulumi.set(self, "pass_name", value)
  
      @property
      @pulumi.getter(name="settingName")
      def setting_name(self) -> Optional[pulumi.Input['SettingNames']]:
          """
          Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
          """
          return pulumi.get(self, "setting_name")
  
      @setting_name.setter
      def setting_name(self, value: Optional[pulumi.Input['SettingNames']]):
          pulumi.set(self, "setting_name", value)
  
  
  @pulumi.input_type
  class ApiEntityReferenceArgs:
      def __init__(__self__, *,
                   id: Optional[pulumi.Input[str]] = None):
          """
          The API entity reference.
          :param pulumi.Input[str] id: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
          """
          if id is not None:
              pulumi.set(__self__, "id", id)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
  
  @pulumi.input_type
  class BootDiagnosticsArgs:
      def __init__(__self__, *,
                   enabled: Optional[pulumi.Input[bool]] = None,
                   storage_uri: Optional[pulumi.Input[str]] = None):
          """
          Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
          :param pulumi.Input[bool] enabled: Whether boot diagnostics should be enabled on the Virtual Machine.
          :param pulumi.Input[str] storage_uri: Uri of the storage account to use for placing the console output and screenshot.
          """
          if enabled is not None:
              pulumi.set(__self__, "enabled", enabled)
          if storage_uri is not None:
              pulumi.set(__self__, "storage_uri", storage_uri)
  
      @property
      @pulumi.getter
      def enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Whether boot diagnostics should be enabled on the Virtual Machine.
          """
          return pulumi.get(self, "enabled")
  
      @enabled.setter
      def enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "enabled", value)
  
      @property
      @pulumi.getter(name="storageUri")
      def storage_uri(self) -> Optional[pulumi.Input[str]]:
          """
          Uri of the storage account to use for placing the console output and screenshot.
          """
          return pulumi.get(self, "storage_uri")
  
      @storage_uri.setter
      def storage_uri(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "storage_uri", value)
  
  
  @pulumi.input_type
  class DataDiskArgs:
      def __init__(__self__, *,
                   create_option: pulumi.Input['DiskCreateOptionTypes'],
                   lun: pulumi.Input[int],
                   name: pulumi.Input[str],
                   vhd: pulumi.Input['VirtualHardDiskArgs'],
                   caching: Optional[pulumi.Input['CachingTypes']] = None,
                   disk_size_gb: Optional[pulumi.Input[int]] = None,
                   image: Optional[pulumi.Input['VirtualHardDiskArgs']] = None):
          """
          Describes a data disk.
          :param pulumi.Input['DiskCreateOptionTypes'] create_option: Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          :param pulumi.Input[int] lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
          :param pulumi.Input[str] name: The disk name.
          :param pulumi.Input['VirtualHardDiskArgs'] vhd: The virtual hard disk.
          :param pulumi.Input['CachingTypes'] caching: Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          :param pulumi.Input[int] disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
          :param pulumi.Input['VirtualHardDiskArgs'] image: The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
          """
          pulumi.set(__self__, "create_option", create_option)
          pulumi.set(__self__, "lun", lun)
          pulumi.set(__self__, "name", name)
          pulumi.set(__self__, "vhd", vhd)
          if caching is not None:
              pulumi.set(__self__, "caching", caching)
          if disk_size_gb is not None:
              pulumi.set(__self__, "disk_size_gb", disk_size_gb)
          if image is not None:
              pulumi.set(__self__, "image", image)
  
      @property
      @pulumi.getter(name="createOption")
      def create_option(self) -> pulumi.Input['DiskCreateOptionTypes']:
          """
          Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          """
          return pulumi.get(self, "create_option")
  
      @create_option.setter
      def create_option(self, value: pulumi.Input['DiskCreateOptionTypes']):
          pulumi.set(self, "create_option", value)
  
      @property
      @pulumi.getter
      def lun(self) -> pulumi.Input[int]:
          """
          Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
          """
          return pulumi.get(self, "lun")
  
      @lun.setter
      def lun(self, value: pulumi.Input[int]):
          pulumi.set(self, "lun", value)
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Input[str]:
          """
          The disk name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: pulumi.Input[str]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def vhd(self) -> pulumi.Input['VirtualHardDiskArgs']:
          """
          The virtual hard disk.
          """
          return pulumi.get(self, "vhd")
  
      @vhd.setter
      def vhd(self, value: pulumi.Input['VirtualHardDiskArgs']):
          pulumi.set(self, "vhd", value)
  
      @property
      @pulumi.getter
      def caching(self) -> Optional[pulumi.Input['CachingTypes']]:
          """
          Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          """
          return pulumi.get(self, "caching")
  
      @caching.setter
      def caching(self, value: Optional[pulumi.Input['CachingTypes']]):
          pulumi.set(self, "caching", value)
  
      @property
      @pulumi.getter(name="diskSizeGB")
      def disk_size_gb(self) -> Optional[pulumi.Input[int]]:
          """
          Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
          """
          return pulumi.get(self, "disk_size_gb")
  
      @disk_size_gb.setter
      def disk_size_gb(self, value: Optional[pulumi.Input[int]]):
          pulumi.set(self, "disk_size_gb", value)
  
      @property
      @pulumi.getter
      def image(self) -> Optional[pulumi.Input['VirtualHardDiskArgs']]:
          """
          The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
          """
          return pulumi.get(self, "image")
  
      @image.setter
      def image(self, value: Optional[pulumi.Input['VirtualHardDiskArgs']]):
          pulumi.set(self, "image", value)
  
  
  @pulumi.input_type
  class DiagnosticsProfileArgs:
      def __init__(__self__, *,
                   boot_diagnostics: Optional[pulumi.Input['BootDiagnosticsArgs']] = None):
          """
          Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
          :param pulumi.Input['BootDiagnosticsArgs'] boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
          """
          if boot_diagnostics is not None:
              pulumi.set(__self__, "boot_diagnostics", boot_diagnostics)
  
      @property
      @pulumi.getter(name="bootDiagnostics")
      def boot_diagnostics(self) -> Optional[pulumi.Input['BootDiagnosticsArgs']]:
          """
          Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
          """
          return pulumi.get(self, "boot_diagnostics")
  
      @boot_diagnostics.setter
      def boot_diagnostics(self, value: Optional[pulumi.Input['BootDiagnosticsArgs']]):
          pulumi.set(self, "boot_diagnostics", value)
  
  
  @pulumi.input_type
  class DiskEncryptionSettingsArgs:
      def __init__(__self__, *,
                   disk_encryption_key: pulumi.Input['KeyVaultSecretReferenceArgs'],
                   enabled: Optional[pulumi.Input[bool]] = None,
                   key_encryption_key: Optional[pulumi.Input['KeyVaultKeyReferenceArgs']] = None):
          """
          Describes a Encryption Settings for a Disk
          :param pulumi.Input['KeyVaultSecretReferenceArgs'] disk_encryption_key: Specifies the location of the disk encryption key, which is a Key Vault Secret.
          :param pulumi.Input[bool] enabled: Specifies whether disk encryption should be enabled on the virtual machine.
          :param pulumi.Input['KeyVaultKeyReferenceArgs'] key_encryption_key: Specifies the location of the key encryption key in Key Vault.
          """
          pulumi.set(__self__, "disk_encryption_key", disk_encryption_key)
          if enabled is not None:
              pulumi.set(__self__, "enabled", enabled)
          if key_encryption_key is not None:
              pulumi.set(__self__, "key_encryption_key", key_encryption_key)
  
      @property
      @pulumi.getter(name="diskEncryptionKey")
      def disk_encryption_key(self) -> pulumi.Input['KeyVaultSecretReferenceArgs']:
          """
          Specifies the location of the disk encryption key, which is a Key Vault Secret.
          """
          return pulumi.get(self, "disk_encryption_key")
  
      @disk_encryption_key.setter
      def disk_encryption_key(self, value: pulumi.Input['KeyVaultSecretReferenceArgs']):
          pulumi.set(self, "disk_encryption_key", value)
  
      @property
      @pulumi.getter
      def enabled(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies whether disk encryption should be enabled on the virtual machine.
          """
          return pulumi.get(self, "enabled")
  
      @enabled.setter
      def enabled(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "enabled", value)
  
      @property
      @pulumi.getter(name="keyEncryptionKey")
      def key_encryption_key(self) -> Optional[pulumi.Input['KeyVaultKeyReferenceArgs']]:
          """
          Specifies the location of the key encryption key in Key Vault.
          """
          return pulumi.get(self, "key_encryption_key")
  
      @key_encryption_key.setter
      def key_encryption_key(self, value: Optional[pulumi.Input['KeyVaultKeyReferenceArgs']]):
          pulumi.set(self, "key_encryption_key", value)
  
  
  @pulumi.input_type
  class HardwareProfileArgs:
      def __init__(__self__, *,
                   vm_size: Optional[pulumi.Input[Union[str, 'VirtualMachineSizeTypes']]] = None):
          """
          Specifies the hardware settings for the virtual machine.
          :param pulumi.Input[Union[str, 'VirtualMachineSizeTypes']] vm_size: Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:  <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)
          """
          if vm_size is not None:
              pulumi.set(__self__, "vm_size", vm_size)
  
      @property
      @pulumi.getter(name="vmSize")
      def vm_size(self) -> Optional[pulumi.Input[Union[str, 'VirtualMachineSizeTypes']]]:
          """
          Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:  <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)
          """
          return pulumi.get(self, "vm_size")
  
      @vm_size.setter
      def vm_size(self, value: Optional[pulumi.Input[Union[str, 'VirtualMachineSizeTypes']]]):
          pulumi.set(self, "vm_size", value)
  
  
  @pulumi.input_type
  class ImageReferenceArgs:
      def __init__(__self__, *,
                   offer: Optional[pulumi.Input[str]] = None,
                   publisher: Optional[pulumi.Input[str]] = None,
                   sku: Optional[pulumi.Input[str]] = None,
                   version: Optional[pulumi.Input[str]] = None):
          """
          Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.
          :param pulumi.Input[str] offer: Specifies the offer of the platform image or marketplace image used to create the virtual machine.
          :param pulumi.Input[str] publisher: The image publisher.
          :param pulumi.Input[str] sku: The image SKU.
          :param pulumi.Input[str] version: Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
          """
          if offer is not None:
              pulumi.set(__self__, "offer", offer)
          if publisher is not None:
              pulumi.set(__self__, "publisher", publisher)
          if sku is not None:
              pulumi.set(__self__, "sku", sku)
          if version is not None:
              pulumi.set(__self__, "version", version)
  
      @property
      @pulumi.getter
      def offer(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the offer of the platform image or marketplace image used to create the virtual machine.
          """
          return pulumi.get(self, "offer")
  
      @offer.setter
      def offer(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "offer", value)
  
      @property
      @pulumi.getter
      def publisher(self) -> Optional[pulumi.Input[str]]:
          """
          The image publisher.
          """
          return pulumi.get(self, "publisher")
  
      @publisher.setter
      def publisher(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "publisher", value)
  
      @property
      @pulumi.getter
      def sku(self) -> Optional[pulumi.Input[str]]:
          """
          The image SKU.
          """
          return pulumi.get(self, "sku")
  
      @sku.setter
      def sku(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "sku", value)
  
      @property
      @pulumi.getter
      def version(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
          """
          return pulumi.get(self, "version")
  
      @version.setter
      def version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "version", value)
  
  
  @pulumi.input_type
  class InstanceViewStatusArgs:
      def __init__(__self__, *,
                   code: Optional[pulumi.Input[str]] = None,
                   display_status: Optional[pulumi.Input[str]] = None,
                   level: Optional[pulumi.Input['StatusLevelTypes']] = None,
                   message: Optional[pulumi.Input[str]] = None,
                   time: Optional[pulumi.Input[str]] = None):
          """
          Instance view status.
          :param pulumi.Input[str] code: The status code.
          :param pulumi.Input[str] display_status: The short localizable label for the status.
          :param pulumi.Input['StatusLevelTypes'] level: The level code.
          :param pulumi.Input[str] message: The detailed status message, including for alerts and error messages.
          :param pulumi.Input[str] time: The time of the status.
          """
          if code is not None:
              pulumi.set(__self__, "code", code)
          if display_status is not None:
              pulumi.set(__self__, "display_status", display_status)
          if level is not None:
              pulumi.set(__self__, "level", level)
          if message is not None:
              pulumi.set(__self__, "message", message)
          if time is not None:
              pulumi.set(__self__, "time", time)
  
      @property
      @pulumi.getter
      def code(self) -> Optional[pulumi.Input[str]]:
          """
          The status code.
          """
          return pulumi.get(self, "code")
  
      @code.setter
      def code(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "code", value)
  
      @property
      @pulumi.getter(name="displayStatus")
      def display_status(self) -> Optional[pulumi.Input[str]]:
          """
          The short localizable label for the status.
          """
          return pulumi.get(self, "display_status")
  
      @display_status.setter
      def display_status(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "display_status", value)
  
      @property
      @pulumi.getter
      def level(self) -> Optional[pulumi.Input['StatusLevelTypes']]:
          """
          The level code.
          """
          return pulumi.get(self, "level")
  
      @level.setter
      def level(self, value: Optional[pulumi.Input['StatusLevelTypes']]):
          pulumi.set(self, "level", value)
  
      @property
      @pulumi.getter
      def message(self) -> Optional[pulumi.Input[str]]:
          """
          The detailed status message, including for alerts and error messages.
          """
          return pulumi.get(self, "message")
  
      @message.setter
      def message(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "message", value)
  
      @property
      @pulumi.getter
      def time(self) -> Optional[pulumi.Input[str]]:
          """
          The time of the status.
          """
          return pulumi.get(self, "time")
  
      @time.setter
      def time(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "time", value)
  
  
  @pulumi.input_type
  class KeyVaultKeyReferenceArgs:
      def __init__(__self__, *,
                   key_url: pulumi.Input[str],
                   source_vault: pulumi.Input['SubResourceArgs']):
          """
          Describes a reference to Key Vault Key
          :param pulumi.Input[str] key_url: The URL referencing a key encryption key in Key Vault.
          :param pulumi.Input['SubResourceArgs'] source_vault: The relative URL of the Key Vault containing the key.
          """
          pulumi.set(__self__, "key_url", key_url)
          pulumi.set(__self__, "source_vault", source_vault)
  
      @property
      @pulumi.getter(name="keyUrl")
      def key_url(self) -> pulumi.Input[str]:
          """
          The URL referencing a key encryption key in Key Vault.
          """
          return pulumi.get(self, "key_url")
  
      @key_url.setter
      def key_url(self, value: pulumi.Input[str]):
          pulumi.set(self, "key_url", value)
  
      @property
      @pulumi.getter(name="sourceVault")
      def source_vault(self) -> pulumi.Input['SubResourceArgs']:
          """
          The relative URL of the Key Vault containing the key.
          """
          return pulumi.get(self, "source_vault")
  
      @source_vault.setter
      def source_vault(self, value: pulumi.Input['SubResourceArgs']):
          pulumi.set(self, "source_vault", value)
  
  
  @pulumi.input_type
  class KeyVaultSecretReferenceArgs:
      def __init__(__self__, *,
                   secret_url: pulumi.Input[str],
                   source_vault: pulumi.Input['SubResourceArgs']):
          """
          Describes a reference to Key Vault Secret
          :param pulumi.Input[str] secret_url: The URL referencing a secret in a Key Vault.
          :param pulumi.Input['SubResourceArgs'] source_vault: The relative URL of the Key Vault containing the secret.
          """
          pulumi.set(__self__, "secret_url", secret_url)
          pulumi.set(__self__, "source_vault", source_vault)
  
      @property
      @pulumi.getter(name="secretUrl")
      def secret_url(self) -> pulumi.Input[str]:
          """
          The URL referencing a secret in a Key Vault.
          """
          return pulumi.get(self, "secret_url")
  
      @secret_url.setter
      def secret_url(self, value: pulumi.Input[str]):
          pulumi.set(self, "secret_url", value)
  
      @property
      @pulumi.getter(name="sourceVault")
      def source_vault(self) -> pulumi.Input['SubResourceArgs']:
          """
          The relative URL of the Key Vault containing the secret.
          """
          return pulumi.get(self, "source_vault")
  
      @source_vault.setter
      def source_vault(self, value: pulumi.Input['SubResourceArgs']):
          pulumi.set(self, "source_vault", value)
  
  
  @pulumi.input_type
  class LinuxConfigurationArgs:
      def __init__(__self__, *,
                   disable_password_authentication: Optional[pulumi.Input[bool]] = None,
                   ssh: Optional[pulumi.Input['SshConfigurationArgs']] = None):
          """
          Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
          :param pulumi.Input[bool] disable_password_authentication: Specifies whether password authentication should be disabled.
          :param pulumi.Input['SshConfigurationArgs'] ssh: Specifies the ssh key configuration for a Linux OS.
          """
          if disable_password_authentication is not None:
              pulumi.set(__self__, "disable_password_authentication", disable_password_authentication)
          if ssh is not None:
              pulumi.set(__self__, "ssh", ssh)
  
      @property
      @pulumi.getter(name="disablePasswordAuthentication")
      def disable_password_authentication(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies whether password authentication should be disabled.
          """
          return pulumi.get(self, "disable_password_authentication")
  
      @disable_password_authentication.setter
      def disable_password_authentication(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "disable_password_authentication", value)
  
      @property
      @pulumi.getter
      def ssh(self) -> Optional[pulumi.Input['SshConfigurationArgs']]:
          """
          Specifies the ssh key configuration for a Linux OS.
          """
          return pulumi.get(self, "ssh")
  
      @ssh.setter
      def ssh(self, value: Optional[pulumi.Input['SshConfigurationArgs']]):
          pulumi.set(self, "ssh", value)
  
  
  @pulumi.input_type
  class NetworkInterfaceReferenceArgs:
      def __init__(__self__, *,
                   id: Optional[pulumi.Input[str]] = None,
                   primary: Optional[pulumi.Input[bool]] = None):
          """
          Describes a network interface reference.
          :param pulumi.Input[str] id: Resource Id
          :param pulumi.Input[bool] primary: Specifies the primary network interface in case the virtual machine has more than 1 network interface.
          """
          if id is not None:
              pulumi.set(__self__, "id", id)
          if primary is not None:
              pulumi.set(__self__, "primary", primary)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
      @property
      @pulumi.getter
      def primary(self) -> Optional[pulumi.Input[bool]]:
          """
          Specifies the primary network interface in case the virtual machine has more than 1 network interface.
          """
          return pulumi.get(self, "primary")
  
      @primary.setter
      def primary(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "primary", value)
  
  
  @pulumi.input_type
  class NetworkProfileArgs:
      def __init__(__self__, *,
                   network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceReferenceArgs']]]] = None):
          """
          Specifies the network interfaces of the virtual machine.
          :param pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceReferenceArgs']]] network_interfaces: Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
          """
          if network_interfaces is not None:
              pulumi.set(__self__, "network_interfaces", network_interfaces)
  
      @property
      @pulumi.getter(name="networkInterfaces")
      def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceReferenceArgs']]]]:
          """
          Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
          """
          return pulumi.get(self, "network_interfaces")
  
      @network_interfaces.setter
      def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceReferenceArgs']]]]):
          pulumi.set(self, "network_interfaces", value)
  
  
  @pulumi.input_type
  class OSDiskArgs:
      def __init__(__self__, *,
                   create_option: pulumi.Input['DiskCreateOptionTypes'],
                   name: pulumi.Input[str],
                   vhd: pulumi.Input['VirtualHardDiskArgs'],
                   caching: Optional[pulumi.Input['CachingTypes']] = None,
                   disk_size_gb: Optional[pulumi.Input[int]] = None,
                   encryption_settings: Optional[pulumi.Input['DiskEncryptionSettingsArgs']] = None,
                   image: Optional[pulumi.Input['VirtualHardDiskArgs']] = None,
                   os_type: Optional[pulumi.Input['OperatingSystemTypes']] = None):
          """
          Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
          :param pulumi.Input['DiskCreateOptionTypes'] create_option: Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          :param pulumi.Input[str] name: The disk name.
          :param pulumi.Input['VirtualHardDiskArgs'] vhd: The virtual hard disk.
          :param pulumi.Input['CachingTypes'] caching: Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          :param pulumi.Input[int] disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
          :param pulumi.Input['DiskEncryptionSettingsArgs'] encryption_settings: Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
          :param pulumi.Input['VirtualHardDiskArgs'] image: The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
          :param pulumi.Input['OperatingSystemTypes'] os_type: This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**
          """
          pulumi.set(__self__, "create_option", create_option)
          pulumi.set(__self__, "name", name)
          pulumi.set(__self__, "vhd", vhd)
          if caching is not None:
              pulumi.set(__self__, "caching", caching)
          if disk_size_gb is not None:
              pulumi.set(__self__, "disk_size_gb", disk_size_gb)
          if encryption_settings is not None:
              pulumi.set(__self__, "encryption_settings", encryption_settings)
          if image is not None:
              pulumi.set(__self__, "image", image)
          if os_type is not None:
              pulumi.set(__self__, "os_type", os_type)
  
      @property
      @pulumi.getter(name="createOption")
      def create_option(self) -> pulumi.Input['DiskCreateOptionTypes']:
          """
          Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          """
          return pulumi.get(self, "create_option")
  
      @create_option.setter
      def create_option(self, value: pulumi.Input['DiskCreateOptionTypes']):
          pulumi.set(self, "create_option", value)
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Input[str]:
          """
          The disk name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: pulumi.Input[str]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def vhd(self) -> pulumi.Input['VirtualHardDiskArgs']:
          """
          The virtual hard disk.
          """
          return pulumi.get(self, "vhd")
  
      @vhd.setter
      def vhd(self, value: pulumi.Input['VirtualHardDiskArgs']):
          pulumi.set(self, "vhd", value)
  
      @property
      @pulumi.getter
      def caching(self) -> Optional[pulumi.Input['CachingTypes']]:
          """
          Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          """
          return pulumi.get(self, "caching")
  
      @caching.setter
      def caching(self, value: Optional[pulumi.Input['CachingTypes']]):
          pulumi.set(self, "caching", value)
  
      @property
      @pulumi.getter(name="diskSizeGB")
      def disk_size_gb(self) -> Optional[pulumi.Input[int]]:
          """
          Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
          """
          return pulumi.get(self, "disk_size_gb")
  
      @disk_size_gb.setter
      def disk_size_gb(self, value: Optional[pulumi.Input[int]]):
          pulumi.set(self, "disk_size_gb", value)
  
      @property
      @pulumi.getter(name="encryptionSettings")
      def encryption_settings(self) -> Optional[pulumi.Input['DiskEncryptionSettingsArgs']]:
          """
          Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
          """
          return pulumi.get(self, "encryption_settings")
  
      @encryption_settings.setter
      def encryption_settings(self, value: Optional[pulumi.Input['DiskEncryptionSettingsArgs']]):
          pulumi.set(self, "encryption_settings", value)
  
      @property
      @pulumi.getter
      def image(self) -> Optional[pulumi.Input['VirtualHardDiskArgs']]:
          """
          The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
          """
          return pulumi.get(self, "image")
  
      @image.setter
      def image(self, value: Optional[pulumi.Input['VirtualHardDiskArgs']]):
          pulumi.set(self, "image", value)
  
      @property
      @pulumi.getter(name="osType")
      def os_type(self) -> Optional[pulumi.Input['OperatingSystemTypes']]:
          """
          This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**
          """
          return pulumi.get(self, "os_type")
  
      @os_type.setter
      def os_type(self, value: Optional[pulumi.Input['OperatingSystemTypes']]):
          pulumi.set(self, "os_type", value)
  
  
  @pulumi.input_type
  class OSProfileArgs:
      def __init__(__self__, *,
                   admin_password: Optional[pulumi.Input[str]] = None,
                   admin_username: Optional[pulumi.Input[str]] = None,
                   computer_name: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   linux_configuration: Optional[pulumi.Input['LinuxConfigurationArgs']] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]] = None,
                   windows_configuration: Optional[pulumi.Input['WindowsConfigurationArgs']] = None):
          """
          Specifies the operating system settings for the virtual machine.
          :param pulumi.Input[str] admin_password: Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
          :param pulumi.Input[str] admin_username: Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters  <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          :param pulumi.Input[str] computer_name: Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
          :param pulumi.Input[str] custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          :param pulumi.Input['LinuxConfigurationArgs'] linux_configuration: Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
          :param pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]] secrets: Specifies set of certificates that should be installed onto the virtual machine.
          :param pulumi.Input['WindowsConfigurationArgs'] windows_configuration: Specifies Windows operating system settings on the virtual machine.
          """
          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 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 linux_configuration is not None:
              pulumi.set(__self__, "linux_configuration", linux_configuration)
          if secrets is not None:
              pulumi.set(__self__, "secrets", secrets)
          if windows_configuration is not None:
              pulumi.set(__self__, "windows_configuration", windows_configuration)
  
      @property
      @pulumi.getter(name="adminPassword")
      def admin_password(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
          """
          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]]:
          """
          Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters  <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          """
          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="computerName")
      def computer_name(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
          """
          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]]:
          """
          Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          """
          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="linuxConfiguration")
      def linux_configuration(self) -> Optional[pulumi.Input['LinuxConfigurationArgs']]:
          """
          Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
          """
          return pulumi.get(self, "linux_configuration")
  
      @linux_configuration.setter
      def linux_configuration(self, value: Optional[pulumi.Input['LinuxConfigurationArgs']]):
          pulumi.set(self, "linux_configuration", value)
  
      @property
      @pulumi.getter
      def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]]:
          """
          Specifies set of certificates that should be installed onto the virtual machine.
          """
          return pulumi.get(self, "secrets")
  
      @secrets.setter
      def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]]):
          pulumi.set(self, "secrets", value)
  
      @property
      @pulumi.getter(name="windowsConfiguration")
      def windows_configuration(self) -> Optional[pulumi.Input['WindowsConfigurationArgs']]:
          """
          Specifies Windows operating system settings on the virtual machine.
          """
          return pulumi.get(self, "windows_configuration")
  
      @windows_configuration.setter
      def windows_configuration(self, value: Optional[pulumi.Input['WindowsConfigurationArgs']]):
          pulumi.set(self, "windows_configuration", value)
  
  
  @pulumi.input_type
  class PlanArgs:
      def __init__(__self__, *,
                   name: Optional[pulumi.Input[str]] = None,
                   product: Optional[pulumi.Input[str]] = None,
                   promotion_code: Optional[pulumi.Input[str]] = None,
                   publisher: Optional[pulumi.Input[str]] = None):
          """
          Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
          :param pulumi.Input[str] name: The plan ID.
          :param pulumi.Input[str] product: Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
          :param pulumi.Input[str] promotion_code: The promotion code.
          :param pulumi.Input[str] publisher: The publisher ID.
          """
          if name is not None:
              pulumi.set(__self__, "name", name)
          if product is not None:
              pulumi.set(__self__, "product", product)
          if promotion_code is not None:
              pulumi.set(__self__, "promotion_code", promotion_code)
          if publisher is not None:
              pulumi.set(__self__, "publisher", publisher)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The plan ID.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def product(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
          """
          return pulumi.get(self, "product")
  
      @product.setter
      def product(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "product", value)
  
      @property
      @pulumi.getter(name="promotionCode")
      def promotion_code(self) -> Optional[pulumi.Input[str]]:
          """
          The promotion code.
          """
          return pulumi.get(self, "promotion_code")
  
      @promotion_code.setter
      def promotion_code(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "promotion_code", value)
  
      @property
      @pulumi.getter
      def publisher(self) -> Optional[pulumi.Input[str]]:
          """
          The publisher ID.
          """
          return pulumi.get(self, "publisher")
  
      @publisher.setter
      def publisher(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "publisher", value)
  
  
  @pulumi.input_type
  class SkuArgs:
      def __init__(__self__, *,
                   capacity: Optional[pulumi.Input[float]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   tier: Optional[pulumi.Input[str]] = None):
          """
          Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
          :param pulumi.Input[float] capacity: Specifies the number of virtual machines in the scale set.
          :param pulumi.Input[str] name: The sku name.
          :param pulumi.Input[str] tier: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
          """
          if capacity is not None:
              pulumi.set(__self__, "capacity", capacity)
          if name is not None:
              pulumi.set(__self__, "name", name)
          if tier is not None:
              pulumi.set(__self__, "tier", tier)
  
      @property
      @pulumi.getter
      def capacity(self) -> Optional[pulumi.Input[float]]:
          """
          Specifies the number of virtual machines in the scale set.
          """
          return pulumi.get(self, "capacity")
  
      @capacity.setter
      def capacity(self, value: Optional[pulumi.Input[float]]):
          pulumi.set(self, "capacity", value)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The sku name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def tier(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
          """
          return pulumi.get(self, "tier")
  
      @tier.setter
      def tier(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "tier", value)
  
  
  @pulumi.input_type
  class SshConfigurationArgs:
      def __init__(__self__, *,
                   public_keys: Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]] = None):
          """
          SSH configuration for Linux based VMs running on Azure
          :param pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]] public_keys: The list of SSH public keys used to authenticate with linux based VMs.
          """
          if public_keys is not None:
              pulumi.set(__self__, "public_keys", public_keys)
  
      @property
      @pulumi.getter(name="publicKeys")
      def public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]]:
          """
          The list of SSH public keys used to authenticate with linux based VMs.
          """
          return pulumi.get(self, "public_keys")
  
      @public_keys.setter
      def public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]]):
          pulumi.set(self, "public_keys", value)
  
  
  @pulumi.input_type
  class SshPublicKeyArgs:
      def __init__(__self__, *,
                   key_data: Optional[pulumi.Input[str]] = None,
                   path: Optional[pulumi.Input[str]] = None):
          """
          Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
          :param pulumi.Input[str] key_data: SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
          :param pulumi.Input[str] path: Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
          """
          if key_data is not None:
              pulumi.set(__self__, "key_data", key_data)
          if path is not None:
              pulumi.set(__self__, "path", path)
  
      @property
      @pulumi.getter(name="keyData")
      def key_data(self) -> Optional[pulumi.Input[str]]:
          """
          SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
          """
          return pulumi.get(self, "key_data")
  
      @key_data.setter
      def key_data(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "key_data", value)
  
      @property
      @pulumi.getter
      def path(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
          """
          return pulumi.get(self, "path")
  
      @path.setter
      def path(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "path", value)
  
  
  @pulumi.input_type
  class StorageProfileArgs:
      def __init__(__self__, *,
                   data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['DataDiskArgs']]]] = None,
                   image_reference: Optional[pulumi.Input['ImageReferenceArgs']] = None,
                   os_disk: Optional[pulumi.Input['OSDiskArgs']] = None):
          """
          Specifies the storage settings for the virtual machine disks.
          :param pulumi.Input[Sequence[pulumi.Input['DataDiskArgs']]] data_disks: Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
          :param pulumi.Input['ImageReferenceArgs'] image_reference: Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
          :param pulumi.Input['OSDiskArgs'] os_disk: Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
          """
          if data_disks is not None:
              pulumi.set(__self__, "data_disks", data_disks)
          if image_reference is not None:
              pulumi.set(__self__, "image_reference", image_reference)
          if os_disk is not None:
              pulumi.set(__self__, "os_disk", os_disk)
  
      @property
      @pulumi.getter(name="dataDisks")
      def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DataDiskArgs']]]]:
          """
          Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
          """
          return pulumi.get(self, "data_disks")
  
      @data_disks.setter
      def data_disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DataDiskArgs']]]]):
          pulumi.set(self, "data_disks", value)
  
      @property
      @pulumi.getter(name="imageReference")
      def image_reference(self) -> Optional[pulumi.Input['ImageReferenceArgs']]:
          """
          Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
          """
          return pulumi.get(self, "image_reference")
  
      @image_reference.setter
      def image_reference(self, value: Optional[pulumi.Input['ImageReferenceArgs']]):
          pulumi.set(self, "image_reference", value)
  
      @property
      @pulumi.getter(name="osDisk")
      def os_disk(self) -> Optional[pulumi.Input['OSDiskArgs']]:
          """
          Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
          """
          return pulumi.get(self, "os_disk")
  
      @os_disk.setter
      def os_disk(self, value: Optional[pulumi.Input['OSDiskArgs']]):
          pulumi.set(self, "os_disk", value)
  
  
  @pulumi.input_type
  class SubResourceArgs:
      def __init__(__self__, *,
                   id: Optional[pulumi.Input[str]] = None):
          """
          :param pulumi.Input[str] id: Resource Id
          """
          if id is not None:
              pulumi.set(__self__, "id", id)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
  
  @pulumi.input_type
  class UpgradePolicyArgs:
      def __init__(__self__, *,
                   mode: Optional[pulumi.Input['UpgradeMode']] = None):
          """
          Describes an upgrade policy - automatic or manual.
          :param pulumi.Input['UpgradeMode'] mode: Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You  control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> **Automatic** - All virtual machines in the scale set are  automatically updated at the same time.
          """
          if mode is not None:
              pulumi.set(__self__, "mode", mode)
  
      @property
      @pulumi.getter
      def mode(self) -> Optional[pulumi.Input['UpgradeMode']]:
          """
          Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You  control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> **Automatic** - All virtual machines in the scale set are  automatically updated at the same time.
          """
          return pulumi.get(self, "mode")
  
      @mode.setter
      def mode(self, value: Optional[pulumi.Input['UpgradeMode']]):
          pulumi.set(self, "mode", value)
  
  
  @pulumi.input_type
  class VaultCertificateArgs:
      def __init__(__self__, *,
                   certificate_store: Optional[pulumi.Input[str]] = None,
                   certificate_url: Optional[pulumi.Input[str]] = None):
          """
          Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
          :param pulumi.Input[str] certificate_store: For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted.
          :param pulumi.Input[str] certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>}
          """
          if certificate_store is not None:
              pulumi.set(__self__, "certificate_store", certificate_store)
          if certificate_url is not None:
              pulumi.set(__self__, "certificate_url", certificate_url)
  
      @property
      @pulumi.getter(name="certificateStore")
      def certificate_store(self) -> Optional[pulumi.Input[str]]:
          """
          For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted.
          """
          return pulumi.get(self, "certificate_store")
  
      @certificate_store.setter
      def certificate_store(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "certificate_store", value)
  
      @property
      @pulumi.getter(name="certificateUrl")
      def certificate_url(self) -> Optional[pulumi.Input[str]]:
          """
          This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>}
          """
          return pulumi.get(self, "certificate_url")
  
      @certificate_url.setter
      def certificate_url(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "certificate_url", value)
  
  
  @pulumi.input_type
  class VaultSecretGroupArgs:
      def __init__(__self__, *,
                   source_vault: Optional[pulumi.Input['SubResourceArgs']] = None,
                   vault_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['VaultCertificateArgs']]]] = None):
          """
          Describes a set of certificates which are all in the same Key Vault.
          :param pulumi.Input['SubResourceArgs'] source_vault: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
          :param pulumi.Input[Sequence[pulumi.Input['VaultCertificateArgs']]] vault_certificates: The list of key vault references in SourceVault which contain certificates.
          """
          if source_vault is not None:
              pulumi.set(__self__, "source_vault", source_vault)
          if vault_certificates is not None:
              pulumi.set(__self__, "vault_certificates", vault_certificates)
  
      @property
      @pulumi.getter(name="sourceVault")
      def source_vault(self) -> Optional[pulumi.Input['SubResourceArgs']]:
          """
          The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
          """
          return pulumi.get(self, "source_vault")
  
      @source_vault.setter
      def source_vault(self, value: Optional[pulumi.Input['SubResourceArgs']]):
          pulumi.set(self, "source_vault", value)
  
      @property
      @pulumi.getter(name="vaultCertificates")
      def vault_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VaultCertificateArgs']]]]:
          """
          The list of key vault references in SourceVault which contain certificates.
          """
          return pulumi.get(self, "vault_certificates")
  
      @vault_certificates.setter
      def vault_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VaultCertificateArgs']]]]):
          pulumi.set(self, "vault_certificates", value)
  
  
  @pulumi.input_type
  class VirtualHardDiskArgs:
      def __init__(__self__, *,
                   uri: Optional[pulumi.Input[str]] = None):
          """
          Describes the uri of a disk.
          :param pulumi.Input[str] uri: Specifies the virtual hard disk's uri.
          """
          if uri is not None:
              pulumi.set(__self__, "uri", uri)
  
      @property
      @pulumi.getter
      def uri(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the virtual hard disk's uri.
          """
          return pulumi.get(self, "uri")
  
      @uri.setter
      def uri(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "uri", value)
  
  
  @pulumi.input_type
  class VirtualMachineExtensionInstanceViewArgs:
      def __init__(__self__, *,
                   name: Optional[pulumi.Input[str]] = None,
                   statuses: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]] = None,
                   substatuses: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]] = None,
                   type: Optional[pulumi.Input[str]] = None,
                   type_handler_version: Optional[pulumi.Input[str]] = None):
          """
          The instance view of a virtual machine extension.
          :param pulumi.Input[str] name: The virtual machine extension name.
          :param pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]] statuses: The resource status information.
          :param pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]] substatuses: The resource status information.
          :param pulumi.Input[str] type: Specifies the type of the extension; an example is "CustomScriptExtension".
          :param pulumi.Input[str] type_handler_version: Specifies the version of the script handler.
          """
          if name is not None:
              pulumi.set(__self__, "name", name)
          if statuses is not None:
              pulumi.set(__self__, "statuses", statuses)
          if substatuses is not None:
              pulumi.set(__self__, "substatuses", substatuses)
          if type is not None:
              pulumi.set(__self__, "type", type)
          if type_handler_version is not None:
              pulumi.set(__self__, "type_handler_version", type_handler_version)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The virtual machine extension name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]]:
          """
          The resource status information.
          """
          return pulumi.get(self, "statuses")
  
      @statuses.setter
      def statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]]):
          pulumi.set(self, "statuses", value)
  
      @property
      @pulumi.getter
      def substatuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]]:
          """
          The resource status information.
          """
          return pulumi.get(self, "substatuses")
  
      @substatuses.setter
      def substatuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceViewStatusArgs']]]]):
          pulumi.set(self, "substatuses", value)
  
      @property
      @pulumi.getter
      def type(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the type of the extension; an example is "CustomScriptExtension".
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type", value)
  
      @property
      @pulumi.getter(name="typeHandlerVersion")
      def type_handler_version(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the version of the script handler.
          """
          return pulumi.get(self, "type_handler_version")
  
      @type_handler_version.setter
      def type_handler_version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type_handler_version", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetExtensionArgs:
      def __init__(__self__, *,
                   auto_upgrade_minor_version: Optional[pulumi.Input[bool]] = None,
                   id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   protected_settings: Optional[Any] = None,
                   publisher: Optional[pulumi.Input[str]] = None,
                   settings: Optional[Any] = None,
                   type: Optional[pulumi.Input[str]] = None,
                   type_handler_version: Optional[pulumi.Input[str]] = None):
          """
          Describes a Virtual Machine Scale Set Extension.
          :param pulumi.Input[bool] auto_upgrade_minor_version: Whether the extension handler should be automatically upgraded across minor versions.
          :param pulumi.Input[str] id: Resource Id
          :param pulumi.Input[str] name: The name of the extension.
          :param Any protected_settings: Json formatted protected settings for the extension.
          :param pulumi.Input[str] publisher: The name of the extension handler publisher.
          :param Any settings: Json formatted public settings for the extension.
          :param pulumi.Input[str] type: The type of the extension handler.
          :param pulumi.Input[str] type_handler_version: The type version of the extension handler.
          """
          if auto_upgrade_minor_version is not None:
              pulumi.set(__self__, "auto_upgrade_minor_version", auto_upgrade_minor_version)
          if id is not None:
              pulumi.set(__self__, "id", id)
          if name is not None:
              pulumi.set(__self__, "name", name)
          if protected_settings is not None:
              pulumi.set(__self__, "protected_settings", protected_settings)
          if publisher is not None:
              pulumi.set(__self__, "publisher", publisher)
          if settings is not None:
              pulumi.set(__self__, "settings", settings)
          if type is not None:
              pulumi.set(__self__, "type", type)
          if type_handler_version is not None:
              pulumi.set(__self__, "type_handler_version", type_handler_version)
  
      @property
      @pulumi.getter(name="autoUpgradeMinorVersion")
      def auto_upgrade_minor_version(self) -> Optional[pulumi.Input[bool]]:
          """
          Whether the extension handler should be automatically upgraded across minor versions.
          """
          return pulumi.get(self, "auto_upgrade_minor_version")
  
      @auto_upgrade_minor_version.setter
      def auto_upgrade_minor_version(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "auto_upgrade_minor_version", value)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
      @property
      @pulumi.getter
      def name(self) -> Optional[pulumi.Input[str]]:
          """
          The name of the extension.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter(name="protectedSettings")
      def protected_settings(self) -> Optional[Any]:
          """
          Json formatted protected settings for the extension.
          """
          return pulumi.get(self, "protected_settings")
  
      @protected_settings.setter
      def protected_settings(self, value: Optional[Any]):
          pulumi.set(self, "protected_settings", value)
  
      @property
      @pulumi.getter
      def publisher(self) -> Optional[pulumi.Input[str]]:
          """
          The name of the extension handler publisher.
          """
          return pulumi.get(self, "publisher")
  
      @publisher.setter
      def publisher(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "publisher", value)
  
      @property
      @pulumi.getter
      def settings(self) -> Optional[Any]:
          """
          Json formatted public settings for the extension.
          """
          return pulumi.get(self, "settings")
  
      @settings.setter
      def settings(self, value: Optional[Any]):
          pulumi.set(self, "settings", value)
  
      @property
      @pulumi.getter
      def type(self) -> Optional[pulumi.Input[str]]:
          """
          The type of the extension handler.
          """
          return pulumi.get(self, "type")
  
      @type.setter
      def type(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type", value)
  
      @property
      @pulumi.getter(name="typeHandlerVersion")
      def type_handler_version(self) -> Optional[pulumi.Input[str]]:
          """
          The type version of the extension handler.
          """
          return pulumi.get(self, "type_handler_version")
  
      @type_handler_version.setter
      def type_handler_version(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "type_handler_version", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetExtensionProfileArgs:
      def __init__(__self__, *,
                   extensions: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetExtensionArgs']]]] = None):
          """
          Describes a virtual machine scale set extension profile.
          :param pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetExtensionArgs']]] extensions: The virtual machine scale set child extension resources.
          """
          if extensions is not None:
              pulumi.set(__self__, "extensions", extensions)
  
      @property
      @pulumi.getter
      def extensions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetExtensionArgs']]]]:
          """
          The virtual machine scale set child extension resources.
          """
          return pulumi.get(self, "extensions")
  
      @extensions.setter
      def extensions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetExtensionArgs']]]]):
          pulumi.set(self, "extensions", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetIPConfigurationArgs:
      def __init__(__self__, *,
                   name: pulumi.Input[str],
                   subnet: pulumi.Input['ApiEntityReferenceArgs'],
                   id: Optional[pulumi.Input[str]] = None,
                   load_balancer_backend_address_pools: Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]] = None,
                   load_balancer_inbound_nat_pools: Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]] = None):
          """
          Describes a virtual machine scale set network profile's IP configuration.
          :param pulumi.Input[str] name: The IP configuration name.
          :param pulumi.Input['ApiEntityReferenceArgs'] subnet: The subnet.
          :param pulumi.Input[str] id: Resource Id
          :param pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]] load_balancer_backend_address_pools: The load balancer backend address pools.
          :param pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]] load_balancer_inbound_nat_pools: The load balancer inbound nat pools.
          """
          pulumi.set(__self__, "name", name)
          pulumi.set(__self__, "subnet", subnet)
          if id is not None:
              pulumi.set(__self__, "id", id)
          if load_balancer_backend_address_pools is not None:
              pulumi.set(__self__, "load_balancer_backend_address_pools", load_balancer_backend_address_pools)
          if load_balancer_inbound_nat_pools is not None:
              pulumi.set(__self__, "load_balancer_inbound_nat_pools", load_balancer_inbound_nat_pools)
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Input[str]:
          """
          The IP configuration name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: pulumi.Input[str]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def subnet(self) -> pulumi.Input['ApiEntityReferenceArgs']:
          """
          The subnet.
          """
          return pulumi.get(self, "subnet")
  
      @subnet.setter
      def subnet(self, value: pulumi.Input['ApiEntityReferenceArgs']):
          pulumi.set(self, "subnet", value)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
      @property
      @pulumi.getter(name="loadBalancerBackendAddressPools")
      def load_balancer_backend_address_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]]:
          """
          The load balancer backend address pools.
          """
          return pulumi.get(self, "load_balancer_backend_address_pools")
  
      @load_balancer_backend_address_pools.setter
      def load_balancer_backend_address_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]]):
          pulumi.set(self, "load_balancer_backend_address_pools", value)
  
      @property
      @pulumi.getter(name="loadBalancerInboundNatPools")
      def load_balancer_inbound_nat_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]]:
          """
          The load balancer inbound nat pools.
          """
          return pulumi.get(self, "load_balancer_inbound_nat_pools")
  
      @load_balancer_inbound_nat_pools.setter
      def load_balancer_inbound_nat_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubResourceArgs']]]]):
          pulumi.set(self, "load_balancer_inbound_nat_pools", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetNetworkConfigurationArgs:
      def __init__(__self__, *,
                   ip_configurations: pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetIPConfigurationArgs']]],
                   name: pulumi.Input[str],
                   id: Optional[pulumi.Input[str]] = None,
                   primary: Optional[pulumi.Input[bool]] = None):
          """
          Describes a virtual machine scale set network profile's network configurations.
          :param pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetIPConfigurationArgs']]] ip_configurations: The virtual machine scale set IP Configuration.
          :param pulumi.Input[str] name: The network configuration name.
          :param pulumi.Input[str] id: Resource Id
          :param pulumi.Input[bool] primary: Whether this is a primary NIC on a virtual machine.
          """
          pulumi.set(__self__, "ip_configurations", ip_configurations)
          pulumi.set(__self__, "name", name)
          if id is not None:
              pulumi.set(__self__, "id", id)
          if primary is not None:
              pulumi.set(__self__, "primary", primary)
  
      @property
      @pulumi.getter(name="ipConfigurations")
      def ip_configurations(self) -> pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetIPConfigurationArgs']]]:
          """
          The virtual machine scale set IP Configuration.
          """
          return pulumi.get(self, "ip_configurations")
  
      @ip_configurations.setter
      def ip_configurations(self, value: pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetIPConfigurationArgs']]]):
          pulumi.set(self, "ip_configurations", value)
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Input[str]:
          """
          The network configuration name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: pulumi.Input[str]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def id(self) -> Optional[pulumi.Input[str]]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @id.setter
      def id(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "id", value)
  
      @property
      @pulumi.getter
      def primary(self) -> Optional[pulumi.Input[bool]]:
          """
          Whether this is a primary NIC on a virtual machine.
          """
          return pulumi.get(self, "primary")
  
      @primary.setter
      def primary(self, value: Optional[pulumi.Input[bool]]):
          pulumi.set(self, "primary", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetNetworkProfileArgs:
      def __init__(__self__, *,
                   network_interface_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetNetworkConfigurationArgs']]]] = None):
          """
          Describes a virtual machine scale set network profile.
          :param pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetNetworkConfigurationArgs']]] network_interface_configurations: The list of network configurations.
          """
          if network_interface_configurations is not None:
              pulumi.set(__self__, "network_interface_configurations", network_interface_configurations)
  
      @property
      @pulumi.getter(name="networkInterfaceConfigurations")
      def network_interface_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetNetworkConfigurationArgs']]]]:
          """
          The list of network configurations.
          """
          return pulumi.get(self, "network_interface_configurations")
  
      @network_interface_configurations.setter
      def network_interface_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineScaleSetNetworkConfigurationArgs']]]]):
          pulumi.set(self, "network_interface_configurations", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetOSDiskArgs:
      def __init__(__self__, *,
                   create_option: pulumi.Input['DiskCreateOptionTypes'],
                   name: pulumi.Input[str],
                   caching: Optional[pulumi.Input['CachingTypes']] = None,
                   image: Optional[pulumi.Input['VirtualHardDiskArgs']] = None,
                   os_type: Optional[pulumi.Input['OperatingSystemTypes']] = None,
                   vhd_containers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
          """
          Describes a virtual machine scale set operating system disk.
          :param pulumi.Input['DiskCreateOptionTypes'] create_option: Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          :param pulumi.Input[str] name: The disk name.
          :param pulumi.Input['CachingTypes'] caching: Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          :param pulumi.Input['VirtualHardDiskArgs'] image: The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
          :param pulumi.Input['OperatingSystemTypes'] os_type: This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**
          :param pulumi.Input[Sequence[pulumi.Input[str]]] vhd_containers: The list of virtual hard disk container uris.
          """
          pulumi.set(__self__, "create_option", create_option)
          pulumi.set(__self__, "name", name)
          if caching is not None:
              pulumi.set(__self__, "caching", caching)
          if image is not None:
              pulumi.set(__self__, "image", image)
          if os_type is not None:
              pulumi.set(__self__, "os_type", os_type)
          if vhd_containers is not None:
              pulumi.set(__self__, "vhd_containers", vhd_containers)
  
      @property
      @pulumi.getter(name="createOption")
      def create_option(self) -> pulumi.Input['DiskCreateOptionTypes']:
          """
          Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described.
          """
          return pulumi.get(self, "create_option")
  
      @create_option.setter
      def create_option(self, value: pulumi.Input['DiskCreateOptionTypes']):
          pulumi.set(self, "create_option", value)
  
      @property
      @pulumi.getter
      def name(self) -> pulumi.Input[str]:
          """
          The disk name.
          """
          return pulumi.get(self, "name")
  
      @name.setter
      def name(self, value: pulumi.Input[str]):
          pulumi.set(self, "name", value)
  
      @property
      @pulumi.getter
      def caching(self) -> Optional[pulumi.Input['CachingTypes']]:
          """
          Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**
          """
          return pulumi.get(self, "caching")
  
      @caching.setter
      def caching(self, value: Optional[pulumi.Input['CachingTypes']]):
          pulumi.set(self, "caching", value)
  
      @property
      @pulumi.getter
      def image(self) -> Optional[pulumi.Input['VirtualHardDiskArgs']]:
          """
          The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
          """
          return pulumi.get(self, "image")
  
      @image.setter
      def image(self, value: Optional[pulumi.Input['VirtualHardDiskArgs']]):
          pulumi.set(self, "image", value)
  
      @property
      @pulumi.getter(name="osType")
      def os_type(self) -> Optional[pulumi.Input['OperatingSystemTypes']]:
          """
          This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**
          """
          return pulumi.get(self, "os_type")
  
      @os_type.setter
      def os_type(self, value: Optional[pulumi.Input['OperatingSystemTypes']]):
          pulumi.set(self, "os_type", value)
  
      @property
      @pulumi.getter(name="vhdContainers")
      def vhd_containers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
          """
          The list of virtual hard disk container uris.
          """
          return pulumi.get(self, "vhd_containers")
  
      @vhd_containers.setter
      def vhd_containers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
          pulumi.set(self, "vhd_containers", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetOSProfileArgs:
      def __init__(__self__, *,
                   admin_password: Optional[pulumi.Input[str]] = None,
                   admin_username: Optional[pulumi.Input[str]] = None,
                   computer_name_prefix: Optional[pulumi.Input[str]] = None,
                   custom_data: Optional[pulumi.Input[str]] = None,
                   linux_configuration: Optional[pulumi.Input['LinuxConfigurationArgs']] = None,
                   secrets: Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]] = None,
                   windows_configuration: Optional[pulumi.Input['WindowsConfigurationArgs']] = None):
          """
          Describes a virtual machine scale set OS profile.
          :param pulumi.Input[str] admin_password: Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
          :param pulumi.Input[str] admin_username: Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters  <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          :param pulumi.Input[str] computer_name_prefix: Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
          :param pulumi.Input[str] custom_data: A base-64 encoded string of custom data.
          :param pulumi.Input['LinuxConfigurationArgs'] linux_configuration: The Linux Configuration of the OS profile.
          :param pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]] secrets: The List of certificates for addition to the VM.
          :param pulumi.Input['WindowsConfigurationArgs'] windows_configuration: The Windows Configuration of the OS profile.
          """
          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 computer_name_prefix is not None:
              pulumi.set(__self__, "computer_name_prefix", computer_name_prefix)
          if custom_data is not None:
              pulumi.set(__self__, "custom_data", custom_data)
          if linux_configuration is not None:
              pulumi.set(__self__, "linux_configuration", linux_configuration)
          if secrets is not None:
              pulumi.set(__self__, "secrets", secrets)
          if windows_configuration is not None:
              pulumi.set(__self__, "windows_configuration", windows_configuration)
  
      @property
      @pulumi.getter(name="adminPassword")
      def admin_password(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
          """
          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]]:
          """
          Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters  <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
          """
          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="computerNamePrefix")
      def computer_name_prefix(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
          """
          return pulumi.get(self, "computer_name_prefix")
  
      @computer_name_prefix.setter
      def computer_name_prefix(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "computer_name_prefix", value)
  
      @property
      @pulumi.getter(name="customData")
      def custom_data(self) -> Optional[pulumi.Input[str]]:
          """
          A base-64 encoded string of custom data.
          """
          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="linuxConfiguration")
      def linux_configuration(self) -> Optional[pulumi.Input['LinuxConfigurationArgs']]:
          """
          The Linux Configuration of the OS profile.
          """
          return pulumi.get(self, "linux_configuration")
  
      @linux_configuration.setter
      def linux_configuration(self, value: Optional[pulumi.Input['LinuxConfigurationArgs']]):
          pulumi.set(self, "linux_configuration", value)
  
      @property
      @pulumi.getter
      def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]]:
          """
          The List of certificates for addition to the VM.
          """
          return pulumi.get(self, "secrets")
  
      @secrets.setter
      def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VaultSecretGroupArgs']]]]):
          pulumi.set(self, "secrets", value)
  
      @property
      @pulumi.getter(name="windowsConfiguration")
      def windows_configuration(self) -> Optional[pulumi.Input['WindowsConfigurationArgs']]:
          """
          The Windows Configuration of the OS profile.
          """
          return pulumi.get(self, "windows_configuration")
  
      @windows_configuration.setter
      def windows_configuration(self, value: Optional[pulumi.Input['WindowsConfigurationArgs']]):
          pulumi.set(self, "windows_configuration", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetStorageProfileArgs:
      def __init__(__self__, *,
                   image_reference: Optional[pulumi.Input['ImageReferenceArgs']] = None,
                   os_disk: Optional[pulumi.Input['VirtualMachineScaleSetOSDiskArgs']] = None):
          """
          Describes a virtual machine scale set storage profile.
          :param pulumi.Input['ImageReferenceArgs'] image_reference: The image reference.
          :param pulumi.Input['VirtualMachineScaleSetOSDiskArgs'] os_disk: The OS disk.
          """
          if image_reference is not None:
              pulumi.set(__self__, "image_reference", image_reference)
          if os_disk is not None:
              pulumi.set(__self__, "os_disk", os_disk)
  
      @property
      @pulumi.getter(name="imageReference")
      def image_reference(self) -> Optional[pulumi.Input['ImageReferenceArgs']]:
          """
          The image reference.
          """
          return pulumi.get(self, "image_reference")
  
      @image_reference.setter
      def image_reference(self, value: Optional[pulumi.Input['ImageReferenceArgs']]):
          pulumi.set(self, "image_reference", value)
  
      @property
      @pulumi.getter(name="osDisk")
      def os_disk(self) -> Optional[pulumi.Input['VirtualMachineScaleSetOSDiskArgs']]:
          """
          The OS disk.
          """
          return pulumi.get(self, "os_disk")
  
      @os_disk.setter
      def os_disk(self, value: Optional[pulumi.Input['VirtualMachineScaleSetOSDiskArgs']]):
          pulumi.set(self, "os_disk", value)
  
  
  @pulumi.input_type
  class VirtualMachineScaleSetVMProfileArgs:
      def __init__(__self__, *,
                   extension_profile: Optional[pulumi.Input['VirtualMachineScaleSetExtensionProfileArgs']] = None,
                   network_profile: Optional[pulumi.Input['VirtualMachineScaleSetNetworkProfileArgs']] = None,
                   os_profile: Optional[pulumi.Input['VirtualMachineScaleSetOSProfileArgs']] = None,
                   storage_profile: Optional[pulumi.Input['VirtualMachineScaleSetStorageProfileArgs']] = None):
          """
          Describes a virtual machine scale set virtual machine profile.
          :param pulumi.Input['VirtualMachineScaleSetExtensionProfileArgs'] extension_profile: The virtual machine scale set extension profile.
          :param pulumi.Input['VirtualMachineScaleSetNetworkProfileArgs'] network_profile: The virtual machine scale set network profile.
          :param pulumi.Input['VirtualMachineScaleSetOSProfileArgs'] os_profile: The virtual machine scale set OS profile.
          :param pulumi.Input['VirtualMachineScaleSetStorageProfileArgs'] storage_profile: The virtual machine scale set storage profile.
          """
          if extension_profile is not None:
              pulumi.set(__self__, "extension_profile", extension_profile)
          if network_profile is not None:
              pulumi.set(__self__, "network_profile", network_profile)
          if os_profile is not None:
              pulumi.set(__self__, "os_profile", os_profile)
          if storage_profile is not None:
              pulumi.set(__self__, "storage_profile", storage_profile)
  
      @property
      @pulumi.getter(name="extensionProfile")
      def extension_profile(self) -> Optional[pulumi.Input['VirtualMachineScaleSetExtensionProfileArgs']]:
          """
          The virtual machine scale set extension profile.
          """
          return pulumi.get(self, "extension_profile")
  
      @extension_profile.setter
      def extension_profile(self, value: Optional[pulumi.Input['VirtualMachineScaleSetExtensionProfileArgs']]):
          pulumi.set(self, "extension_profile", value)
  
      @property
      @pulumi.getter(name="networkProfile")
      def network_profile(self) -> Optional[pulumi.Input['VirtualMachineScaleSetNetworkProfileArgs']]:
          """
          The virtual machine scale set network profile.
          """
          return pulumi.get(self, "network_profile")
  
      @network_profile.setter
      def network_profile(self, value: Optional[pulumi.Input['VirtualMachineScaleSetNetworkProfileArgs']]):
          pulumi.set(self, "network_profile", value)
  
      @property
      @pulumi.getter(name="osProfile")
      def os_profile(self) -> Optional[pulumi.Input['VirtualMachineScaleSetOSProfileArgs']]:
          """
          The virtual machine scale set OS profile.
          """
          return pulumi.get(self, "os_profile")
  
      @os_profile.setter
      def os_profile(self, value: Optional[pulumi.Input['VirtualMachineScaleSetOSProfileArgs']]):
          pulumi.set(self, "os_profile", value)
  
      @property
      @pulumi.getter(name="storageProfile")
      def storage_profile(self) -> Optional[pulumi.Input['VirtualMachineScaleSetStorageProfileArgs']]:
          """
          The virtual machine scale set storage profile.
          """
          return pulumi.get(self, "storage_profile")
  
      @storage_profile.setter
      def storage_profile(self, value: Optional[pulumi.Input['VirtualMachineScaleSetStorageProfileArgs']]):
          pulumi.set(self, "storage_profile", value)
  
  
  @pulumi.input_type
  class WinRMConfigurationArgs:
      def __init__(__self__, *,
                   listeners: Optional[pulumi.Input[Sequence[pulumi.Input['WinRMListenerArgs']]]] = None):
          """
          Describes Windows Remote Management configuration of the VM
          :param pulumi.Input[Sequence[pulumi.Input['WinRMListenerArgs']]] listeners: The list of Windows Remote Management listeners
          """
          if listeners is not None:
              pulumi.set(__self__, "listeners", listeners)
  
      @property
      @pulumi.getter
      def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WinRMListenerArgs']]]]:
          """
          The list of Windows Remote Management listeners
          """
          return pulumi.get(self, "listeners")
  
      @listeners.setter
      def listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WinRMListenerArgs']]]]):
          pulumi.set(self, "listeners", value)
  
  
  @pulumi.input_type
  class WinRMListenerArgs:
      def __init__(__self__, *,
                   certificate_url: Optional[pulumi.Input[str]] = None,
                   protocol: Optional[pulumi.Input['ProtocolTypes']] = None):
          """
          Describes Protocol and thumbprint of Windows Remote Management listener
          :param pulumi.Input[str] certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>}
          :param pulumi.Input['ProtocolTypes'] protocol: Specifies the protocol of listener. <br><br> Possible values are: <br>**http** <br><br> **https**
          """
          if certificate_url is not None:
              pulumi.set(__self__, "certificate_url", certificate_url)
          if protocol is not None:
              pulumi.set(__self__, "protocol", protocol)
  
      @property
      @pulumi.getter(name="certificateUrl")
      def certificate_url(self) -> Optional[pulumi.Input[str]]:
          """
          This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>}
          """
          return pulumi.get(self, "certificate_url")
  
      @certificate_url.setter
      def certificate_url(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "certificate_url", value)
  
      @property
      @pulumi.getter
      def protocol(self) -> Optional[pulumi.Input['ProtocolTypes']]:
          """
          Specifies the protocol of listener. <br><br> Possible values are: <br>**http** <br><br> **https**
          """
          return pulumi.get(self, "protocol")
  
      @protocol.setter
      def protocol(self, value: Optional[pulumi.Input['ProtocolTypes']]):
          pulumi.set(self, "protocol", value)
  
  
  @pulumi.input_type
  class WindowsConfigurationArgs:
      def __init__(__self__, *,
                   additional_unattend_content: Optional[pulumi.Input[Sequence[pulumi.Input['AdditionalUnattendContentArgs']]]] = None,
                   enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
                   provision_vm_agent: Optional[pulumi.Input[bool]] = None,
                   time_zone: Optional[pulumi.Input[str]] = None,
                   win_rm: Optional[pulumi.Input['WinRMConfigurationArgs']] = None):
          """
          Specifies Windows operating system settings on the virtual machine.
          :param pulumi.Input[Sequence[pulumi.Input['AdditionalUnattendContentArgs']]] additional_unattend_content: Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
          :param pulumi.Input[bool] enable_automatic_updates: Indicates whether virtual machine is enabled for automatic updates.
          :param pulumi.Input[bool] provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true.  This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
          :param pulumi.Input[str] time_zone: Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"
          :param pulumi.Input['WinRMConfigurationArgs'] win_rm: Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
          """
          if additional_unattend_content is not None:
              pulumi.set(__self__, "additional_unattend_content", additional_unattend_content)
          if enable_automatic_updates is not None:
              pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
          if provision_vm_agent is not None:
              pulumi.set(__self__, "provision_vm_agent", provision_vm_agent)
          if time_zone is not None:
              pulumi.set(__self__, "time_zone", time_zone)
          if win_rm is not None:
              pulumi.set(__self__, "win_rm", win_rm)
  
      @property
      @pulumi.getter(name="additionalUnattendContent")
      def additional_unattend_content(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AdditionalUnattendContentArgs']]]]:
          """
          Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
          """
          return pulumi.get(self, "additional_unattend_content")
  
      @additional_unattend_content.setter
      def additional_unattend_content(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AdditionalUnattendContentArgs']]]]):
          pulumi.set(self, "additional_unattend_content", value)
  
      @property
      @pulumi.getter(name="enableAutomaticUpdates")
      def enable_automatic_updates(self) -> Optional[pulumi.Input[bool]]:
          """
          Indicates whether virtual machine is enabled for automatic updates.
          """
          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="provisionVMAgent")
      def provision_vm_agent(self) -> Optional[pulumi.Input[bool]]:
          """
          Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true.  This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
          """
          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="timeZone")
      def time_zone(self) -> Optional[pulumi.Input[str]]:
          """
          Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"
          """
          return pulumi.get(self, "time_zone")
  
      @time_zone.setter
      def time_zone(self, value: Optional[pulumi.Input[str]]):
          pulumi.set(self, "time_zone", value)
  
      @property
      @pulumi.getter(name="winRM")
      def win_rm(self) -> Optional[pulumi.Input['WinRMConfigurationArgs']]:
          """
          Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
          """
          return pulumi.get(self, "win_rm")
  
      @win_rm.setter
      def win_rm(self, value: Optional[pulumi.Input['WinRMConfigurationArgs']]):
          pulumi.set(self, "win_rm", value)
  
  
  