Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent a25a803 commit 2599579
Show file tree
Hide file tree
Showing 23 changed files with 380 additions and 113 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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
try:
from ._models_py3 import ARMProxyResource
from ._models_py3 import ARMResourceProperties
from ._models_py3 import AutopilotSettingsResource
from ._models_py3 import AutoUpgradePolicyResource
from ._models_py3 import AzureEntityResource
from ._models_py3 import Capability
from ._models_py3 import CassandraKeyspaceCreateUpdateParameters
Expand All @@ -30,6 +32,7 @@
from ._models_py3 import ConflictResolutionPolicy
from ._models_py3 import ConsistencyPolicy
from ._models_py3 import ContainerPartitionKey
from ._models_py3 import CreateUpdateOptions
from ._models_py3 import DatabaseAccountConnectionString
from ._models_py3 import DatabaseAccountCreateUpdateParameters
from ._models_py3 import DatabaseAccountGetResults
Expand Down Expand Up @@ -109,6 +112,7 @@
from ._models_py3 import TableGetPropertiesResource
from ._models_py3 import TableGetResults
from ._models_py3 import TableResource
from ._models_py3 import ThroughputPolicyResource
from ._models_py3 import ThroughputSettingsGetPropertiesResource
from ._models_py3 import ThroughputSettingsGetResults
from ._models_py3 import ThroughputSettingsResource
Expand All @@ -121,6 +125,8 @@
except (SyntaxError, ImportError):
from ._models import ARMProxyResource
from ._models import ARMResourceProperties
from ._models import AutopilotSettingsResource
from ._models import AutoUpgradePolicyResource
from ._models import AzureEntityResource
from ._models import Capability
from ._models import CassandraKeyspaceCreateUpdateParameters
Expand All @@ -139,6 +145,7 @@
from ._models import ConflictResolutionPolicy
from ._models import ConsistencyPolicy
from ._models import ContainerPartitionKey
from ._models import CreateUpdateOptions
from ._models import DatabaseAccountConnectionString
from ._models import DatabaseAccountCreateUpdateParameters
from ._models import DatabaseAccountGetResults
Expand Down Expand Up @@ -218,6 +225,7 @@
from ._models import TableGetPropertiesResource
from ._models import TableGetResults
from ._models import TableResource
from ._models import ThroughputPolicyResource
from ._models import ThroughputSettingsGetPropertiesResource
from ._models import ThroughputSettingsGetResults
from ._models import ThroughputSettingsResource
Expand Down Expand Up @@ -271,6 +279,8 @@
__all__ = [
'ARMProxyResource',
'ARMResourceProperties',
'AutopilotSettingsResource',
'AutoUpgradePolicyResource',
'AzureEntityResource',
'Capability',
'CassandraKeyspaceCreateUpdateParameters',
Expand All @@ -289,6 +299,7 @@
'ConflictResolutionPolicy',
'ConsistencyPolicy',
'ContainerPartitionKey',
'CreateUpdateOptions',
'DatabaseAccountConnectionString',
'DatabaseAccountCreateUpdateParameters',
'DatabaseAccountGetResults',
Expand Down Expand Up @@ -368,6 +379,7 @@
'TableGetPropertiesResource',
'TableGetResults',
'TableResource',
'ThroughputPolicyResource',
'ThroughputSettingsGetPropertiesResource',
'ThroughputSettingsGetResults',
'ThroughputSettingsResource',
Expand Down
Loading

0 comments on commit 2599579

Please sign in to comment.