azure-resource-graph

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Azure Resource Graph Skill

Azure Resource Graph 技能

This skill provides expert guidance for Azure Resource Graph. Covers troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.
本技能为Azure Resource Graph提供专业指导,涵盖故障排除、最佳实践、决策指导、限制与配额、配置以及集成与编码模式。它结合了本地快速参考内容与远程文档获取能力。

How to Use This Skill

如何使用本技能

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,
L35-L120
), use
read_file
with the specified lines. For categories with file links (e.g.,
[security.md](security.md)
), use
read_file
on the linked reference file
IMPORTANT for Agent: If
metadata.generated_at
is more than 3 months old, suggest the user pull the latest version from the repository. If
mcp_microsoftdocs
tools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
  • Preferred: Use
    mcp_microsoftdocs:microsoft_docs_fetch
    with query string
    from=learn-agent-skill
    . Returns Markdown.
  • Fallback: Use
    fetch_webpage
    with query string
    from=learn-agent-skill&accept=text/markdown
    . Returns Markdown.
面向Agent的重要提示:使用下方的分类索引查找相关章节。对于带有行范围的分类(如
L35-L120
),请使用
read_file
读取指定行内容;对于带有文件链接的分类(如
[security.md](security.md)
),请使用
read_file
读取链接的参考文件
面向Agent的重要提示:如果
metadata.generated_at
的时间超过3个月,请建议用户从仓库拉取最新版本。如果
mcp_microsoftdocs
工具不可用,请建议用户安装该工具:安装指南
本技能需要网络访问权限来获取文档内容:
  • 推荐方式:使用
    mcp_microsoftdocs:microsoft_docs_fetch
    ,并携带查询字符串
    from=learn-agent-skill
    ,返回Markdown格式内容。
  • 备选方式:使用
    fetch_webpage
    ,并携带查询字符串
    from=learn-agent-skill&accept=text/markdown
    ,返回Markdown格式内容。

Category Index

分类索引

CategoryLinesDescription
TroubleshootingL34-L40Diagnosing and fixing Azure Resource Graph issues with alerts, query syntax/runtime errors, and Power BI connector connectivity, auth, and data refresh problems.
Best PracticesL41-L45Guidance on designing Azure Resource Graph queries to avoid throttling, including efficient patterns, batching, pagination, and performance-friendly query structures.
Decision MakingL46-L50Guidance on when to use Azure Resource Graph GET/LIST REST APIs vs the Query service, comparing capabilities, scenarios, and integration patterns.
Limits & QuotasL51-L58Understanding ARG request limits, pagination behavior, handling large result sets, and implementing efficient paging (including with PowerShell) to avoid quota issues.
ConfigurationL59-L66Configuring Resource Graph usage: keyboard shortcuts, supported resource types, and defining/deploying shared queries via Bicep and ARM templates.
Integrations & Coding PatternsL67-L77How to run Resource Graph queries via CLI, PowerShell, REST, Power BI, Logic Apps, and create shared queries and alerting/automation patterns using those integrations
分类行范围描述
故障排除L34-L40诊断并修复Azure Resource Graph的各类问题,包括警报、查询语法/运行时错误,以及Power BI连接器的连接、认证和数据刷新问题。
最佳实践L41-L45指导如何设计Azure Resource Graph查询以避免限流,包括高效模式、批处理、分页和性能优化的查询结构。
决策指导L46-L50指导何时使用Azure Resource Graph的GET/LIST REST API,何时使用Query服务,对比两者的能力、适用场景和集成模式。
限制与配额L51-L58了解ARG请求限制、分页行为、处理大型结果集,以及实现高效分页(包括使用PowerShell)以避免配额问题。
配置L59-L66配置Resource Graph的使用:键盘快捷键、支持的资源类型,以及通过Bicep和ARM模板定义/部署共享查询。
集成与编码模式L67-L77如何通过CLI、PowerShell、REST、Power BI、Logic Apps运行Resource Graph查询,以及利用这些集成创建共享查询和警报/自动化模式

Troubleshooting

故障排除

Best Practices

最佳实践

Decision Making

决策指导

Limits & Quotas

限制与配额

Configuration

配置

Integrations & Coding Patterns

集成与编码模式