From 6d3fafa2d5c37bc483159bcbe78c4b36c1f01cc1 Mon Sep 17 00:00:00 2001 From: Yuwei Zhou Date: Fri, 5 Jan 2018 00:23:15 +0800 Subject: [PATCH] upgrade the azure storage version (#34442) --- lib/ansible/module_utils/azure_rm_common.py | 2 +- packaging/requirements/requirements-azure.txt | 2 +- test/runner/requirements/integration.cloud.azure.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/module_utils/azure_rm_common.py b/lib/ansible/module_utils/azure_rm_common.py index a8356679706..dcc9d312b71 100644 --- a/lib/ansible/module_utils/azure_rm_common.py +++ b/lib/ansible/module_utils/azure_rm_common.py @@ -750,7 +750,7 @@ class AzureRMModuleBase(object): if not self._storage_client: self._storage_client = self.get_mgmt_svc_client(StorageManagementClient, base_url=self._cloud_environment.endpoints.resource_manager, - api_version='2017-06-01') + api_version='2017-10-01') return self._storage_client @property diff --git a/packaging/requirements/requirements-azure.txt b/packaging/requirements/requirements-azure.txt index 2e4135b0fac..96a2ea03450 100644 --- a/packaging/requirements/requirements-azure.txt +++ b/packaging/requirements/requirements-azure.txt @@ -2,7 +2,7 @@ packaging requests[security] azure-mgmt-compute>=2.0.0,<3 azure-mgmt-network>=1.3.0,<2 -azure-mgmt-storage>=1.2.0,<2 +azure-mgmt-storage>=1.5.0,<2 azure-mgmt-resource>=1.1.0,<2 azure-storage>=0.35.1,<0.36 azure-cli-core>=2.0.12,<3 diff --git a/test/runner/requirements/integration.cloud.azure.txt b/test/runner/requirements/integration.cloud.azure.txt index 2e4135b0fac..96a2ea03450 100644 --- a/test/runner/requirements/integration.cloud.azure.txt +++ b/test/runner/requirements/integration.cloud.azure.txt @@ -2,7 +2,7 @@ packaging requests[security] azure-mgmt-compute>=2.0.0,<3 azure-mgmt-network>=1.3.0,<2 -azure-mgmt-storage>=1.2.0,<2 +azure-mgmt-storage>=1.5.0,<2 azure-mgmt-resource>=1.1.0,<2 azure-storage>=0.35.1,<0.36 azure-cli-core>=2.0.12,<3