diff --git a/azure-mgmt-compute/HISTORY.rst b/azure-mgmt-compute/HISTORY.rst index 863bf8897154..826bf55fd602 100644 --- a/azure-mgmt-compute/HISTORY.rst +++ b/azure-mgmt-compute/HISTORY.rst @@ -3,6 +3,16 @@ Release History =============== +4.4.0 (2018-01-04) +++++++++++++++++++ + +**Features** + +- Model VirtualMachineScaleSetExtension has a new parameter provision_after_extensions +- Operation VirtualMachineScaleSetVMsOperations.reimage has a new parameter temp_disk +- Operation VirtualMachineScaleSetsOperations.reimage has a new parameter temp_disk +- Added operation VirtualMachinesOperations.reimage + 4.3.1 (2018-10-15) ++++++++++++++++++ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set.py index eb83102f6d73..46a442228625 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set_py3.py index 8442490c0e7a..5749077b8a79 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine.py index 3c96a569b5ff..97a10493fc9e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_py3.py index 0097f5df2c7f..9c4435f88197 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm.py index 339788ff3659..f55dd57b9e0b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm.py @@ -65,7 +65,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_py3.py index 9988c1eded21..957fd54f8540 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_py3.py @@ -65,7 +65,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set.py index cadfd47b6761..f83f6af68ad1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set_py3.py index cde87ba77ccb..3804dce9c0b1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine.py index d29189e2bbdd..8bfac8010229 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_py3.py index 1ec46e1a52e6..91469e5a14b8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm.py index 38b45e32ad35..42e46fc88ea2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_py3.py index e0fda166e0eb..af109046847f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_py3.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set.py index 1793a6943267..24ea33aaddd5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set_py3.py index 3b647797b6e2..9e951879c0d3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault.py index 9b16302ebbfb..88537f33905f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault_py3.py index 13eea5461390..1cb922017c06 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/source_vault_py3.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine.py index ea4dfa0d70c2..bb2443046003 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_py3.py index d9fcdb6bbdd2..17817f03786a 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm.py index 173d219b3c15..35e64891a934 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_py3.py index 54765ad93479..b7738afed02b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_py3.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set.py index ccb42b1f6601..0e41bf032ae4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set_py3.py index b6bb617466f9..346d6cec2095 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities.py index 1248116584dd..658167afc6d4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities.py @@ -13,7 +13,7 @@ class ResourceSkuCapabilities(Model): - """Describes The SKU capabilites object. + """Describes The SKU capabilities object. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities_py3.py index c7a095c1f04b..73a2631fc0aa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/resource_sku_capabilities_py3.py @@ -13,7 +13,7 @@ class ResourceSkuCapabilities(Model): - """Describes The SKU capabilites object. + """Describes The SKU capabilities object. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault.py index 9b16302ebbfb..88537f33905f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault_py3.py index 13eea5461390..1cb922017c06 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/source_vault_py3.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py index 91200e1f8905..f1f83e88a314 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py index 03753b4cf274..b5490bf83f01 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm.py index 48df19e713c1..cc4cee4dd6f5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_py3.py index f6c51321ed8f..4eb48ce3b82c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_py3.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities.py index 1248116584dd..658167afc6d4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities.py @@ -13,7 +13,7 @@ class ResourceSkuCapabilities(Model): - """Describes The SKU capabilites object. + """Describes The SKU capabilities object. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities_py3.py index c7a095c1f04b..73a2631fc0aa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/models/resource_sku_capabilities_py3.py @@ -13,7 +13,7 @@ class ResourceSkuCapabilities(Model): - """Describes The SKU capabilites object. + """Describes The SKU capabilities object. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set.py index e5a61bb520e4..54eed7bf0dd7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set_py3.py index 0c47c63718b3..ac1e0117097d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base.py index 843b739a0328..46bbc4f44411 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base_py3.py index b9420117a8ca..f713c2cb0629 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base_py3.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input.py index 5e238fafc90f..cc3bcf225a84 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input_py3.py index c59fafd6859b..db39bafa4729 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/request_rate_by_interval_input_py3.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input.py index 5eac2a5540ac..502e7be62e68 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input_py3.py index 025900705375..a4239a5115de 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/throttled_requests_input_py3.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties.py index a0c1af8046e9..5b90a618e2ad 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2017_12_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2017_12_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties_py3.py index d623b4968ad4..e20743962c8c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_operation_historical_status_info_properties_py3.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2017_12_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2017_12_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine.py index 5810c1a09641..e697b73a34f3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_py3.py index 53a7270afebc..92da754ea39d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py index 44cd8f8685ab..5db5e6c2b2c1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_py3.py index bf8d6f68d357..456eab4e17fa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_py3.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm.py index 323df5aaceaf..880843bffc01 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_py3.py index 1d0b7ce4dca1..e2277cd4dbd5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_py3.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update.py index 710df35dad13..1689c5ee98b6 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update.py @@ -53,7 +53,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update_py3.py index 33abe81fdb0b..ab0907658cd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_update_py3.py @@ -53,7 +53,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set.py index 9221a6ce1278..b7d49b796a72 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set_py3.py index 65c743257697..4445bbe7ca0b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base.py index 843b739a0328..46bbc4f44411 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base_py3.py index b9420117a8ca..f713c2cb0629 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/log_analytics_input_base_py3.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input.py index 8712882e54db..5e0f97a95128 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input_py3.py index c073513f5d59..730abee03ba3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/request_rate_by_interval_input_py3.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault.py index 9b16302ebbfb..88537f33905f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault_py3.py index 13eea5461390..1cb922017c06 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/source_vault_py3.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input.py index 5eac2a5540ac..502e7be62e68 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input_py3.py index 025900705375..a4239a5115de 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/throttled_requests_input_py3.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties.py index 45437a8f2f76..e34d9c292996 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_04_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_04_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties_py3.py index b06dcb8a034a..869b3993f999 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/upgrade_operation_historical_status_info_properties_py3.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_04_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_04_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine.py index 2a6eb930517d..fbd8620a27f1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_py3.py index 8b8bfcc1bcee..f0f80005dc36 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_py3.py @@ -63,7 +63,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set.py index 17f274dd926f..fd765ee6ab30 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_py3.py index a618d08a4ee6..2afeb5196b00 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_py3.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm.py index 7ef0418661a4..ee9268b134ef 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_py3.py index 5cbf3eae370e..9ef5249911f0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_py3.py @@ -67,7 +67,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update.py index 2b254de4ccaf..9e143338ad9b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update.py @@ -53,7 +53,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update_py3.py index be9a3fc3e904..a445f41f5ec9 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_update_py3.py @@ -53,7 +53,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py index 18c28168320c..86670b0bd5ee 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py @@ -29,6 +29,7 @@ from .virtual_machine_image_py3 import VirtualMachineImage from .usage_name_py3 import UsageName from .usage_py3 import Usage + from .virtual_machine_reimage_parameters_py3 import VirtualMachineReimageParameters from .virtual_machine_capture_parameters_py3 import VirtualMachineCaptureParameters from .virtual_machine_capture_result_py3 import VirtualMachineCaptureResult from .plan_py3 import Plan @@ -103,6 +104,8 @@ from .virtual_machine_scale_set_vm_profile_py3 import VirtualMachineScaleSetVMProfile from .virtual_machine_scale_set_update_vm_profile_py3 import VirtualMachineScaleSetUpdateVMProfile from .virtual_machine_scale_set_py3 import VirtualMachineScaleSet + from .virtual_machine_scale_set_vm_reimage_parameters_py3 import VirtualMachineScaleSetVMReimageParameters + from .virtual_machine_scale_set_reimage_parameters_py3 import VirtualMachineScaleSetReimageParameters from .virtual_machine_scale_set_update_py3 import VirtualMachineScaleSetUpdate from .virtual_machine_scale_set_vm_instance_ids_py3 import VirtualMachineScaleSetVMInstanceIDs from .virtual_machine_scale_set_vm_instance_required_ids_py3 import VirtualMachineScaleSetVMInstanceRequiredIDs @@ -194,6 +197,7 @@ from .virtual_machine_image import VirtualMachineImage from .usage_name import UsageName from .usage import Usage + from .virtual_machine_reimage_parameters import VirtualMachineReimageParameters from .virtual_machine_capture_parameters import VirtualMachineCaptureParameters from .virtual_machine_capture_result import VirtualMachineCaptureResult from .plan import Plan @@ -268,6 +272,8 @@ from .virtual_machine_scale_set_vm_profile import VirtualMachineScaleSetVMProfile from .virtual_machine_scale_set_update_vm_profile import VirtualMachineScaleSetUpdateVMProfile from .virtual_machine_scale_set import VirtualMachineScaleSet + from .virtual_machine_scale_set_vm_reimage_parameters import VirtualMachineScaleSetVMReimageParameters + from .virtual_machine_scale_set_reimage_parameters import VirtualMachineScaleSetReimageParameters from .virtual_machine_scale_set_update import VirtualMachineScaleSetUpdate from .virtual_machine_scale_set_vm_instance_ids import VirtualMachineScaleSetVMInstanceIDs from .virtual_machine_scale_set_vm_instance_required_ids import VirtualMachineScaleSetVMInstanceRequiredIDs @@ -413,6 +419,7 @@ 'VirtualMachineImage', 'UsageName', 'Usage', + 'VirtualMachineReimageParameters', 'VirtualMachineCaptureParameters', 'VirtualMachineCaptureResult', 'Plan', @@ -487,6 +494,8 @@ 'VirtualMachineScaleSetVMProfile', 'VirtualMachineScaleSetUpdateVMProfile', 'VirtualMachineScaleSet', + 'VirtualMachineScaleSetVMReimageParameters', + 'VirtualMachineScaleSetReimageParameters', 'VirtualMachineScaleSetUpdate', 'VirtualMachineScaleSetVMInstanceIDs', 'VirtualMachineScaleSetVMInstanceRequiredIDs', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py index 704e78065073..760009a27a09 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py index cb768ff708d8..722442a9148a 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py index 028ade1b9cb8..3f1084ab4c45 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py @@ -13,12 +13,12 @@ class DiffDiskSettings(Model): - """Describes the parameters of differencing disk settings that can be be - specified for operating system disk.

NOTE: The differencing disk - settings can only be specified for managed disk. + """Describes the parameters of ephemeral disk settings that can be specified + for operating system disk.

