Skip to content

Commit

Permalink
Generated from 04cdcce14a32ec145c75f9bbec0d453247ad5db2 (#8836)
Browse files Browse the repository at this point in the history
undo configuration change which affects internal CI
  • Loading branch information
AutorestCI authored and Zim Kalinowski committed Dec 7, 2019
1 parent 96ee17f commit e4d5641
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,20 @@ class CosmosDBManagementClientConfiguration(AzureConfiguration):
object<msrestazure.azure_active_directory>`
:param subscription_id: Azure subscription ID.
:type subscription_id: str
:param subscription_id1: The ID of the target subscription.
:type subscription_id1: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):
self, credentials, subscription_id, subscription_id1, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if subscription_id1 is None:
raise ValueError("Parameter 'subscription_id1' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

Expand All @@ -46,3 +50,4 @@ def __init__(

self.credentials = credentials
self.subscription_id = subscription_id
self.subscription_id1 = subscription_id1
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ class CosmosDBManagementClient(SDKClient):
object<msrestazure.azure_active_directory>`
:param subscription_id: Azure subscription ID.
:type subscription_id: str
:param subscription_id1: The ID of the target subscription.
:type subscription_id1: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):
self, credentials, subscription_id, subscription_id1, base_url=None):

self.config = CosmosDBManagementClientConfiguration(credentials, subscription_id, base_url)
self.config = CosmosDBManagementClientConfiguration(credentials, subscription_id, subscription_id1, base_url)
super(CosmosDBManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
Expand Down

0 comments on commit e4d5641

Please sign in to comment.