azure-storage
使用 Azure 存储服务
此官方 Microsoft 技能为 Azure 存储服务(包括 Blob、Files、Queue、Tables 和 Data Lake)提供全面指导。它提供 MCP 工具集成和 CLI 命令,帮助开发者高效管理云存储资源。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "azure-storage". 列出我的存储账户中的容器
النتيجة المتوقعة:
该技能提供 MCP 工具(azure__storage)或 CLI 备用命令,如:az storage container list --account-name ACCOUNT --output table
استخدام "azure-storage". 使用 Python SDK 上传 blob
النتيجة المتوقعة:
使用 azure-storage-blob SDK 的代码示例,包括 ContainerClient 和 BlobClient 用于上传内容到 Azure Blob Storage
استخدام "azure-storage". 有哪些冗余选项?
النتيجة المتوقعة:
LRS(11 个 9,本地)、ZRS(12 个 9,区域)、GRS(16 个 9,异地冗余)、GZRS(16 个 9 带区域故障转移)
التدقيق الأمني
آمنAll 146 static findings are FALSE POSITIVES. This is an official Microsoft skill containing only markdown documentation files with SDK usage examples. The scanner detected patterns in documentation that appear similar to security issues but are actually standard markdown code formatting (backticks), legitimate Azure documentation URLs, and Go import statements. No executable code, scripts, or malicious patterns exist.
مشكلات عالية المخاطر (4)
درجة الجودة
ماذا يمكنك بناءه
云存储管理
列出 Azure 订阅中的存储账户、容器和 blob。使用 MCP 工具或 CLI 命令上传和下载 blob 内容。
应用程序数据存储
将 Azure Storage SDK 集成到应用程序中。使用 Blob Storage 存储非结构化数据,使用 Queue Storage 进行异步处理,使用 Table Storage 存储 NoSQL 数据。
数据迁移和备份
为直接迁移方案设置文件共享。配置冗余选项(LRS、ZRS、GRS、GZRS)以满足灾难恢复和持久性要求。
جرّب هذه الموجهات
使用 azure-storage 技能列出我的 Azure 订阅中的所有存储账户。
如何使用 Python 将文件上传到 Azure Blob Storage?展示 SDK 代码。
创建具有 SMB 访问权限的新 Azure 文件共享。CLI 命令是什么?
设置 blob 访问层(热、冷、归档)和生命周期管理策略。
أفضل الممارسات
- 使用托管标识而不是存储密钥进行身份验证
- 启用 blob 软删除以防止数据丢失
- 使用适当的访问层(热/冷/归档)来优化成本
تجنب
- 不要在源代码中硬编码存储账户密钥
- 不要将敏感数据存储在公开访问的 blob 中
- 不要为生产数据跳过冗余选项
الأسئلة المتكررة
支持哪些 Azure 存储服务?
是否需要启用 Azure MCP 服务器?
支持哪些编程语言?
如何选择存储层?
应该使用哪个冗余选项?
此技能是官方 Microsoft 吗?
تفاصيل المطور
المؤلف
microsoftالترخيص
MIT
المستودع
https://github.com/microsoft/github-copilot-for-azure/tree/main/plugin/skills/azure-storage/مرجع
main
بنية الملفات