Skip to content

Improve help documentation for 5 monitor commands#33198

Closed
RenSilvaAU wants to merge 1 commit intoAzure:devfrom
RenSilvaAU:improve-help-monitor-20260416-050618
Closed

Improve help documentation for 5 monitor commands#33198
RenSilvaAU wants to merge 1 commit intoAzure:devfrom
RenSilvaAU:improve-help-monitor-20260416-050618

Conversation

@RenSilvaAU
Copy link
Copy Markdown
Contributor

Azure CLI Help Documentation Improvements

This PR improves help documentation for commands with the lowest quality scores.

Summary

Command Original Score New Score
monitor log-profiles list 2.0/10 7/10
monitor diagnostic-settings subscription list 4.0/10 7/10
monitor log-analytics workspace list-link-target 4.0/10 7/10
monitor activity-log list-categories 4.0/10 5/10
monitor log-profiles delete 5.0/10 6/10

monitor log-profiles list

Original help (score: 2.0/10)
Command: monitor log-profiles list
======================================================================
name: monitor log-profiles list
is_aaz: True
desc: List the log profiles.
parameters:
Improved help (score: 7/10)

type: command
short-summary: List all log profiles in your Azure account.
long-summary: |
Log profiles define and manage the settings and destinations for your activity logs.
They provide insights into the operations performed within your Azure resources.
examples:

  • name: List all log profiles
    text: az monitor log-profiles list
  • name: List log profiles with output formatted as a table
    text: az monitor log-profiles list --output table
  • name: List log profiles with output in JSON format
    text: az monitor log-profiles list --output json

monitor diagnostic-settings subscription list

Original help (score: 4.0/10)
Command: monitor diagnostic-settings subscription list
======================================================================
name: monitor diagnostic-settings subscription list
is_aaz: True
desc: Gets the active subscription diagnostic settings list for the specified subscriptionId. :keyword callable cls: A custom type or function that will be passed the direct response:return: SubscriptionDiagnosticSettingsResourceCollection or the result of cls(response):rtype:  ~$(python-base-namespace).v2017_05_01_preview.models.SubscriptionDiagnosticSettingsResourceCollection:raises ~azure.core.exceptions.HttpResponseError:.
parameters:
Improved help (score: 7/10)

type: command
short-summary: List all active diagnostic settings for a specified subscription.
parameters:

  • name: --subscription-id
    short-summary: The unique identifier of the Azure subscription to list the diagnostic settings for.
    examples:
  • name: List Diagnostic Settings for a Subscription
    text: |
    az monitor diagnostic-settings subscription list --subscription-id 12345-abcde-6789-fghij-0123456789
  • name: Use Environment Variable for Subscription ID
    text: |
    az monitor diagnostic-settings subscription list --subscription-id $AZURE_SUBSCRIPTION_ID

monitor log-analytics workspace list-link-target

Original help (score: 4.0/10)
Command: monitor log-analytics workspace list-link-target
======================================================================
name: monitor log-analytics workspace list-link-target
is_aaz: True
desc: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription.
parameters:
  Item 1:
    name: _change_reference
    options:
      - --change-reference
    desc: The related change reference ID for this resource operation
  Item 2:
    name: _acquire_policy_token
    options:
      - --acquire-policy-token
    desc: Acquiring an Azure Policy token automatically for this resource operation
Improved help (score: 7/10)

type: command
short-summary: List workspaces where the user is an administrator and are not linked to any Azure Subscription.
parameters:

  • name: --change-reference
    short-summary: Specify the change reference ID related to this operation.
  • name: --acquire-policy-token
    short-summary: Automatically acquire an Azure Policy token for this operation.
    examples:
  • name: List all administrator workspaces not associated with a subscription
    text: |
    az monitor log-analytics workspace list-link-target
  • name: List workspaces with a specific change reference
    text: |
    az monitor log-analytics workspace list-link-target --change-reference myChangeRefId
  • name: List workspaces automatically acquiring an Azure Policy token
    text: |
    az monitor log-analytics workspace list-link-target --acquire-policy-token

monitor activity-log list-categories

Original help (score: 4.0/10)
Command: monitor activity-log list-categories
======================================================================
name: monitor activity-log list-categories
is_aaz: True
desc: List the list of available event categories supported in the Activity Logs Service.
parameters:
  Item 1:
    name: _change_reference
    options:
      - --change-reference
    desc: The related change reference ID for this resource operation
  Item 2:
    name: _acquire_policy_token
    options:
      - --acquire-policy-token
    desc: Acquiring an Azure Policy token automatically for this resource operation
Improved help (score: 5/10)

type: command
short-summary: List available event categories in the Azure Activity Logs Service.
parameters:

  • name: --change-reference
    short-summary: Specify the change reference ID related to this resource operation.
  • name: --acquire-policy-token
    short-summary: Automatically acquire an Azure Policy token for this resource operation.
    examples:
  • name: List all event categories
    text: az monitor activity-log list-categories
  • name: List categories with a specific change reference
    text: az monitor activity-log list-categories --change-reference actual_change_reference_id
  • name: List categories with policy token acquisition
    text: az monitor activity-log list-categories --acquire-policy-token

monitor log-profiles delete

Original help (score: 5.0/10)
Command: monitor log-profiles delete
======================================================================
name: monitor log-profiles delete
is_aaz: True
desc: Delete the log profile.
parameters:
  Item 1:
    name: _change_reference
    options:
      - --change-reference
    desc: The related change reference ID for this resource operation
  Item 2:
    name: _acquire_policy_token
    options:
      - --acquire-policy-token
    desc: Acquiring an Azure Policy token automatically for this resource operation
  Item 3:
    name: name
    options:
      - --name
      - -n
    required: True
    id_part: name
    desc: The name of the log profile.
    aaz_type: string
    type: string
Improved help (score: 6/10)

type: command
short-summary: Delete a log profile.
parameters:

  • name: --change-reference
    short-summary: The change reference ID associated with this resource operation.
  • name: --acquire-policy-token
    short-summary: Automatically acquire an Azure Policy token for this resource operation.
  • name: --name -n
    short-summary: The name of the log profile to delete.
    examples:
  • name: Delete a log profile by name
    text: |
    az monitor log-profiles delete --name MyLogProfile

Generated by: Azure CLI Help Improver

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Apr 16, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Apr 16, 2026

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Apr 16, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants