360 Secure SkillHub
360 安全技能中心

azure-storage

该 Skill 汇总 Azure 存储服务资料:介绍 Blob、文件共享、队列、表和 Data Lake 的适用场景,说明存储账户层级、Blob 访问层(热/冷/寒/归档)与冗余选项,并给出 MCP 工具与 az CLI 操作示例,以及 Python、TypeScript、Java、Rust 等语言的 SDK 速查与认证最佳实践。

microsoft
热度 0.00
最近更新 2026-10-18 15:54:36
分类:开发依赖:第三方 API / MCP 服务应用场景:代码生成 / API 集成 / 概念解释 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add microsoft/azure-skills/azure-storage
Metadata
name
azure-storage
description
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).
license
MIT
metadata
{"author":"Microsoft","version":"1.2.2"}

Azure 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__storage with command storage_account_list - List storage accounts
  • azure__storage with command storage_container_list - List containers in account
  • azure__storage with command storage_blob_list - List blobs in container
  • azure__storage with command storage_blob_get - Download blob content
  • azure__storage with command storage_blob_put - Upload blob content

If Azure MCP is not enabled: In Copilot CLI or Claude Code, ask the user to run /mcp and enable Azure MCP; in other hosts, ask the user to enable Azure MCP through the host's MCP configuration.

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:

SDK Quick References

For building applications with Azure Storage SDKs, see the condensed guides:

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.