Skip to content

[AutoPR] compute/resource-manager #2982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 13, 2018
19 changes: 19 additions & 0 deletions azure-mgmt-compute/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
Release History
===============

4.1.0 (2018-09-12)
++++++++++++++++++

2018-06-01 for 'disks' and 'snapshots' (new default)

**Features**

- Model DiskUpdate has a new parameter disk_iops_read_write
- Model DiskUpdate has a new parameter disk_mbps_read_write
- Model VirtualMachineUpdate has a new parameter additional_capabilities (ultraSSDEnabled attribute)
- Model VirtualMachineScaleSetVM has a new parameter additional_capabilities (ultraSSDEnabled attribute)
- Model VirtualMachineScaleSetPublicIPAddressConfiguration has a new parameter public_ip_prefix
- Model Disk has a new parameter disk_iops_read_write
- Model Disk has a new parameter disk_mbps_read_write
- Model VirtualMachineScaleSetVMProfile has a new parameter additional_capabilities (ultraSSDEnabled attribute)
- Model VirtualMachine has a new parameter additional_capabilities (ultraSSDEnabled attribute)
- Added operation VirtualMachineScaleSetRollingUpgradesOperations.start_extension_upgrade
- New enum value UltraSSD_LRS for StorageAccountTypes

4.0.1 (2018-07-23)
++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-compute/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure Compute Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ class ComputeManagementClient(MultiApiClientMixin, SDKClient):
_PROFILE_TAG = "azure.mgmt.compute.ComputeManagementClient"
LATEST_PROFILE = ProfileDefinition({
_PROFILE_TAG: {
'disks': '2018-04-01',
'resource_skus': '2017-09-01',
'snapshots': '2018-04-01',
None: DEFAULT_API_VERSION
}},
_PROFILE_TAG + " latest"
Expand Down Expand Up @@ -145,7 +143,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
from .v2018_06_01 import models
return models
raise NotImplementedError("APIVersion {} is not available".format(api_version))

@property
def availability_sets(self):
"""Instance depends on the API version:
Expand Down Expand Up @@ -184,6 +182,7 @@ def disks(self):
* 2016-04-30-preview: :class:`DisksOperations<azure.mgmt.compute.v2016_04_30_preview.operations.DisksOperations>`
* 2017-03-30: :class:`DisksOperations<azure.mgmt.compute.v2017_03_30.operations.DisksOperations>`
* 2018-04-01: :class:`DisksOperations<azure.mgmt.compute.v2018_04_01.operations.DisksOperations>`
* 2018-06-01: :class:`DisksOperations<azure.mgmt.compute.v2018_06_01.operations.DisksOperations>`
"""
api_version = self._get_api_version('disks')
if api_version == '2016-04-30-preview':
Expand All @@ -192,6 +191,8 @@ def disks(self):
from .v2017_03_30.operations import DisksOperations as OperationClass
elif api_version == '2018-04-01':
from .v2018_04_01.operations import DisksOperations as OperationClass
elif api_version == '2018-06-01':
from .v2018_06_01.operations import DisksOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down Expand Up @@ -321,6 +322,7 @@ def snapshots(self):
* 2016-04-30-preview: :class:`SnapshotsOperations<azure.mgmt.compute.v2016_04_30_preview.operations.SnapshotsOperations>`
* 2017-03-30: :class:`SnapshotsOperations<azure.mgmt.compute.v2017_03_30.operations.SnapshotsOperations>`
* 2018-04-01: :class:`SnapshotsOperations<azure.mgmt.compute.v2018_04_01.operations.SnapshotsOperations>`
* 2018-06-01: :class:`SnapshotsOperations<azure.mgmt.compute.v2018_06_01.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
if api_version == '2016-04-30-preview':
Expand All @@ -329,6 +331,8 @@ def snapshots(self):
from .v2017_03_30.operations import SnapshotsOperations as OperationClass
elif api_version == '2018-04-01':
from .v2018_04_01.operations import SnapshotsOperations as OperationClass
elif api_version == '2018-06-01':
from .v2018_06_01.operations import SnapshotsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down
1 change: 0 additions & 1 deletion azure-mgmt-compute/azure/mgmt/compute/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import warnings

from .v2017_09_01.models import *
from .v2018_04_01.models import *
from .v2018_06_01.models import * # Note that this line is overriding some models of 2018-04-01. See link below for details.

warnings.warn("Import models from this file is deprecated. See https://aka.ms/pysdkmodels",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class VirtualMachineScaleSetDataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class VirtualMachineScaleSetDataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OSDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class VirtualMachineScaleSetDataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class VirtualMachineScaleSetDataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_03_30.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
from .virtual_machine_identity_py3 import VirtualMachineIdentity
from .maintenance_redeploy_status_py3 import MaintenanceRedeployStatus
from .virtual_machine_instance_view_py3 import VirtualMachineInstanceView
from .virtual_machine_health_status_py3 import VirtualMachineHealthStatus
from .virtual_machine_scale_set_vm_instance_view_py3 import VirtualMachineScaleSetVMInstanceView
from .virtual_machine_py3 import VirtualMachine
from .virtual_machine_update_py3 import VirtualMachineUpdate
from .auto_os_upgrade_policy_py3 import AutoOSUpgradePolicy
Expand Down Expand Up @@ -117,6 +115,8 @@
from .rolling_upgrade_progress_info_py3 import RollingUpgradeProgressInfo
from .upgrade_operation_historical_status_info_properties_py3 import UpgradeOperationHistoricalStatusInfoProperties
from .upgrade_operation_historical_status_info_py3 import UpgradeOperationHistoricalStatusInfo
from .virtual_machine_health_status_py3 import VirtualMachineHealthStatus
from .virtual_machine_scale_set_vm_instance_view_py3 import VirtualMachineScaleSetVMInstanceView
from .virtual_machine_scale_set_vm_py3 import VirtualMachineScaleSetVM
from .rolling_upgrade_running_status_py3 import RollingUpgradeRunningStatus
from .rolling_upgrade_status_info_py3 import RollingUpgradeStatusInfo
Expand Down Expand Up @@ -191,8 +191,6 @@
from .virtual_machine_identity import VirtualMachineIdentity
from .maintenance_redeploy_status import MaintenanceRedeployStatus
from .virtual_machine_instance_view import VirtualMachineInstanceView
from .virtual_machine_health_status import VirtualMachineHealthStatus
from .virtual_machine_scale_set_vm_instance_view import VirtualMachineScaleSetVMInstanceView
from .virtual_machine import VirtualMachine
from .virtual_machine_update import VirtualMachineUpdate
from .auto_os_upgrade_policy import AutoOSUpgradePolicy
Expand Down Expand Up @@ -245,6 +243,8 @@
from .rolling_upgrade_progress_info import RollingUpgradeProgressInfo
from .upgrade_operation_historical_status_info_properties import UpgradeOperationHistoricalStatusInfoProperties
from .upgrade_operation_historical_status_info import UpgradeOperationHistoricalStatusInfo
from .virtual_machine_health_status import VirtualMachineHealthStatus
from .virtual_machine_scale_set_vm_instance_view import VirtualMachineScaleSetVMInstanceView
from .virtual_machine_scale_set_vm import VirtualMachineScaleSetVM
from .rolling_upgrade_running_status import RollingUpgradeRunningStatus
from .rolling_upgrade_status_info import RollingUpgradeStatusInfo
Expand Down Expand Up @@ -358,8 +358,6 @@
'VirtualMachineIdentity',
'MaintenanceRedeployStatus',
'VirtualMachineInstanceView',
'VirtualMachineHealthStatus',
'VirtualMachineScaleSetVMInstanceView',
'VirtualMachine',
'VirtualMachineUpdate',
'AutoOSUpgradePolicy',
Expand Down Expand Up @@ -412,6 +410,8 @@
'RollingUpgradeProgressInfo',
'UpgradeOperationHistoricalStatusInfoProperties',
'UpgradeOperationHistoricalStatusInfo',
'VirtualMachineHealthStatus',
'VirtualMachineScaleSetVMInstanceView',
'VirtualMachineScaleSetVM',
'RollingUpgradeRunningStatus',
'RollingUpgradeStatusInfo',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DataDisk(Model):
:type create_option: str or
~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
gigabytes. This element can be used to overwrite the size of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
Expand Down
Loading