Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
v-xuto committed Nov 19, 2021
1 parent 185b5e0 commit e5891f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(
**kwargs # type: Any
):
if not base_url:
base_url = 'https://management.azure.com'
base_url = 'https://management.chinacloudapi.cn'
self._config = EventHubManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
super(EventHubManagementClient, self).__init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.chinacloudapi.cn/.default'])
kwargs.setdefault('sdk_moniker', 'azure-mgmt-resource/{}'.format(VERSION))
self._configure(**kwargs)

Expand Down

0 comments on commit e5891f0

Please sign in to comment.