Skip to content

Commit 53aa8e7

Browse files
[AutoPR azure-mgmt-dashboard]-generated-from-SDK Generation - Python-5436592 (#43344)
* Configurations: 'specification/dashboard/Dashboard.Management/tspconfig.yaml', API Version: 2025-08-01, SDK Release Type: stable, and CommitSHA: 'b2965096067d6f8374b5485b0568fd36e7c9d099' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5436592 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update changelog&testcases --------- Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 61496a2 commit 53aa8e7

File tree

63 files changed

+541
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+541
-443
lines changed

sdk/dashboard/azure-mgmt-dashboard/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Release History
22

3+
## 2.0.0 (2025-10-10)
4+
5+
### Features Added
6+
7+
- Model `DashboardManagementClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `DashboardManagementClient` added method `send_request`
9+
- Client `DashboardManagementClient` added operation group `integration_fabrics`
10+
- Client `DashboardManagementClient` added operation group `managed_dashboards`
11+
- Model `GrafanaAvailablePlugin` added property `type`
12+
- Model `GrafanaAvailablePlugin` added property `author`
13+
- Model `GrafanaConfigurations` added property `snapshots`
14+
- Model `GrafanaConfigurations` added property `users`
15+
- Model `GrafanaConfigurations` added property `security`
16+
- Model `GrafanaConfigurations` added property `unified_alerting_screenshots`
17+
- Model `ManagedGrafanaProperties` added property `creator_can_admin`
18+
- Model `ManagedGrafanaPropertiesUpdateParameters` added property `creator_can_admin`
19+
- Model `ResourceSku` added property `size`
20+
- Added enum `CreatorCanAdmin`
21+
- Added model `IntegrationFabric`
22+
- Added model `IntegrationFabricProperties`
23+
- Added model `IntegrationFabricPropertiesUpdateParameters`
24+
- Added model `IntegrationFabricUpdateParameters`
25+
- Added model `ManagedDashboard`
26+
- Added model `ManagedDashboardProperties`
27+
- Added model `ManagedDashboardUpdateParameters`
28+
- Added model `ProxyResource`
29+
- Added model `Security`
30+
- Added enum `Size`
31+
- Added model `Snapshots`
32+
- Added model `UnifiedAlertingScreenshots`
33+
- Added model `Users`
34+
- Model `GrafanaOperations` added method `begin_update`
35+
- Added operation group `IntegrationFabricsOperations`
36+
- Added operation group `ManagedDashboardsOperations`
37+
38+
### Breaking Changes
39+
40+
- Deleted or renamed model `ManagedGrafanaListResponse`
41+
- Deleted or renamed model `ManagedPrivateEndpointModelListResponse`
42+
- Deleted or renamed method `GrafanaOperations.update`
43+
344
## 2.0.0b1 (2025-07-31)
445

546
### Features Added
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
recursive-include tests *.py *.json
2-
recursive-include samples *.py *.md
31
include *.md
4-
include azure/__init__.py
5-
include azure/mgmt/__init__.py
62
include LICENSE
73
include azure/mgmt/dashboard/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"apiVersion": "2024-11-01-preview",
3-
"commit": "0a8628b33f8e51b56304d616b8b50be6fa158fb3",
2+
"apiVersion": "2025-08-01",
3+
"commit": "b2965096067d6f8374b5485b0568fd36e7c9d099",
44
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
55
"typespec_src": "specification/dashboard/Dashboard.Management",
6-
"emitterVersion": "0.47.0"
6+
"emitterVersion": "0.52.1"
77
}

sdk/dashboard/azure-mgmt-dashboard/apiview-properties.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@
5959
"azure.mgmt.dashboard.models.PublicNetworkAccess": "Microsoft.Dashboard.PublicNetworkAccess",
6060
"azure.mgmt.dashboard.models.ZoneRedundancy": "Microsoft.Dashboard.ZoneRedundancy",
6161
"azure.mgmt.dashboard.models.ApiKey": "Microsoft.Dashboard.ApiKey",
62+
"azure.mgmt.dashboard.models.CreatorCanAdmin": "Microsoft.Dashboard.CreatorCanAdmin",
6263
"azure.mgmt.dashboard.models.DeterministicOutboundIP": "Microsoft.Dashboard.DeterministicOutboundIP",
6364
"azure.mgmt.dashboard.models.AutoGeneratedDomainNameLabelScope": "Microsoft.Dashboard.AutoGeneratedDomainNameLabelScope",
6465
"azure.mgmt.dashboard.models.MarketplaceAutoRenew": "Microsoft.Dashboard.MarketplaceAutoRenew",
6566
"azure.mgmt.dashboard.models.StartTLSPolicy": "Microsoft.Dashboard.StartTLSPolicy",
67+
"azure.mgmt.dashboard.models.Size": "Microsoft.Dashboard.Size",
6668
"azure.mgmt.dashboard.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
6769
"azure.mgmt.dashboard.models.AvailablePromotion": "Microsoft.Dashboard.AvailablePromotion",
6870
"azure.mgmt.dashboard.models.ManagedPrivateEndpointConnectionStatus": "Microsoft.Dashboard.ManagedPrivateEndpointConnectionStatus",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
)
3131

3232
if TYPE_CHECKING:
33+
from azure.core import AzureClouds
3334
from azure.core.credentials import TokenCredential
3435

3536

@@ -58,19 +59,27 @@ class DashboardManagementClient: # pylint: disable=too-many-instance-attributes
5859
:type subscription_id: str
5960
:param base_url: Service host. Default value is None.
6061
:type base_url: str
61-
:keyword api_version: The API version to use for this operation. Default value is
62-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
63-
behavior.
62+
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
63+
None.
64+
:paramtype cloud_setting: ~azure.core.AzureClouds
65+
:keyword api_version: The API version to use for this operation. Default value is "2025-08-01".
66+
Note that overriding this default value may result in unsupported behavior.
6467
:paramtype api_version: str
6568
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6669
Retry-After header is present.
6770
"""
6871

6972
def __init__(
70-
self, credential: "TokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any
73+
self,
74+
credential: "TokenCredential",
75+
subscription_id: str,
76+
base_url: Optional[str] = None,
77+
*,
78+
cloud_setting: Optional["AzureClouds"] = None,
79+
**kwargs: Any
7180
) -> None:
7281
_endpoint = "{endpoint}"
73-
_cloud = kwargs.pop("cloud_setting", None) or settings.current.azure_cloud # type: ignore
82+
_cloud = cloud_setting or settings.current.azure_cloud # type: ignore
7483
_endpoints = get_arm_endpoints(_cloud)
7584
if not base_url:
7685
base_url = _endpoints["resource_manager"]
@@ -79,6 +88,7 @@ def __init__(
7988
credential=credential,
8089
subscription_id=subscription_id,
8190
base_url=cast(str, base_url),
91+
cloud_setting=cloud_setting,
8292
credential_scopes=credential_scopes,
8393
**kwargs
8494
)

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from typing import Any, TYPE_CHECKING
9+
from typing import Any, Optional, TYPE_CHECKING
1010

1111
from azure.core.pipeline import policies
1212
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy
1313

1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17+
from azure.core import AzureClouds
1718
from azure.core.credentials import TokenCredential
1819

1920

@@ -29,9 +30,11 @@ class DashboardManagementClientConfiguration: # pylint: disable=too-many-instan
2930
:type subscription_id: str
3031
:param base_url: Service host. Default value is "https://management.azure.com".
3132
:type base_url: str
32-
:keyword api_version: The API version to use for this operation. Default value is
33-
"2024-11-01-preview". Note that overriding this default value may result in unsupported
34-
behavior.
33+
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
34+
None.
35+
:type cloud_setting: ~azure.core.AzureClouds
36+
:keyword api_version: The API version to use for this operation. Default value is "2025-08-01".
37+
Note that overriding this default value may result in unsupported behavior.
3538
:paramtype api_version: str
3639
"""
3740

@@ -40,9 +43,10 @@ def __init__(
4043
credential: "TokenCredential",
4144
subscription_id: str,
4245
base_url: str = "https://management.azure.com",
46+
cloud_setting: Optional["AzureClouds"] = None,
4347
**kwargs: Any
4448
) -> None:
45-
api_version: str = kwargs.pop("api_version", "2024-11-01-preview")
49+
api_version: str = kwargs.pop("api_version", "2025-08-01")
4650

4751
if credential is None:
4852
raise ValueError("Parameter 'credential' must not be None.")
@@ -52,6 +56,7 @@ def __init__(
5256
self.credential = credential
5357
self.subscription_id = subscription_id
5458
self.base_url = base_url
59+
self.cloud_setting = cloud_setting
5560
self.api_version = api_version
5661
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
5762
kwargs.setdefault("sdk_moniker", "mgmt-dashboard/{}".format(VERSION))

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
88
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
99
"""
10-
from typing import List
1110

12-
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level
11+
12+
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
1313

1414

1515
def patch_sdk():

0 commit comments

Comments
 (0)