From f08eae190502ee06afea4a39bea6550ddc07803d Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 10 Jul 2019 11:47:30 +0000 Subject: [PATCH 1/3] Generated from 05a8c502d49625f0fa6c779848e8996f53d4e6bb Update portal.json --- sdk/azure-mgmt/portal/__init__.py | 4 ++-- sdk/azure-mgmt/portal/portal_client.py | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/azure-mgmt/portal/__init__.py b/sdk/azure-mgmt/portal/__init__.py index 03d9e94ea57d..aa75d27d45e9 100644 --- a/sdk/azure-mgmt/portal/__init__.py +++ b/sdk/azure-mgmt/portal/__init__.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .portal_client import portalClient +from .portal_client import PortalClient from .version import VERSION -__all__ = ['portalClient'] +__all__ = ['PortalClient'] __version__ = VERSION diff --git a/sdk/azure-mgmt/portal/portal_client.py b/sdk/azure-mgmt/portal/portal_client.py index d45993baafc2..b7211dfa8fca 100644 --- a/sdk/azure-mgmt/portal/portal_client.py +++ b/sdk/azure-mgmt/portal/portal_client.py @@ -18,8 +18,8 @@ from . import models -class portalClientConfiguration(AzureConfiguration): - """Configuration for portalClient +class PortalClientConfiguration(AzureConfiguration): + """Configuration for PortalClient Note that all parameters used to create this instance are saved as instance attributes. @@ -42,7 +42,7 @@ def __init__( if not base_url: base_url = 'https://management.azure.com' - super(portalClientConfiguration, self).__init__(base_url) + super(PortalClientConfiguration, self).__init__(base_url) self.add_user_agent('portal/{}'.format(VERSION)) self.add_user_agent('Azure-SDK-For-Python') @@ -51,11 +51,11 @@ def __init__( self.subscription_id = subscription_id -class portalClient(SDKClient): +class PortalClient(SDKClient): """Allows creation and deletion of Azure Shared Dashboards. :ivar config: Configuration for client. - :vartype config: portalClientConfiguration + :vartype config: PortalClientConfiguration :ivar operations: Operations operations :vartype operations: microsoft.portal.operations.Operations @@ -74,8 +74,8 @@ class portalClient(SDKClient): def __init__( self, credentials, subscription_id, base_url=None): - self.config = portalClientConfiguration(credentials, subscription_id, base_url) - super(portalClient, self).__init__(self.config.credentials, self.config) + self.config = PortalClientConfiguration(credentials, subscription_id, base_url) + super(PortalClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self.api_version = '2015-11-01-preview' From 0f9910dd921a29ae89bf4c6ebd2f25341f108d57 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 19 Jul 2019 08:10:26 +0000 Subject: [PATCH 2/3] Generated from f2d1d128166b29b8c4c01d8e4f2488fcbd7b6e19 Update portal.json --- sdk/azure-mgmt/portal/operations/dashboards_operations.py | 4 ++-- sdk/azure-mgmt/portal/operations/operations.py | 4 ++-- sdk/azure-mgmt/portal/portal_client.py | 2 +- sdk/azure-mgmt/portal/version.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/azure-mgmt/portal/operations/dashboards_operations.py b/sdk/azure-mgmt/portal/operations/dashboards_operations.py index aa44286bb803..ca1a108f4725 100644 --- a/sdk/azure-mgmt/portal/operations/dashboards_operations.py +++ b/sdk/azure-mgmt/portal/operations/dashboards_operations.py @@ -22,7 +22,7 @@ class DashboardsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-11-01-preview". + :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-08-01-preview". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2015-11-01-preview" + self.api_version = "2015-08-01-preview" self.config = config diff --git a/sdk/azure-mgmt/portal/operations/operations.py b/sdk/azure-mgmt/portal/operations/operations.py index b2345309640f..665e26c300f1 100644 --- a/sdk/azure-mgmt/portal/operations/operations.py +++ b/sdk/azure-mgmt/portal/operations/operations.py @@ -22,7 +22,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-11-01-preview". + :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-08-01-preview". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2015-11-01-preview" + self.api_version = "2015-08-01-preview" self.config = config diff --git a/sdk/azure-mgmt/portal/portal_client.py b/sdk/azure-mgmt/portal/portal_client.py index b7211dfa8fca..fa42afb2b129 100644 --- a/sdk/azure-mgmt/portal/portal_client.py +++ b/sdk/azure-mgmt/portal/portal_client.py @@ -78,7 +78,7 @@ def __init__( super(PortalClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2015-11-01-preview' + self.api_version = '2015-08-01-preview' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/azure-mgmt/portal/version.py b/sdk/azure-mgmt/portal/version.py index d5ac4dd14e3f..22ee9818a3e5 100644 --- a/sdk/azure-mgmt/portal/version.py +++ b/sdk/azure-mgmt/portal/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2015-11-01-preview" +VERSION = "2015-08-01-preview" From 3aa20dbf3ffcde5a3fdcac78964e8680e28c990f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 2 Aug 2019 05:57:26 +0000 Subject: [PATCH 3/3] Generated from f2d1d128166b29b8c4c01d8e4f2488fcbd7b6e19 Update portal.json --- sdk/azure-mgmt/portal/__init__.py | 4 ++-- .../portal/operations/dashboards_operations.py | 4 ++-- sdk/azure-mgmt/portal/operations/operations.py | 4 ++-- sdk/azure-mgmt/portal/portal_client.py | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sdk/azure-mgmt/portal/__init__.py b/sdk/azure-mgmt/portal/__init__.py index aa75d27d45e9..03d9e94ea57d 100644 --- a/sdk/azure-mgmt/portal/__init__.py +++ b/sdk/azure-mgmt/portal/__init__.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .portal_client import PortalClient +from .portal_client import portalClient from .version import VERSION -__all__ = ['PortalClient'] +__all__ = ['portalClient'] __version__ = VERSION diff --git a/sdk/azure-mgmt/portal/operations/dashboards_operations.py b/sdk/azure-mgmt/portal/operations/dashboards_operations.py index ca1a108f4725..2368780c66be 100644 --- a/sdk/azure-mgmt/portal/operations/dashboards_operations.py +++ b/sdk/azure-mgmt/portal/operations/dashboards_operations.py @@ -22,7 +22,7 @@ class DashboardsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-08-01-preview". + :ivar api_version: The API version to be used with the HTTP request. Constant value: "2019-01-01-preview". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2015-08-01-preview" + self.api_version = "2019-01-01-preview" self.config = config diff --git a/sdk/azure-mgmt/portal/operations/operations.py b/sdk/azure-mgmt/portal/operations/operations.py index 665e26c300f1..2c2178ee889d 100644 --- a/sdk/azure-mgmt/portal/operations/operations.py +++ b/sdk/azure-mgmt/portal/operations/operations.py @@ -22,7 +22,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version to be used with the HTTP request. Constant value: "2015-08-01-preview". + :ivar api_version: The API version to be used with the HTTP request. Constant value: "2019-01-01-preview". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2015-08-01-preview" + self.api_version = "2019-01-01-preview" self.config = config diff --git a/sdk/azure-mgmt/portal/portal_client.py b/sdk/azure-mgmt/portal/portal_client.py index fa42afb2b129..cdfe34057b05 100644 --- a/sdk/azure-mgmt/portal/portal_client.py +++ b/sdk/azure-mgmt/portal/portal_client.py @@ -18,8 +18,8 @@ from . import models -class PortalClientConfiguration(AzureConfiguration): - """Configuration for PortalClient +class portalClientConfiguration(AzureConfiguration): + """Configuration for portalClient Note that all parameters used to create this instance are saved as instance attributes. @@ -42,7 +42,7 @@ def __init__( if not base_url: base_url = 'https://management.azure.com' - super(PortalClientConfiguration, self).__init__(base_url) + super(portalClientConfiguration, self).__init__(base_url) self.add_user_agent('portal/{}'.format(VERSION)) self.add_user_agent('Azure-SDK-For-Python') @@ -51,11 +51,11 @@ def __init__( self.subscription_id = subscription_id -class PortalClient(SDKClient): +class portalClient(SDKClient): """Allows creation and deletion of Azure Shared Dashboards. :ivar config: Configuration for client. - :vartype config: PortalClientConfiguration + :vartype config: portalClientConfiguration :ivar operations: Operations operations :vartype operations: microsoft.portal.operations.Operations @@ -74,11 +74,11 @@ class PortalClient(SDKClient): def __init__( self, credentials, subscription_id, base_url=None): - self.config = PortalClientConfiguration(credentials, subscription_id, base_url) - super(PortalClient, self).__init__(self.config.credentials, self.config) + self.config = portalClientConfiguration(credentials, subscription_id, base_url) + super(portalClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2015-08-01-preview' + self.api_version = '2019-01-01-preview' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models)