Skip to content

Azure Advisor Operational Excellence category not supported by the CLI #30401

@evandervecht

Description

@evandervecht

Related command
az advisor recommendation list --category

Is your feature request related to a problem? Please describe.
Problem: Not able to retrieve Operational Excellence findings through the CLI.

The Azure advisor GUI consist of:

  • Cost
  • Security
  • Reliability
  • Operational Excellence
  • Performance

The Azure api support the same
https://learn.microsoft.com/en-us/rest/api/advisor/recommendations/list?view=rest-advisor-2023-01-01&tabs=HTTP#category

The cli supports:

  • Cost
  • Security
  • HighAvailability (similar to Reliability)
  • Performance

Describe the solution you'd like
Support of Operational Excellence finding through the CLI

Describe alternatives you've considered
Using kql to get findings

Additional context
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/advisor/_params.py
with self.argument_context('advisor recommendation list') as c: c.argument('ids', ids_arg_type, validator=validate_ids_or_resource_group) c.argument('category', options_list=['--category', '-c'], help='Name of recommendation category.', arg_type=get_enum_type(['Cost', 'HighAvailability', 'Performance', 'Security']))

I hope it's as easy as adding it here :D

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions