azure-storage

Automate Azure Storage management tasks via Azure CLI subcommands.

242|189|Updated Oct 28, 2024
One-click install
npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-storage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-storage
Source: https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/plugin/skills/azure-storage
Command: npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-storage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the management of Microsoft Azure Storage services (Blob, File Shares, Queue, Table, and Data Lake) through the Azure CLI, eliminating repetitive manual tasks and reducing operational overhead.

Core Features & Use Cases

  • Unified storage control across Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake using the az storage family of commands.
  • Operational workflows: list storage accounts, list containers, list blobs, download/upload blobs and files, and manage storage resources from scripts.
  • Use Case: A developer can automate nightly backups by listing accounts, enumerating containers, and uploading backup files to a target container with a single script.

Quick Start

Use the Azure CLI to explore and manage storage: az login az storage account list --output table az storage container list --account-name ACCOUNT --output table az storage blob list --account-name ACCOUNT --container-name CONTAINER --output table az storage blob upload --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH

Frequently Asked Questions about azure-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Azure Storage management tasks via the Azure CLI?

You can automate Azure Storage management by using the az storage family of commands, which streamlines operations across Blob, File Shares, Queue, Table, and Data Lake storage. This eliminates repetitive manual tasks and reduces operational overhead.

Can I upload and download blobs using Azure CLI commands?

Yes, you can upload and download blobs using the az storage blob upload and az storage blob download commands. You need to specify your account name, container name, blob name, and local file path.

Do I need Azure CLI installed and authenticated to manage storage accounts?

Yes, Azure CLI must be installed and authenticated before managing storage accounts. You authenticate your session using the az login command to access and operate on your storage resources.

What Azure Storage services are supported by the az storage commands?

The az storage commands support Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake storage. This provides unified control across various storage types for listing, uploading, and downloading data.

How do I list storage accounts and containers in Azure?

You can list storage accounts using az storage account list and enumerate containers with az storage container list. Providing the --output table parameter formats the results into a readable table structure.