azure.mgmt.compute.v2016_03_30.models module

class azure.mgmt.compute.v2016_03_30.models.AdditionalUnattendContent(*, pass_name: Optional[Literal[OobeSystem]] = None, component_name: Optional[Literal[Microsoft - Windows - Shell - Setup]] = None, setting_name: Optional[Union[str, _models.SettingNames]] = None, content: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

Variables
  • pass_name (str) – The pass name. Currently, the only allowable value is OobeSystem. Default value is “OobeSystem”.

  • component_name (str) – The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is “Microsoft-Windows-Shell-Setup”.

  • setting_name (str or SettingNames) – Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: “AutoLogon” and “FirstLogonCommands”.

  • content (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.

Keyword Arguments
  • pass_name (str) – The pass name. Currently, the only allowable value is OobeSystem. Default value is “OobeSystem”.

  • component_name (str) – The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is “Microsoft-Windows-Shell-Setup”.

  • setting_name (str or SettingNames) – Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: “AutoLogon” and “FirstLogonCommands”.

  • content (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.

class azure.mgmt.compute.v2016_03_30.models.ApiEntityReference(*, id: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The API entity reference.

Variables

id (str) – The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/…

Keyword Arguments

id (str) – The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/…

class azure.mgmt.compute.v2016_03_30.models.ApiError(*, details: Optional[List[_models.ApiErrorBase]] = None, innererror: Optional[_models.InnerError] = None, code: Optional[str] = None, target: Optional[str] = None, message: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Api error.

Variables
  • details (list[ApiErrorBase]) – The Api error details.

  • innererror (InnerError) – The Api inner error.

  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

Keyword Arguments
  • details (list[ApiErrorBase]) – The Api error details.

  • innererror (InnerError) – The Api inner error.

  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

class azure.mgmt.compute.v2016_03_30.models.ApiErrorBase(*, code: Optional[str] = None, target: Optional[str] = None, message: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Api error base.

Variables
  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

Keyword Arguments
  • code (str) – The error code.

  • target (str) – The target of the particular error.

  • message (str) – The error message.

class azure.mgmt.compute.v2016_03_30.models.AvailabilitySet(*, location: str, tags: Optional[Dict[str, str]] = None, platform_update_domain_count: Optional[int] = None, platform_fault_domain_count: Optional[int] = None, virtual_machines: Optional[List[_models.SubResource]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • platform_update_domain_count (int) – Update Domain count.

  • platform_fault_domain_count (int) – Fault Domain count.

  • virtual_machines (list[SubResource]) – A list of references to all virtual machines in the availability set.

  • statuses (list[InstanceViewStatus]) – The resource status information.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • platform_update_domain_count (int) – Update Domain count.

  • platform_fault_domain_count (int) – Fault Domain count.

  • virtual_machines (list[SubResource]) – A list of references to all virtual machines in the availability set.

class azure.mgmt.compute.v2016_03_30.models.AvailabilitySetListResult(*, value: List[_models.AvailabilitySet], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Availability Set operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[AvailabilitySet]) – The list of availability sets. Required.

  • next_link (str) – The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets.

Keyword Arguments
  • value (list[AvailabilitySet]) – The list of availability sets. Required.

  • next_link (str) – The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets.

class azure.mgmt.compute.v2016_03_30.models.BootDiagnostics(*, enabled: Optional[bool] = None, storage_uri: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

Variables
  • enabled (bool) – Whether boot diagnostics should be enabled on the Virtual Machine.

  • storage_uri (str) – Uri of the storage account to use for placing the console output and screenshot.

Keyword Arguments
  • enabled (bool) – Whether boot diagnostics should be enabled on the Virtual Machine.

  • storage_uri (str) – Uri of the storage account to use for placing the console output and screenshot.

class azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine boot diagnostics.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • console_screenshot_blob_uri (str) – The console screenshot blob URI.

  • serial_console_log_blob_uri (str) – The Linux serial console log blob Uri.

class azure.mgmt.compute.v2016_03_30.models.CachingTypes(value)[source]

Bases: str, enum.Enum

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.

NONE = 'None'
READ_ONLY = 'ReadOnly'
READ_WRITE = 'ReadWrite'
class azure.mgmt.compute.v2016_03_30.models.ComputeLongRunningOperationProperties(*, output: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Compute-specific operation properties, including output.

Variables

output (JSON) – Operation output data (raw JSON).

Keyword Arguments

output (JSON) – Operation output data (raw JSON).

class azure.mgmt.compute.v2016_03_30.models.DataDisk(*, lun: int, name: str, vhd: _models.VirtualHardDisk, create_option: Union[str, _models.DiskCreateOptionTypes], image: Optional[_models.VirtualHardDisk] = None, caching: Optional[Union[str, _models.CachingTypes]] = None, disk_size_gb: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a data disk.

All required parameters must be populated in order to send to Azure.

Variables
  • lun (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. Required.

  • name (str) – The disk name. Required.

  • vhd (VirtualHardDisk) – The virtual hard disk. Required.

  • image (VirtualHardDisk) – 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.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machine should be created.:code:<br><br> Possible values are:<br><br> Attach – This value is used when you are using a specialized disk to create the virtual machine.:code:<br><br> FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • disk_size_gb (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.

Keyword Arguments
  • lun (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. Required.

  • name (str) – The disk name. Required.

  • vhd (VirtualHardDisk) – The virtual hard disk. Required.

  • image (VirtualHardDisk) – 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.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machine should be created.:code:<br><br> Possible values are:<br><br> Attach – This value is used when you are using a specialized disk to create the virtual machine.:code:<br><br> FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • disk_size_gb (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.

class azure.mgmt.compute.v2016_03_30.models.DataDiskImage(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Contains the data disk images information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

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

class azure.mgmt.compute.v2016_03_30.models.DiagnosticsProfile(*, boot_diagnostics: Optional[_models.BootDiagnostics] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the boot diagnostic settings state. <br>:code:`<br>`Minimum api-version: 2015-06-15.

Variables

boot_diagnostics (BootDiagnostics) – 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.

Keyword Arguments

boot_diagnostics (BootDiagnostics) – 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.

class azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes(value)[source]

Bases: str, enum.Enum

Specifies how the virtual machine should be created.:code:<br><br> Possible values are:<br><br> Attach – This value is used when you are using a specialized disk to create the virtual machine.:code:<br><br> FromImage – 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.

ATTACH = 'Attach'
EMPTY = 'Empty'
FROM_IMAGE = 'FromImage'
class azure.mgmt.compute.v2016_03_30.models.DiskEncryptionSettings(*, disk_encryption_key: Optional[_models.KeyVaultSecretReference] = None, key_encryption_key: Optional[_models.KeyVaultKeyReference] = None, enabled: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a Encryption Settings for a Disk.

Variables
  • disk_encryption_key (KeyVaultSecretReference) – Specifies the location of the disk encryption key, which is a Key Vault Secret.

  • key_encryption_key (KeyVaultKeyReference) – Specifies the location of the key encryption key in Key Vault.

  • enabled (bool) – Specifies whether disk encryption should be enabled on the virtual machine.

Keyword Arguments
  • disk_encryption_key (KeyVaultSecretReference) – Specifies the location of the disk encryption key, which is a Key Vault Secret.

  • key_encryption_key (KeyVaultKeyReference) – Specifies the location of the key encryption key in Key Vault.

  • enabled (bool) – Specifies whether disk encryption should be enabled on the virtual machine.

class azure.mgmt.compute.v2016_03_30.models.DiskInstanceView(*, name: Optional[str] = None, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of the disk.

Variables
Keyword Arguments
class azure.mgmt.compute.v2016_03_30.models.HardwareProfile(*, vm_size: Optional[Union[str, _models.VirtualMachineSizeTypes]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the hardware settings for the virtual machine.

Variables

vm_size (str or VirtualMachineSizeTypes) – Specifies the size of the virtual machine. For more information about virtual machine sizes, see Sizes for virtual machines. <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 <br><br> List all available virtual machine sizes in a region <br><br> List all available virtual machine sizes for resizing. Known values are: “Basic_A0”, “Basic_A1”, “Basic_A2”, “Basic_A3”, “Basic_A4”, “Standard_A0”, “Standard_A1”, “Standard_A2”, “Standard_A3”, “Standard_A4”, “Standard_A5”, “Standard_A6”, “Standard_A7”, “Standard_A8”, “Standard_A9”, “Standard_A10”, “Standard_A11”, “Standard_D1”, “Standard_D2”, “Standard_D3”, “Standard_D4”, “Standard_D11”, “Standard_D12”, “Standard_D13”, “Standard_D14”, “Standard_D1_v2”, “Standard_D2_v2”, “Standard_D3_v2”, “Standard_D4_v2”, “Standard_D5_v2”, “Standard_D11_v2”, “Standard_D12_v2”, “Standard_D13_v2”, “Standard_D14_v2”, “Standard_D15_v2”, “Standard_DS1”, “Standard_DS2”, “Standard_DS3”, “Standard_DS4”, “Standard_DS11”, “Standard_DS12”, “Standard_DS13”, “Standard_DS14”, “Standard_DS1_v2”, “Standard_DS2_v2”, “Standard_DS3_v2”, “Standard_DS4_v2”, “Standard_DS5_v2”, “Standard_DS11_v2”, “Standard_DS12_v2”, “Standard_DS13_v2”, “Standard_DS14_v2”, “Standard_DS15_v2”, “Standard_G1”, “Standard_G2”, “Standard_G3”, “Standard_G4”, “Standard_G5”, “Standard_GS1”, “Standard_GS2”, “Standard_GS3”, “Standard_GS4”, and “Standard_GS5”.

Keyword Arguments

vm_size (str or VirtualMachineSizeTypes) –

Specifies the size of the virtual machine. For more information about virtual machine sizes, see Sizes for virtual machines. <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 <br><br> List all available virtual machine sizes in a region <br><br> List all available virtual machine sizes for resizing. Known values are: “Basic_A0”, “Basic_A1”, “Basic_A2”, “Basic_A3”, “Basic_A4”, “Standard_A0”, “Standard_A1”, “Standard_A2”, “Standard_A3”, “Standard_A4”, “Standard_A5”, “Standard_A6”, “Standard_A7”, “Standard_A8”, “Standard_A9”, “Standard_A10”, “Standard_A11”, “Standard_D1”, “Standard_D2”, “Standard_D3”, “Standard_D4”, “Standard_D11”, “Standard_D12”, “Standard_D13”, “Standard_D14”, “Standard_D1_v2”, “Standard_D2_v2”, “Standard_D3_v2”, “Standard_D4_v2”, “Standard_D5_v2”, “Standard_D11_v2”, “Standard_D12_v2”, “Standard_D13_v2”, “Standard_D14_v2”, “Standard_D15_v2”, “Standard_DS1”, “Standard_DS2”, “Standard_DS3”, “Standard_DS4”, “Standard_DS11”, “Standard_DS12”, “Standard_DS13”, “Standard_DS14”, “Standard_DS1_v2”, “Standard_DS2_v2”, “Standard_DS3_v2”, “Standard_DS4_v2”, “Standard_DS5_v2”, “Standard_DS11_v2”, “Standard_DS12_v2”, “Standard_DS13_v2”, “Standard_DS14_v2”, “Standard_DS15_v2”, “Standard_G1”, “Standard_G2”, “Standard_G3”, “Standard_G4”, “Standard_G5”, “Standard_GS1”, “Standard_GS2”, “Standard_GS3”, “Standard_GS4”, and “Standard_GS5”.

class azure.mgmt.compute.v2016_03_30.models.ImageReference(*, publisher: Optional[str] = None, offer: Optional[str] = None, sku: Optional[str] = None, version: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

Variables
  • publisher (str) – The image publisher.

  • offer (str) – Specifies the offer of the platform image or marketplace image used to create the virtual machine.

  • sku (str) – The image SKU.

  • version (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.

Keyword Arguments
  • publisher (str) – The image publisher.

  • offer (str) – Specifies the offer of the platform image or marketplace image used to create the virtual machine.

  • sku (str) – The image SKU.

  • version (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.

class azure.mgmt.compute.v2016_03_30.models.InnerError(*, exceptiontype: Optional[str] = None, errordetail: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Inner error details.

Variables
  • exceptiontype (str) – The exception type.

  • errordetail (str) – The internal error message or exception dump.

Keyword Arguments
  • exceptiontype (str) – The exception type.

  • errordetail (str) – The internal error message or exception dump.

class azure.mgmt.compute.v2016_03_30.models.InstanceViewStatus(*, code: Optional[str] = None, level: Optional[Union[str, _models.StatusLevelTypes]] = None, display_status: Optional[str] = None, message: Optional[str] = None, time: Optional[datetime.datetime] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Instance view status.

Variables
  • code (str) – The status code.

  • level (str or StatusLevelTypes) – The level code. Known values are: “Info”, “Warning”, and “Error”.

  • display_status (str) – The short localizable label for the status.

  • message (str) – The detailed status message, including for alerts and error messages.

  • time (datetime) – The time of the status.

Keyword Arguments
  • code (str) – The status code.

  • level (str or StatusLevelTypes) – The level code. Known values are: “Info”, “Warning”, and “Error”.

  • display_status (str) – The short localizable label for the status.

  • message (str) – The detailed status message, including for alerts and error messages.

  • time (datetime) – The time of the status.

class azure.mgmt.compute.v2016_03_30.models.KeyVaultKeyReference(*, key_url: str, source_vault: _models.SubResource, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a reference to Key Vault Key.

All required parameters must be populated in order to send to Azure.

Variables
  • key_url (str) – The URL referencing a key encryption key in Key Vault. Required.

  • source_vault (SubResource) – The relative URL of the Key Vault containing the key. Required.

Keyword Arguments
  • key_url (str) – The URL referencing a key encryption key in Key Vault. Required.

  • source_vault (SubResource) – The relative URL of the Key Vault containing the key. Required.

class azure.mgmt.compute.v2016_03_30.models.KeyVaultSecretReference(*, secret_url: str, source_vault: _models.SubResource, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a reference to Key Vault Secret.

All required parameters must be populated in order to send to Azure.

Variables
  • secret_url (str) – The URL referencing a secret in a Key Vault. Required.

  • source_vault (SubResource) – The relative URL of the Key Vault containing the secret. Required.

Keyword Arguments
  • secret_url (str) – The URL referencing a secret in a Key Vault. Required.

  • source_vault (SubResource) – The relative URL of the Key Vault containing the secret. Required.

class azure.mgmt.compute.v2016_03_30.models.LinuxConfiguration(*, disable_password_authentication: Optional[bool] = None, ssh: Optional[_models.SshConfiguration] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the Linux operating system settings on the virtual machine. <br>:code:`<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.

Variables
  • disable_password_authentication (bool) – Specifies whether password authentication should be disabled.

  • ssh (SshConfiguration) – Specifies the ssh key configuration for a Linux OS.

Keyword Arguments
  • disable_password_authentication (bool) – Specifies whether password authentication should be disabled.

  • ssh (SshConfiguration) – Specifies the ssh key configuration for a Linux OS.

class azure.mgmt.compute.v2016_03_30.models.ListUsagesResult(*, value: List[_models.Usage], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Usages operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[Usage]) – The list of compute resource usages. Required.

  • next_link (str) – The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information.

Keyword Arguments
  • value (list[Usage]) – The list of compute resource usages. Required.

  • next_link (str) – The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information.

class azure.mgmt.compute.v2016_03_30.models.NetworkInterfaceReference(*, id: Optional[str] = None, primary: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Describes a network interface reference.

Variables
  • id (str) – Resource Id.

  • primary (bool) – Specifies the primary network interface in case the virtual machine has more than 1 network interface.

Keyword Arguments
  • id (str) – Resource Id.

  • primary (bool) – Specifies the primary network interface in case the virtual machine has more than 1 network interface.

class azure.mgmt.compute.v2016_03_30.models.NetworkProfile(*, network_interfaces: Optional[List[_models.NetworkInterfaceReference]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the network interfaces of the virtual machine.

Variables

network_interfaces (list[NetworkInterfaceReference]) – Specifies the list of resource Ids for the network interfaces associated with the virtual machine.

Keyword Arguments

network_interfaces (list[NetworkInterfaceReference]) – Specifies the list of resource Ids for the network interfaces associated with the virtual machine.

class azure.mgmt.compute.v2016_03_30.models.OSDisk(*, name: str, vhd: _models.VirtualHardDisk, create_option: Union[str, _models.DiskCreateOptionTypes], os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, encryption_settings: Optional[_models.DiskEncryptionSettings] = None, image: Optional[_models.VirtualHardDisk] = None, caching: Optional[Union[str, _models.CachingTypes]] = None, disk_size_gb: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

All required parameters must be populated in order to send to Azure.

Variables
  • os_type (str or 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. Known values are: “Windows” and “Linux”.

  • encryption_settings (DiskEncryptionSettings) – Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.

  • name (str) – The disk name. Required.

  • vhd (VirtualHardDisk) – The virtual hard disk. Required.

  • image (VirtualHardDisk) – 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.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machine should be created.:code:<br><br> Possible values are:<br><br> Attach – This value is used when you are using a specialized disk to create the virtual machine.:code:<br><br> FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • disk_size_gb (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.

Keyword Arguments
  • os_type (str or 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. Known values are: “Windows” and “Linux”.

  • encryption_settings (DiskEncryptionSettings) – Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.

  • name (str) – The disk name. Required.

  • vhd (VirtualHardDisk) – The virtual hard disk. Required.

  • image (VirtualHardDisk) – 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.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machine should be created.:code:<br><br> Possible values are:<br><br> Attach – This value is used when you are using a specialized disk to create the virtual machine.:code:<br><br> FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • disk_size_gb (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.

class azure.mgmt.compute.v2016_03_30.models.OSDiskImage(*, operating_system: Union[str, _models.OperatingSystemTypes], **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Contains the os disk image information.

All required parameters must be populated in order to send to Azure.

Variables

operating_system (str or OperatingSystemTypes) – The operating system of the osDiskImage. Required. Known values are: “Windows” and “Linux”.

Keyword Arguments

operating_system (str or OperatingSystemTypes) – The operating system of the osDiskImage. Required. Known values are: “Windows” and “Linux”.

class azure.mgmt.compute.v2016_03_30.models.OSProfile(*, computer_name: Optional[str] = None, admin_username: Optional[str] = None, admin_password: Optional[str] = None, custom_data: Optional[str] = None, windows_configuration: Optional[_models.WindowsConfiguration] = None, linux_configuration: Optional[_models.LinuxConfiguration] = None, secrets: Optional[List[_models.VaultSecretGroup]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the operating system settings for the virtual machine.

Variables
Keyword Arguments
class azure.mgmt.compute.v2016_03_30.models.OperatingSystemTypes(value)[source]

Bases: str, enum.Enum

The operating system of the osDiskImage.

LINUX = 'Linux'
WINDOWS = 'Windows'
class azure.mgmt.compute.v2016_03_30.models.OperationStatusResponse(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Operation status response.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str) – Operation ID.

  • status (str) – Operation status.

  • start_time (datetime) – Start time of the operation.

  • end_time (datetime) – End time of the operation.

  • error (ApiError) – Api error.

class azure.mgmt.compute.v2016_03_30.models.Plan(*, name: Optional[str] = None, publisher: Optional[str] = None, product: Optional[str] = None, promotion_code: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

Variables
  • name (str) – The plan ID.

  • publisher (str) – The publisher ID.

  • product (str) – Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

  • promotion_code (str) – The promotion code.

Keyword Arguments
  • name (str) – The plan ID.

  • publisher (str) – The publisher ID.

  • product (str) – Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

  • promotion_code (str) – The promotion code.

class azure.mgmt.compute.v2016_03_30.models.ProtocolTypes(value)[source]

Bases: str, enum.Enum

Specifies the protocol of listener. <br><br> Possible values are: <br> http <br><br> https.

HTTP = 'Http'
HTTPS = 'Https'
class azure.mgmt.compute.v2016_03_30.models.PurchasePlan(*, publisher: str, name: str, product: str, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

All required parameters must be populated in order to send to Azure.

Variables
  • publisher (str) – The publisher ID. Required.

  • name (str) – The plan ID. Required.

  • product (str) – Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Required.

Keyword Arguments
  • publisher (str) – The publisher ID. Required.

  • name (str) – The plan ID. Required.

  • product (str) – Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Required.

class azure.mgmt.compute.v2016_03_30.models.Resource(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2016_03_30.models.SettingNames(value)[source]

Bases: str, enum.Enum

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.

AUTO_LOGON = 'AutoLogon'
FIRST_LOGON_COMMANDS = 'FirstLogonCommands'
class azure.mgmt.compute.v2016_03_30.models.Sku(*, name: Optional[str] = None, tier: Optional[str] = None, capacity: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

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.

Variables
  • name (str) – The sku name.

  • tier (str) – Specifies the tier of virtual machines in a scale set.:code:<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic.

  • capacity (int) – Specifies the number of virtual machines in the scale set.

Keyword Arguments
  • name (str) – The sku name.

  • tier (str) – Specifies the tier of virtual machines in a scale set.:code:<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic.

  • capacity (int) – Specifies the number of virtual machines in the scale set.

class azure.mgmt.compute.v2016_03_30.models.SshConfiguration(*, public_keys: Optional[List[_models.SshPublicKey]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

SSH configuration for Linux based VMs running on Azure.

Variables

public_keys (list[SshPublicKey]) – The list of SSH public keys used to authenticate with linux based VMs.

Keyword Arguments

public_keys (list[SshPublicKey]) – The list of SSH public keys used to authenticate with linux based VMs.

class azure.mgmt.compute.v2016_03_30.models.SshPublicKey(*, path: Optional[str] = None, key_data: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

Variables
  • path (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.

  • key_data (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.

Keyword Arguments
  • path (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.

  • key_data (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.

class azure.mgmt.compute.v2016_03_30.models.StatusLevelTypes(value)[source]

Bases: str, enum.Enum

The level code.

ERROR = 'Error'
INFO = 'Info'
WARNING = 'Warning'
class azure.mgmt.compute.v2016_03_30.models.StorageProfile(*, image_reference: Optional[_models.ImageReference] = None, os_disk: Optional[_models.OSDisk] = None, data_disks: Optional[List[_models.DataDisk]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies the storage settings for the virtual machine disks.

Variables
  • image_reference (ImageReference) – 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.

  • os_disk (OSDisk) –

    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.

  • data_disks (list[DataDisk]) –

    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.

Keyword Arguments
  • image_reference (ImageReference) – 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.

  • os_disk (OSDisk) –

    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.

  • data_disks (list[DataDisk]) –

    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.

class azure.mgmt.compute.v2016_03_30.models.SubResource(*, id: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

SubResource.

Variables

id (str) – Resource Id.

Keyword Arguments

id (str) – Resource Id.

class azure.mgmt.compute.v2016_03_30.models.UpdateResource(*, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The Update Resource model definition.

Variables

tags (dict[str, str]) – Resource tags.

Keyword Arguments

tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2016_03_30.models.UpgradeMode(value)[source]

Bases: str, enum.Enum

Specifies the mode of an upgrade to virtual machines in the scale set.:code:<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.:code:<br /><br /> Automatic - All virtual machines in the scale set are automatically updated at the same time.

AUTOMATIC = 'Automatic'
MANUAL = 'Manual'
class azure.mgmt.compute.v2016_03_30.models.UpgradePolicy(*, mode: Optional[Union[str, _models.UpgradeMode]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes an upgrade policy - automatic or manual.

Variables

mode (str or UpgradeMode) – Specifies the mode of an upgrade to virtual machines in the scale set.:code:<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.:code:<br /><br /> Automatic - All virtual machines in the scale set are automatically updated at the same time. Known values are: “Automatic” and “Manual”.

Keyword Arguments

mode (str or UpgradeMode) – Specifies the mode of an upgrade to virtual machines in the scale set.:code:<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.:code:<br /><br /> Automatic - All virtual machines in the scale set are automatically updated at the same time. Known values are: “Automatic” and “Manual”.

class azure.mgmt.compute.v2016_03_30.models.Usage(*, current_value: int, limit: int, name: _models.UsageName, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes Compute Resource Usage.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • unit (str) – An enum describing the unit of usage measurement. Required. Default value is “Count”.

  • current_value (int) – The current usage of the resource. Required.

  • limit (int) – The maximum permitted usage of the resource. Required.

  • name (UsageName) – The name of the type of usage. Required.

Keyword Arguments
  • current_value (int) – The current usage of the resource. Required.

  • limit (int) – The maximum permitted usage of the resource. Required.

  • name (UsageName) – The name of the type of usage. Required.

unit = 'Count'
class azure.mgmt.compute.v2016_03_30.models.UsageName(*, value: Optional[str] = None, localized_value: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The Usage Names.

Variables
  • value (str) – The name of the resource.

  • localized_value (str) – The localized name of the resource.

Keyword Arguments
  • value (str) – The name of the resource.

  • localized_value (str) – The localized name of the resource.

class azure.mgmt.compute.v2016_03_30.models.VaultCertificate(*, certificate_url: Optional[str] = None, certificate_store: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

Variables
  • certificate_url (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. 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>”,:code:<br> “dataType”:”pfx”,:code:<br> “password”:”<pfx-file-password><br>}.

  • certificate_store (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>:code:`<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.

Keyword Arguments
  • certificate_url (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. 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>”,:code:<br> “dataType”:”pfx”,:code:<br> “password”:”<pfx-file-password><br>}.

  • certificate_store (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>:code:`<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.

class azure.mgmt.compute.v2016_03_30.models.VaultSecretGroup(*, source_vault: Optional[_models.SubResource] = None, vault_certificates: Optional[List[_models.VaultCertificate]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a set of certificates which are all in the same Key Vault.

Variables
  • source_vault (SubResource) – The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

  • vault_certificates (list[VaultCertificate]) – The list of key vault references in SourceVault which contain certificates.

Keyword Arguments
  • source_vault (SubResource) – The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

  • vault_certificates (list[VaultCertificate]) – The list of key vault references in SourceVault which contain certificates.

class azure.mgmt.compute.v2016_03_30.models.VirtualHardDisk(*, uri: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes the uri of a disk.

Variables

uri (str) – Specifies the virtual hard disk’s uri.

Keyword Arguments

uri (str) – Specifies the virtual hard disk’s uri.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachine(*, location: str, tags: Optional[Dict[str, str]] = None, plan: Optional[_models.Plan] = None, identity: Optional[_models.VirtualMachineIdentity] = None, hardware_profile: Optional[_models.HardwareProfile] = None, storage_profile: Optional[_models.StorageProfile] = None, os_profile: Optional[_models.OSProfile] = None, network_profile: Optional[_models.NetworkProfile] = None, diagnostics_profile: Optional[_models.DiagnosticsProfile] = None, availability_set: Optional[_models.SubResource] = None, license_type: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Describes a Virtual Machine.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • plan (Plan) – 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.

  • resources (list[VirtualMachineExtension]) – The virtual machine child extension resources.

  • identity (VirtualMachineIdentity) – The identity of the virtual machine, if configured.

  • hardware_profile (HardwareProfile) – Specifies the hardware settings for the virtual machine.

  • storage_profile (StorageProfile) – Specifies the storage settings for the virtual machine disks.

  • os_profile (OSProfile) – Specifies the operating system settings for the virtual machine.

  • network_profile (NetworkProfile) – Specifies the network interfaces of the virtual machine.

  • diagnostics_profile (DiagnosticsProfile) – Specifies the boot diagnostic settings state. <br>:code:`<br>`Minimum api-version: 2015-06-15.

  • availability_set (SubResource) –

    Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • instance_view (VirtualMachineInstanceView) – The virtual machine instance view.

  • license_type (str) – Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15.

  • vm_id (str) – Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • plan (Plan) – 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.

  • identity (VirtualMachineIdentity) – The identity of the virtual machine, if configured.

  • hardware_profile (HardwareProfile) – Specifies the hardware settings for the virtual machine.

  • storage_profile (StorageProfile) – Specifies the storage settings for the virtual machine disks.

  • os_profile (OSProfile) – Specifies the operating system settings for the virtual machine.

  • network_profile (NetworkProfile) – Specifies the network interfaces of the virtual machine.

  • diagnostics_profile (DiagnosticsProfile) – Specifies the boot diagnostic settings state. <br>:code:`<br>`Minimum api-version: 2015-06-15.

  • availability_set (SubResource) –

    Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

  • license_type (str) –

    Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineAgentInstanceView(*, vm_agent_version: Optional[str] = None, extension_handlers: Optional[List[_models.VirtualMachineExtensionHandlerInstanceView]] = None, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of the VM Agent running on the virtual machine.

Variables
Keyword Arguments
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineCaptureParameters(*, vhd_prefix: str, destination_container_name: str, overwrite_vhds: bool, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Capture Virtual Machine parameters.

All required parameters must be populated in order to send to Azure.

Variables
  • vhd_prefix (str) – The captured virtual hard disk’s name prefix. Required.

  • destination_container_name (str) – The destination container name. Required.

  • overwrite_vhds (bool) – Specifies whether to overwrite the destination virtual hard disk, in case of conflict. Required.

Keyword Arguments
  • vhd_prefix (str) – The captured virtual hard disk’s name prefix. Required.

  • destination_container_name (str) – The destination container name. Required.

  • overwrite_vhds (bool) – Specifies whether to overwrite the destination virtual hard disk, in case of conflict. Required.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineCaptureResult(*, id: Optional[str] = None, output: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Resource Id.

Variables
  • id (str) – Resource Id.

  • output (JSON) – Operation output data (raw JSON).

Keyword Arguments
  • id (str) – Resource Id.

  • output (JSON) – Operation output data (raw JSON).

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtension(*, location: str, tags: Optional[Dict[str, str]] = None, force_update_tag: Optional[str] = None, publisher: Optional[str] = None, type_properties_type: Optional[str] = None, type_handler_version: Optional[str] = None, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[collections.abc.MutableMapping[str, Any]] = None, protected_settings: Optional[collections.abc.MutableMapping[str, Any]] = None, instance_view: Optional[_models.VirtualMachineExtensionInstanceView] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Describes a Virtual Machine Extension.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • force_update_tag (str) – How the extension handler should be forced to update even if the extension configuration has not changed.

  • publisher (str) – The name of the extension handler publisher.

  • type_properties_type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • auto_upgrade_minor_version (bool) – Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • instance_view (VirtualMachineExtensionInstanceView) – The virtual machine extension instance view.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • force_update_tag (str) – How the extension handler should be forced to update even if the extension configuration has not changed.

  • publisher (str) – The name of the extension handler publisher.

  • type_properties_type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • auto_upgrade_minor_version (bool) – Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

  • instance_view (VirtualMachineExtensionInstanceView) – The virtual machine extension instance view.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionHandlerInstanceView(*, type: Optional[str] = None, type_handler_version: Optional[str] = None, status: Optional[_models.InstanceViewStatus] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine extension handler.

Variables
  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • status (InstanceViewStatus) – The extension handler status.

Keyword Arguments
  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • status (InstanceViewStatus) – The extension handler status.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionImage(*, location: str, tags: Optional[Dict[str, str]] = None, operating_system: Optional[str] = None, compute_role: Optional[str] = None, handler_schema: Optional[str] = None, vm_scale_set_enabled: Optional[bool] = None, supports_multiple_extensions: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Describes a Virtual Machine Extension Image.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • operating_system (str) – The operating system this extension supports.

  • compute_role (str) – The type of role (IaaS or PaaS) this extension supports.

  • handler_schema (str) – The schema defined by publisher, where extension consumers should provide settings in a matching schema.

  • vm_scale_set_enabled (bool) – Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.

  • supports_multiple_extensions (bool) – Whether the handler can support multiple extensions.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • operating_system (str) – The operating system this extension supports.

  • compute_role (str) – The type of role (IaaS or PaaS) this extension supports.

  • handler_schema (str) – The schema defined by publisher, where extension consumers should provide settings in a matching schema.

  • vm_scale_set_enabled (bool) – Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.

  • supports_multiple_extensions (bool) – Whether the handler can support multiple extensions.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView(*, name: Optional[str] = None, type: Optional[str] = None, type_handler_version: Optional[str] = None, substatuses: Optional[List[_models.InstanceViewStatus]] = None, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine extension.

Variables
  • name (str) – The virtual machine extension name.

  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • substatuses (list[InstanceViewStatus]) – The resource status information.

  • statuses (list[InstanceViewStatus]) – The resource status information.

Keyword Arguments
  • name (str) – The virtual machine extension name.

  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • substatuses (list[InstanceViewStatus]) – The resource status information.

  • statuses (list[InstanceViewStatus]) – The resource status information.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionUpdate(*, tags: Optional[Dict[str, str]] = None, force_update_tag: Optional[str] = None, publisher: Optional[str] = None, type: Optional[str] = None, type_handler_version: Optional[str] = None, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[collections.abc.MutableMapping[str, Any]] = None, protected_settings: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.UpdateResource

Describes a Virtual Machine Extension.

Variables
  • tags (dict[str, str]) – Resource tags.

  • force_update_tag (str) – How the extension handler should be forced to update even if the extension configuration has not changed.

  • publisher (str) – The name of the extension handler publisher.

  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • auto_upgrade_minor_version (bool) – Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • force_update_tag (str) – How the extension handler should be forced to update even if the extension configuration has not changed.

  • publisher (str) – The name of the extension handler publisher.

  • type (str) – Specifies the type of the extension; an example is “CustomScriptExtension”.

  • type_handler_version (str) – Specifies the version of the script handler.

  • auto_upgrade_minor_version (bool) – Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionsListResult(*, value: Optional[List[_models.VirtualMachineExtension]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Extension operation response.

Variables

value (list[VirtualMachineExtension]) – The list of extensions.

Keyword Arguments

value (list[VirtualMachineExtension]) – The list of extensions.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineIdentity(*, type: Optional[Literal[SystemAssigned]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Identity for the virtual machine.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal id of virtual machine identity.

  • tenant_id (str) – The tenant id associated with the virtual machine.

  • type (str) – The type of identity used for the virtual machine. Currently, the only supported type is ‘SystemAssigned’, which implicitly creates an identity. Default value is “SystemAssigned”.

Keyword Arguments

type (str) – The type of identity used for the virtual machine. Currently, the only supported type is ‘SystemAssigned’, which implicitly creates an identity. Default value is “SystemAssigned”.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineImage(*, name: str, location: str, id: Optional[str] = None, tags: Optional[Dict[str, str]] = None, plan: Optional[_models.PurchasePlan] = None, os_disk_image: Optional[_models.OSDiskImage] = None, data_disk_images: Optional[List[_models.DataDiskImage]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.VirtualMachineImageResource

Describes a Virtual Machine Image.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – The name of the resource. Required.

  • location (str) – The supported Azure location of the resource. Required.

  • tags (dict[str, str]) – Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

  • plan (PurchasePlan) – Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

  • os_disk_image (OSDiskImage) – Contains the os disk image information.

  • data_disk_images (list[DataDiskImage]) –

Keyword Arguments
  • id (str) – Resource Id.

  • name (str) – The name of the resource. Required.

  • location (str) – The supported Azure location of the resource. Required.

  • tags (dict[str, str]) –

    Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

  • plan (PurchasePlan) – Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

  • os_disk_image (OSDiskImage) – Contains the os disk image information.

  • data_disk_images (list[DataDiskImage]) –

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineImageResource(*, name: str, location: str, id: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Virtual machine image resource information.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – The name of the resource. Required.

  • location (str) – The supported Azure location of the resource. Required.

  • tags (dict[str, str]) –

    Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

Keyword Arguments
  • id (str) – Resource Id.

  • name (str) – The name of the resource. Required.

  • location (str) – The supported Azure location of the resource. Required.

  • tags (dict[str, str]) –

    Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineInstanceView(*, platform_update_domain: Optional[int] = None, platform_fault_domain: Optional[int] = None, rdp_thumb_print: Optional[str] = None, vm_agent: Optional[_models.VirtualMachineAgentInstanceView] = None, disks: Optional[List[_models.DiskInstanceView]] = None, extensions: Optional[List[_models.VirtualMachineExtensionInstanceView]] = None, boot_diagnostics: Optional[_models.BootDiagnosticsInstanceView] = None, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine.

Variables
  • platform_update_domain (int) – Specifies the update domain of the virtual machine.

  • platform_fault_domain (int) – Specifies the fault domain of the virtual machine.

  • rdp_thumb_print (str) – The Remote desktop certificate thumbprint.

  • vm_agent (VirtualMachineAgentInstanceView) – The VM Agent running on the virtual machine.

  • disks (list[DiskInstanceView]) – The virtual machine disk information.

  • extensions (list[VirtualMachineExtensionInstanceView]) – The extensions information.

  • boot_diagnostics (BootDiagnosticsInstanceView) – 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.

  • statuses (list[InstanceViewStatus]) – The resource status information.

Keyword Arguments
  • platform_update_domain (int) – Specifies the update domain of the virtual machine.

  • platform_fault_domain (int) – Specifies the fault domain of the virtual machine.

  • rdp_thumb_print (str) – The Remote desktop certificate thumbprint.

  • vm_agent (VirtualMachineAgentInstanceView) – The VM Agent running on the virtual machine.

  • disks (list[DiskInstanceView]) – The virtual machine disk information.

  • extensions (list[VirtualMachineExtensionInstanceView]) – The extensions information.

  • boot_diagnostics (BootDiagnosticsInstanceView) – 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.

  • statuses (list[InstanceViewStatus]) – The resource status information.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineListResult(*, value: List[_models.VirtualMachine], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Virtual Machine operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[VirtualMachine]) – The list of virtual machines. Required.

  • next_link (str) – The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.

Keyword Arguments
  • value (list[VirtualMachine]) – The list of virtual machines. Required.

  • next_link (str) – The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSet(*, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.Sku] = None, identity: Optional[_models.VirtualMachineScaleSetIdentity] = None, upgrade_policy: Optional[_models.UpgradePolicy] = None, virtual_machine_profile: Optional[_models.VirtualMachineScaleSetVMProfile] = None, over_provision: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Describes a Virtual Machine Scale Set.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • sku (Sku) – The virtual machine scale set sku.

  • identity (VirtualMachineScaleSetIdentity) – The identity of the virtual machine scale set, if configured.

  • upgrade_policy (UpgradePolicy) – The upgrade policy.

  • virtual_machine_profile (VirtualMachineScaleSetVMProfile) – The virtual machine profile.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • over_provision (bool) – Specifies whether the Virtual Machine Scale Set should be overprovisioned.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • sku (Sku) – The virtual machine scale set sku.

  • identity (VirtualMachineScaleSetIdentity) – The identity of the virtual machine scale set, if configured.

  • upgrade_policy (UpgradePolicy) – The upgrade policy.

  • virtual_machine_profile (VirtualMachineScaleSetVMProfile) – The virtual machine profile.

  • over_provision (bool) – Specifies whether the Virtual Machine Scale Set should be overprovisioned.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetExtension(*, id: Optional[str] = None, name: Optional[str] = None, publisher: Optional[str] = None, type: Optional[str] = None, type_handler_version: Optional[str] = None, auto_upgrade_minor_version: Optional[bool] = None, settings: Optional[collections.abc.MutableMapping[str, Any]] = None, protected_settings: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Describes a Virtual Machine Scale Set Extension.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – The name of the extension.

  • publisher (str) – The name of the extension handler publisher.

  • type (str) – The type of the extension handler.

  • type_handler_version (str) – The type version of the extension handler.

  • auto_upgrade_minor_version (bool) – Whether the extension handler should be automatically upgraded across minor versions.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – Json formatted protected settings for the extension.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

Keyword Arguments
  • id (str) – Resource Id.

  • name (str) – The name of the extension.

  • publisher (str) – The name of the extension handler publisher.

  • type (str) – The type of the extension handler.

  • type_handler_version (str) – The type version of the extension handler.

  • auto_upgrade_minor_version (bool) – Whether the extension handler should be automatically upgraded across minor versions.

  • settings (JSON) – Json formatted public settings for the extension.

  • protected_settings (JSON) – Json formatted protected settings for the extension.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetExtensionProfile(*, extensions: Optional[List[_models.VirtualMachineScaleSetExtension]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set extension profile.

Variables

extensions (list[VirtualMachineScaleSetExtension]) – The virtual machine scale set child extension resources.

Keyword Arguments

extensions (list[VirtualMachineScaleSetExtension]) – The virtual machine scale set child extension resources.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetIPConfiguration(*, name: str, id: Optional[str] = None, subnet: Optional[_models.ApiEntityReference] = None, application_gateway_backend_address_pools: Optional[List[_models.SubResource]] = None, load_balancer_backend_address_pools: Optional[List[_models.SubResource]] = None, load_balancer_inbound_nat_pools: Optional[List[_models.SubResource]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Describes a virtual machine scale set network profile’s IP configuration.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – The IP configuration name. Required.

  • subnet (ApiEntityReference) – The subnet.

  • application_gateway_backend_address_pools (list[SubResource]) – The application gateway backend address pools.

  • load_balancer_backend_address_pools (list[SubResource]) – The load balancer backend address pools.

  • load_balancer_inbound_nat_pools (list[SubResource]) – The load balancer inbound nat pools.

Keyword Arguments
  • id (str) – Resource Id.

  • name (str) – The IP configuration name. Required.

  • subnet (ApiEntityReference) – The subnet.

  • application_gateway_backend_address_pools (list[SubResource]) – The application gateway backend address pools.

  • load_balancer_backend_address_pools (list[SubResource]) – The load balancer backend address pools.

  • load_balancer_inbound_nat_pools (list[SubResource]) – The load balancer inbound nat pools.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetIdentity(*, type: Optional[Literal[SystemAssigned]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Identity for the virtual machine scale set.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal id of virtual machine scale set identity.

  • tenant_id (str) – The tenant id associated with the virtual machine scale set.

  • type (str) – The type of identity used for the virtual machine scale set. Currently, the only supported type is ‘SystemAssigned’, which implicitly creates an identity. Default value is “SystemAssigned”.

Keyword Arguments

type (str) – The type of identity used for the virtual machine scale set. Currently, the only supported type is ‘SystemAssigned’, which implicitly creates an identity. Default value is “SystemAssigned”.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetInstanceView(*, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine scale set.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
Keyword Arguments

statuses (list[InstanceViewStatus]) – The resource status information.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetInstanceViewStatusesSummary(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Instance view statuses summary for virtual machines of a virtual machine scale set.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

statuses_summary (list[VirtualMachineStatusCodeCount]) – The extensions information.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetListResult(*, value: List[_models.VirtualMachineScaleSet], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Virtual Machine operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[VirtualMachineScaleSet]) – The list of virtual machine scale sets. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.

Keyword Arguments
  • value (list[VirtualMachineScaleSet]) – The list of virtual machine scale sets. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetListSkusResult(*, value: List[_models.VirtualMachineScaleSetSku], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The Virtual Machine Scale Set List Skus operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[VirtualMachineScaleSetSku]) – The list of skus available for the virtual machine scale set. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.

Keyword Arguments
  • value (list[VirtualMachineScaleSetSku]) – The list of skus available for the virtual machine scale set. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetListWithLinkResult(*, value: List[_models.VirtualMachineScaleSet], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Virtual Machine operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[VirtualMachineScaleSet]) – The list of virtual machine scale sets. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.

Keyword Arguments
  • value (list[VirtualMachineScaleSet]) – The list of virtual machine scale sets. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetNetworkConfiguration(*, name: str, id: Optional[str] = None, primary: Optional[bool] = None, ip_configurations: Optional[List[_models.VirtualMachineScaleSetIPConfiguration]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.SubResource

Describes a virtual machine scale set network profile’s network configurations.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – The network configuration name. Required.

  • primary (bool) – Whether this is a primary NIC on a virtual machine.

  • ip_configurations (list[VirtualMachineScaleSetIPConfiguration]) – The virtual machine scale set IP Configuration.

Keyword Arguments
  • id (str) – Resource Id.

  • name (str) – The network configuration name. Required.

  • primary (bool) – Whether this is a primary NIC on a virtual machine.

  • ip_configurations (list[VirtualMachineScaleSetIPConfiguration]) – The virtual machine scale set IP Configuration.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetNetworkProfile(*, network_interface_configurations: Optional[List[_models.VirtualMachineScaleSetNetworkConfiguration]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set network profile.

Variables

network_interface_configurations (list[VirtualMachineScaleSetNetworkConfiguration]) – The list of network configurations.

Keyword Arguments

network_interface_configurations (list[VirtualMachineScaleSetNetworkConfiguration]) – The list of network configurations.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetOSDisk(*, name: str, create_option: Union[str, _models.DiskCreateOptionTypes], caching: Optional[Union[str, _models.CachingTypes]] = None, os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, image: Optional[_models.VirtualHardDisk] = None, vhd_containers: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set operating system disk.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str) – The disk name. Required.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machines in the scale set should be created.:code:<br><br> The only allowed value is: FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • os_type (str or 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. Known values are: “Windows” and “Linux”.

  • image (VirtualHardDisk) – 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.

  • vhd_containers (list[str]) – The list of virtual hard disk container uris.

Keyword Arguments
  • name (str) – The disk name. Required.

  • caching (str or 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. Known values are: “None”, “ReadOnly”, and “ReadWrite”.

  • create_option (str or DiskCreateOptionTypes) – Specifies how the virtual machines in the scale set should be created.:code:<br><br> The only allowed value is: FromImage – 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. Required. Known values are: “FromImage”, “Empty”, and “Attach”.

  • os_type (str or 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. Known values are: “Windows” and “Linux”.

  • image (VirtualHardDisk) – 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.

  • vhd_containers (list[str]) – The list of virtual hard disk container uris.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetOSProfile(*, computer_name_prefix: Optional[str] = None, admin_username: Optional[str] = None, admin_password: Optional[str] = None, custom_data: Optional[str] = None, windows_configuration: Optional[_models.WindowsConfiguration] = None, linux_configuration: Optional[_models.LinuxConfiguration] = None, secrets: Optional[List[_models.VaultSecretGroup]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set OS profile.

Variables
  • computer_name_prefix (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.

  • admin_username (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 <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.

  • admin_password (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 :code:`<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 <br><br> For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension.

  • custom_data (str) – A base-64 encoded string of custom data.

  • windows_configuration (WindowsConfiguration) – The Windows Configuration of the OS profile.

  • linux_configuration (LinuxConfiguration) – The Linux Configuration of the OS profile.

  • secrets (list[VaultSecretGroup]) – The List of certificates for addition to the VM.

Keyword Arguments
  • computer_name_prefix (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.

  • admin_username (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 <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.

  • admin_password (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 :code:`<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 <br><br> For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension.

  • custom_data (str) – A base-64 encoded string of custom data.

  • windows_configuration (WindowsConfiguration) – The Windows Configuration of the OS profile.

  • linux_configuration (LinuxConfiguration) – The Linux Configuration of the OS profile.

  • secrets (list[VaultSecretGroup]) – The List of certificates for addition to the VM.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetSku(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes an available virtual machine scale set sku.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • resource_type (str) – The type of resource the sku applies to.

  • sku (Sku) – The Sku.

  • capacity (VirtualMachineScaleSetSkuCapacity) – Specifies the number of virtual machines in the scale set.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetSkuCapacity(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes scaling information of a sku.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • minimum (int) – The minimum capacity.

  • maximum (int) – The maximum capacity that can be set.

  • default_capacity (int) – The default capacity.

  • scale_type (str or VirtualMachineScaleSetSkuScaleType) – The scale type applicable to the sku. Known values are: “Automatic” and “None”.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetSkuScaleType(value)[source]

Bases: str, enum.Enum

The scale type applicable to the sku.

AUTOMATIC = 'Automatic'
NONE = 'None'
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetStorageProfile(*, image_reference: Optional[_models.ImageReference] = None, os_disk: Optional[_models.VirtualMachineScaleSetOSDisk] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set storage profile.

Variables
Keyword Arguments
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVM(*, location: str, tags: Optional[Dict[str, str]] = None, plan: Optional[_models.Plan] = None, hardware_profile: Optional[_models.HardwareProfile] = None, storage_profile: Optional[_models.StorageProfile] = None, os_profile: Optional[_models.OSProfile] = None, network_profile: Optional[_models.NetworkProfile] = None, diagnostics_profile: Optional[_models.DiagnosticsProfile] = None, availability_set: Optional[_models.SubResource] = None, license_type: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2016_03_30.models._models_py3.Resource

Describes a virtual machine scale set virtual machine.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • instance_id (str) – The virtual machine instance ID.

  • sku (Sku) – The virtual machine SKU.

  • plan (Plan) – 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.

  • resources (list[VirtualMachineExtension]) – The virtual machine child extension resources.

  • latest_model_applied (bool) – Specifies whether the latest model has been applied to the virtual machine.

  • vm_id (str) – Azure VM unique ID.

  • instance_view (VirtualMachineScaleSetVMInstanceView) – The virtual machine instance view.

  • hardware_profile (HardwareProfile) – Specifies the hardware settings for the virtual machine.

  • storage_profile (StorageProfile) – Specifies the storage settings for the virtual machine disks.

  • os_profile (OSProfile) – Specifies the operating system settings for the virtual machine.

  • network_profile (NetworkProfile) – Specifies the network interfaces of the virtual machine.

  • diagnostics_profile (DiagnosticsProfile) – Specifies the boot diagnostic settings state. <br>:code:`<br>`Minimum api-version: 2015-06-15.

  • availability_set (SubResource) –

    Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

  • provisioning_state (str) – The provisioning state, which only appears in the response.

  • license_type (str) –

    Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • plan (Plan) – 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.

  • hardware_profile (HardwareProfile) – Specifies the hardware settings for the virtual machine.

  • storage_profile (StorageProfile) – Specifies the storage settings for the virtual machine disks.

  • os_profile (OSProfile) – Specifies the operating system settings for the virtual machine.

  • network_profile (NetworkProfile) – Specifies the network interfaces of the virtual machine.

  • diagnostics_profile (DiagnosticsProfile) – Specifies the boot diagnostic settings state. <br>:code:`<br>`Minimum api-version: 2015-06-15.

  • availability_set (SubResource) –

    Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

  • license_type (str) –

    Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMExtensionsSummary(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Extensions summary for virtual machines of a virtual machine scale set.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMInstanceIDs(*, instance_ids: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies a list of virtual machine instance IDs from the VM scale set.

Variables

instance_ids (list[str]) – The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.

Keyword Arguments

instance_ids (list[str]) – The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMInstanceRequiredIDs(*, instance_ids: List[str], **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies a list of virtual machine instance IDs from the VM scale set.

All required parameters must be populated in order to send to Azure.

Variables

instance_ids (list[str]) – The virtual machine scale set instance ids. Required.

Keyword Arguments

instance_ids (list[str]) – The virtual machine scale set instance ids. Required.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMInstanceView(*, platform_update_domain: Optional[int] = None, platform_fault_domain: Optional[int] = None, rdp_thumb_print: Optional[str] = None, vm_agent: Optional[_models.VirtualMachineAgentInstanceView] = None, disks: Optional[List[_models.DiskInstanceView]] = None, extensions: Optional[List[_models.VirtualMachineExtensionInstanceView]] = None, boot_diagnostics: Optional[_models.BootDiagnosticsInstanceView] = None, statuses: Optional[List[_models.InstanceViewStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The instance view of a virtual machine scale set VM.

Variables
  • platform_update_domain (int) – The Update Domain count.

  • platform_fault_domain (int) – The Fault Domain count.

  • rdp_thumb_print (str) – The Remote desktop certificate thumbprint.

  • vm_agent (VirtualMachineAgentInstanceView) – The VM Agent running on the virtual machine.

  • disks (list[DiskInstanceView]) – The disks information.

  • extensions (list[VirtualMachineExtensionInstanceView]) – The extensions information.

  • boot_diagnostics (BootDiagnosticsInstanceView) – 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.

  • statuses (list[InstanceViewStatus]) – The resource status information.

Keyword Arguments
  • platform_update_domain (int) – The Update Domain count.

  • platform_fault_domain (int) – The Fault Domain count.

  • rdp_thumb_print (str) – The Remote desktop certificate thumbprint.

  • vm_agent (VirtualMachineAgentInstanceView) – The VM Agent running on the virtual machine.

  • disks (list[DiskInstanceView]) – The disks information.

  • extensions (list[VirtualMachineExtensionInstanceView]) – The extensions information.

  • boot_diagnostics (BootDiagnosticsInstanceView) – 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.

  • statuses (list[InstanceViewStatus]) – The resource status information.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMListResult(*, value: List[_models.VirtualMachineScaleSetVM], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Virtual Machine Scale Set VMs operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[VirtualMachineScaleSetVM]) – The list of virtual machine scale sets VMs. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs.

Keyword Arguments
  • value (list[VirtualMachineScaleSetVM]) – The list of virtual machine scale sets VMs. Required.

  • next_link (str) – The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineScaleSetVMProfile(*, os_profile: Optional[_models.VirtualMachineScaleSetOSProfile] = None, storage_profile: Optional[_models.VirtualMachineScaleSetStorageProfile] = None, network_profile: Optional[_models.VirtualMachineScaleSetNetworkProfile] = None, extension_profile: Optional[_models.VirtualMachineScaleSetExtensionProfile] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes a virtual machine scale set virtual machine profile.

Variables
Keyword Arguments
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineSize(*, name: Optional[str] = None, number_of_cores: Optional[int] = None, os_disk_size_in_mb: Optional[int] = None, resource_disk_size_in_mb: Optional[int] = None, memory_in_mb: Optional[int] = None, max_data_disk_count: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes the properties of a VM size.

Variables
  • name (str) – The name of the virtual machine size.

  • number_of_cores (int) – The number of cores supported by the virtual machine size.

  • os_disk_size_in_mb (int) – The OS disk size, in MB, allowed by the virtual machine size.

  • resource_disk_size_in_mb (int) – The resource disk size, in MB, allowed by the virtual machine size.

  • memory_in_mb (int) – The amount of memory, in MB, supported by the virtual machine size.

  • max_data_disk_count (int) – The maximum number of data disks that can be attached to the virtual machine size.

Keyword Arguments
  • name (str) – The name of the virtual machine size.

  • number_of_cores (int) – The number of cores supported by the virtual machine size.

  • os_disk_size_in_mb (int) – The OS disk size, in MB, allowed by the virtual machine size.

  • resource_disk_size_in_mb (int) – The resource disk size, in MB, allowed by the virtual machine size.

  • memory_in_mb (int) – The amount of memory, in MB, supported by the virtual machine size.

  • max_data_disk_count (int) – The maximum number of data disks that can be attached to the virtual machine size.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineSizeListResult(*, value: Optional[List[_models.VirtualMachineSize]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Virtual Machine operation response.

Variables

value (list[VirtualMachineSize]) – The list of virtual machine sizes.

Keyword Arguments

value (list[VirtualMachineSize]) – The list of virtual machine sizes.

class azure.mgmt.compute.v2016_03_30.models.VirtualMachineSizeTypes(value)[source]

Bases: str, enum.Enum

Specifies the size of the virtual machine. For more information about virtual machine sizes, see Sizes for virtual machines. <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 <br><br> List all available virtual machine sizes in a region <br><br> List all available virtual machine sizes for resizing.

BASIC_A0 = 'Basic_A0'
BASIC_A1 = 'Basic_A1'
BASIC_A2 = 'Basic_A2'
BASIC_A3 = 'Basic_A3'
BASIC_A4 = 'Basic_A4'
STANDARD_A0 = 'Standard_A0'
STANDARD_A1 = 'Standard_A1'
STANDARD_A10 = 'Standard_A10'
STANDARD_A11 = 'Standard_A11'
STANDARD_A2 = 'Standard_A2'
STANDARD_A3 = 'Standard_A3'
STANDARD_A4 = 'Standard_A4'
STANDARD_A5 = 'Standard_A5'
STANDARD_A6 = 'Standard_A6'
STANDARD_A7 = 'Standard_A7'
STANDARD_A8 = 'Standard_A8'
STANDARD_A9 = 'Standard_A9'
STANDARD_D1 = 'Standard_D1'
STANDARD_D11 = 'Standard_D11'
STANDARD_D11_V2 = 'Standard_D11_v2'
STANDARD_D12 = 'Standard_D12'
STANDARD_D12_V2 = 'Standard_D12_v2'
STANDARD_D13 = 'Standard_D13'
STANDARD_D13_V2 = 'Standard_D13_v2'
STANDARD_D14 = 'Standard_D14'
STANDARD_D14_V2 = 'Standard_D14_v2'
STANDARD_D15_V2 = 'Standard_D15_v2'
STANDARD_D1_V2 = 'Standard_D1_v2'
STANDARD_D2 = 'Standard_D2'
STANDARD_D2_V2 = 'Standard_D2_v2'
STANDARD_D3 = 'Standard_D3'
STANDARD_D3_V2 = 'Standard_D3_v2'
STANDARD_D4 = 'Standard_D4'
STANDARD_D4_V2 = 'Standard_D4_v2'
STANDARD_D5_V2 = 'Standard_D5_v2'
STANDARD_DS1 = 'Standard_DS1'
STANDARD_DS11 = 'Standard_DS11'
STANDARD_DS11_V2 = 'Standard_DS11_v2'
STANDARD_DS12 = 'Standard_DS12'
STANDARD_DS12_V2 = 'Standard_DS12_v2'
STANDARD_DS13 = 'Standard_DS13'
STANDARD_DS13_V2 = 'Standard_DS13_v2'
STANDARD_DS14 = 'Standard_DS14'
STANDARD_DS14_V2 = 'Standard_DS14_v2'
STANDARD_DS15_V2 = 'Standard_DS15_v2'
STANDARD_DS1_V2 = 'Standard_DS1_v2'
STANDARD_DS2 = 'Standard_DS2'
STANDARD_DS2_V2 = 'Standard_DS2_v2'
STANDARD_DS3 = 'Standard_DS3'
STANDARD_DS3_V2 = 'Standard_DS3_v2'
STANDARD_DS4 = 'Standard_DS4'
STANDARD_DS4_V2 = 'Standard_DS4_v2'
STANDARD_DS5_V2 = 'Standard_DS5_v2'
STANDARD_G1 = 'Standard_G1'
STANDARD_G2 = 'Standard_G2'
STANDARD_G3 = 'Standard_G3'
STANDARD_G4 = 'Standard_G4'
STANDARD_G5 = 'Standard_G5'
STANDARD_GS1 = 'Standard_GS1'
STANDARD_GS2 = 'Standard_GS2'
STANDARD_GS3 = 'Standard_GS3'
STANDARD_GS4 = 'Standard_GS4'
STANDARD_GS5 = 'Standard_GS5'
class azure.mgmt.compute.v2016_03_30.models.VirtualMachineStatusCodeCount(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The status code and count of the virtual machine scale set instance view status summary.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • code (str) – The instance view status code.

  • count (int) – The number of instances having a particular status code.

class azure.mgmt.compute.v2016_03_30.models.WinRMConfiguration(*, listeners: Optional[List[_models.WinRMListener]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes Windows Remote Management configuration of the VM.

Variables

listeners (list[WinRMListener]) – The list of Windows Remote Management listeners.

Keyword Arguments

listeners (list[WinRMListener]) – The list of Windows Remote Management listeners.

class azure.mgmt.compute.v2016_03_30.models.WinRMListener(*, protocol: Optional[Union[str, _models.ProtocolTypes]] = None, certificate_url: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Describes Protocol and thumbprint of Windows Remote Management listener.

Variables
  • protocol (str or ProtocolTypes) – Specifies the protocol of listener. <br><br> Possible values are: <br>http <br><br> https. Known values are: “Http” and “Https”.

  • certificate_url (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. 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>”,:code:<br> “dataType”:”pfx”,:code:<br> “password”:”<pfx-file-password><br>}.

Keyword Arguments
  • protocol (str or ProtocolTypes) – Specifies the protocol of listener. <br><br> Possible values are: <br>http <br><br> https. Known values are: “Http” and “Https”.

  • certificate_url (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. 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>”,:code:<br> “dataType”:”pfx”,:code:<br> “password”:”<pfx-file-password><br>}.

class azure.mgmt.compute.v2016_03_30.models.WindowsConfiguration(*, provision_vm_agent: Optional[bool] = None, enable_automatic_updates: Optional[bool] = None, time_zone: Optional[str] = None, additional_unattend_content: Optional[List[_models.AdditionalUnattendContent]] = None, win_rm: Optional[_models.WinRMConfiguration] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Specifies Windows operating system settings on the virtual machine.

Variables
  • provision_vm_agent (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.

  • enable_automatic_updates (bool) – Indicates whether virtual machine is enabled for automatic updates.

  • time_zone (str) – Specifies the time zone of the virtual machine. e.g. “Pacific Standard Time”.

  • additional_unattend_content (list[AdditionalUnattendContent]) – Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

  • win_rm (WinRMConfiguration) – Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.

Keyword Arguments
  • provision_vm_agent (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.

  • enable_automatic_updates (bool) – Indicates whether virtual machine is enabled for automatic updates.

  • time_zone (str) – Specifies the time zone of the virtual machine. e.g. “Pacific Standard Time”.

  • additional_unattend_content (list[AdditionalUnattendContent]) – Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

  • win_rm (WinRMConfiguration) – Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.