azure-managed-redis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Azure Managed Redis Skill

Azure Managed Redis Skill

This skill provides expert guidance for Azure Managed Redis. Covers troubleshooting, best practices, decision making, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本Skill为Azure Managed Redis提供专业指导,涵盖故障排查、最佳实践、决策制定、安全、配置、集成与编码模式,以及部署。它结合了本地快速参考内容和远程文档获取功能。

How to Use This Skill

如何使用本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
工具不可用,建议用户安装:安装指南
本Skill需要网络访问权限以获取文档内容:
  • 首选方式:使用
    mcp_microsoftdocs:microsoft_docs_fetch
    ,并携带查询字符串
    from=learn-agent-skill
    ,返回Markdown格式内容。
  • 备用方式:使用
    fetch_webpage
    ,并携带查询字符串
    from=learn-agent-skill&accept=text/markdown
    ,返回Markdown格式内容。

Category Index

分类索引

CategoryLinesDescription
TroubleshootingL35-L45Diagnosing and fixing Azure Managed Redis issues: connectivity, latency/timeouts, client performance, server resource limits, monitoring errors, and investigating/mitigating data loss.
Best PracticesL46-L59Guidance on client usage, connections, scaling, memory, performance testing, Kubernetes hosting, monitoring load, and handling failover/patching for Azure Managed Redis.
Decision MakingL60-L67Guidance on planning Azure Managed Redis deployments, choosing migration approaches from Azure Cache for Redis, and optimizing costs with reservations and FAQs
SecurityL68-L76Securing Azure Managed Redis: Entra auth, disk encryption, Private Link, TLS configuration, and applying Azure Policy for compliance and access control.
ConfigurationL77-L90How to configure and operate Azure Managed Redis: instance settings, geo-replication, persistence, import/export, monitoring/diagnostics, modules, and PowerShell/CLI management.
Integrations & Coding PatternsL91-L101How to connect .NET, Go, Node.js/TypeScript, and Python apps to Azure Managed Redis, including Entra ID auth, ASP.NET Core caching, security, and Azure Functions bindings.
DeploymentL102-L109Scaling and version upgrades, ARM/Bicep deployment patterns, and configuring maintenance windows for Azure Managed Redis instances
分类行范围描述
故障排查L35-L45诊断并修复Azure Managed Redis问题:连接性、延迟/超时、客户端性能、服务器资源限制、监控错误,以及调查和缓解数据丢失。
最佳实践L46-L59关于客户端使用、连接、扩容、内存、性能测试、Kubernetes托管、监控负载,以及处理故障转移/补丁的指导。
决策制定L60-L67关于规划Azure Managed Redis部署、选择从Azure Cache for Redis迁移的方法,以及通过预留实例和常见问题优化成本的指导
安全L68-L76保护Azure Managed Redis:Entra认证、磁盘加密、Private Link、TLS配置,以及应用Azure Policy以实现合规和访问控制。
配置L77-L90如何配置和操作Azure Managed Redis:实例设置、异地复制、持久化、导入/导出、监控/诊断、模块,以及PowerShell/CLI管理。
集成与编码模式L91-L101如何将.NET、Go、Node.js/TypeScript和Python应用连接到Azure Managed Redis,包括Entra ID认证、ASP.NET Core缓存、安全,以及Azure Functions绑定。
部署L102-L109扩容与版本升级、ARM/Bicep部署模式,以及为Azure Managed Redis实例配置维护窗口

Troubleshooting

故障排查

TopicURL
Use Redis Insight and redis-cli with Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/how-to-redis-access-data
Common monitoring and error scenarios for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/monitor-troubleshoot-faq
Resolve Azure Managed Redis client-side performance issueshttps://learn.microsoft.com/en-us/azure/redis/troubleshoot-client
Troubleshoot connectivity issues in Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/troubleshoot-connectivity
Diagnose and mitigate data loss in Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/troubleshoot-data-loss
Troubleshoot Azure Managed Redis server resource issueshttps://learn.microsoft.com/en-us/azure/redis/troubleshoot-server
Diagnose latency and timeout problems in Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/troubleshoot-timeouts
主题链接
在Azure Managed Redis中使用Redis Insight和redis-clihttps://learn.microsoft.com/en-us/azure/redis/how-to-redis-access-data
Azure Managed Redis常见监控与错误场景https://learn.microsoft.com/en-us/azure/redis/monitor-troubleshoot-faq
解决Azure Managed Redis客户端性能问题https://learn.microsoft.com/en-us/azure/redis/troubleshoot-client
排查Azure Managed Redis连接问题https://learn.microsoft.com/en-us/azure/redis/troubleshoot-connectivity
诊断并缓解Azure Managed Redis数据丢失问题https://learn.microsoft.com/en-us/azure/redis/troubleshoot-data-loss
排查Azure Managed Redis服务器资源问题https://learn.microsoft.com/en-us/azure/redis/troubleshoot-server
诊断Azure Managed Redis延迟与超时问题https://learn.microsoft.com/en-us/azure/redis/troubleshoot-timeouts

Best Practices

最佳实践

TopicURL
Apply client library best practices for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-client-libraries
Design resilient connections to Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-connection
Implement development best practices for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-development
Host Kubernetes clients for Azure Managed Redis effectivelyhttps://learn.microsoft.com/en-us/azure/redis/best-practices-kubernetes
Optimize memory management in Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-memory-management
Run performance testing for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-performance
Apply scaling best practices for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/best-practices-scale
Monitor and manage Azure Managed Redis server loadhttps://learn.microsoft.com/en-us/azure/redis/best-practices-server-load
Development guidance for Azure Managed Redis applicationshttps://learn.microsoft.com/en-us/azure/redis/development-faq
Handle failover and patching for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/failover

