Skip to content

Commit 50d887a

Browse files
[AutoRelease] t2-dashboard-2022-04-13-16132 (Azure#23968)
* code and test * Update CHANGELOG.md * Update _version.py * Update CHANGELOG.md Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Jiefeng Chen <[email protected]>
1 parent 2e55907 commit 50d887a

File tree

6 files changed

+15
-9
lines changed

6 files changed

+15
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 1.0.0b2 (2022-04-13)
4+
5+
**Features**
6+
7+
- Add a default value to base_url in DashboardManagementClient
8+
39
## 1.0.0b1 (2022-04-07)
410

511
* Initial Release

sdk/dashboard/azure-mgmt-dashboard/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "028cb20e0e2e6adc55caf531676be97c2e8ba460",
7+
"commit": "36bc7d26fddfaae6ec4f8fda127a5767d27efdd3",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/dashboard/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/dashboard/resource-manager/readme.md"

sdk/dashboard/azure-mgmt-dashboard/azure/mgmt/dashboard/_dashboard_management_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class DashboardManagementClient:
3333
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure
3434
subscription. The subscription ID forms part of the URI for every service call.
3535
:type subscription_id: str
36-
:param base_url: Service URL. Default value is ''.
36+
:param base_url: Service URL. Default value is 'https://management.azure.com'.
3737
:type base_url: str
3838
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
3939
Retry-After header is present.
@@ -43,7 +43,7 @@ def __init__(
4343
self,
4444
credential: "TokenCredential",
4545
subscription_id: str,
46-
base_url: str = "",
46+
base_url: str = "https://management.azure.com",
4747
**kwargs: Any
4848
) -> None:
4949
self._config = DashboardManagementClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs)

sdk/dashboard/azure-mgmt-dashboard/azure/mgmt/dashboard/_metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "DashboardManagementClient",
66
"filename": "_dashboard_management_client",
77
"description": "The Microsoft.Dashboard Rest API spec.",
8-
"host_value": "\"\"",
8+
"host_value": "\"https://management.azure.com\"",
99
"parameterized_host_template": null,
1010
"azure_arm": true,
1111
"has_lro_operations": true,
@@ -54,7 +54,7 @@
5454
"required": false
5555
},
5656
"base_url": {
57-
"signature": "base_url=\"\", # type: str",
57+
"signature": "base_url=\"https://management.azure.com\", # type: str",
5858
"description": "Service URL",
5959
"docstring_type": "str",
6060
"required": false
@@ -74,7 +74,7 @@
7474
"required": false
7575
},
7676
"base_url": {
77-
"signature": "base_url: str = \"\",",
77+
"signature": "base_url: str = \"https://management.azure.com\",",
7878
"description": "Service URL",
7979
"docstring_type": "str",
8080
"required": false

sdk/dashboard/azure-mgmt-dashboard/azure/mgmt/dashboard/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b1"
9+
VERSION = "1.0.0b2"

sdk/dashboard/azure-mgmt-dashboard/azure/mgmt/dashboard/aio/_dashboard_management_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class DashboardManagementClient:
3333
:param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure
3434
subscription. The subscription ID forms part of the URI for every service call.
3535
:type subscription_id: str
36-
:param base_url: Service URL. Default value is ''.
36+
:param base_url: Service URL. Default value is 'https://management.azure.com'.
3737
:type base_url: str
3838
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
3939
Retry-After header is present.
@@ -43,7 +43,7 @@ def __init__(
4343
self,
4444
credential: "AsyncTokenCredential",
4545
subscription_id: str,
46-
base_url: str = "",
46+
base_url: str = "https://management.azure.com",
4747
**kwargs: Any
4848
) -> None:
4949
self._config = DashboardManagementClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs)

0 commit comments

Comments
 (0)