Skip to content

Commit

Permalink
[AutoPR] compute/resource-manager (#2982)
Browse files Browse the repository at this point in the history
* Generated from e5a65ec23a4d0a2102a5a0f1a56ab71672e2730f (#2980)

Revert "updated description of sku name values (#3467)"

This reverts commit aa50b23.

* [AutoPR compute/resource-manager] [Compute] add zone and rolling upgrade. (#3148)

* Generated from 8f16e79b245d1c099de8ba5252eee3950d22f3c9

Update compute.json and disk.json for some issues and add zone and rolling upgrade.

* Generated from 88a505b7a2de9272891f77bbf24c4eeeb34aa0d2

Update compute.json and disk.json for some issues and add zone and rolling upgrade.

* Generated from ad08836a41b5c4ea212ffcd06af67ba8eb6a3fdb (#3195)

RDBug 13056055

Public documentation should be updated to reflect that VMSizesController.GetVMSizes api is deprecated

* Generated from 8741aed33b77989e144e30c2229e44db19aa1265 (#3223)

Added the replica count change.

* Generated from 8075c104d20105cdae5434e5d808f827dd9f19de (#3278)

Fix description for disk size

* Compute 4.1.0

* Packaging update of azure-mgmt-compute

* [AutoPR compute/resource-manager] Swagger spec for disk.json 2018-06 (#3310)

* Generated from f128ff0876f538e2cba5b92988bc54b3c041b623

Update readme.md

* Packaging update of azure-mgmt-compute

* Change default API

* Generated from c5cdad53036869893fca1fc5c7658a1dd85e3e59

deleting duplicates

* Fix tests

* ChangeLog
  • Loading branch information
AutorestCI authored and lmazuel committed Sep 13, 2018
1 parent 07a9108 commit 26b9b31
Show file tree
Hide file tree
Showing 142 changed files with 4,114 additions and 720 deletions.
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

0 comments on commit 26b9b31

Please sign in to comment.