Skip to content

Docs: list Advisor apply resource values#2876

Open
luohui1 wants to merge 1 commit into
microsoft:mainfrom
luohui1:docs/advisor-resource-values
Open

Docs: list Advisor apply resource values#2876
luohui1 wants to merge 1 commit into
microsoft:mainfrom
luohui1:docs/advisor-resource-values

Conversation

@luohui1

@luohui1 luohui1 commented Jun 14, 2026

Copy link
Copy Markdown

What does this PR do?

Adds the supported --resource values for azmcp advisor recommendation apply to the Azure MCP command reference.

The list matches the Advisor recommendation rule resources embedded under tools/Azure.Mcp.Tools.Advisor/src/Resources.

GitHub issue number?

Fixes #2762

Validation

  • git diff --check
  • Compared the documented values with tools/Azure.Mcp.Tools.Advisor/src/Resources/*.json (20 documented values, 20 resource files)
  • git diff --name-only | .\eng\common\spelling\Invoke-Cspell.ps1 (new Advisor resource terms are ignored; this file still has existing unrelated cspell warnings)

Not run: dotnet build servers\Azure.Mcp.Server\src because the local machine only has .NET SDK 8.0.422 installed and this repository requires SDK 10.0.201.

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages
    • Tests are not added because this is a documentation-only change
    • Changelog entry is not added because this is a documentation-only change
  • For MCP tool changes
    • This updates documentation for one existing Azure MCP command and does not change tool behavior
    • Updated servers/Azure.Mcp.Server/docs/azmcp-commands.md

@github-actions

Copy link
Copy Markdown
Contributor

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

@luohui1 luohui1 marked this pull request as ready for review June 14, 2026 06:54
@luohui1 luohui1 requested review from a team as code owners June 14, 2026 06:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates Azure MCP Server documentation to clarify the allowed values for the --resource argument when applying Azure Advisor recommendations.

Changes:

  • Documented the full set of accepted --resource values for azmcp advisor recommendation apply.
  • Added cspell:ignore directives to prevent spell-check noise for Azure resource type identifiers.

Comment on lines +334 to +355
The `--resource` parameter for `azmcp advisor recommendation apply` accepts the following values:

- `aad_domainservices`
- `apimanagement_service`
- `cognitiveservices_accounts`
- `compute_virtualmachines`
- `compute_virtualmachinescalesets`
- `containerregistry_registries`
- `containerservice_managedclusters`
- `dbforpostgresql_flexibleservers`
- `documentdb_databaseaccounts`
- `keyvault_vaults`
- `kubernetes_connectedclusters`
- `kubernetesconfiguration_extensions`
- `netapp_volumes`
- `network_applicationgatewaywebapplicationfirewallpolicies`
- `network_expressrouteports`
- `network_frontdoorwebapplicationfirewallpolicies`
- `sql_managedinstances`
- `storage_storageaccounts`
- `web_serverfarms`
- `web_staticsites`
Comment thread servers/Azure.Mcp.Server/docs/azmcp-commands.md
@luohui1

luohui1 commented Jun 17, 2026

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

[Doc Gap] azmcp advisor recommendation apply - missing valid --resource values documentation

2 participants