From 23f8e27f874767dd206973cf4a1b358c58ccb514 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 5 Nov 2018 11:21:48 -0800 Subject: [PATCH] [AutoPR] reservations/resource-manager (#3726) * [AutoPR reservations/resource-manager] Add new reserved resource type CosmosDb (#3177) * Generated from e35a2cd6d6d494556677a36fff18e4a3e6f4faaa Add new reserved resource type CosmosDb * Generated from 5401c4a8548e73bec9577c902035e056fbc8657d Reservations RP 2018-06-01: Add name property in Patch parameter. Remove auto generate Java SDK * Generated from e9bea317fb008ae36028d5900a56253fd6c8abb5 Reservation RP: Update python package version to 0.2.2 * Updated packaging setup * Bumped version + changelog * Updated setup.py * Packaging update of azure-mgmt-reservations * [AutoPR reservations/resource-manager] Reservations RP 2018-06-01 Preview: Add new reserved resource type RedHat (#3725) * Generated from 1502eaa09d37733a664e6dfbe14a2f3224f66bc8 Reservations RP 2018-06-01 Preview: Add new reserved resource type RedHat * Generated from ebf3ab084f69b5e9aeaeb0de1509c5963ca4d85c Update python version from 0.2.2 to 0.2.3 since this is a minor change * Packaging update of azure-mgmt-reservations * Generated from 07969ca3858ae7344a6528ec6bb2d6656c06f534 Update the python version * Packaging update of azure-mgmt-reservations * Update version.py * Update HISTORY.rst --- azure-mgmt-reservations/HISTORY.rst | 7 +++++++ azure-mgmt-reservations/MANIFEST.in | 3 +++ .../reservations/models/azure_reservation_api_enums.py | 1 + .../mgmt/reservations/models/reservation_properties.py | 2 +- .../mgmt/reservations/models/reservation_properties_py3.py | 2 +- azure-mgmt-reservations/azure/mgmt/reservations/version.py | 2 +- 6 files changed, 14 insertions(+), 3 deletions(-) diff --git a/azure-mgmt-reservations/HISTORY.rst b/azure-mgmt-reservations/HISTORY.rst index 62a9f6eacc50..16968c4f6bd1 100644 --- a/azure-mgmt-reservations/HISTORY.rst +++ b/azure-mgmt-reservations/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +0.3.1 (2018-11-05) +++++++++++++++++++ + +**Features** + +- Add redhat support + 0.3.0 (2018-08-22) ++++++++++++++++++ diff --git a/azure-mgmt-reservations/MANIFEST.in b/azure-mgmt-reservations/MANIFEST.in index bb37a2723dae..6ceb27f7a96e 100644 --- a/azure-mgmt-reservations/MANIFEST.in +++ b/azure-mgmt-reservations/MANIFEST.in @@ -1 +1,4 @@ include *.rst +include azure/__init__.py +include azure/mgmt/__init__.py + diff --git a/azure-mgmt-reservations/azure/mgmt/reservations/models/azure_reservation_api_enums.py b/azure-mgmt-reservations/azure/mgmt/reservations/models/azure_reservation_api_enums.py index a3062f5067d3..cd9c4cc4f785 100644 --- a/azure-mgmt-reservations/azure/mgmt/reservations/models/azure_reservation_api_enums.py +++ b/azure-mgmt-reservations/azure/mgmt/reservations/models/azure_reservation_api_enums.py @@ -96,6 +96,7 @@ class ReservedResourceType(str, Enum): sql_databases = "SqlDatabases" suse_linux = "SuseLinux" cosmos_db = "CosmosDb" + red_hat = "RedHat" class InstanceFlexibility(str, Enum): diff --git a/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties.py b/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties.py index b5d5bd4ebce6..bb93e99ecf3f 100644 --- a/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties.py +++ b/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties.py @@ -19,7 +19,7 @@ class ReservationProperties(Model): sending a request. :param reserved_resource_type: Possible values include: 'VirtualMachines', - 'SqlDatabases', 'SuseLinux', 'CosmosDb' + 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat' :type reserved_resource_type: str or ~azure.mgmt.reservations.models.ReservedResourceType :param instance_flexibility: Possible values include: 'On', 'Off', diff --git a/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties_py3.py b/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties_py3.py index cef413d8aa94..adefcbc965cf 100644 --- a/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties_py3.py +++ b/azure-mgmt-reservations/azure/mgmt/reservations/models/reservation_properties_py3.py @@ -19,7 +19,7 @@ class ReservationProperties(Model): sending a request. :param reserved_resource_type: Possible values include: 'VirtualMachines', - 'SqlDatabases', 'SuseLinux', 'CosmosDb' + 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat' :type reserved_resource_type: str or ~azure.mgmt.reservations.models.ReservedResourceType :param instance_flexibility: Possible values include: 'On', 'Off', diff --git a/azure-mgmt-reservations/azure/mgmt/reservations/version.py b/azure-mgmt-reservations/azure/mgmt/reservations/version.py index 3e682bbd5fb1..54fdd938c10a 100644 --- a/azure-mgmt-reservations/azure/mgmt/reservations/version.py +++ b/azure-mgmt-reservations/azure/mgmt/reservations/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.3.0" +VERSION = "0.3.1"