Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions sdk/dashboard/azure-mgmt-dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Release History

## 2.0.0 (2025-10-10)

### Features Added

- Model `DashboardManagementClient` added parameter `cloud_setting` in method `__init__`
- Client `DashboardManagementClient` added method `send_request`
- Client `DashboardManagementClient` added operation group `integration_fabrics`
- Client `DashboardManagementClient` added operation group `managed_dashboards`
- Model `GrafanaAvailablePlugin` added property `type`
- Model `GrafanaAvailablePlugin` added property `author`
- Model `GrafanaConfigurations` added property `snapshots`
- Model `GrafanaConfigurations` added property `users`
- Model `GrafanaConfigurations` added property `security`
- Model `GrafanaConfigurations` added property `unified_alerting_screenshots`
- Model `ManagedGrafanaProperties` added property `creator_can_admin`
- Model `ManagedGrafanaPropertiesUpdateParameters` added property `creator_can_admin`
- Model `ResourceSku` added property `size`
- Added enum `CreatorCanAdmin`
- Added model `IntegrationFabric`
- Added model `IntegrationFabricProperties`
- Added model `IntegrationFabricPropertiesUpdateParameters`
- Added model `IntegrationFabricUpdateParameters`
- Added model `ManagedDashboard`
- Added model `ManagedDashboardProperties`
- Added model `ManagedDashboardUpdateParameters`
- Added model `ProxyResource`
- Added model `Security`
- Added enum `Size`
- Added model `Snapshots`
- Added model `UnifiedAlertingScreenshots`
- Added model `Users`
- Model `GrafanaOperations` added method `begin_update`
- Added operation group `IntegrationFabricsOperations`
- Added operation group `ManagedDashboardsOperations`

### Breaking Changes

- Deleted or renamed model `ManagedGrafanaListResponse`
- Deleted or renamed model `ManagedPrivateEndpointModelListResponse`
- Deleted or renamed method `GrafanaOperations.update`

## 2.0.0b1 (2025-07-31)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/dashboard/azure-mgmt-dashboard/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/dashboard/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
6 changes: 3 additions & 3 deletions sdk/dashboard/azure-mgmt-dashboard/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"apiVersion": "2024-11-01-preview",
"commit": "0a8628b33f8e51b56304d616b8b50be6fa158fb3",
"apiVersion": "2025-08-01",
"commit": "b2965096067d6f8374b5485b0568fd36e7c9d099",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/dashboard/Dashboard.Management",
"emitterVersion": "0.47.0"
"emitterVersion": "0.52.1"
}
2 changes: 2 additions & 0 deletions sdk/dashboard/azure-mgmt-dashboard/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@
"azure.mgmt.dashboard.models.PublicNetworkAccess": "Microsoft.Dashboard.PublicNetworkAccess",
"azure.mgmt.dashboard.models.ZoneRedundancy": "Microsoft.Dashboard.ZoneRedundancy",
"azure.mgmt.dashboard.models.ApiKey": "Microsoft.Dashboard.ApiKey",
"azure.mgmt.dashboard.models.CreatorCanAdmin": "Microsoft.Dashboard.CreatorCanAdmin",
"azure.mgmt.dashboard.models.DeterministicOutboundIP": "Microsoft.Dashboard.DeterministicOutboundIP",
"azure.mgmt.dashboard.models.AutoGeneratedDomainNameLabelScope": "Microsoft.Dashboard.AutoGeneratedDomainNameLabelScope",
"azure.mgmt.dashboard.models.MarketplaceAutoRenew": "Microsoft.Dashboard.MarketplaceAutoRenew",
"azure.mgmt.dashboard.models.StartTLSPolicy": "Microsoft.Dashboard.StartTLSPolicy",
"azure.mgmt.dashboard.models.Size": "Microsoft.Dashboard.Size",
"azure.mgmt.dashboard.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"azure.mgmt.dashboard.models.AvailablePromotion": "Microsoft.Dashboard.AvailablePromotion",
"azure.mgmt.dashboard.models.ManagedPrivateEndpointConnectionStatus": "Microsoft.Dashboard.ManagedPrivateEndpointConnectionStatus",
Expand Down
2 changes: 1 addition & 1 deletion sdk/dashboard/azure-mgmt-dashboard/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
)

if TYPE_CHECKING:
from azure.core import AzureClouds
from azure.core.credentials import TokenCredential


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

def __init__(
self, credential: "TokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any
self,
credential: "TokenCredential",
subscription_id: str,
base_url: Optional[str] = None,
*,
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
_endpoint = "{endpoint}"
_cloud = kwargs.pop("cloud_setting", None) or settings.current.azure_cloud # type: ignore
_cloud = cloud_setting or settings.current.azure_cloud # type: ignore
_endpoints = get_arm_endpoints(_cloud)
if not base_url:
base_url = _endpoints["resource_manager"]
Expand All @@ -79,6 +88,7 @@ def __init__(
credential=credential,
subscription_id=subscription_id,
base_url=cast(str, base_url),
cloud_setting=cloud_setting,
credential_scopes=credential_scopes,
**kwargs
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from typing import Any, TYPE_CHECKING
from typing import Any, Optional, TYPE_CHECKING

from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
from azure.core import AzureClouds
from azure.core.credentials import TokenCredential


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

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand All @@ -52,6 +56,7 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
self.base_url = base_url
self.cloud_setting = cloud_setting
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-dashboard/{}".format(VERSION))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""
from typing import List

__all__: List[str] = [] # Add all objects you want publicly available to users at this package level

__all__: list[str] = [] # Add all objects you want publicly available to users at this package level


def patch_sdk():
Expand Down
Loading
Loading