Decision Making

决策制定

TopicURL
Plan migration from Azure Cache for Redis tiers to Managed Redishttps://learn.microsoft.com/en-us/azure/redis/migrate/migrate-overview
Choose an approach to migrate caches to Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/migrate/migration-guide
Plan Azure Managed Redis deployments with FAQshttps://learn.microsoft.com/en-us/azure/redis/planning-faq
Choose and use Azure Managed Redis reservationshttps://learn.microsoft.com/en-us/azure/redis/reserved-pricing
主题链接
规划从Azure Cache for Redis层迁移到Managed Redishttps://learn.microsoft.com/en-us/azure/redis/migrate/migrate-overview
选择将缓存迁移到Azure Managed Redis的方法https://learn.microsoft.com/en-us/azure/redis/migrate/migration-guide
通过常见问题规划Azure Managed Redis部署https://learn.microsoft.com/en-us/azure/redis/planning-faq
选择并使用Azure Managed Redis预留实例https://learn.microsoft.com/en-us/azure/redis/reserved-pricing

Security

安全

TopicURL
Use Microsoft Entra authentication for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/entra-for-authentication
Configure disk encryption for Azure Managed Redis datahttps://learn.microsoft.com/en-us/azure/redis/how-to-encryption
Secure Azure Managed Redis with Private Link endpointshttps://learn.microsoft.com/en-us/azure/redis/private-link
Apply Azure Policy compliance controls to Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/security-controls-policy
Configure TLS settings for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/tls-configuration
主题链接
为Azure Managed Redis使用Microsoft Entra认证https://learn.microsoft.com/en-us/azure/redis/entra-for-authentication
为Azure Managed Redis数据配置磁盘加密https://learn.microsoft.com/en-us/azure/redis/how-to-encryption
使用Private Link端点保护Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/private-link
为Azure Managed Redis应用Azure Policy合规控制https://learn.microsoft.com/en-us/azure/redis/security-controls-policy
为Azure Managed Redis配置TLS设置https://learn.microsoft.com/en-us/azure/redis/tls-configuration

Configuration

配置

TopicURL
Configure Azure Managed Redis instance settingshttps://learn.microsoft.com/en-us/azure/redis/configure
Set up active geo-replication for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/how-to-active-geo-replication
Import and export Azure Managed Redis data via Blob storagehttps://learn.microsoft.com/en-us/azure/redis/how-to-import-export-data
Administer Azure Managed Redis using PowerShellhttps://learn.microsoft.com/en-us/azure/redis/how-to-manage-redis-cache-powershell
Configure persistence options for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/how-to-persistence
Configure monitoring and alerts for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/monitor-cache
Reference metrics and logs for Azure Managed Redis monitoringhttps://learn.microsoft.com/en-us/azure/redis/monitor-cache-reference
Configure diagnostic settings for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/monitor-diagnostic-settings
Configure Redis modules on Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/redis-modules
Manage Azure Managed Redis via Azure CLIhttps://learn.microsoft.com/en-us/azure/redis/scripts/create-manage-cache

Integrations & Coding Patterns

集成与编码模式

TopicURL
Integrate Azure Functions with Azure Redis services using bindingshttps://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-cache
Secure ASP.NET Core Web API with Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/aspnet
Configure ASP.NET Core output caching with Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/redis/aspnet-core-output-cache-provider
Connect .NET apps to Azure Managed Redis with Entra IDhttps://learn.microsoft.com/en-us/azure/redis/dotnet
Integrate Go applications with Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/go-get-started
Use Azure Managed Redis from Node.js TypeScripthttps://learn.microsoft.com/en-us/azure/redis/nodejs-get-started
Connect Python applications to Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/python-get-started
主题链接
使用绑定将Azure Functions与Azure Redis服务集成https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-cache
使用Azure Managed Redis保护ASP.NET Core Web APIhttps://learn.microsoft.com/en-us/azure/redis/aspnet
为Azure Cache for Redis配置ASP.NET Core输出缓存https://learn.microsoft.com/en-us/azure/redis/aspnet-core-output-cache-provider
通过Entra ID将.NET应用连接到Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/dotnet
将Go应用与Azure Managed Redis集成https://learn.microsoft.com/en-us/azure/redis/go-get-started
在Node.js TypeScript中使用Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/nodejs-get-started
将Python应用连接到Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/python-get-started

Deployment

部署

TopicURL
Scale Azure Managed Redis instances across SKUshttps://learn.microsoft.com/en-us/azure/redis/how-to-scale
Upgrade Redis versions in Azure Managed Redis safelyhttps://learn.microsoft.com/en-us/azure/redis/how-to-upgrade
Deploy Azure Managed Redis using ARM templateshttps://learn.microsoft.com/en-us/azure/redis/redis-cache-arm-provision
Deploy Azure Managed Redis with Bicep templateshttps://learn.microsoft.com/en-us/azure/redis/redis-cache-bicep-provision
Configure maintenance windows for Azure Managed Redis updateshttps://learn.microsoft.com/en-us/azure/redis/scheduled-maintenance
主题链接
在不同SKU间扩容Azure Managed Redis实例https://learn.microsoft.com/en-us/azure/redis/how-to-scale
安全升级Azure Managed Redis中的Redis版本https://learn.microsoft.com/en-us/azure/redis/how-to-upgrade
使用ARM模板部署Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/redis-cache-arm-provision
使用Bicep模板部署Azure Managed Redishttps://learn.microsoft.com/en-us/azure/redis/redis-cache-bicep-provision
为Azure Managed Redis更新配置维护窗口https://learn.microsoft.com/en-us/azure/redis/scheduled-maintenance