diff --git a/azure-mgmt-compute/HISTORY.rst b/azure-mgmt-compute/HISTORY.rst
index bf3e7dc675c5..e48e0cb9603d 100644
--- a/azure-mgmt-compute/HISTORY.rst
+++ b/azure-mgmt-compute/HISTORY.rst
@@ -3,6 +3,20 @@
Release History
===============
+4.2.0 (2018-09-25)
+++++++++++++++++++
+
+**Features**
+
+- Model OSDisk has a new parameter diff_disk_settings
+- Model BootDiagnosticsInstanceView has a new parameter status
+- Model VirtualMachineScaleSetOSDisk has a new parameter diff_disk_settings
+- Added operation VirtualMachinesOperations.list_by_location
+
+**Note**
+
+- azure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
+
4.1.0 (2018-09-12)
++++++++++++++++++
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..05ca725929f6 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view.py
@@ -15,12 +15,20 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
@@ -28,5 +36,5 @@ class BootDiagnosticsInstanceView(Model):
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..97e4cdba67c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,26 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile.py
index d801c39f51d5..d8dbd83039f3 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile_py3.py
index c2fee8c4a669..474722c3fb39 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view.py
index 088d69be6a30..aea1d35f16ed 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view.py
@@ -33,8 +33,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view_py3.py
index 0583e610ceeb..20ca416f12f2 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_instance_view_py3.py
@@ -33,8 +33,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view.py
index f94d635b5955..91782b6a5a84 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view.py
@@ -31,8 +31,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view_py3.py
index f7c9071903cf..500dda482d10 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -31,8 +31,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..05ca725929f6 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view.py
@@ -15,12 +15,20 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
@@ -28,5 +36,5 @@ class BootDiagnosticsInstanceView(Model):
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..97e4cdba67c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,26 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile.py
index 5a14b0394223..a235ce0b5984 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile_py3.py
index 19ecbb17acbd..ccc65927c7b8 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view.py
index 966d3f09f313..0816555b120e 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view.py
@@ -33,8 +33,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view_py3.py
index ab733f0a765d..57a65fcad4d4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_instance_view_py3.py
@@ -33,8 +33,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view.py
index a99cbc4d022d..7fef2f141ea3 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view.py
@@ -31,8 +31,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
index 9cc3a0c3b2be..0b80ed4fef79 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -31,8 +31,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..05ca725929f6 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view.py
@@ -15,12 +15,20 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
@@ -28,5 +36,5 @@ class BootDiagnosticsInstanceView(Model):
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..97e4cdba67c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,26 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile.py
index 7e52b45ee5c8..1f314d2ac244 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile_py3.py
index f30752cea400..f7e18305b608 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view.py
index c1e4c785527b..4666a4066364 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view.py
@@ -34,8 +34,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2016_04_30_preview.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view_py3.py
index 323a0e109a7a..6bf2e10a13a1 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_instance_view_py3.py
@@ -34,8 +34,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2016_04_30_preview.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view.py
index 641b2b535d0c..29157262456f 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view.py
@@ -32,8 +32,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2016_04_30_preview.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view_py3.py
index d16428111fc0..e7cd124f4320 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -32,8 +32,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
list[~azure.mgmt.compute.v2016_04_30_preview.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..05ca725929f6 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view.py
@@ -15,12 +15,20 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
@@ -28,5 +36,5 @@ class BootDiagnosticsInstanceView(Model):
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..97e4cdba67c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,26 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile.py
index 36c128097209..c4b515bfd411 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile_py3.py
index 30ba1b1a6c70..a3c64f8fd196 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view.py
index e6c6b90ec611..ceb11db65060 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view.py
@@ -37,8 +37,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2017_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view_py3.py
index 2466342d3503..20e30243b307 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_instance_view_py3.py
@@ -37,8 +37,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2017_03_30.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view.py
index 489f4fe28548..39df77241056 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view.py
@@ -37,8 +37,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2017_03_30.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
index 25821e5bfe74..047be43143a2 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -37,8 +37,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2017_03_30.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_03_30.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py
index 0e91caa6f3e5..e34fd57b062c 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py
@@ -108,6 +108,75 @@ def get_extensions(
return deserialized
get_extensions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions'}
+ def list_by_location(
+ self, location, custom_headers=None, raw=False, **operation_config):
+ """Gets all the virtual machines under the specified subscription for the
+ specified location.
+
+ :param location: The location for which virtual machines under the
+ subscription are queried.
+ :type location: str
+ :param dict custom_headers: headers that will be added to the request
+ :param bool raw: returns the direct response alongside the
+ deserialized response
+ :param operation_config: :ref:`Operation configuration
+ overrides`.
+ :return: An iterator like instance of VirtualMachine
+ :rtype:
+ ~azure.mgmt.compute.v2017_03_30.models.VirtualMachinePaged[~azure.mgmt.compute.v2017_03_30.models.VirtualMachine]
+ :raises: :class:`CloudError`
+ """
+ def internal_paging(next_link=None, raw=False):
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_location.metadata['url']
+ path_format_arguments = {
+ 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$'),
+ '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')
+
+ else:
+ url = next_link
+ query_parameters = {}
+
+ # Construct headers
+ header_parameters = {}
+ header_parameters['Accept'] = 'application/json'
+ 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 and send request
+ request = self._client.get(url, query_parameters, header_parameters)
+ response = self._client.send(request, stream=False, **operation_config)
+
+ if response.status_code not in [200]:
+ exp = CloudError(response)
+ exp.request_id = response.headers.get('x-ms-request-id')
+ raise exp
+
+ return response
+
+ # Deserialize response
+ deserialized = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies)
+
+ if raw:
+ header_dict = {}
+ client_raw_response = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies, header_dict)
+ return client_raw_response
+
+ return deserialized
+ list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'}
+
def _capture_initial(
self, resource_group_name, vm_name, parameters, custom_headers=None, raw=False, **operation_config):
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..05ca725929f6 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view.py
@@ -15,12 +15,20 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
@@ -28,5 +36,5 @@ class BootDiagnosticsInstanceView(Model):
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..97e4cdba67c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,26 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile.py
index 4734f23421f5..1c8a3b82e686 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile_py3.py
index f14cb5a908be..6446c617cdb5 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view.py
index 39b258f7735c..825a3243f7b8 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2017_12_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view_py3.py
index 255700c3cccf..e26e816f6976 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_instance_view_py3.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2017_12_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view.py
index b5b91ca14be9..280c9c575484 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2017_12_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
index 61fbe15427fa..e4eaf09a4672 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2017_12_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2017_12_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/virtual_machines_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/virtual_machines_operations.py
index fafb141bd641..ae6d1fdd2e94 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/virtual_machines_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/operations/virtual_machines_operations.py
@@ -108,6 +108,75 @@ def get_extensions(
return deserialized
get_extensions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions'}
+ def list_by_location(
+ self, location, custom_headers=None, raw=False, **operation_config):
+ """Gets all the virtual machines under the specified subscription for the
+ specified location.
+
+ :param location: The location for which virtual machines under the
+ subscription are queried.
+ :type location: str
+ :param dict custom_headers: headers that will be added to the request
+ :param bool raw: returns the direct response alongside the
+ deserialized response
+ :param operation_config: :ref:`Operation configuration
+ overrides`.
+ :return: An iterator like instance of VirtualMachine
+ :rtype:
+ ~azure.mgmt.compute.v2017_12_01.models.VirtualMachinePaged[~azure.mgmt.compute.v2017_12_01.models.VirtualMachine]
+ :raises: :class:`CloudError`
+ """
+ def internal_paging(next_link=None, raw=False):
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_location.metadata['url']
+ path_format_arguments = {
+ 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$'),
+ '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')
+
+ else:
+ url = next_link
+ query_parameters = {}
+
+ # Construct headers
+ header_parameters = {}
+ header_parameters['Accept'] = 'application/json'
+ 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 and send request
+ request = self._client.get(url, query_parameters, header_parameters)
+ response = self._client.send(request, stream=False, **operation_config)
+
+ if response.status_code not in [200]:
+ exp = CloudError(response)
+ exp.request_id = response.headers.get('x-ms-request-id')
+ raise exp
+
+ return response
+
+ # Deserialize response
+ deserialized = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies)
+
+ if raw:
+ header_dict = {}
+ client_raw_response = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies, header_dict)
+ return client_raw_response
+
+ return deserialized
+ list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'}
+
def _capture_initial(
self, resource_group_name, vm_name, parameters, custom_headers=None, raw=False, **operation_config):
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/compute_management_client.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/compute_management_client.py
index 63b1db3da61a..92f3f44f9013 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/compute_management_client.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/compute_management_client.py
@@ -19,9 +19,9 @@
from .operations.virtual_machine_extensions_operations import VirtualMachineExtensionsOperations
from .operations.virtual_machine_images_operations import VirtualMachineImagesOperations
from .operations.usage_operations import UsageOperations
+from .operations.virtual_machines_operations import VirtualMachinesOperations
from .operations.virtual_machine_sizes_operations import VirtualMachineSizesOperations
from .operations.images_operations import ImagesOperations
-from .operations.virtual_machines_operations import VirtualMachinesOperations
from .operations.virtual_machine_scale_sets_operations import VirtualMachineScaleSetsOperations
from .operations.virtual_machine_scale_set_extensions_operations import VirtualMachineScaleSetExtensionsOperations
from .operations.virtual_machine_scale_set_rolling_upgrades_operations import VirtualMachineScaleSetRollingUpgradesOperations
@@ -85,12 +85,12 @@ class ComputeManagementClient(SDKClient):
:vartype virtual_machine_images: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineImagesOperations
:ivar usage: Usage operations
:vartype usage: azure.mgmt.compute.v2018_04_01.operations.UsageOperations
+ :ivar virtual_machines: VirtualMachines operations
+ :vartype virtual_machines: azure.mgmt.compute.v2018_04_01.operations.VirtualMachinesOperations
:ivar virtual_machine_sizes: VirtualMachineSizes operations
:vartype virtual_machine_sizes: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineSizesOperations
:ivar images: Images operations
:vartype images: azure.mgmt.compute.v2018_04_01.operations.ImagesOperations
- :ivar virtual_machines: VirtualMachines operations
- :vartype virtual_machines: azure.mgmt.compute.v2018_04_01.operations.VirtualMachinesOperations
:ivar virtual_machine_scale_sets: VirtualMachineScaleSets operations
:vartype virtual_machine_scale_sets: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineScaleSetsOperations
:ivar virtual_machine_scale_set_extensions: VirtualMachineScaleSetExtensions operations
@@ -141,12 +141,12 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.usage = UsageOperations(
self._client, self.config, self._serialize, self._deserialize)
+ self.virtual_machines = VirtualMachinesOperations(
+ self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_sizes = VirtualMachineSizesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.images = ImagesOperations(
self._client, self.config, self._serialize, self._deserialize)
- self.virtual_machines = VirtualMachinesOperations(
- self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_scale_sets = VirtualMachineScaleSetsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_scale_set_extensions = VirtualMachineScaleSetExtensionsOperations(
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/__init__.py
index c88cde3dde9f..abdeb024d053 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/__init__.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/__init__.py
@@ -295,8 +295,8 @@
from .availability_set_paged import AvailabilitySetPaged
from .virtual_machine_size_paged import VirtualMachineSizePaged
from .usage_paged import UsagePaged
-from .image_paged import ImagePaged
from .virtual_machine_paged import VirtualMachinePaged
+from .image_paged import ImagePaged
from .virtual_machine_scale_set_paged import VirtualMachineScaleSetPaged
from .virtual_machine_scale_set_sku_paged import VirtualMachineScaleSetSkuPaged
from .upgrade_operation_historical_status_info_paged import UpgradeOperationHistoricalStatusInfoPaged
@@ -480,8 +480,8 @@
'AvailabilitySetPaged',
'VirtualMachineSizePaged',
'UsagePaged',
- 'ImagePaged',
'VirtualMachinePaged',
+ 'ImagePaged',
'VirtualMachineScaleSetPaged',
'VirtualMachineScaleSetSkuPaged',
'UpgradeOperationHistoricalStatusInfoPaged',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..3f17908819ca 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view.py
@@ -15,18 +15,33 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
+ :ivar status: The boot diagnostics status information for the VM.
+ NOTE: It will be set only if there are errors encountered in enabling boot
+ diagnostics.
+ :vartype status: ~azure.mgmt.compute.v2018_04_01.models.InstanceViewStatus
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ 'status': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
+ 'status': {'key': 'status', 'type': 'InstanceViewStatus'},
}
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
+ self.status = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..835256c75b26 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,33 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
+ :ivar status: The boot diagnostics status information for the VM.
+ NOTE: It will be set only if there are errors encountered in enabling boot
+ diagnostics.
+ :vartype status: ~azure.mgmt.compute.v2018_04_01.models.InstanceViewStatus
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ 'status': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
+ 'status': {'key': 'status', 'type': 'InstanceViewStatus'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
+ self.status = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile.py
index c809544d655e..f8751002a675 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile_py3.py
index 0193402fe61f..7fad1fcdb26e 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view.py
index 8ba2eaf2f52a..52963d0a1224 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2018_04_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view_py3.py
index 8c9fcff69f26..4ba78b7e4b23 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_instance_view_py3.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2018_04_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view.py
index 46c835c4dfd5..1a5045707968 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2018_04_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
index 6854c21d4706..2c2e2701a0e7 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2018_04_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_04_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/__init__.py
index 48abff4beece..e20e3c655aae 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/__init__.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/__init__.py
@@ -15,9 +15,9 @@
from .virtual_machine_extensions_operations import VirtualMachineExtensionsOperations
from .virtual_machine_images_operations import VirtualMachineImagesOperations
from .usage_operations import UsageOperations
+from .virtual_machines_operations import VirtualMachinesOperations
from .virtual_machine_sizes_operations import VirtualMachineSizesOperations
from .images_operations import ImagesOperations
-from .virtual_machines_operations import VirtualMachinesOperations
from .virtual_machine_scale_sets_operations import VirtualMachineScaleSetsOperations
from .virtual_machine_scale_set_extensions_operations import VirtualMachineScaleSetExtensionsOperations
from .virtual_machine_scale_set_rolling_upgrades_operations import VirtualMachineScaleSetRollingUpgradesOperations
@@ -34,9 +34,9 @@
'VirtualMachineExtensionsOperations',
'VirtualMachineImagesOperations',
'UsageOperations',
+ 'VirtualMachinesOperations',
'VirtualMachineSizesOperations',
'ImagesOperations',
- 'VirtualMachinesOperations',
'VirtualMachineScaleSetsOperations',
'VirtualMachineScaleSetExtensionsOperations',
'VirtualMachineScaleSetRollingUpgradesOperations',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/disks_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/disks_operations.py
index f6fef80307e1..1a742e3eec9d 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/disks_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/disks_operations.py
@@ -633,7 +633,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
@@ -715,7 +715,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/snapshots_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/snapshots_operations.py
index 1110f5205dcf..83fcd98aa1f1 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/snapshots_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/snapshots_operations.py
@@ -633,7 +633,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
@@ -715,7 +715,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/virtual_machines_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/virtual_machines_operations.py
index eacf80e3186d..2b9af6befaba 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/virtual_machines_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/operations/virtual_machines_operations.py
@@ -39,6 +39,75 @@ def __init__(self, client, config, serializer, deserializer):
self.config = config
+ def list_by_location(
+ self, location, custom_headers=None, raw=False, **operation_config):
+ """Gets all the virtual machines under the specified subscription for the
+ specified location.
+
+ :param location: The location for which virtual machines under the
+ subscription are queried.
+ :type location: str
+ :param dict custom_headers: headers that will be added to the request
+ :param bool raw: returns the direct response alongside the
+ deserialized response
+ :param operation_config: :ref:`Operation configuration
+ overrides`.
+ :return: An iterator like instance of VirtualMachine
+ :rtype:
+ ~azure.mgmt.compute.v2018_04_01.models.VirtualMachinePaged[~azure.mgmt.compute.v2018_04_01.models.VirtualMachine]
+ :raises: :class:`CloudError`
+ """
+ def internal_paging(next_link=None, raw=False):
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_location.metadata['url']
+ path_format_arguments = {
+ 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$'),
+ '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')
+
+ else:
+ url = next_link
+ query_parameters = {}
+
+ # Construct headers
+ header_parameters = {}
+ header_parameters['Accept'] = 'application/json'
+ 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 and send request
+ request = self._client.get(url, query_parameters, header_parameters)
+ response = self._client.send(request, stream=False, **operation_config)
+
+ if response.status_code not in [200]:
+ exp = CloudError(response)
+ exp.request_id = response.headers.get('x-ms-request-id')
+ raise exp
+
+ return response
+
+ # Deserialize response
+ deserialized = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies)
+
+ if raw:
+ header_dict = {}
+ client_raw_response = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies, header_dict)
+ return client_raw_response
+
+ return deserialized
+ list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'}
+
def _capture_initial(
self, resource_group_name, vm_name, parameters, custom_headers=None, raw=False, **operation_config):
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/compute_management_client.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/compute_management_client.py
index b46dc8415314..5d5681a27a79 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/compute_management_client.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/compute_management_client.py
@@ -19,9 +19,9 @@
from .operations.virtual_machine_extensions_operations import VirtualMachineExtensionsOperations
from .operations.virtual_machine_images_operations import VirtualMachineImagesOperations
from .operations.usage_operations import UsageOperations
+from .operations.virtual_machines_operations import VirtualMachinesOperations
from .operations.virtual_machine_sizes_operations import VirtualMachineSizesOperations
from .operations.images_operations import ImagesOperations
-from .operations.virtual_machines_operations import VirtualMachinesOperations
from .operations.virtual_machine_scale_sets_operations import VirtualMachineScaleSetsOperations
from .operations.virtual_machine_scale_set_extensions_operations import VirtualMachineScaleSetExtensionsOperations
from .operations.virtual_machine_scale_set_rolling_upgrades_operations import VirtualMachineScaleSetRollingUpgradesOperations
@@ -88,12 +88,12 @@ class ComputeManagementClient(SDKClient):
:vartype virtual_machine_images: azure.mgmt.compute.v2018_06_01.operations.VirtualMachineImagesOperations
:ivar usage: Usage operations
:vartype usage: azure.mgmt.compute.v2018_06_01.operations.UsageOperations
+ :ivar virtual_machines: VirtualMachines operations
+ :vartype virtual_machines: azure.mgmt.compute.v2018_06_01.operations.VirtualMachinesOperations
:ivar virtual_machine_sizes: VirtualMachineSizes operations
:vartype virtual_machine_sizes: azure.mgmt.compute.v2018_06_01.operations.VirtualMachineSizesOperations
:ivar images: Images operations
:vartype images: azure.mgmt.compute.v2018_06_01.operations.ImagesOperations
- :ivar virtual_machines: VirtualMachines operations
- :vartype virtual_machines: azure.mgmt.compute.v2018_06_01.operations.VirtualMachinesOperations
:ivar virtual_machine_scale_sets: VirtualMachineScaleSets operations
:vartype virtual_machine_scale_sets: azure.mgmt.compute.v2018_06_01.operations.VirtualMachineScaleSetsOperations
:ivar virtual_machine_scale_set_extensions: VirtualMachineScaleSetExtensions operations
@@ -150,12 +150,12 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.usage = UsageOperations(
self._client, self.config, self._serialize, self._deserialize)
+ self.virtual_machines = VirtualMachinesOperations(
+ self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_sizes = VirtualMachineSizesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.images = ImagesOperations(
self._client, self.config, self._serialize, self._deserialize)
- self.virtual_machines = VirtualMachinesOperations(
- self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_scale_sets = VirtualMachineScaleSetsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_scale_set_extensions = VirtualMachineScaleSetExtensionsOperations(
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 42b0ba599d73..18c28168320c 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
@@ -38,6 +38,7 @@
from .key_vault_key_reference_py3 import KeyVaultKeyReference
from .disk_encryption_settings_py3 import DiskEncryptionSettings
from .virtual_hard_disk_py3 import VirtualHardDisk
+ from .diff_disk_settings_py3 import DiffDiskSettings
from .managed_disk_parameters_py3 import ManagedDiskParameters
from .os_disk_py3 import OSDisk
from .data_disk_py3 import DataDisk
@@ -202,6 +203,7 @@
from .key_vault_key_reference import KeyVaultKeyReference
from .disk_encryption_settings import DiskEncryptionSettings
from .virtual_hard_disk import VirtualHardDisk
+ from .diff_disk_settings import DiffDiskSettings
from .managed_disk_parameters import ManagedDiskParameters
from .os_disk import OSDisk
from .data_disk import DataDisk
@@ -341,8 +343,8 @@
from .availability_set_paged import AvailabilitySetPaged
from .virtual_machine_size_paged import VirtualMachineSizePaged
from .usage_paged import UsagePaged
-from .image_paged import ImagePaged
from .virtual_machine_paged import VirtualMachinePaged
+from .image_paged import ImagePaged
from .virtual_machine_scale_set_paged import VirtualMachineScaleSetPaged
from .virtual_machine_scale_set_sku_paged import VirtualMachineScaleSetSkuPaged
from .upgrade_operation_historical_status_info_paged import UpgradeOperationHistoricalStatusInfoPaged
@@ -356,11 +358,13 @@
from .snapshot_paged import SnapshotPaged
from .compute_management_client_enums import (
StatusLevelTypes,
+ AvailabilitySetSkuTypes,
OperatingSystemTypes,
VirtualMachineSizeTypes,
CachingTypes,
DiskCreateOptionTypes,
StorageAccountTypes,
+ DiffDiskOptions,
PassNames,
ComponentNames,
SettingNames,
@@ -418,6 +422,7 @@
'KeyVaultKeyReference',
'DiskEncryptionSettings',
'VirtualHardDisk',
+ 'DiffDiskSettings',
'ManagedDiskParameters',
'OSDisk',
'DataDisk',
@@ -557,8 +562,8 @@
'AvailabilitySetPaged',
'VirtualMachineSizePaged',
'UsagePaged',
- 'ImagePaged',
'VirtualMachinePaged',
+ 'ImagePaged',
'VirtualMachineScaleSetPaged',
'VirtualMachineScaleSetSkuPaged',
'UpgradeOperationHistoricalStatusInfoPaged',
@@ -571,11 +576,13 @@
'DiskPaged',
'SnapshotPaged',
'StatusLevelTypes',
+ 'AvailabilitySetSkuTypes',
'OperatingSystemTypes',
'VirtualMachineSizeTypes',
'CachingTypes',
'DiskCreateOptionTypes',
'StorageAccountTypes',
+ 'DiffDiskOptions',
'PassNames',
'ComponentNames',
'SettingNames',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py
index 8b572a90c593..18ff109310c8 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py
@@ -16,11 +16,11 @@ class AdditionalCapabilities(Model):
"""Enables or disables a capability on the virtual machine or virtual machine
scale set.
- :param ultra_ssd_enabled: Enables or disables a capability to have 1 or
- more managed data disks with UltraSSD_LRS storage account on the VM or
- VMSS. Managed disks with storage account type UltraSSD_LRS can be added to
- a virtual machine or virtual machine scale set only if this property is
- enabled.
+ :param ultra_ssd_enabled: The flag that enables or disables a capability
+ to have one or more managed data disks with UltraSSD_LRS storage account
+ type on the VM or VMSS. Managed disks with storage account type
+ UltraSSD_LRS can be added to a virtual machine or virtual machine scale
+ set only if this property is enabled.
:type ultra_ssd_enabled: bool
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py
index 746fccf9c049..db83a0a4eacb 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py
@@ -16,11 +16,11 @@ class AdditionalCapabilities(Model):
"""Enables or disables a capability on the virtual machine or virtual machine
scale set.
- :param ultra_ssd_enabled: Enables or disables a capability to have 1 or
- more managed data disks with UltraSSD_LRS storage account on the VM or
- VMSS. Managed disks with storage account type UltraSSD_LRS can be added to
- a virtual machine or virtual machine scale set only if this property is
- enabled.
+ :param ultra_ssd_enabled: The flag that enables or disables a capability
+ to have one or more managed data disks with UltraSSD_LRS storage account
+ type on the VM or VMSS. Managed disks with storage account type
+ UltraSSD_LRS can be added to a virtual machine or virtual machine scale
+ set only if this property is enabled.
:type ultra_ssd_enabled: bool
"""
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 cc99cdb180b4..704e78065073 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
@@ -51,7 +51,10 @@ class AvailabilitySet(Resource):
:ivar statuses: The resource status information.
:vartype statuses:
list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus]
- :param sku: Sku of the availability set
+ :param sku: Sku of the availability set, only name is required to be set.
+ See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for
+ virtual machines with managed disks and 'Classic' for virtual machines
+ with unmanaged disks. Default value is 'Classic'.
:type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku
"""
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 64ea887cb556..cb768ff708d8 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
@@ -51,7 +51,10 @@ class AvailabilitySet(Resource):
:ivar statuses: The resource status information.
:vartype statuses:
list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus]
- :param sku: Sku of the availability set
+ :param sku: Sku of the availability set, only name is required to be set.
+ See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for
+ virtual machines with managed disks and 'Classic' for virtual machines
+ with unmanaged disks. Default value is 'Classic'.
:type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics.py
index ca3dbdd4f23c..4a1f77c4d7d0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view.py
index 6fe1f84a3910..4b01ce822908 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view.py
@@ -15,18 +15,33 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
+ :ivar status: The boot diagnostics status information for the VM.
+ NOTE: It will be set only if there are errors encountered in enabling boot
+ diagnostics.
+ :vartype status: ~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ 'status': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
+ 'status': {'key': 'status', 'type': 'InstanceViewStatus'},
}
def __init__(self, **kwargs):
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = kwargs.get('console_screenshot_blob_uri', None)
- self.serial_console_log_blob_uri = kwargs.get('serial_console_log_blob_uri', None)
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
+ self.status = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view_py3.py
index d85b51981ab9..6ec8694acf3e 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_instance_view_py3.py
@@ -15,18 +15,33 @@
class BootDiagnosticsInstanceView(Model):
"""The instance view of a virtual machine boot diagnostics.
- :param console_screenshot_blob_uri: The console screenshot blob URI.
- :type console_screenshot_blob_uri: str
- :param serial_console_log_blob_uri: The Linux serial console log blob Uri.
- :type serial_console_log_blob_uri: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar console_screenshot_blob_uri: The console screenshot blob URI.
+ :vartype console_screenshot_blob_uri: str
+ :ivar serial_console_log_blob_uri: The Linux serial console log blob Uri.
+ :vartype serial_console_log_blob_uri: str
+ :ivar status: The boot diagnostics status information for the VM.
+ NOTE: It will be set only if there are errors encountered in enabling boot
+ diagnostics.
+ :vartype status: ~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus
"""
+ _validation = {
+ 'console_screenshot_blob_uri': {'readonly': True},
+ 'serial_console_log_blob_uri': {'readonly': True},
+ 'status': {'readonly': True},
+ }
+
_attribute_map = {
'console_screenshot_blob_uri': {'key': 'consoleScreenshotBlobUri', 'type': 'str'},
'serial_console_log_blob_uri': {'key': 'serialConsoleLogBlobUri', 'type': 'str'},
+ 'status': {'key': 'status', 'type': 'InstanceViewStatus'},
}
- def __init__(self, *, console_screenshot_blob_uri: str=None, serial_console_log_blob_uri: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(BootDiagnosticsInstanceView, self).__init__(**kwargs)
- self.console_screenshot_blob_uri = console_screenshot_blob_uri
- self.serial_console_log_blob_uri = serial_console_log_blob_uri
+ self.console_screenshot_blob_uri = None
+ self.serial_console_log_blob_uri = None
+ self.status = None
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_py3.py
index b0a756ea4fa0..b64ae5b4adde 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/boot_diagnostics_py3.py
@@ -14,9 +14,8 @@
class BootDiagnostics(Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console
- Output and Screenshot to diagnose VM status.
For Linux Virtual
- Machines, you can easily view the output of your console log.
For
- both Windows and Linux virtual machines, Azure also enables you to see a
+ Output and Screenshot to diagnose VM status.
You can easily view
+ the output of your console log.
Azure also enables you to see a
screenshot of the VM from the hypervisor.
:param enabled: Whether boot diagnostics should be enabled on the Virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py
index 994228e929a1..9c58eaa0f157 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py
@@ -19,6 +19,12 @@ class StatusLevelTypes(str, Enum):
error = "Error"
+class AvailabilitySetSkuTypes(str, Enum):
+
+ classic = "Classic"
+ aligned = "Aligned"
+
+
class OperatingSystemTypes(str, Enum):
windows = "Windows"
@@ -217,6 +223,11 @@ class StorageAccountTypes(str, Enum):
ultra_ssd_lrs = "UltraSSD_LRS"
+class DiffDiskOptions(str, Enum):
+
+ local = "Local"
+
+
class PassNames(str, Enum):
oobe_system = "OobeSystem"
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile.py
index 79cfd1e65745..f72721038694 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnostics
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile_py3.py
index 472d61da6fba..da0a1e350105 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diagnostics_profile_py3.py
@@ -18,8 +18,7 @@ class DiagnosticsProfile(Model):
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnostics
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
new file mode 100644
index 000000000000..028ade1b9cb8
--- /dev/null
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py
@@ -0,0 +1,32 @@
+# 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 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.
+
+ :param option: Specifies the differencing disk settings for operating
+ system disk. Possible values include: 'Local'
+ :type option: str or
+ ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions
+ """
+
+ _attribute_map = {
+ 'option': {'key': 'option', 'type': 'str'},
+ }
+
+ def __init__(self, **kwargs):
+ super(DiffDiskSettings, self).__init__(**kwargs)
+ self.option = kwargs.get('option', None)
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
new file mode 100644
index 000000000000..25c1bfa697fa
--- /dev/null
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py
@@ -0,0 +1,32 @@
+# 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 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.
+
+ :param option: Specifies the differencing disk settings for operating
+ system disk. Possible values include: 'Local'
+ :type option: str or
+ ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions
+ """
+
+ _attribute_map = {
+ 'option': {'key': 'option', 'type': 'str'},
+ }
+
+ def __init__(self, *, option=None, **kwargs) -> None:
+ super(DiffDiskSettings, self).__init__(**kwargs)
+ self.option = option
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 5dfdc18e1734..8b7969b69f8d 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
@@ -13,7 +13,8 @@
class Gallery(Resource):
- """Specifies information about the gallery that you want to create or update.
+ """Specifies information about the Shared Image Gallery that you want to
+ create or update.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -30,7 +31,8 @@ class Gallery(Resource):
:type location: str
:param tags: Resource tags
:type tags: dict[str, str]
- :param description: The description of this gallery resource.
+ :param description: The description of this Shared Image Gallery resource.
+ This property is updateable.
: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 bb59422b13cb..03e5df90a768 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
@@ -17,8 +17,8 @@ class GalleryArtifactPublishingProfileBase(Model):
All required parameters must be populated in order to send to Azure.
- :param target_regions: The target regions where the artifact is going to
- be published.
+ :param target_regions: The target regions where the Image Version is going
+ to be replicated to. This property is updateable.
: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 335f17f5793c..45a9ad013174 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
@@ -17,8 +17,8 @@ class GalleryArtifactPublishingProfileBase(Model):
All required parameters must be populated in order to send to Azure.
- :param target_regions: The target regions where the artifact is going to
- be published.
+ :param target_regions: The target regions where the Image Version is going
+ to be replicated to. This property is updateable.
: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_source.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py
index d0a6d0fee7f2..7e653ff73b50 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py
@@ -13,7 +13,7 @@
class GalleryArtifactSource(Model):
- """The source of the gallery artifact.
+ """The source image from which the Image Version is going to be created.
All required parameters must be populated in order to send to Azure.
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py
index 2fe76b0a2bf2..0428d4d3ce0b 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py
@@ -13,7 +13,7 @@
class GalleryArtifactSource(Model):
- """The source of the gallery artifact.
+ """The source image from which the Image Version is going to be created.
All required parameters must be populated in order to send to Azure.
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py
index 88efa05270a0..fc5413c0f896 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py
@@ -18,16 +18,18 @@ class GalleryDataDiskImage(GalleryDiskImage):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
'ReadWrite'
:vartype host_caching: str or
~azure.mgmt.compute.v2018_06_01.models.HostCaching
- :ivar lun: Specifies the logical unit number of the data disk. This value
- is used to identify data disks within the VM and therefore must be unique
- for each data disk attached to a VM.
+ :ivar lun: This property specifies the logical unit number of the data
+ disk. This value is used to identify data disks within the Virtual Machine
+ and therefore must be unique for each data disk attached to the Virtual
+ Machine.
:vartype lun: int
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py
index 06b2a569818b..a31d13a83397 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py
@@ -18,16 +18,18 @@ class GalleryDataDiskImage(GalleryDiskImage):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
'ReadWrite'
:vartype host_caching: str or
~azure.mgmt.compute.v2018_06_01.models.HostCaching
- :ivar lun: Specifies the logical unit number of the data disk. This value
- is used to identify data disks within the VM and therefore must be unique
- for each data disk attached to a VM.
+ :ivar lun: This property specifies the logical unit number of the data
+ disk. This value is used to identify data disks within the Virtual Machine
+ and therefore must be unique for each data disk attached to the Virtual
+ Machine.
:vartype lun: int
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py
index b99d727114c9..58ea87f0af3a 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py
@@ -18,7 +18,8 @@ class GalleryDiskImage(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py
index c27888c9a07e..44f832029d60 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py
@@ -18,7 +18,8 @@ class GalleryDiskImage(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py
index 015fc199542e..324d20c34cfd 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py
@@ -18,7 +18,8 @@ class GalleryIdentifier(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar unique_name: The unique name of the gallery
+ :ivar unique_name: The unique name of the Shared Image Gallery. This name
+ is generated automatically by Azure.
:vartype unique_name: str
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py
index 2b7f4e6555a6..d7279159b636 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py
@@ -18,7 +18,8 @@ class GalleryIdentifier(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar unique_name: The unique name of the gallery
+ :ivar unique_name: The unique name of the Shared Image Gallery. This name
+ is generated automatically by Azure.
:vartype unique_name: str
"""
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 5f019792c881..551b1e979fa0 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
@@ -13,8 +13,8 @@
class GalleryImage(Resource):
- """Specifies information about the gallery image that you want to create or
- update.
+ """Specifies information about the gallery Image Definition that you want to
+ create or update.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -31,25 +31,28 @@ class GalleryImage(Resource):
:type location: str
:param tags: Resource tags
:type tags: dict[str, str]
- :param description: The description of this gallery image resource.
+ :param description: The description of this gallery Image Definition
+ resource. This property is updateable.
:type description: str
- :param eula: The Eula agreement for the gallery image.
+ :param eula: The Eula agreement for the gallery Image Definition.
:type eula: str
:param privacy_statement_uri: The privacy statement uri.
:type privacy_statement_uri: str
:param release_note_uri: The release note uri.
:type release_note_uri: str
:param os_type: Required. This property allows you to specify the type of
- the OS that is included in the disk if creating a VM from user-image or a
- specialized VHD.
Possible values are:
**Windows**
-
**Linux**. Possible values include: 'Windows', 'Linux'
+ the OS that is included in the disk when creating a VM from a managed
+ image.
Possible values are:
**Windows**
+ **Linux**. Possible values include: 'Windows', 'Linux'
:type os_type: str or
~azure.mgmt.compute.v2018_06_01.models.OperatingSystemTypes
- :param os_state: Required. The OS State. Possible values include:
- 'Generalized', 'Specialized'
+ :param os_state: Required. The allowed values for OS State are
+ 'Generalized'. Possible values include: 'Generalized', 'Specialized'
:type os_state: str or
~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes
- :param end_of_life_date: The end of life of this gallery image.
+ :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.
:type end_of_life_date: datetime
:param identifier: Required.
:type identifier:
@@ -62,10 +65,10 @@ class GalleryImage(Resource):
:param purchase_plan:
:type purchase_plan:
~azure.mgmt.compute.v2018_06_01.models.ImagePurchasePlan
- :ivar provisioning_state: The current state of the gallery image. The
- provisioning state, which only appears in the response. Possible values
- include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
- 'Migrating'
+ :ivar provisioning_state: The current state of the gallery Image
+ Definition. The provisioning state, which only appears in the response.
+ Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
+ 'Deleting', 'Migrating'
:vartype provisioning_state: str or
~azure.mgmt.compute.v2018_06_01.models.enum
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py
index 0a3e89879504..15699690de5e 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py
@@ -13,15 +13,16 @@
class GalleryImageIdentifier(Model):
- """This is the gallery image identifier.
+ """This is the gallery Image Definition identifier.
All required parameters must be populated in order to send to Azure.
- :param publisher: Required. The gallery image publisher name.
+ :param publisher: Required. The name of the gallery Image Definition
+ publisher.
:type publisher: str
- :param offer: Required. The gallery image offer name.
+ :param offer: Required. The name of the gallery Image Definition offer.
:type offer: str
- :param sku: Required. The gallery image sku name.
+ :param sku: Required. The name of the gallery Image Definition SKU.
:type sku: str
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py
index 4d48b4b4f889..3876526cebe4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py
@@ -13,15 +13,16 @@
class GalleryImageIdentifier(Model):
- """This is the gallery image identifier.
+ """This is the gallery Image Definition identifier.
All required parameters must be populated in order to send to Azure.
- :param publisher: Required. The gallery image publisher name.
+ :param publisher: Required. The name of the gallery Image Definition
+ publisher.
:type publisher: str
- :param offer: Required. The gallery image offer name.
+ :param offer: Required. The name of the gallery Image Definition offer.
:type offer: str
- :param sku: Required. The gallery image sku name.
+ :param sku: Required. The name of the gallery Image Definition SKU.
:type sku: str
"""
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 d263e80f3e1e..c77aac090c0f 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
@@ -13,8 +13,8 @@
class GalleryImage(Resource):
- """Specifies information about the gallery image that you want to create or
- update.
+ """Specifies information about the gallery Image Definition that you want to
+ create or update.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -31,25 +31,28 @@ class GalleryImage(Resource):
:type location: str
:param tags: Resource tags
:type tags: dict[str, str]
- :param description: The description of this gallery image resource.
+ :param description: The description of this gallery Image Definition
+ resource. This property is updateable.
:type description: str
- :param eula: The Eula agreement for the gallery image.
+ :param eula: The Eula agreement for the gallery Image Definition.
:type eula: str
:param privacy_statement_uri: The privacy statement uri.
:type privacy_statement_uri: str
:param release_note_uri: The release note uri.
:type release_note_uri: str
:param os_type: Required. This property allows you to specify the type of
- the OS that is included in the disk if creating a VM from user-image or a
- specialized VHD.
Possible values are:
**Windows**
-
**Linux**. Possible values include: 'Windows', 'Linux'
+ the OS that is included in the disk when creating a VM from a managed
+ image.
Possible values are:
**Windows**
+ **Linux**. Possible values include: 'Windows', 'Linux'
:type os_type: str or
~azure.mgmt.compute.v2018_06_01.models.OperatingSystemTypes
- :param os_state: Required. The OS State. Possible values include:
- 'Generalized', 'Specialized'
+ :param os_state: Required. The allowed values for OS State are
+ 'Generalized'. Possible values include: 'Generalized', 'Specialized'
:type os_state: str or
~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes
- :param end_of_life_date: The end of life of this gallery image.
+ :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.
:type end_of_life_date: datetime
:param identifier: Required.
:type identifier:
@@ -62,10 +65,10 @@ class GalleryImage(Resource):
:param purchase_plan:
:type purchase_plan:
~azure.mgmt.compute.v2018_06_01.models.ImagePurchasePlan
- :ivar provisioning_state: The current state of the gallery image. The
- provisioning state, which only appears in the response. Possible values
- include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
- 'Migrating'
+ :ivar provisioning_state: The current state of the gallery Image
+ Definition. The provisioning state, which only appears in the response.
+ Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
+ 'Deleting', 'Migrating'
:vartype provisioning_state: str or
~azure.mgmt.compute.v2018_06_01.models.enum
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py
index b470e70077a9..56db99959d98 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py
@@ -13,7 +13,7 @@
class GalleryImageVersion(Resource):
- """Specifies information about the gallery image version that you want to
+ """Specifies information about the gallery Image Version that you want to
create or update.
Variables are only populated by the server, and will be ignored when
@@ -34,7 +34,7 @@ class GalleryImageVersion(Resource):
:param publishing_profile: Required.
:type publishing_profile:
~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersionPublishingProfile
- :ivar provisioning_state: The current state of the gallery image version.
+ :ivar provisioning_state: The current state of the gallery Image Version.
The provisioning state, which only appears in the response. Possible
values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
'Migrating'
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 c5e3be1292a9..30c2b91ecdc5 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
@@ -13,30 +13,32 @@
class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase):
- """The publishing profile of a gallery image version.
+ """The publishing profile of a gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
- :param target_regions: The target regions where the artifact is going to
- be published.
+ :param target_regions: The target regions where the Image Version is going
+ to be replicated to. This property is updateable.
: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: This is the number of source blob copies in a
- region.
+ :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.
:type replica_count: int
- :param exclude_from_latest: The flag means that if it is set to true,
- people deploying VMs with 'latest' as version will not use this version.
+ :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.
:type exclude_from_latest: bool
- :ivar published_date: The time when the gallery image version is
+ :ivar published_date: The timestamp for when the gallery Image Version is
published.
:vartype published_date: datetime
- :param end_of_life_date: The end of life date of the gallery image
- version.
+ :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.
: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 54fee2cc6da8..6372ad2792d8 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
@@ -13,30 +13,32 @@
class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase):
- """The publishing profile of a gallery image version.
+ """The publishing profile of a gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
- :param target_regions: The target regions where the artifact is going to
- be published.
+ :param target_regions: The target regions where the Image Version is going
+ to be replicated to. This property is updateable.
: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: This is the number of source blob copies in a
- region.
+ :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.
:type replica_count: int
- :param exclude_from_latest: The flag means that if it is set to true,
- people deploying VMs with 'latest' as version will not use this version.
+ :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.
:type exclude_from_latest: bool
- :ivar published_date: The time when the gallery image version is
+ :ivar published_date: The timestamp for when the gallery Image Version is
published.
:vartype published_date: datetime
- :param end_of_life_date: The end of life date of the gallery image
- version.
+ :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.
:type end_of_life_date: datetime
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py
index ada04160caf9..61890bef61d4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py
@@ -13,7 +13,7 @@
class GalleryImageVersion(Resource):
- """Specifies information about the gallery image version that you want to
+ """Specifies information about the gallery Image Version that you want to
create or update.
Variables are only populated by the server, and will be ignored when
@@ -34,7 +34,7 @@ class GalleryImageVersion(Resource):
:param publishing_profile: Required.
:type publishing_profile:
~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersionPublishingProfile
- :ivar provisioning_state: The current state of the gallery image version.
+ :ivar provisioning_state: The current state of the gallery Image Version.
The provisioning state, which only appears in the response. Possible
values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
'Migrating'
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py
index 0a213a2f051d..b9deddba3ad0 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py
@@ -13,7 +13,7 @@
class GalleryImageVersionStorageProfile(Model):
- """This is the storage profile of a gallery image version.
+ """This is the storage profile of a gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py
index ea45b454b07c..9703a40fe507 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py
@@ -13,7 +13,7 @@
class GalleryImageVersionStorageProfile(Model):
- """This is the storage profile of a gallery image version.
+ """This is the storage profile of a gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py
index 75b6dde7e996..6ed9165cd45f 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py
@@ -18,7 +18,8 @@ class GalleryOSDiskImage(GalleryDiskImage):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py
index 8981e015c475..52a0833d369d 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py
@@ -18,7 +18,8 @@ class GalleryOSDiskImage(GalleryDiskImage):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar size_in_gb: It indicates the size of the VHD to create.
+ :ivar size_in_gb: This property indicates the size of the VHD to be
+ created.
:vartype size_in_gb: int
:ivar host_caching: The host caching of the disk. Valid values are 'None',
'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly',
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 87dcabacdbe7..622cfb61cb2c 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
@@ -13,7 +13,8 @@
class Gallery(Resource):
- """Specifies information about the gallery that you want to create or update.
+ """Specifies information about the Shared Image Gallery that you want to
+ create or update.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -30,7 +31,8 @@ class Gallery(Resource):
:type location: str
:param tags: Resource tags
:type tags: dict[str, str]
- :param description: The description of this gallery resource.
+ :param description: The description of this Shared Image Gallery resource.
+ This property is updateable.
: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/image_data_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py
index 4bfaaa550c3d..55dd251aa125 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py
@@ -37,9 +37,9 @@ class ImageDataDisk(Model):
machine image.
This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py
index 6f612bf9ca37..cad193d6eef7 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py
@@ -37,9 +37,9 @@ class ImageDataDisk(Model):
machine image.
This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py
index 6ce481da0418..db287a53c829 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py
@@ -43,9 +43,8 @@ class ImageOSDisk(Model):
machine image.
This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values
+ include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py
index f7fdc99b7235..983e63d672e2 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py
@@ -43,9 +43,8 @@ class ImageOSDisk(Model):
machine image.
This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values
+ include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py
index 842a22340e45..5e0f4cbfe7ac 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py
@@ -13,8 +13,8 @@
class ImagePurchasePlan(Model):
- """Describes the gallery image purchase plan. This is used by marketplace
- images.
+ """Describes the gallery Image Definition purchase plan. This is used by
+ marketplace images.
:param name: The plan ID.
:type name: str
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py
index 228dcc61c77c..7f9596924d7d 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py
@@ -13,8 +13,8 @@
class ImagePurchasePlan(Model):
- """Describes the gallery image purchase plan. This is used by marketplace
- images.
+ """Describes the gallery Image Definition purchase plan. This is used by
+ marketplace images.
:param name: The plan ID.
:type name: str
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py
index 41d023a94be0..9fa397ac98d7 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py
@@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource):
:param id: Resource Id
:type id: str
:param storage_account_type: Specifies the storage account type for the
- managed disk. UltraSSD_LRS can only be used for data disks. Possible
- values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
- 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py
index 50e3273c5d0a..bbf6a7770b56 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py
@@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource):
:param id: Resource Id
:type id: str
:param storage_account_type: Specifies the storage account type for the
- managed disk. UltraSSD_LRS can only be used for data disks. Possible
- values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
- 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
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 b4fed8c2c1cd..4914868b54df 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,6 +47,10 @@ 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.
+ :type diff_disk_settings:
+ ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings
:param create_option: Required. Specifies how the virtual machine should
be created.
Possible values are:
**Attach** \\u2013 This
value is used when you are using a specialized disk to create the virtual
@@ -78,6 +82,7 @@ class OSDisk(Model):
'image': {'key': 'image', 'type': 'VirtualHardDisk'},
'caching': {'key': 'caching', 'type': 'CachingTypes'},
'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'},
+ 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'},
'create_option': {'key': 'createOption', 'type': 'str'},
'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
'managed_disk': {'key': 'managedDisk', 'type': 'ManagedDiskParameters'},
@@ -92,6 +97,7 @@ def __init__(self, **kwargs):
self.image = kwargs.get('image', None)
self.caching = kwargs.get('caching', None)
self.write_accelerator_enabled = kwargs.get('write_accelerator_enabled', None)
+ self.diff_disk_settings = kwargs.get('diff_disk_settings', None)
self.create_option = kwargs.get('create_option', None)
self.disk_size_gb = kwargs.get('disk_size_gb', None)
self.managed_disk = kwargs.get('managed_disk', None)
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 7dc498d4d7d0..b3514b43e170 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,6 +47,10 @@ 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.
+ :type diff_disk_settings:
+ ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings
:param create_option: Required. Specifies how the virtual machine should
be created.
Possible values are:
**Attach** \\u2013 This
value is used when you are using a specialized disk to create the virtual
@@ -78,12 +82,13 @@ class OSDisk(Model):
'image': {'key': 'image', 'type': 'VirtualHardDisk'},
'caching': {'key': 'caching', 'type': 'CachingTypes'},
'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'},
+ 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'},
'create_option': {'key': 'createOption', 'type': 'str'},
'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
'managed_disk': {'key': 'managedDisk', 'type': 'ManagedDiskParameters'},
}
- def __init__(self, *, create_option, os_type=None, encryption_settings=None, name: str=None, vhd=None, image=None, caching=None, write_accelerator_enabled: bool=None, disk_size_gb: int=None, managed_disk=None, **kwargs) -> None:
+ def __init__(self, *, create_option, os_type=None, encryption_settings=None, name: str=None, vhd=None, image=None, caching=None, write_accelerator_enabled: bool=None, diff_disk_settings=None, disk_size_gb: int=None, managed_disk=None, **kwargs) -> None:
super(OSDisk, self).__init__(**kwargs)
self.os_type = os_type
self.encryption_settings = encryption_settings
@@ -92,6 +97,7 @@ def __init__(self, *, create_option, os_type=None, encryption_settings=None, nam
self.image = image
self.caching = caching
self.write_accelerator_enabled = write_accelerator_enabled
+ self.diff_disk_settings = diff_disk_settings
self.create_option = create_option
self.disk_size_gb = disk_size_gb
self.managed_disk = managed_disk
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 db452883a30c..1d3791a3f1d7 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
@@ -13,7 +13,8 @@
class RecommendedMachineConfiguration(Model):
- """Describes the recommended machine configuration.
+ """The properties describe the recommended machine configuration for this
+ Image Definition. These properties are updateable.
: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 0473d92f01d5..2b68fb989ea5 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
@@ -13,7 +13,8 @@
class RecommendedMachineConfiguration(Model):
- """Describes the recommended machine configuration.
+ """The properties describe the recommended machine configuration for this
+ Image Definition. These properties are updateable.
: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/regional_replication_status.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py
index ac541c4f4080..ebc65bbe1146 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py
@@ -18,7 +18,8 @@ class RegionalReplicationStatus(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar region: The region where the gallery image version is published to.
+ :ivar region: The region to which the gallery Image Version is being
+ replicated to.
:vartype region: str
:ivar state: This is the regional replication state. Possible values
include: 'Unknown', 'Replicating', 'Completed', 'Failed'
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py
index 4838b5542b8c..df66758183a1 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py
@@ -18,7 +18,8 @@ class RegionalReplicationStatus(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
- :ivar region: The region where the gallery image version is published to.
+ :ivar region: The region to which the gallery Image Version is being
+ replicated to.
:vartype region: str
:ivar state: This is the regional replication state. Possible values
include: 'Unknown', 'Replicating', 'Completed', 'Failed'
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py
index 5d20b80672e2..b15aec7c4824 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py
@@ -13,14 +13,14 @@
class ReplicationStatus(Model):
- """This is the replication status of the gallery image version.
+ """This is the replication status of the gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar aggregated_state: This is the aggregated replication status based on
- the regional replication status. Possible values include: 'Unknown',
- 'InProgress', 'Completed', 'Failed'
+ all the regional replication status flags. Possible values include:
+ 'Unknown', 'InProgress', 'Completed', 'Failed'
:vartype aggregated_state: str or
~azure.mgmt.compute.v2018_06_01.models.AggregatedReplicationState
:ivar summary: This is a summary of replication status for each region.
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py
index c492353698fd..7901644916c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py
@@ -13,14 +13,14 @@
class ReplicationStatus(Model):
- """This is the replication status of the gallery image version.
+ """This is the replication status of the gallery Image Version.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar aggregated_state: This is the aggregated replication status based on
- the regional replication status. Possible values include: 'Unknown',
- 'InProgress', 'Completed', 'Failed'
+ all the regional replication status flags. Possible values include:
+ 'Unknown', 'InProgress', 'Completed', 'Failed'
:vartype aggregated_state: str or
~azure.mgmt.compute.v2018_06_01.models.AggregatedReplicationState
:ivar summary: This is a summary of replication status for each region.
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 6c1343cd129c..b320fae5716d 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
@@ -15,13 +15,19 @@
class TargetRegion(Model):
"""Describes the target region information.
- :param name: The name of the region.
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the region.
:type name: str
- :param regional_replica_count: This is the number of source blob copies in
- this specific region.
+ :param regional_replica_count: The number of replicas of the Image Version
+ to be created per region. This property is updateable.
:type regional_replica_count: int
"""
+ _validation = {
+ 'name': {'required': True},
+ }
+
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'regional_replica_count': {'key': 'regionalReplicaCount', 'type': '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 3a307a116d4d..955aa63044d6 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
@@ -15,19 +15,25 @@
class TargetRegion(Model):
"""Describes the target region information.
- :param name: The name of the region.
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the region.
:type name: str
- :param regional_replica_count: This is the number of source blob copies in
- this specific region.
+ :param regional_replica_count: The number of replicas of the Image Version
+ to be created per region. This property is updateable.
:type regional_replica_count: int
"""
+ _validation = {
+ 'name': {'required': True},
+ }
+
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'regional_replica_count': {'key': 'regionalReplicaCount', 'type': 'int'},
}
- def __init__(self, *, name: str=None, regional_replica_count: int=None, **kwargs) -> None:
+ def __init__(self, *, name: str, regional_replica_count: int=None, **kwargs) -> None:
super(TargetRegion, self).__init__(**kwargs)
self.name = name
self.regional_replica_count = regional_replica_count
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 d0f2e256fb12..ca243338a572 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
@@ -47,9 +47,7 @@ class VirtualMachine(Resource):
:type storage_profile:
~azure.mgmt.compute.v2018_06_01.models.StorageProfile
:param additional_capabilities: Specifies additional capabilities enabled
- or disabled on the virtual machine. For instance: whether the virtual
- machine has the capability to support attaching managed data disks with
- UltraSSD_LRS storage account type.
+ or disabled on the virtual machine.
:type additional_capabilities:
~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities
:param os_profile: Specifies the operating system settings for the virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view.py
index 906912b63196..c64305728eba 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2018_06_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view_py3.py
index 61074b565129..f1aea49e5739 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_instance_view_py3.py
@@ -44,8 +44,7 @@ class VirtualMachineInstanceView(Model):
list[~azure.mgmt.compute.v2018_06_01.models.VirtualMachineExtensionInstanceView]
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnosticsInstanceView
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 b9c9658ce5bc..82f24e63291c 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
@@ -47,9 +47,7 @@ class VirtualMachine(Resource):
:type storage_profile:
~azure.mgmt.compute.v2018_06_01.models.StorageProfile
:param additional_capabilities: Specifies additional capabilities enabled
- or disabled on the virtual machine. For instance: whether the virtual
- machine has the capability to support attaching managed data disks with
- UltraSSD_LRS storage account type.
+ or disabled on the virtual machine.
:type additional_capabilities:
~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities
:param os_profile: Specifies the operating system settings for the virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py
index bd63a7ca4295..9abca6a1818e 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py
@@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py
index 2fc6dd798d98..1df9ec0b5415 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py
@@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the
- managed disk. Possible values are: Standard_LRS, Premium_LRS, and
- StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS',
- 'StandardSSD_LRS', 'UltraSSD_LRS'
+ managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it
+ cannot be used with OS Disk. Possible values include: 'Standard_LRS',
+ 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
:type storage_account_type: str or
~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""
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 7a1676cfe1e3..ac8de50ead86 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,6 +36,10 @@ 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.
+ :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
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image.
This value cannot be larger than 1023 GB
@@ -66,6 +70,7 @@ class VirtualMachineScaleSetOSDisk(Model):
'caching': {'key': 'caching', 'type': 'CachingTypes'},
'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'},
'create_option': {'key': 'createOption', 'type': 'str'},
+ 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'},
'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
'os_type': {'key': 'osType', 'type': 'OperatingSystemTypes'},
'image': {'key': 'image', 'type': 'VirtualHardDisk'},
@@ -79,6 +84,7 @@ def __init__(self, **kwargs):
self.caching = kwargs.get('caching', None)
self.write_accelerator_enabled = kwargs.get('write_accelerator_enabled', None)
self.create_option = kwargs.get('create_option', None)
+ self.diff_disk_settings = kwargs.get('diff_disk_settings', None)
self.disk_size_gb = kwargs.get('disk_size_gb', None)
self.os_type = kwargs.get('os_type', None)
self.image = kwargs.get('image', None)
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 5b44c8e2e8f9..eafdd640f3a2 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,6 +36,10 @@ 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.
+ :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
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image.
This value cannot be larger than 1023 GB
@@ -66,6 +70,7 @@ class VirtualMachineScaleSetOSDisk(Model):
'caching': {'key': 'caching', 'type': 'CachingTypes'},
'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'},
'create_option': {'key': 'createOption', 'type': 'str'},
+ 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'},
'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
'os_type': {'key': 'osType', 'type': 'OperatingSystemTypes'},
'image': {'key': 'image', 'type': 'VirtualHardDisk'},
@@ -73,12 +78,13 @@ class VirtualMachineScaleSetOSDisk(Model):
'managed_disk': {'key': 'managedDisk', 'type': 'VirtualMachineScaleSetManagedDiskParameters'},
}
- def __init__(self, *, create_option, name: str=None, caching=None, write_accelerator_enabled: bool=None, disk_size_gb: int=None, os_type=None, image=None, vhd_containers=None, managed_disk=None, **kwargs) -> None:
+ def __init__(self, *, create_option, name: str=None, caching=None, write_accelerator_enabled: bool=None, diff_disk_settings=None, disk_size_gb: int=None, os_type=None, image=None, vhd_containers=None, managed_disk=None, **kwargs) -> None:
super(VirtualMachineScaleSetOSDisk, self).__init__(**kwargs)
self.name = name
self.caching = caching
self.write_accelerator_enabled = write_accelerator_enabled
self.create_option = create_option
+ self.diff_disk_settings = diff_disk_settings
self.disk_size_gb = disk_size_gb
self.os_type = os_type
self.image = image
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view.py
index 35e58a234b7f..8ac2d0633dc8 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2018_06_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnosticsInstanceView
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
index 586211ea4af8..5266cd011872 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_vm_instance_view_py3.py
@@ -41,8 +41,7 @@ class VirtualMachineScaleSetVMInstanceView(Model):
~azure.mgmt.compute.v2018_06_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
-
For Linux Virtual Machines, you can easily view the output of
- your console log.
For both Windows and Linux virtual machines,
+
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics:
~azure.mgmt.compute.v2018_06_01.models.BootDiagnosticsInstanceView
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 56fad5834158..a52aa4f3abce 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
@@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource):
:type storage_profile:
~azure.mgmt.compute.v2018_06_01.models.StorageProfile
:param additional_capabilities: Specifies additional capabilities enabled
- or disabled on the virtual machine. For instance: whether the virtual
- machine has the capability to support attaching managed data disks with
- UltraSSD_LRS storage account type.
+ or disabled on the virtual machine.
:type additional_capabilities:
~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities
:param os_profile: Specifies the operating system settings for the virtual
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 59fe215d0b53..f122de2d3c2d 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
@@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource):
:type storage_profile:
~azure.mgmt.compute.v2018_06_01.models.StorageProfile
:param additional_capabilities: Specifies additional capabilities enabled
- or disabled on the virtual machine. For instance: whether the virtual
- machine has the capability to support attaching managed data disks with
- UltraSSD_LRS storage account type.
+ or disabled on the virtual machine.
:type additional_capabilities:
~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities
:param os_profile: Specifies the operating system settings for the virtual
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/__init__.py
index 662b518ecea8..73c6833c6f71 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/__init__.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/__init__.py
@@ -15,9 +15,9 @@
from .virtual_machine_extensions_operations import VirtualMachineExtensionsOperations
from .virtual_machine_images_operations import VirtualMachineImagesOperations
from .usage_operations import UsageOperations
+from .virtual_machines_operations import VirtualMachinesOperations
from .virtual_machine_sizes_operations import VirtualMachineSizesOperations
from .images_operations import ImagesOperations
-from .virtual_machines_operations import VirtualMachinesOperations
from .virtual_machine_scale_sets_operations import VirtualMachineScaleSetsOperations
from .virtual_machine_scale_set_extensions_operations import VirtualMachineScaleSetExtensionsOperations
from .virtual_machine_scale_set_rolling_upgrades_operations import VirtualMachineScaleSetRollingUpgradesOperations
@@ -37,9 +37,9 @@
'VirtualMachineExtensionsOperations',
'VirtualMachineImagesOperations',
'UsageOperations',
+ 'VirtualMachinesOperations',
'VirtualMachineSizesOperations',
'ImagesOperations',
- 'VirtualMachinesOperations',
'VirtualMachineScaleSetsOperations',
'VirtualMachineScaleSetExtensionsOperations',
'VirtualMachineScaleSetRollingUpgradesOperations',
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/disks_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/disks_operations.py
index 52ad5ce53bc0..aba6f86fc995 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/disks_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/disks_operations.py
@@ -633,7 +633,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
@@ -715,7 +715,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py
index f58f5b0e2301..9a04fb8a60e8 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py
@@ -95,14 +95,16 @@ def _create_or_update_initial(
def create_or_update(
self, resource_group_name, gallery_name, gallery, custom_headers=None, raw=False, polling=True, **operation_config):
- """Create or update a gallery.
+ """Create or update a Shared Image Gallery.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery. The allowed
+ characters are alphabets and numbers with dots and periods allowed in
+ the middle. The maximum length is 80 characters.
:type gallery_name: str
- :param gallery: Parameters supplied to the create or update gallery
- operation.
+ :param gallery: Parameters supplied to the create or update Shared
+ Image Gallery operation.
:type gallery: ~azure.mgmt.compute.v2018_06_01.models.Gallery
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
@@ -146,11 +148,11 @@ def get_long_running_output(response):
def get(
self, resource_group_name, gallery_name, custom_headers=None, raw=False, **operation_config):
- """Retrieves information about a gallery.
+ """Retrieves information about a Shared Image Gallery.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery.
:type gallery_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -246,11 +248,12 @@ def _delete_initial(
def delete(
self, resource_group_name, gallery_name, custom_headers=None, raw=False, polling=True, **operation_config):
- """Delete a gallery.
+ """Delete a Shared Image Gallery.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery to be
+ deleted.
:type gallery_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py
index d46449b5920c..cb024e59c299 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py
@@ -97,21 +97,24 @@ def _create_or_update_initial(
def create_or_update(
self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers=None, raw=False, polling=True, **operation_config):
- """Create or update a gallery image version.
+ """Create or update a gallery Image Version.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition resides.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition in
+ which the Image Version is to be created.
:type gallery_image_name: str
- :param gallery_image_version_name: The name of the gallery image
- version. Needs to follow semantic version name pattern: The allowed
- characters are digit and period. Digits must be within the range of a
- 32-bit integer. Format: ..
+ :param gallery_image_version_name: The name of the gallery Image
+ Version to be created. Needs to follow semantic version name pattern:
+ The allowed characters are digit and period. Digits must be within the
+ range of a 32-bit integer. Format:
+ ..
:type gallery_image_version_name: str
:param gallery_image_version: Parameters supplied to the create or
- update gallery image version operation.
+ update gallery Image Version operation.
:type gallery_image_version:
~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersion
:param dict custom_headers: headers that will be added to the request
@@ -158,16 +161,18 @@ def get_long_running_output(response):
def get(
self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand=None, custom_headers=None, raw=False, **operation_config):
- """Retrieves information about a gallery image version.
+ """Retrieves information about a gallery Image Version.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition resides.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition in
+ which the Image Version resides.
:type gallery_image_name: str
- :param gallery_image_version_name: The name of the gallery image
- version.
+ :param gallery_image_version_name: The name of the gallery Image
+ Version to be retrieved.
:type gallery_image_version_name: str
:param expand: The expand expression to apply on the operation.
Possible values include: 'ReplicationStatus'
@@ -273,16 +278,18 @@ def _delete_initial(
def delete(
self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, custom_headers=None, raw=False, polling=True, **operation_config):
- """Delete a gallery image version.
+ """Delete a gallery Image Version.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition resides.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition in
+ which the Image Version resides.
:type gallery_image_name: str
- :param gallery_image_version_name: The name of the gallery image
- version.
+ :param gallery_image_version_name: The name of the gallery Image
+ Version to be deleted.
:type gallery_image_version_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
@@ -321,13 +328,15 @@ def get_long_running_output(response):
def list_by_gallery_image(
self, resource_group_name, gallery_name, gallery_image_name, custom_headers=None, raw=False, **operation_config):
- """List gallery image versions under a gallery image.
+ """List gallery Image Versions in a gallery Image Definition.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition resides.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the Shared Image Gallery Image
+ Definition from which the Image Versions are to be listed.
:type gallery_image_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py
index 310e941acdaa..3a73ceb60df4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py
@@ -96,13 +96,17 @@ def _create_or_update_initial(
def create_or_update(
self, resource_group_name, gallery_name, gallery_image_name, gallery_image, custom_headers=None, raw=False, polling=True, **operation_config):
- """Create or update a gallery image.
+ """Create or update a gallery Image Definition.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition is to be created.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition to
+ be created or updated. The allowed characters are alphabets and
+ numbers with dots, dashes, and periods allowed in the middle. The
+ maximum length is 80 characters.
:type gallery_image_name: str
:param gallery_image: Parameters supplied to the create or update
gallery image operation.
@@ -151,13 +155,15 @@ def get_long_running_output(response):
def get(
self, resource_group_name, gallery_name, gallery_image_name, custom_headers=None, raw=False, **operation_config):
- """Retrieves information about a gallery image.
+ """Retrieves information about a gallery Image Definition.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery from which
+ the Image Definitions are to be retrieved.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition to
+ be retrieved.
:type gallery_image_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -259,9 +265,11 @@ def delete(
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery in which the
+ Image Definition is to be deleted.
:type gallery_name: str
- :param gallery_image_name: The name of the gallery image.
+ :param gallery_image_name: The name of the gallery Image Definition to
+ be deleted.
:type gallery_image_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
@@ -299,11 +307,12 @@ def get_long_running_output(response):
def list_by_gallery(
self, resource_group_name, gallery_name, custom_headers=None, raw=False, **operation_config):
- """List gallery images under a gallery.
+ """List gallery Image Definitions in a gallery.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
- :param gallery_name: The name of the gallery.
+ :param gallery_name: The name of the Shared Image Gallery from which
+ Image Definitions are to be listed.
:type gallery_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/snapshots_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/snapshots_operations.py
index a54975126140..8056b1204eda 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/snapshots_operations.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/snapshots_operations.py
@@ -633,7 +633,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
@@ -715,7 +715,7 @@ def get_long_running_output(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)
+ if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **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)
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 6550e47a4fe0..fe68c6d10da4 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
@@ -39,6 +39,75 @@ def __init__(self, client, config, serializer, deserializer):
self.config = config
+ def list_by_location(
+ self, location, custom_headers=None, raw=False, **operation_config):
+ """Gets all the virtual machines under the specified subscription for the
+ specified location.
+
+ :param location: The location for which virtual machines under the
+ subscription are queried.
+ :type location: str
+ :param dict custom_headers: headers that will be added to the request
+ :param bool raw: returns the direct response alongside the
+ deserialized response
+ :param operation_config: :ref:`Operation configuration
+ overrides`.
+ :return: An iterator like instance of VirtualMachine
+ :rtype:
+ ~azure.mgmt.compute.v2018_06_01.models.VirtualMachinePaged[~azure.mgmt.compute.v2018_06_01.models.VirtualMachine]
+ :raises: :class:`CloudError`
+ """
+ def internal_paging(next_link=None, raw=False):
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_location.metadata['url']
+ path_format_arguments = {
+ 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$'),
+ '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')
+
+ else:
+ url = next_link
+ query_parameters = {}
+
+ # Construct headers
+ header_parameters = {}
+ header_parameters['Accept'] = 'application/json'
+ 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 and send request
+ request = self._client.get(url, query_parameters, header_parameters)
+ response = self._client.send(request, stream=False, **operation_config)
+
+ if response.status_code not in [200]:
+ exp = CloudError(response)
+ exp.request_id = response.headers.get('x-ms-request-id')
+ raise exp
+
+ return response
+
+ # Deserialize response
+ deserialized = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies)
+
+ if raw:
+ header_dict = {}
+ client_raw_response = models.VirtualMachinePaged(internal_paging, self._deserialize.dependencies, header_dict)
+ return client_raw_response
+
+ return deserialized
+ list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'}
+
def _capture_initial(
self, resource_group_name, vm_name, parameters, custom_headers=None, raw=False, **operation_config):
diff --git a/azure-mgmt-compute/azure/mgmt/compute/version.py b/azure-mgmt-compute/azure/mgmt/compute/version.py
index 4701d51e606d..f6aa5b6b7f0f 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.1.0"
+VERSION = "4.2.0"
diff --git a/azure-mgmt-compute/build.json b/azure-mgmt-compute/build.json
deleted file mode 100644
index 533c288e2cab..000000000000
--- a/azure-mgmt-compute/build.json
+++ /dev/null
@@ -1,584 +0,0 @@
-{
- "autorest": [
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest-core",
- "version": "2.0.4228",
- "engines": {
- "node": ">=7.10.0"
- },
- "dependencies": {},
- "optionalDependencies": {},
- "devDependencies": {
- "@types/commonmark": "^0.27.0",
- "@types/js-yaml": "^3.10.0",
- "@types/jsonpath": "^0.1.29",
- "@types/node": "^8.0.53",
- "@types/source-map": "^0.5.0",
- "@types/yargs": "^8.0.2",
- "@types/z-schema": "^3.16.31",
- "dts-generator": "^2.1.0",
- "mocha": "^4.0.1",
- "mocha-typescript": "^1.1.7",
- "shx": "0.2.2",
- "static-link": "^0.2.3",
- "vscode-jsonrpc": "^3.3.1"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4228/node_modules/@microsoft.azure/autorest-core",
- "_shasum": "b3897b8615417aa07cf9113d4bd18862b32f82f8",
- "_shrinkwrap": null,
- "bin": {
- "autorest-core": "./dist/app.js",
- "autorest-language-service": "dist/language-service/language-service.js"
- },
- "_id": "@microsoft.azure/autorest-core@2.0.4228",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4228/node_modules/@microsoft.azure/autorest-core",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4228\\node_modules\\@microsoft.azure\\autorest-core",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4228\\node_modules\\@microsoft.azure\\autorest-core",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4228/node_modules/@microsoft.azure/autorest-core",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4228/node_modules/@microsoft.azure/autorest-core"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4228\\node_modules\\@microsoft.azure\\autorest-core",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4228\\node_modules\\@microsoft.azure\\autorest-core"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest-core",
- "version": "2.0.4230",
- "engines": {
- "node": ">=7.10.0"
- },
- "dependencies": {},
- "optionalDependencies": {},
- "devDependencies": {
- "@types/commonmark": "^0.27.0",
- "@types/js-yaml": "^3.10.0",
- "@types/jsonpath": "^0.1.29",
- "@types/node": "^8.0.53",
- "@types/source-map": "0.5.0",
- "@types/yargs": "^8.0.2",
- "@types/z-schema": "^3.16.31",
- "dts-generator": "^2.1.0",
- "mocha": "^4.0.1",
- "mocha-typescript": "^1.1.7",
- "shx": "0.2.2",
- "static-link": "^0.2.3",
- "vscode-jsonrpc": "^3.3.1"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4230/node_modules/@microsoft.azure/autorest-core",
- "_shasum": "3c9b387fbe18ce3a54b68bc0c24ddb0a4c850f25",
- "_shrinkwrap": null,
- "bin": {
- "autorest-core": "./dist/app.js",
- "autorest-language-service": "dist/language-service/language-service.js"
- },
- "_id": "@microsoft.azure/autorest-core@2.0.4230",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4230/node_modules/@microsoft.azure/autorest-core",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4230\\node_modules\\@microsoft.azure\\autorest-core",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4230\\node_modules\\@microsoft.azure\\autorest-core",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4230/node_modules/@microsoft.azure/autorest-core",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4230/node_modules/@microsoft.azure/autorest-core"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4230\\node_modules\\@microsoft.azure\\autorest-core",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4230\\node_modules\\@microsoft.azure\\autorest-core"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest-core",
- "version": "2.0.4231",
- "engines": {
- "node": ">=7.10.0"
- },
- "dependencies": {},
- "optionalDependencies": {},
- "devDependencies": {
- "@types/commonmark": "^0.27.0",
- "@types/js-yaml": "^3.10.0",
- "@types/jsonpath": "^0.1.29",
- "@types/node": "^8.0.53",
- "@types/source-map": "0.5.0",
- "@types/yargs": "^8.0.2",
- "@types/z-schema": "^3.16.31",
- "dts-generator": "^2.1.0",
- "mocha": "^4.0.1",
- "mocha-typescript": "^1.1.7",
- "shx": "0.2.2",
- "static-link": "^0.2.3",
- "vscode-jsonrpc": "^3.3.1"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4231/node_modules/@microsoft.azure/autorest-core",
- "_shasum": "fa1b2b50cdd91bec9f04542420c3056eda202b87",
- "_shrinkwrap": null,
- "bin": {
- "autorest-core": "./dist/app.js",
- "autorest-language-service": "dist/language-service/language-service.js"
- },
- "_id": "@microsoft.azure/autorest-core@2.0.4231",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4231/node_modules/@microsoft.azure/autorest-core",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4231\\node_modules\\@microsoft.azure\\autorest-core",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4231\\node_modules\\@microsoft.azure\\autorest-core",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4231/node_modules/@microsoft.azure/autorest-core",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4231/node_modules/@microsoft.azure/autorest-core"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4231\\node_modules\\@microsoft.azure\\autorest-core",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4231\\node_modules\\@microsoft.azure\\autorest-core"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest-core",
- "version": "2.0.4233",
- "engines": {
- "node": ">=7.10.0"
- },
- "dependencies": {},
- "optionalDependencies": {},
- "devDependencies": {
- "@types/commonmark": "^0.27.0",
- "@types/js-yaml": "^3.10.0",
- "@types/jsonpath": "^0.1.29",
- "@types/node": "^8.0.53",
- "@types/source-map": "0.5.0",
- "@types/yargs": "^8.0.2",
- "@types/z-schema": "^3.16.31",
- "dts-generator": "^2.1.0",
- "mocha": "^4.0.1",
- "mocha-typescript": "^1.1.7",
- "shx": "0.2.2",
- "static-link": "^0.2.3",
- "vscode-jsonrpc": "^3.3.1"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4233/node_modules/@microsoft.azure/autorest-core",
- "_shasum": "85ef8a9fc8065e67218f273a658455739c7dcd4d",
- "_shrinkwrap": null,
- "bin": {
- "autorest-core": "./dist/app.js",
- "autorest-language-service": "dist/language-service/language-service.js"
- },
- "_id": "@microsoft.azure/autorest-core@2.0.4233",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4233/node_modules/@microsoft.azure/autorest-core",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4233\\node_modules\\@microsoft.azure\\autorest-core",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4233\\node_modules\\@microsoft.azure\\autorest-core",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4233/node_modules/@microsoft.azure/autorest-core",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest-core@2.0.4233/node_modules/@microsoft.azure/autorest-core"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4233\\node_modules\\@microsoft.azure\\autorest-core",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest-core@2.0.4233\\node_modules\\@microsoft.azure\\autorest-core"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest.modeler",
- "version": "2.3.38",
- "dependencies": {
- "dotnet-2.0.0": "^1.4.4"
- },
- "optionalDependencies": {},
- "devDependencies": {
- "@microsoft.azure/autorest.testserver": "2.3.1",
- "autorest": "^2.0.4201",
- "coffee-script": "^1.11.1",
- "dotnet-sdk-2.0.0": "^1.4.4",
- "gulp": "^3.9.1",
- "gulp-filter": "^5.0.0",
- "gulp-line-ending-corrector": "^1.0.1",
- "iced-coffee-script": "^108.0.11",
- "marked": "^0.3.6",
- "marked-terminal": "^2.0.0",
- "moment": "^2.17.1",
- "run-sequence": "*",
- "shx": "^0.2.2",
- "through2-parallel": "^0.1.3",
- "yargs": "^8.0.2",
- "yarn": "^1.0.2"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler",
- "_shasum": "903bb77932e4ed1b8bc3b25cc39b167143494f6c",
- "_shrinkwrap": null,
- "bin": null,
- "_id": "@microsoft.azure/autorest.modeler@2.3.38",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.38\\node_modules\\@microsoft.azure\\autorest.modeler",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.38\\node_modules\\@microsoft.azure\\autorest.modeler",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.38\\node_modules\\@microsoft.azure\\autorest.modeler",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.38\\node_modules\\@microsoft.azure\\autorest.modeler"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest.modeler",
- "version": "2.3.44",
- "dependencies": {
- "dotnet-2.0.0": "^1.4.4"
- },
- "optionalDependencies": {},
- "devDependencies": {
- "@microsoft.azure/autorest.testserver": "2.3.17",
- "autorest": "^2.0.4225",
- "coffee-script": "^1.11.1",
- "dotnet-sdk-2.0.0": "^1.4.4",
- "gulp": "^3.9.1",
- "gulp-filter": "^5.0.0",
- "gulp-line-ending-corrector": "^1.0.1",
- "iced-coffee-script": "^108.0.11",
- "marked": "^0.3.6",
- "marked-terminal": "^2.0.0",
- "moment": "^2.17.1",
- "run-sequence": "*",
- "shx": "^0.2.2",
- "through2-parallel": "^0.1.3",
- "yargs": "^8.0.2",
- "yarn": "^1.0.2"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.44/node_modules/@microsoft.azure/autorest.modeler",
- "_shasum": "9b5a880a77467be33a77f002f03230d3ccc21266",
- "_shrinkwrap": null,
- "bin": null,
- "_id": "@microsoft.azure/autorest.modeler@2.3.44",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.44/node_modules/@microsoft.azure/autorest.modeler",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.44\\node_modules\\@microsoft.azure\\autorest.modeler",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.44\\node_modules\\@microsoft.azure\\autorest.modeler",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.44/node_modules/@microsoft.azure/autorest.modeler",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.modeler@2.3.44/node_modules/@microsoft.azure/autorest.modeler"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.44\\node_modules\\@microsoft.azure\\autorest.modeler",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.modeler@2.3.44\\node_modules\\@microsoft.azure\\autorest.modeler"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- },
- {
- "resolvedInfo": null,
- "packageMetadata": {
- "name": "@microsoft.azure/autorest.python",
- "version": "2.1.34",
- "dependencies": {
- "dotnet-2.0.0": "^1.4.4"
- },
- "optionalDependencies": {},
- "devDependencies": {
- "@microsoft.azure/autorest.testserver": "^2.3.13",
- "autorest": "^2.0.4203",
- "coffee-script": "^1.11.1",
- "dotnet-sdk-2.0.0": "^1.4.4",
- "gulp": "^3.9.1",
- "gulp-filter": "^5.0.0",
- "gulp-line-ending-corrector": "^1.0.1",
- "iced-coffee-script": "^108.0.11",
- "marked": "^0.3.6",
- "marked-terminal": "^2.0.0",
- "moment": "^2.17.1",
- "run-sequence": "*",
- "shx": "^0.2.2",
- "through2-parallel": "^0.1.3",
- "yargs": "^8.0.2",
- "yarn": "^1.0.2"
- },
- "bundleDependencies": false,
- "peerDependencies": {},
- "deprecated": false,
- "_resolved": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.python@2.1.34/node_modules/@microsoft.azure/autorest.python",
- "_shasum": "b58d7e0542e081cf410fdbcdf8c14acf9cee16a7",
- "_shrinkwrap": null,
- "bin": null,
- "_id": "@microsoft.azure/autorest.python@2.1.34",
- "_from": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.python@2.1.34/node_modules/@microsoft.azure/autorest.python",
- "_requested": {
- "type": "directory",
- "where": "C:\\Users\\lmazuel\\Git\\swagger-to-sdk",
- "raw": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.python@2.1.34\\node_modules\\@microsoft.azure\\autorest.python",
- "rawSpec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.python@2.1.34\\node_modules\\@microsoft.azure\\autorest.python",
- "saveSpec": "file:C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.python@2.1.34/node_modules/@microsoft.azure/autorest.python",
- "fetchSpec": "C:/Users/lmazuel/.autorest/@microsoft.azure_autorest.python@2.1.34/node_modules/@microsoft.azure/autorest.python"
- },
- "_spec": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.python@2.1.34\\node_modules\\@microsoft.azure\\autorest.python",
- "_where": "C:\\Users\\lmazuel\\.autorest\\@microsoft.azure_autorest.python@2.1.34\\node_modules\\@microsoft.azure\\autorest.python"
- },
- "extensionManager": {
- "installationPath": "C:\\Users\\lmazuel\\.autorest",
- "sharedLock": {
- "name": "C:\\Users\\lmazuel\\.autorest",
- "exclusiveLock": {
- "name": "C__Users_lmazuel_.autorest.exclusive-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.exclusive-lock",
- "exclusive": true
- }
- },
- "busyLock": {
- "name": "C__Users_lmazuel_.autorest.busy-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.busy-lock",
- "exclusive": true
- }
- },
- "personalLock": {
- "name": "C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "pipe": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "options": {
- "path": "\\\\.\\pipe\\C__Users_lmazuel_.autorest.6465.984699645084.personal-lock",
- "exclusive": true
- }
- },
- "file": "C:\\Users\\lmazuel\\AppData\\Local\\Temp/C__Users_lmazuel_.autorest.lock"
- },
- "dotnetPath": "C:\\Users\\lmazuel\\.dotnet"
- },
- "installationPath": "C:\\Users\\lmazuel\\.autorest"
- }
- ],
- "autorest_bootstrap": {
- "dependencies": {
- "autorest": {
- "version": "2.0.4215",
- "from": "autorest",
- "resolved": "https://registry.npmjs.org/autorest/-/autorest-2.0.4215.tgz"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/azure-mgmt-compute/tests/recordings/test_mgmt_managed_disks.test_grant_access.yaml b/azure-mgmt-compute/tests/recordings/test_mgmt_managed_disks.test_grant_access.yaml
new file mode 100644
index 000000000000..35800a9f79e2
--- /dev/null
+++ b/azure-mgmt-compute/tests/recordings/test_mgmt_managed_disks.test_grant_access.yaml
@@ -0,0 +1,191 @@
+interactions:
+- request:
+ body: '{"location": "westus", "properties": {"creationData": {"createOption":
+ "Empty"}, "diskSizeGB": 20}}'
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ Content-Length: ['99']
+ Content-Type: [application/json; charset=utf-8]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ accept-language: [en-US]
+ method: PUT
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_grant_access609310b8/providers/Microsoft.Compute/disks/my_disk_name?api-version=2018-06-01
+ response:
+ body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"\
+ tier\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"creationData\"\
+ : {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\":\
+ \ 20,\r\n \"provisioningState\": \"Updating\",\r\n \"isArmResource\"\
+ : true,\r\n \"faultDomain\": 0\r\n },\r\n \"location\": \"westus\",\r\
+ \n \"name\": \"my_disk_name\"\r\n}"}
+ headers:
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/7db72277-5593-47a1-9052-2abfb61c958d?api-version=2018-06-01']
+ cache-control: [no-cache]
+ content-length: ['324']
+ content-type: [application/json; charset=utf-8]
+ date: ['Tue, 25 Sep 2018 18:27:19 GMT']
+ expires: ['-1']
+ location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/7db72277-5593-47a1-9052-2abfb61c958d?monitor=true&api-version=2018-06-01']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;3998']
+ x-ms-ratelimit-remaining-subscription-writes: ['1199']
+ status: {code: 202, message: Accepted}
+- request:
+ body: null
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/7db72277-5593-47a1-9052-2abfb61c958d?api-version=2018-06-01
+ response:
+ body: {string: "{\r\n \"startTime\": \"2018-09-25T18:27:19.9691669+00:00\",\r\
+ \n \"endTime\": \"2018-09-25T18:27:20.1254636+00:00\",\r\n \"status\": \"\
+ Succeeded\",\r\n \"properties\": {\r\n \"output\": {\"sku\":{\"name\"\
+ :\"Standard_LRS\",\"tier\":\"Standard\"},\"properties\":{\"creationData\"\
+ :{\"createOption\":\"Empty\"},\"diskSizeGB\":20,\"timeCreated\":\"2018-09-25T18:23:01.8100645+00:00\"\
+ ,\"provisioningState\":\"Succeeded\",\"diskState\":\"ActiveSAS\"},\"type\"\
+ :\"Microsoft.Compute/disks\",\"location\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_grant_access609310b8/providers/Microsoft.Compute/disks/my_disk_name\"\
+ ,\"name\":\"my_disk_name\"}\r\n },\r\n \"name\": \"7db72277-5593-47a1-9052-2abfb61c958d\"\
+ \r\n}"}
+ headers:
+ cache-control: [no-cache]
+ content-length: ['697']
+ content-type: [application/json; charset=utf-8]
+ date: ['Tue, 25 Sep 2018 18:27:50 GMT']
+ expires: ['-1']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;249993']
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_grant_access609310b8/providers/Microsoft.Compute/disks/my_disk_name?api-version=2018-06-01
+ response:
+ body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"\
+ tier\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"creationData\"\
+ : {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\":\
+ \ 20,\r\n \"timeCreated\": \"2018-09-25T18:23:01.8100645+00:00\",\r\n \
+ \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"ActiveSAS\"\
+ \r\n },\r\n \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"\
+ westus\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_grant_access609310b8/providers/Microsoft.Compute/disks/my_disk_name\"\
+ ,\r\n \"name\": \"my_disk_name\"\r\n}"}
+ headers:
+ cache-control: [no-cache]
+ content-length: ['576']
+ content-type: [application/json; charset=utf-8]
+ date: ['Tue, 25 Sep 2018 18:27:51 GMT']
+ expires: ['-1']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;19994']
+ status: {code: 200, message: OK}
+- request:
+ body: '{"access": "Read", "durationInSeconds": 1}'
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ Content-Length: ['42']
+ Content-Type: [application/json; charset=utf-8]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ accept-language: [en-US]
+ method: POST
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_managed_disks_test_grant_access609310b8/providers/Microsoft.Compute/disks/my_disk_name/beginGetAccess?api-version=2018-06-01
+ response:
+ body: {string: ''}
+ headers:
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/993880d3-35d5-4d69-95a1-e41256ac1613?api-version=2018-06-01']
+ cache-control: [no-cache]
+ content-length: ['0']
+ date: ['Tue, 25 Sep 2018 18:27:51 GMT']
+ expires: ['-1']
+ location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/993880d3-35d5-4d69-95a1-e41256ac1613?monitor=true&api-version=2018-06-01']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/HighCostDiskHydrate3Min;999,Microsoft.Compute/HighCostDiskHydrate30Min;4998']
+ x-ms-ratelimit-remaining-subscription-writes: ['1199']
+ status: {code: 202, message: Accepted}
+- request:
+ body: null
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/993880d3-35d5-4d69-95a1-e41256ac1613?api-version=2018-06-01
+ response:
+ body: {string: "{\r\n \"startTime\": \"2018-09-25T18:27:51.654499+00:00\",\r\n\
+ \ \"endTime\": \"2018-09-25T18:27:51.8264577+00:00\",\r\n \"status\": \"\
+ Succeeded\",\r\n \"properties\": {\r\n \"output\": {\r\n \"accessSAS\"\
+ : \"https://md-vdd32wngvswn.blob.core.windows.net/xxggg2fjdrc0/abcd?sv=2017-04-17&sr=b&si=65f2b00c-36ab-4483-928b-cef4b46bbffa&sig=TFnp%2BE69nqvjmIf%2Bpi9dX8cIiHQ9nxeDmIioKslwxvs%3D\"\
+ \r\n}\r\n },\r\n \"name\": \"993880d3-35d5-4d69-95a1-e41256ac1613\"\r\n}"}
+ headers:
+ cache-control: [no-cache]
+ content-length: ['424']
+ content-type: [application/json; charset=utf-8]
+ date: ['Tue, 25 Sep 2018 18:28:22 GMT']
+ expires: ['-1']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;249991']
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers:
+ Accept: [application/json]
+ Accept-Encoding: ['gzip, deflate']
+ Connection: [keep-alive]
+ User-Agent: [python/3.6.3 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5
+ msrest_azure/0.4.34 computemanagementclient/4.1.0 Azure-SDK-For-Python]
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/993880d3-35d5-4d69-95a1-e41256ac1613?monitor=true&api-version=2018-06-01
+ response:
+ body: {string: "{\r\n \"accessSAS\": \"https://md-vdd32wngvswn.blob.core.windows.net/xxggg2fjdrc0/abcd?sv=2017-04-17&sr=b&si=65f2b00c-36ab-4483-928b-cef4b46bbffa&sig=TFnp%2BE69nqvjmIf%2Bpi9dX8cIiHQ9nxeDmIioKslwxvs%3D\"\
+ \r\n}"}
+ headers:
+ cache-control: [no-cache]
+ content-length: ['200']
+ content-type: [application/json; charset=utf-8]
+ date: ['Tue, 25 Sep 2018 18:28:22 GMT']
+ expires: ['-1']
+ pragma: [no-cache]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
+ strict-transport-security: [max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ x-content-type-options: [nosniff]
+ x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;249990']
+ status: {code: 200, message: OK}
+version: 1
diff --git a/azure-mgmt-compute/tests/test_mgmt_managed_disks.py b/azure-mgmt-compute/tests/test_mgmt_managed_disks.py
index a1620e326c36..5ab211faee67 100644
--- a/azure-mgmt-compute/tests/test_mgmt_managed_disks.py
+++ b/azure-mgmt-compute/tests/test_mgmt_managed_disks.py
@@ -54,6 +54,33 @@ def test_empty_md(self, resource_group, location):
)
disk_resource = async_creation.result()
+ @ResourceGroupPreparer()
+ def test_grant_access(self, resource_group, location):
+ '''Create an empty Managed Disk.'''
+ DiskCreateOption = self.compute_client.disks.models.DiskCreateOption
+
+ async_creation = self.compute_client.disks.create_or_update(
+ resource_group.name,
+ 'my_disk_name',
+ {
+ 'location': location,
+ 'disk_size_gb': 20,
+ 'creation_data': {
+ 'create_option': DiskCreateOption.empty
+ }
+ }
+ )
+ disk_resource = async_creation.result()
+
+ grant_access_poller = self.compute_client.disks.grant_access(
+ resource_group.name,
+ 'my_disk_name',
+ 'Read',
+ '1',
+ )
+ access_uri = grant_access_poller.result()
+ assert access_uri.access_sas is not None
+
@ResourceGroupPreparer()
def test_md_from_storage_blob(self, resource_group, location):
'''Create a Managed Disk from Blob Storage.'''
@@ -334,7 +361,7 @@ def test_create_virtual_machine_scale_set(self, resource_group, location):
'name': naming_infix + 'ipconfig',
'subnet': {
'id': subnet_id
- }
+ }
}]
}]
}