From 581257281ccd6ea012a51d7dbeac943bf3c8e66e Mon Sep 17 00:00:00 2001 From: Vishnu Priya Ananthu Sundaram Date: Thu, 6 Sep 2018 15:50:55 -0700 Subject: [PATCH 1/3] Add new profile 2018-03-01-hybrid --- azure-common/azure/profiles/__init__.py | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/azure-common/azure/profiles/__init__.py b/azure-common/azure/profiles/__init__.py index 9a8b695d7f25..ad089093c6f3 100644 --- a/azure-common/azure/profiles/__init__.py +++ b/azure-common/azure/profiles/__init__.py @@ -108,6 +108,45 @@ class KnownProfiles(Enum): }, "2017-03-09-profile" ) + v2018_03_01_hybrid = ProfileDefinition( + { + "azure.keyvault.KeyVaultClient":{ + None: "2016-10-01" + }, + "azure.mgmt.authorization.AuthorizationManagementClient": { + None: "2015-07-01" + }, + "azure.mgmt.compute.ComputeManagementClient": { + None: "2017-03-30" + }, + "azure.mgmt.keyvault.KeyVaultManagementClient":{ + None: "2016-10-01" + }, + "azure.mgmt.network.NetworkManagementClient": { + None: "2017-10-01" + }, + "azure.mgmt.storage.StorageManagementClient": { + None: "2016-01-01" + }, + "azure.mgmt.resource.policy.PolicyClient": { + None: "2016-12-01" + }, + "azure.mgmt.resource.locks.ManagementLockClient": { + None: "2016-09-01" + }, + "azure.mgmt.resource.links.ManagementLinkClient": { + None: "2016-09-01" + }, + "azure.mgmt.resource.resources.ResourceManagementClient": { + None: "2018-02-01" + }, + "azure.mgmt.resource.subscriptions.SubscriptionClient": { + None: "2016-06-01" + } + }, + "2018-03-01-hybrid" + ) + def __init__(self, profile_definition): self._profile_definition = profile_definition From 18e086b773404a2ecff33457be9fc2d9a6eddd7c Mon Sep 17 00:00:00 2001 From: Vishnu Priya Ananthu Sundaram Date: Fri, 7 Sep 2018 16:21:38 -0700 Subject: [PATCH 2/3] Add Dns, storage-data, cosmosdb modules --- azure-common/azure/profiles/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-common/azure/profiles/__init__.py b/azure-common/azure/profiles/__init__.py index ad089093c6f3..a476683daedc 100644 --- a/azure-common/azure/profiles/__init__.py +++ b/azure-common/azure/profiles/__init__.py @@ -142,6 +142,15 @@ class KnownProfiles(Enum): }, "azure.mgmt.resource.subscriptions.SubscriptionClient": { None: "2016-06-01" + }, + "azure.mgmt.dns": { + None: "2016-04-01" + }, + "azure.multiapi.storage": { + None: "2017-04-17" + }, + "azure.multiapi.cosmosdb": { + None: "2017-04-17" } }, "2018-03-01-hybrid" From 9e8049667f6b020f44b28b18513c6463a8308c58 Mon Sep 17 00:00:00 2001 From: Vishnu Priya Ananthu Sundaram Date: Mon, 10 Sep 2018 13:27:08 -0700 Subject: [PATCH 3/3] Removed multiapi.storage and cosmosdb packages from 2018-profile --- azure-common/azure/profiles/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/azure-common/azure/profiles/__init__.py b/azure-common/azure/profiles/__init__.py index a476683daedc..f62de5970766 100644 --- a/azure-common/azure/profiles/__init__.py +++ b/azure-common/azure/profiles/__init__.py @@ -145,12 +145,6 @@ class KnownProfiles(Enum): }, "azure.mgmt.dns": { None: "2016-04-01" - }, - "azure.multiapi.storage": { - None: "2017-04-17" - }, - "azure.multiapi.cosmosdb": { - None: "2017-04-17" } }, "2018-03-01-hybrid"