NOTE: The ephemeral disk settings can + only be specified for managed disk. - :param option: Specifies the differencing disk settings for operating - system disk. Possible values include: 'Local' + :param option: Specifies the ephemeral disk settings for operating system + disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py index 25c1bfa697fa..6d8a0430434c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py @@ -13,12 +13,12 @@ class DiffDiskSettings(Model): - """Describes the parameters of differencing disk settings that can be be - specified for operating system disk.

NOTE: The differencing disk - settings can only be specified for managed disk. + """Describes the parameters of ephemeral disk settings that can be specified + for operating system disk.

NOTE: The ephemeral disk settings can + only be specified for managed disk. - :param option: Specifies the differencing disk settings for operating - system disk. Possible values include: 'Local' + :param option: Specifies the ephemeral disk settings for operating system + disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py index 8b7969b69f8d..d32b2ba6749e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py @@ -32,7 +32,7 @@ class Gallery(Resource): :param tags: Resource tags :type tags: dict[str, str] :param description: The description of this Shared Image Gallery resource. - This property is updateable. + This property is updatable. :type description: str :param identifier: :type identifier: ~azure.mgmt.compute.v2018_06_01.models.GalleryIdentifier diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py index 03e5df90a768..a3d4ff30e926 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py @@ -18,7 +18,7 @@ class GalleryArtifactPublishingProfileBase(Model): All required parameters must be populated in order to send to Azure. :param target_regions: The target regions where the Image Version is going - to be replicated to. This property is updateable. + to be replicated to. This property is updatable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py index 45a9ad013174..16f9f1754010 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py @@ -18,7 +18,7 @@ class GalleryArtifactPublishingProfileBase(Model): All required parameters must be populated in order to send to Azure. :param target_regions: The target regions where the Image Version is going - to be replicated to. This property is updateable. + to be replicated to. This property is updatable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py index 551b1e979fa0..65a59f68ee6b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py @@ -32,7 +32,7 @@ class GalleryImage(Resource): :param tags: Resource tags :type tags: dict[str, str] :param description: The description of this gallery Image Definition - resource. This property is updateable. + resource. This property is updatable. :type description: str :param eula: The Eula agreement for the gallery Image Definition. :type eula: str @@ -52,7 +52,7 @@ class GalleryImage(Resource): ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes :param end_of_life_date: The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This - property is updateable. + property is updatable. :type end_of_life_date: datetime :param identifier: Required. :type identifier: diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py index c77aac090c0f..1540b82348fa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py @@ -32,7 +32,7 @@ class GalleryImage(Resource): :param tags: Resource tags :type tags: dict[str, str] :param description: The description of this gallery Image Definition - resource. This property is updateable. + resource. This property is updatable. :type description: str :param eula: The Eula agreement for the gallery Image Definition. :type eula: str @@ -52,7 +52,7 @@ class GalleryImage(Resource): ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes :param end_of_life_date: The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This - property is updateable. + property is updatable. :type end_of_life_date: datetime :param identifier: Required. :type identifier: diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py index 30c2b91ecdc5..30823fee0552 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py @@ -21,14 +21,14 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase) All required parameters must be populated in order to send to Azure. :param target_regions: The target regions where the Image Version is going - to be replicated to. This property is updateable. + to be replicated to. This property is updatable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. :type source: ~azure.mgmt.compute.v2018_06_01.models.GalleryArtifactSource :param replica_count: The number of replicas of the Image Version to be created per region. This property would take effect for a region when - regionalReplicaCount is not specified. This property is updateable. + regionalReplicaCount is not specified. This property is updatable. :type replica_count: int :param exclude_from_latest: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. @@ -38,7 +38,7 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase) :vartype published_date: datetime :param end_of_life_date: The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This - property is updateable. + property is updatable. :type end_of_life_date: datetime """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py index 6372ad2792d8..d88f2b05afe1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py @@ -21,14 +21,14 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase) All required parameters must be populated in order to send to Azure. :param target_regions: The target regions where the Image Version is going - to be replicated to. This property is updateable. + to be replicated to. This property is updatable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. :type source: ~azure.mgmt.compute.v2018_06_01.models.GalleryArtifactSource :param replica_count: The number of replicas of the Image Version to be created per region. This property would take effect for a region when - regionalReplicaCount is not specified. This property is updateable. + regionalReplicaCount is not specified. This property is updatable. :type replica_count: int :param exclude_from_latest: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. @@ -38,7 +38,7 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase) :vartype published_date: datetime :param end_of_life_date: The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This - property is updateable. + property is updatable. :type end_of_life_date: datetime """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py index 622cfb61cb2c..453d52c40c5d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py @@ -32,7 +32,7 @@ class Gallery(Resource): :param tags: Resource tags :type tags: dict[str, str] :param description: The description of this Shared Image Gallery resource. - This property is updateable. + This property is updatable. :type description: str :param identifier: :type identifier: ~azure.mgmt.compute.v2018_06_01.models.GalleryIdentifier diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base.py index 843b739a0328..46bbc4f44411 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base_py3.py index b9420117a8ca..f713c2cb0629 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/log_analytics_input_base_py3.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py index 4914868b54df..d2c00ad37871 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the ephemeral Disk Settings for the + operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py index b3514b43e170..80a07403d2e4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the ephemeral Disk Settings for the + operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py index 1d3791a3f1d7..6e6a0b6012b4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py @@ -14,7 +14,7 @@ class RecommendedMachineConfiguration(Model): """The properties describe the recommended machine configuration for this - Image Definition. These properties are updateable. + Image Definition. These properties are updatable. :param v_cp_us: :type v_cp_us: ~azure.mgmt.compute.v2018_06_01.models.ResourceRange diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py index 2b68fb989ea5..5af3a04fed28 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py @@ -14,7 +14,7 @@ class RecommendedMachineConfiguration(Model): """The properties describe the recommended machine configuration for this - Image Definition. These properties are updateable. + Image Definition. These properties are updatable. :param v_cp_us: :type v_cp_us: ~azure.mgmt.compute.v2018_06_01.models.ResourceRange diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input.py index 2c05a02df9a3..3667e1d725d9 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input_py3.py index 5ff80a884bf7..2d8b5fa5d9a0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/request_rate_by_interval_input_py3.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault.py index 9b16302ebbfb..88537f33905f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault_py3.py index 13eea5461390..1cb922017c06 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/source_vault_py3.py @@ -13,7 +13,7 @@ class SourceVault(Model): - """The vault id is an Azure Resource Manager Resoure id in the form + """The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. :param id: Resource Id diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py index b320fae5716d..7987bf4aadf0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py @@ -20,7 +20,7 @@ class TargetRegion(Model): :param name: Required. The name of the region. :type name: str :param regional_replica_count: The number of replicas of the Image Version - to be created per region. This property is updateable. + to be created per region. This property is updatable. :type regional_replica_count: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py index 955aa63044d6..1560a2c5ebe4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py @@ -20,7 +20,7 @@ class TargetRegion(Model): :param name: Required. The name of the region. :type name: str :param regional_replica_count: The number of replicas of the Image Version - to be created per region. This property is updateable. + to be created per region. This property is updatable. :type regional_replica_count: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input.py index 5eac2a5540ac..502e7be62e68 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input_py3.py index 025900705375..a4239a5115de 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/throttled_requests_input_py3.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties.py index 0bdf4240c949..c37e50d88ab2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_06_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_06_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties_py3.py index 5bf54db81dc0..6a4d68d461c3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/upgrade_operation_historical_status_info_properties_py3.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_06_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_06_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py index ca243338a572..df8787f4e732 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py @@ -67,7 +67,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py index 82f24e63291c..7622d71b56a3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py @@ -67,7 +67,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters.py new file mode 100644 index 000000000000..e505f13a5083 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualMachineReimageParameters(Model): + """Parameters for Reimaging Virtual Machine. Default value for OSDisk : true. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineReimageParameters, self).__init__(**kwargs) + self.temp_disk = kwargs.get('temp_disk', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters_py3.py new file mode 100644 index 000000000000..90ec54085ba2 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_reimage_parameters_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualMachineReimageParameters(Model): + """Parameters for Reimaging Virtual Machine. Default value for OSDisk : true. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, *, temp_disk: bool=None, **kwargs) -> None: + super(VirtualMachineReimageParameters, self).__init__(**kwargs) + self.temp_disk = temp_disk diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set.py index 5d7120567115..1c977c82f6d5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension.py index 24a487547a2a..206e7a851351 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension.py @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): :ivar provisioning_state: The provisioning state, which only appears in the response. :vartype provisioning_state: str + :param provision_after_extensions: Collection of extension names after + which this extension needs to be provisioned. + :type provision_after_extensions: list[str] """ _validation = { @@ -65,6 +68,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): 'settings': {'key': 'properties.settings', 'type': 'object'}, 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -78,3 +82,4 @@ def __init__(self, **kwargs): self.settings = kwargs.get('settings', None) self.protected_settings = kwargs.get('protected_settings', None) self.provisioning_state = None + self.provision_after_extensions = kwargs.get('provision_after_extensions', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension_py3.py index 27392a2de9fd..895641055c44 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_extension_py3.py @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): :ivar provisioning_state: The provisioning state, which only appears in the response. :vartype provisioning_state: str + :param provision_after_extensions: Collection of extension names after + which this extension needs to be provisioned. + :type provision_after_extensions: list[str] """ _validation = { @@ -65,9 +68,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): 'settings': {'key': 'properties.settings', 'type': 'object'}, 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'}, } - def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, **kwargs) -> None: + def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, provision_after_extensions=None, **kwargs) -> None: super(VirtualMachineScaleSetExtension, self).__init__(**kwargs) self.name = name self.force_update_tag = force_update_tag @@ -78,3 +82,4 @@ def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str self.settings = settings self.protected_settings = protected_settings self.provisioning_state = None + self.provision_after_extensions = provision_after_extensions diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py index ac8de50ead86..654e1f3257d5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the ephemeral disk Settings for the + operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py index eafdd640f3a2..d6173e1005bd 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the ephemeral disk Settings for the + operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_py3.py index e45e1f4a14d1..f7014a6bc748 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_py3.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters.py new file mode 100644 index 000000000000..d1c583c6ca1b --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_scale_set_vm_reimage_parameters import VirtualMachineScaleSetVMReimageParameters + + +class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + :param instance_ids: 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. + :type instance_ids: list[str] + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + 'instance_ids': {'key': 'instanceIds', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineScaleSetReimageParameters, self).__init__(**kwargs) + self.instance_ids = kwargs.get('instance_ids', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters_py3.py new file mode 100644 index 000000000000..0c3b6962d17e --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_reimage_parameters_py3.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_scale_set_vm_reimage_parameters_py3 import VirtualMachineScaleSetVMReimageParameters + + +class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + :param instance_ids: 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. + :type instance_ids: list[str] + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + 'instance_ids': {'key': 'instanceIds', 'type': '[str]'}, + } + + def __init__(self, *, temp_disk: bool=None, instance_ids=None, **kwargs) -> None: + super(VirtualMachineScaleSetReimageParameters, self).__init__(temp_disk=temp_disk, **kwargs) + self.instance_ids = instance_ids diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm.py index ad86664f1328..647c14bd7a42 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm.py @@ -73,7 +73,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_py3.py index 9a560a94dae7..5902631119c3 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_py3.py @@ -73,7 +73,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters.py new file mode 100644 index 000000000000..811a1427369e --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_reimage_parameters import VirtualMachineReimageParameters + + +class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineScaleSetVMReimageParameters, self).__init__(**kwargs) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py new file mode 100644 index 000000000000..d30d5fd8fa86 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_reimage_parameters_py3 import VirtualMachineReimageParameters + + +class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, *, temp_disk: bool=None, **kwargs) -> None: + super(VirtualMachineScaleSetVMReimageParameters, self).__init__(temp_disk=temp_disk, **kwargs) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py index a52aa4f3abce..add4aeee915e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py @@ -57,7 +57,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py index f122de2d3c2d..aa5b4aa550ca 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py @@ -57,7 +57,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_set_vms_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_set_vms_operations.py index bccd6e0f8349..6210e30840fa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_set_vms_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_set_vms_operations.py @@ -41,7 +41,11 @@ def __init__(self, client, config, serializer, deserializer): def _reimage_initial( - self, resource_group_name, vm_scale_set_name, instance_id, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, vm_scale_set_name, instance_id, temp_disk=None, custom_headers=None, raw=False, **operation_config): + vm_scale_set_vm_reimage_input = None + if temp_disk is not None: + vm_scale_set_vm_reimage_input = models.VirtualMachineScaleSetVMReimageParameters(temp_disk=temp_disk) + # Construct URL url = self.reimage.metadata['url'] path_format_arguments = { @@ -58,6 +62,7 @@ def _reimage_initial( # Construct headers header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -65,8 +70,14 @@ def _reimage_initial( if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + # Construct body + if vm_scale_set_vm_reimage_input is not None: + body_content = self._serialize.body(vm_scale_set_vm_reimage_input, 'VirtualMachineScaleSetVMReimageParameters') + else: + body_content = None + # Construct and send request - request = self._client.post(url, query_parameters, header_parameters) + request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: @@ -79,7 +90,7 @@ def _reimage_initial( return client_raw_response def reimage( - self, resource_group_name, vm_scale_set_name, instance_id, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, vm_scale_set_name, instance_id, temp_disk=None, custom_headers=None, raw=False, polling=True, **operation_config): """Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. @@ -89,6 +100,9 @@ def reimage( :type vm_scale_set_name: str :param instance_id: The instance ID of the virtual machine. :type instance_id: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -104,6 +118,7 @@ def reimage( resource_group_name=resource_group_name, vm_scale_set_name=vm_scale_set_name, instance_id=instance_id, + temp_disk=temp_disk, custom_headers=custom_headers, raw=True, **operation_config diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_sets_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_sets_operations.py index 7fa76a536bac..659cf0efdeb2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_sets_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machine_scale_sets_operations.py @@ -1490,10 +1490,10 @@ def get_long_running_output(response): def _reimage_initial( - self, resource_group_name, vm_scale_set_name, instance_ids=None, custom_headers=None, raw=False, **operation_config): - vm_instance_ids = None - if instance_ids is not None: - vm_instance_ids = models.VirtualMachineScaleSetVMInstanceIDs(instance_ids=instance_ids) + self, resource_group_name, vm_scale_set_name, temp_disk=None, instance_ids=None, custom_headers=None, raw=False, **operation_config): + vm_scale_set_reimage_input = None + if temp_disk is not None or instance_ids is not None: + vm_scale_set_reimage_input = models.VirtualMachineScaleSetReimageParameters(temp_disk=temp_disk, instance_ids=instance_ids) # Construct URL url = self.reimage.metadata['url'] @@ -1519,8 +1519,8 @@ def _reimage_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - if vm_instance_ids is not None: - body_content = self._serialize.body(vm_instance_ids, 'VirtualMachineScaleSetVMInstanceIDs') + if vm_scale_set_reimage_input is not None: + body_content = self._serialize.body(vm_scale_set_reimage_input, 'VirtualMachineScaleSetReimageParameters') else: body_content = None @@ -1538,14 +1538,19 @@ def _reimage_initial( return client_raw_response def reimage( - self, resource_group_name, vm_scale_set_name, instance_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, vm_scale_set_name, temp_disk=None, instance_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): """Reimages (upgrade the operating system) one or more virtual machines in - a VM scale set. + a VM scale set which don't have a ephemeral OS disk, for virtual + machines who have a ephemeral OS disk the virtual machine is reset to + initial state. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param vm_scale_set_name: The name of the VM scale set. :type vm_scale_set_name: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool :param instance_ids: 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 @@ -1565,6 +1570,7 @@ def reimage( raw_result = self._reimage_initial( resource_group_name=resource_group_name, vm_scale_set_name=vm_scale_set_name, + temp_disk=temp_disk, instance_ids=instance_ids, custom_headers=custom_headers, raw=True, diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machines_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machines_operations.py index fe68c6d10da4..f0a98f293fe9 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machines_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/virtual_machines_operations.py @@ -1371,6 +1371,101 @@ def get_long_running_output(response): redeploy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy'} + def _reimage_initial( + self, resource_group_name, vm_name, temp_disk=None, custom_headers=None, raw=False, **operation_config): + parameters = None + if temp_disk is not None: + parameters = models.VirtualMachineReimageParameters(temp_disk=temp_disk) + + # Construct URL + url = self.reimage.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vmName': self._serialize.url("vm_name", vm_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + if parameters is not None: + body_content = self._serialize.body(parameters, 'VirtualMachineReimageParameters') + else: + body_content = None + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def reimage( + self, resource_group_name, vm_name, temp_disk=None, custom_headers=None, raw=False, polling=True, **operation_config): + """Reimages the virtual machine which has an ephemeral OS disk back to its + initial state. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param vm_name: The name of the virtual machine. + :type vm_name: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._reimage_initial( + resource_group_name=resource_group_name, + vm_name=vm_name, + temp_disk=temp_disk, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + reimage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage'} + + def _perform_maintenance_initial( self, resource_group_name, vm_name, custom_headers=None, raw=False, **operation_config): # Construct URL diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/__init__.py index d9f30207ad02..9d45123d813d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/__init__.py @@ -30,6 +30,7 @@ from .virtual_machine_image_py3 import VirtualMachineImage from .usage_name_py3 import UsageName from .usage_py3 import Usage + from .virtual_machine_reimage_parameters_py3 import VirtualMachineReimageParameters from .virtual_machine_capture_parameters_py3 import VirtualMachineCaptureParameters from .virtual_machine_capture_result_py3 import VirtualMachineCaptureResult from .plan_py3 import Plan @@ -104,6 +105,8 @@ from .virtual_machine_scale_set_vm_profile_py3 import VirtualMachineScaleSetVMProfile from .virtual_machine_scale_set_update_vm_profile_py3 import VirtualMachineScaleSetUpdateVMProfile from .virtual_machine_scale_set_py3 import VirtualMachineScaleSet + from .virtual_machine_scale_set_vm_reimage_parameters_py3 import VirtualMachineScaleSetVMReimageParameters + from .virtual_machine_scale_set_reimage_parameters_py3 import VirtualMachineScaleSetReimageParameters from .virtual_machine_scale_set_update_py3 import VirtualMachineScaleSetUpdate from .virtual_machine_scale_set_vm_instance_ids_py3 import VirtualMachineScaleSetVMInstanceIDs from .virtual_machine_scale_set_vm_instance_required_ids_py3 import VirtualMachineScaleSetVMInstanceRequiredIDs @@ -162,6 +165,7 @@ from .virtual_machine_image import VirtualMachineImage from .usage_name import UsageName from .usage import Usage + from .virtual_machine_reimage_parameters import VirtualMachineReimageParameters from .virtual_machine_capture_parameters import VirtualMachineCaptureParameters from .virtual_machine_capture_result import VirtualMachineCaptureResult from .plan import Plan @@ -236,6 +240,8 @@ from .virtual_machine_scale_set_vm_profile import VirtualMachineScaleSetVMProfile from .virtual_machine_scale_set_update_vm_profile import VirtualMachineScaleSetUpdateVMProfile from .virtual_machine_scale_set import VirtualMachineScaleSet + from .virtual_machine_scale_set_vm_reimage_parameters import VirtualMachineScaleSetVMReimageParameters + from .virtual_machine_scale_set_reimage_parameters import VirtualMachineScaleSetReimageParameters from .virtual_machine_scale_set_update import VirtualMachineScaleSetUpdate from .virtual_machine_scale_set_vm_instance_ids import VirtualMachineScaleSetVMInstanceIDs from .virtual_machine_scale_set_vm_instance_required_ids import VirtualMachineScaleSetVMInstanceRequiredIDs @@ -335,6 +341,7 @@ 'VirtualMachineImage', 'UsageName', 'Usage', + 'VirtualMachineReimageParameters', 'VirtualMachineCaptureParameters', 'VirtualMachineCaptureResult', 'Plan', @@ -409,6 +416,8 @@ 'VirtualMachineScaleSetVMProfile', 'VirtualMachineScaleSetUpdateVMProfile', 'VirtualMachineScaleSet', + 'VirtualMachineScaleSetVMReimageParameters', + 'VirtualMachineScaleSetReimageParameters', 'VirtualMachineScaleSetUpdate', 'VirtualMachineScaleSetVMInstanceIDs', 'VirtualMachineScaleSetVMInstanceRequiredIDs', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference.py index d1bf572e916d..d43730af3659 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference_py3.py index da3e07082381..d42dfb1a5fd0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/api_entity_reference_py3.py @@ -16,7 +16,7 @@ class ApiEntityReference(Model): """The API entity reference. :param id: The ARM resource id in the form of - /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... + /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... :type id: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set.py index e4bc1b86ea4c..c749ac9fc8ef 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set_py3.py index 1b21ca071e5c..60a412ddda37 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/availability_set_py3.py @@ -19,7 +19,7 @@ class AvailabilitySet(Resource): information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings.py index cb7d223e4101..ac0d894264c9 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings.py @@ -13,12 +13,12 @@ class DiffDiskSettings(Model): - """Describes the parameters of differencing disk settings that can be be - specified for operating system disk.

NOTE: The differencing disk - settings can only be specified for managed disk. + """Describes the parameters of ephemeral disk settings that can be specified + for operating system disk.

NOTE: The ephemeral disk settings can + only be specified for managed disk. - :param option: Specifies the differencing disk settings for operating - system disk. Possible values include: 'Local' + :param option: Specifies the ephemeral disk settings for operating system + disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_10_01.models.DiffDiskOptions """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings_py3.py index 6778335cd013..d4d5b4712159 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/diff_disk_settings_py3.py @@ -13,12 +13,12 @@ class DiffDiskSettings(Model): - """Describes the parameters of differencing disk settings that can be be - specified for operating system disk.

NOTE: The differencing disk - settings can only be specified for managed disk. + """Describes the parameters of ephemeral disk settings that can be specified + for operating system disk.

NOTE: The ephemeral disk settings can + only be specified for managed disk. - :param option: Specifies the differencing disk settings for operating - system disk. Possible values include: 'Local' + :param option: Specifies the ephemeral disk settings for operating system + disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_10_01.models.DiffDiskOptions """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base.py index 843b739a0328..46bbc4f44411 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base_py3.py index b9420117a8ca..f713c2cb0629 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/log_analytics_input_base_py3.py @@ -27,7 +27,7 @@ class LogAnalyticsInputBase(Model): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk.py index a9e7d8e85813..821828ee235e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the ephemeral Disk Settings for the + operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_10_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk_py3.py index aebde078072a..33341cff1d9b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/os_disk_py3.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the ephemeral Disk Settings for the + operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_10_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input.py index 0cb61f808835..d94a6ade9c87 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input_py3.py index 8ba8eb54a475..f5e639327ead 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/request_rate_by_interval_input_py3.py @@ -27,7 +27,7 @@ class RequestRateByIntervalInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input.py index 5eac2a5540ac..502e7be62e68 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input_py3.py index 025900705375..a4239a5115de 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/throttled_requests_input_py3.py @@ -27,7 +27,7 @@ class ThrottledRequestsInput(LogAnalyticsInputBase): :param group_by_throttle_policy: Group query result by Throttle Policy applied. :type group_by_throttle_policy: bool - :param group_by_operation_name: Group query result by by Operation Name. + :param group_by_operation_name: Group query result by Operation Name. :type group_by_operation_name: bool :param group_by_resource_name: Group query result by Resource Name. :type group_by_resource_name: bool diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties.py index bf010a02fa9e..4ff1ae7c1cae 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_10_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_10_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties_py3.py index ff6b2ff63bf9..bddcae19e6b5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/upgrade_operation_historical_status_info_properties_py3.py @@ -22,7 +22,7 @@ class UpgradeOperationHistoricalStatusInfoProperties(Model): operation. :vartype running_status: ~azure.mgmt.compute.v2018_10_01.models.UpgradeOperationHistoryStatus - :ivar progress: Counts of the VM's in each state. + :ivar progress: Counts of the VMs in each state. :vartype progress: ~azure.mgmt.compute.v2018_10_01.models.RollingUpgradeProgressInfo :ivar error: Error Details for this upgrade if there are any. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate.py index b173def6f820..a4b20af2b850 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate_py3.py index eda5ba1c3f1d..2b4e316bf903 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/vault_certificate_py3.py @@ -30,7 +30,7 @@ class VaultCertificate(Model): specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt - for the X509 certificate file and .prv for private + for the X509 certificate file and .prv for private key. Both of these files are .pem formatted. :type certificate_store: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine.py index d66a901b1e76..ed17e5c59a1d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine.py @@ -67,7 +67,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_py3.py index be5bd7af71e2..7ec9e9cd27ff 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_py3.py @@ -67,7 +67,7 @@ class VirtualMachine(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters.py new file mode 100644 index 000000000000..bfc329724f61 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualMachineReimageParameters(Model): + """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk + will always be reimaged. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineReimageParameters, self).__init__(**kwargs) + self.temp_disk = kwargs.get('temp_disk', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters_py3.py new file mode 100644 index 000000000000..f1e8bf91ce2a --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_reimage_parameters_py3.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualMachineReimageParameters(Model): + """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk + will always be reimaged. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, *, temp_disk: bool=None, **kwargs) -> None: + super(VirtualMachineReimageParameters, self).__init__(**kwargs) + self.temp_disk = temp_disk diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set.py index bf02801f4561..24a193d6f5df 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension.py index 24a487547a2a..206e7a851351 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension.py @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): :ivar provisioning_state: The provisioning state, which only appears in the response. :vartype provisioning_state: str + :param provision_after_extensions: Collection of extension names after + which this extension needs to be provisioned. + :type provision_after_extensions: list[str] """ _validation = { @@ -65,6 +68,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): 'settings': {'key': 'properties.settings', 'type': 'object'}, 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -78,3 +82,4 @@ def __init__(self, **kwargs): self.settings = kwargs.get('settings', None) self.protected_settings = kwargs.get('protected_settings', None) self.provisioning_state = None + self.provision_after_extensions = kwargs.get('provision_after_extensions', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension_py3.py index 27392a2de9fd..895641055c44 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_extension_py3.py @@ -47,6 +47,9 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): :ivar provisioning_state: The provisioning state, which only appears in the response. :vartype provisioning_state: str + :param provision_after_extensions: Collection of extension names after + which this extension needs to be provisioned. + :type provision_after_extensions: list[str] """ _validation = { @@ -65,9 +68,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly): 'settings': {'key': 'properties.settings', 'type': 'object'}, 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'provision_after_extensions': {'key': 'properties.provisionAfterExtensions', 'type': '[str]'}, } - def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, **kwargs) -> None: + def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str=None, type: str=None, type_handler_version: str=None, auto_upgrade_minor_version: bool=None, settings=None, protected_settings=None, provision_after_extensions=None, **kwargs) -> None: super(VirtualMachineScaleSetExtension, self).__init__(**kwargs) self.name = name self.force_update_tag = force_update_tag @@ -78,3 +82,4 @@ def __init__(self, *, name: str=None, force_update_tag: str=None, publisher: str self.settings = settings self.protected_settings = protected_settings self.provisioning_state = None + self.provision_after_extensions = provision_after_extensions diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk.py index 253a1d87f90f..b52f2ad2019f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_10_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the ephemeral disk Settings for the + operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_10_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk_py3.py index ce5cc3da79b4..58b10d609673 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_10_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the differencing Disk Settings for - the operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the ephemeral disk Settings for the + operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_10_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_py3.py index 1db294839a1b..6eeb1b058ebe 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_py3.py @@ -57,7 +57,7 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool - :param zone_balance: Whether to force stictly even Virtual Machine + :param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. :type zone_balance: bool :param platform_fault_domain_count: Fault Domain count for each placement diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters.py new file mode 100644 index 000000000000..d1c583c6ca1b --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_scale_set_vm_reimage_parameters import VirtualMachineScaleSetVMReimageParameters + + +class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + :param instance_ids: 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. + :type instance_ids: list[str] + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + 'instance_ids': {'key': 'instanceIds', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineScaleSetReimageParameters, self).__init__(**kwargs) + self.instance_ids = kwargs.get('instance_ids', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters_py3.py new file mode 100644 index 000000000000..0c3b6962d17e --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_reimage_parameters_py3.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_scale_set_vm_reimage_parameters_py3 import VirtualMachineScaleSetVMReimageParameters + + +class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + :param instance_ids: 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. + :type instance_ids: list[str] + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + 'instance_ids': {'key': 'instanceIds', 'type': '[str]'}, + } + + def __init__(self, *, temp_disk: bool=None, instance_ids=None, **kwargs) -> None: + super(VirtualMachineScaleSetReimageParameters, self).__init__(temp_disk=temp_disk, **kwargs) + self.instance_ids = instance_ids diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm.py index 2c75a6bbc10d..7b1c2434c5e8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm.py @@ -73,7 +73,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_py3.py index df9890e67f4b..764bb7aa75f0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_py3.py @@ -73,7 +73,7 @@ class VirtualMachineScaleSetVM(Resource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters.py new file mode 100644 index 000000000000..811a1427369e --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_reimage_parameters import VirtualMachineReimageParameters + + +class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(VirtualMachineScaleSetVMReimageParameters, self).__init__(**kwargs) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py new file mode 100644 index 000000000000..d30d5fd8fa86 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_vm_reimage_parameters_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .virtual_machine_reimage_parameters_py3 import VirtualMachineReimageParameters + + +class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters): + """Describes a Virtual Machine Scale Set VM Reimage Parameters. + + :param temp_disk: Specifies whether to reimage temp disk. Default value: + false. + :type temp_disk: bool + """ + + _attribute_map = { + 'temp_disk': {'key': 'tempDisk', 'type': 'bool'}, + } + + def __init__(self, *, temp_disk: bool=None, **kwargs) -> None: + super(VirtualMachineScaleSetVMReimageParameters, self).__init__(temp_disk=temp_disk, **kwargs) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update.py index c9c69cb1cb0e..2337ec5e9343 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update.py @@ -57,7 +57,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update_py3.py index 8717d9cf3f0d..34983cbc035d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_update_py3.py @@ -57,7 +57,7 @@ class VirtualMachineUpdate(UpdateResource): availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). -

For more information on Azure planned maintainance, see [Planned +

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_set_vms_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_set_vms_operations.py index d8b6638b82fe..82f402aa71fa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_set_vms_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_set_vms_operations.py @@ -41,7 +41,11 @@ def __init__(self, client, config, serializer, deserializer): def _reimage_initial( - self, resource_group_name, vm_scale_set_name, instance_id, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, vm_scale_set_name, instance_id, temp_disk=None, custom_headers=None, raw=False, **operation_config): + vm_scale_set_vm_reimage_input = None + if temp_disk is not None: + vm_scale_set_vm_reimage_input = models.VirtualMachineScaleSetVMReimageParameters(temp_disk=temp_disk) + # Construct URL url = self.reimage.metadata['url'] path_format_arguments = { @@ -58,6 +62,7 @@ def _reimage_initial( # Construct headers header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -65,8 +70,14 @@ def _reimage_initial( if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + # Construct body + if vm_scale_set_vm_reimage_input is not None: + body_content = self._serialize.body(vm_scale_set_vm_reimage_input, 'VirtualMachineScaleSetVMReimageParameters') + else: + body_content = None + # Construct and send request - request = self._client.post(url, query_parameters, header_parameters) + request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: @@ -79,7 +90,7 @@ def _reimage_initial( return client_raw_response def reimage( - self, resource_group_name, vm_scale_set_name, instance_id, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, vm_scale_set_name, instance_id, temp_disk=None, custom_headers=None, raw=False, polling=True, **operation_config): """Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. @@ -89,6 +100,9 @@ def reimage( :type vm_scale_set_name: str :param instance_id: The instance ID of the virtual machine. :type instance_id: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -104,6 +118,7 @@ def reimage( resource_group_name=resource_group_name, vm_scale_set_name=vm_scale_set_name, instance_id=instance_id, + temp_disk=temp_disk, custom_headers=custom_headers, raw=True, **operation_config diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_sets_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_sets_operations.py index 904d18441eec..09b132b374f7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_sets_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machine_scale_sets_operations.py @@ -1490,10 +1490,10 @@ def get_long_running_output(response): def _reimage_initial( - self, resource_group_name, vm_scale_set_name, instance_ids=None, custom_headers=None, raw=False, **operation_config): - vm_instance_ids = None - if instance_ids is not None: - vm_instance_ids = models.VirtualMachineScaleSetVMInstanceIDs(instance_ids=instance_ids) + self, resource_group_name, vm_scale_set_name, temp_disk=None, instance_ids=None, custom_headers=None, raw=False, **operation_config): + vm_scale_set_reimage_input = None + if temp_disk is not None or instance_ids is not None: + vm_scale_set_reimage_input = models.VirtualMachineScaleSetReimageParameters(temp_disk=temp_disk, instance_ids=instance_ids) # Construct URL url = self.reimage.metadata['url'] @@ -1519,8 +1519,8 @@ def _reimage_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - if vm_instance_ids is not None: - body_content = self._serialize.body(vm_instance_ids, 'VirtualMachineScaleSetVMInstanceIDs') + if vm_scale_set_reimage_input is not None: + body_content = self._serialize.body(vm_scale_set_reimage_input, 'VirtualMachineScaleSetReimageParameters') else: body_content = None @@ -1538,14 +1538,19 @@ def _reimage_initial( return client_raw_response def reimage( - self, resource_group_name, vm_scale_set_name, instance_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, vm_scale_set_name, temp_disk=None, instance_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): """Reimages (upgrade the operating system) one or more virtual machines in - a VM scale set. + a VM scale set which don't have a ephemeral OS disk, for virtual + machines who have a ephemeral OS disk the virtual machine is reset to + initial state. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param vm_scale_set_name: The name of the VM scale set. :type vm_scale_set_name: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool :param instance_ids: 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 @@ -1565,6 +1570,7 @@ def reimage( raw_result = self._reimage_initial( resource_group_name=resource_group_name, vm_scale_set_name=vm_scale_set_name, + temp_disk=temp_disk, instance_ids=instance_ids, custom_headers=custom_headers, raw=True, diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machines_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machines_operations.py index 009c54f350e3..90d4c2fc4429 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machines_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/virtual_machines_operations.py @@ -1371,6 +1371,101 @@ def get_long_running_output(response): redeploy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy'} + def _reimage_initial( + self, resource_group_name, vm_name, temp_disk=None, custom_headers=None, raw=False, **operation_config): + parameters = None + if temp_disk is not None: + parameters = models.VirtualMachineReimageParameters(temp_disk=temp_disk) + + # Construct URL + url = self.reimage.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vmName': self._serialize.url("vm_name", vm_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + if parameters is not None: + body_content = self._serialize.body(parameters, 'VirtualMachineReimageParameters') + else: + body_content = None + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def reimage( + self, resource_group_name, vm_name, temp_disk=None, custom_headers=None, raw=False, polling=True, **operation_config): + """Reimages the virtual machine which has an ephemeral OS disk back to its + initial state. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param vm_name: The name of the virtual machine. + :type vm_name: str + :param temp_disk: Specifies whether to reimage temp disk. Default + value: false. + :type temp_disk: bool + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._reimage_initial( + resource_group_name=resource_group_name, + vm_name=vm_name, + temp_disk=temp_disk, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + reimage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage'} + + def _perform_maintenance_initial( self, resource_group_name, vm_name, custom_headers=None, raw=False, **operation_config): # Construct URL diff --git a/azure-mgmt-compute/azure/mgmt/compute/version.py b/azure-mgmt-compute/azure/mgmt/compute/version.py index 97d547bebd31..3b9206ad568d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/version.py +++ b/azure-mgmt-compute/azure/mgmt/compute/version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "4.3.1" +VERSION = "4.4.0"