Skip to content
Draft
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
7 changes: 7 additions & 0 deletions src/azure-cli/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

Upcoming Release
++++++++++++++++

**Monitor**

* `az monitor sli`: Add command group with `create`, `show`, `list`, `update`, and `delete` using `Microsoft.Monitor` preview API `2025-03-01-preview`. Only user-assigned managed identity is supported; system-assigned identity is not. Identity rotation is performed via `az monitor sli update --set 'identity.userAssignedIdentities={"<arm-id>":{}}'` plus matching `--set` updates on `destinationAmwAccounts[*].identity` and each `signalSources[*].sourceAmwAccountManagedIdentity`; see `az monitor sli update --help` for the full recipe.

2.86.0
++++++

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"monitor sli",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Service Level Indicators (SLIs) in Azure Monitor.

Identity model: SLIs only support user-assigned managed identities (UAMIs).
System-assigned identity is not supported by the service. A UAMI must be
referenced in three places that the service keeps in sync:

1. The ARM identity block (`identity.userAssignedIdentities`).
2. Each destination AMW (`properties.destinationAmwAccounts[].identity`).
3. Each signal source (`properties.sliProperties.{signals|goodSignals|
totalSignals}.signalSources[].sourceAmwAccountManagedIdentity`).

The service rejects PUTs where these three sets disagree. To rotate a UAMI,
update all three surfaces in a single `az monitor sli update` call so the
PUT is atomic. See `az monitor sli update --help` for worked rotation
examples. Run `az monitor sli show` first to confirm the actual indices
and which signal slot (`signals` for window-based, `goodSignals` +
`totalSignals` for request-based) is populated.
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa
Loading
Loading