azure-storage
作者: Azure
Azure存储服务,包括Blob存储、文件共享、队列存储、表存储和Data Lake。提供对象存储、SMB文件共享、异步消息传递、NoSQL键值存储和大数据分析功能。
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-storageAzure Storage Services
Services
| Service | Use When | MCP Tools | CLI |
|---|---|---|---|
| Blob Storage | Objects, files, backups, static content | azure__storage | az storage blob |
| File Shares | SMB file shares, lift-and-shift | - | az storage file |
| Queue Storage | Async messaging, task queues | - | az storage queue |
| Table Storage | NoSQL key-value (consider Cosmos DB) | - | az storage table |
| Data Lake | Big data analytics, hierarchical namespace | - | az storage fs |
MCP Server (Preferred)
When Azure MCP is enabled:
azure__storagewith commandstorage_account_list- List storage accountsazure__storagewith commandstorage_container_list- List containers in accountazure__storagewith commandstorage_blob_list- List blobs in containerazure__storagewith commandstorage_blob_get- Download blob contentazure__storagewith commandstorage_blob_put- Upload blob content
If Azure MCP is not enabled: Run /azure:setup or enable via /mcp.
CLI Fallback
# List storage accounts
az storage account list --output table
# List containers
az storage container list --account-name ACCOUNT --output table
# List blobs
az storage blob list --account-name ACCOUNT --container-name CONTAINER --output table
# Download blob
az storage blob download --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH
# Upload blob
az storage blob upload --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH
Storage Account Tiers
| Tier | Use Case | Performance |
|---|---|---|
| Standard | General purpose, backup | Milliseconds |
| Premium | Databases, high IOPS | Sub-millisecond |
Blob Access Tiers
| Tier | Access Frequency | Cost |
|---|---|---|
| Hot | Frequent | Higher storage, lower access |
| Cool | Infrequent (30+ days) | Lower storage, higher access |
| Cold | Rare (90+ days) | Lower still |
| Archive | Rarely (180+ days) | Lowest storage, rehydration required |
Redundancy Options
| Type | Durability | Use Case |
|---|---|---|
| LRS | 11 nines | Dev/test, recreatable data |
| ZRS | 12 nines | Regional high availability |
| GRS | 16 nines | Disaster recovery |
| GZRS | 16 nines | Best durability |
Service Details
For deep documentation on specific services:
- Blob storage patterns and lifecycle -> Blob Storage documentation
- File shares and Azure File Sync -> Azure Files documentation
- Queue patterns and poison handling -> Queue Storage documentation
SDK Quick References
For building applications with Azure Storage SDKs, see the condensed guides:
- Blob Storage: Python | TypeScript | Java | Rust
- Queue Storage: Python | TypeScript
- File Shares: Python | TypeScript
- Data Lake: Python
- Tables: Python | Java
For full package listing across all languages, see SDK Usage Guide.
Azure SDKs
For building applications that interact with Azure Storage programmatically, Azure provides SDK packages in multiple languages (.NET, Java, JavaScript, Python, Go, Rust). See SDK Usage Guide for package names, installation commands, and quick start examples.
来自 Azure 的更多技能
azure-ai
Azure
用于Azure AI:搜索、语音、OpenAI、文档智能。支持搜索、向量/混合搜索、语音转文字、文字转语音、转录、OCR。
appinsights-instrumentation
Azure
使用Azure Application Insights对Web应用进行检测的指南。提供遥测模式、SDK设置和配置参考。
azure-aigateway
Azure
将 Azure API 管理 (APIM) 配置为 AI 网关,用于保护、监控和控制 AI 模型、MCP 服务器及代理。有助于实现速率限制、语义缓存、内容安全与负载均衡。
azure-compliance
Azure
全面的Azure合规性与安全审计能力,包括最佳实践评估、Key Vault过期监控以及资源配置验证。
azure-compute
Azure
根据工作负载需求、性能要求和预算限制,推荐Azure虚拟机大小、虚拟机规模集(VMSS)及配置。
azure-cost-optimization
Azure
通过分析实际成本、利用率指标,识别并量化Azure订阅中的成本节约,生成可执行的优化建议。
azure-deploy
Azure
执行部署到Azure。准备和验证后的最后一步。运行azd up、azd deploy或基础设施预配命令。
azure-diagnostics
Azure
在Azure上调试和排查生产问题,涵盖容器应用和函数应用诊断、使用KQL进行日志分析、健康检查以及常见问题解决。