azure-storage — плагин для GitHub Copilot
Канвас, где Copilot показывает контейнеры, блобы, очереди и таблицы Azure Storage, считает статистику по контейнеру и готовит команду azcopy.
copilot plugin install azure-storage@awesome-copilotЧто делает azure-storage
Плагин добавляет в GitHub Copilot общую с агентом рабочую поверхность для Azure Storage. В дереве видно подписки и аккаунты, у блобов — размер, тир и время изменения. Фильтр по контейнеру даёт сводку: общий объём, распределение по типам, тирам, расширениям и самые крупные файлы. Просмотр и фильтрация данные не меняют.
Работает плагин через Azure CLI и ваш существующий az login: канвас читает хранилище под вашей учётной записью и сам вход не запускает. Если az не авторизован или у учётной записи нет прав на хранилище, список останется пустым или вернёт отказ. Любое изменение выполняется только по явному действию в канвасе, а агент может открывать аккаунты и контейнеры, фильтровать и скачивать наборы файлов на тех же элементах управления, что и вы.
Скачивание идёт пачкой с индикатором прогресса и итогом по каждому файлу. Контейнер можно открыть по SAS-ссылке без входа и скачать блобы только на чтение. Копирование между аккаунтами заканчивается планом: плагин находит конфликты имён и выдаёт готовую команду azcopy, но сама передача данных не запускается — AzCopy придётся поставить отдельно и выполнить команду вручную.
Какие задачи решает
- посмотреть, что лежит в контейнере, с размерами и тирами
- посчитать, какие расширения и тиры занимают больше всего места
- скачать отфильтрованный набор блобов разом
- открыть контейнер по SAS-ссылке без входа в аккаунт
- подготовить команду
azcopyдля переноса между аккаунтами и увидеть конфликты имён
Примеры запросов агенту
- Открой канвас Azure Storage и покажи контейнер
logs-2024 - Что занимает больше всего места в этом контейнере?
- Скачай все блобы из фильтра и покажи, какие файлы не прошли
Как установить azure-storage
Команда из источника
copilot plugin install azure-storage@awesome-copilotПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о azure-storage
Как установить azure-storage в GitHub Copilot?
Выполните copilot plugin install azure-storage@awesome-copilot. Дальше в GitHub Copilot откройте Customize → Plugins → marketplace gear, добавьте microsoft/azure-dev-tools с ID azure-dev-tools и установите azure-storage, когда он появится в списке.
Что делает azure-storage?
Показывает Azure Storage на канвасе, которым управляете и вы, и Copilot: аккаунты, контейнеры, блобы, очереди и таблицы, статистику по контейнеру, массовое скачивание и план копирования между аккаунтами.
Нужен ли AzCopy?
Для просмотра и скачивания нет. Копирование между аккаунтами канвас только планирует и выдаёт команду azcopy; выполнять её нужно самому, а AzCopy ставится отдельно.
Исходный текст
azure-storage · MIT
# Azure Storage canvas Browse Azure Storage and operate it on one live surface that you and Copilot share. ## Install In GitHub Copilot, open **Customize → Plugins → marketplace gear**, add `microsoft/azure-dev-tools` (marketplace ID `azure-dev-tools`), and install `azure-storage` when listed. The full plugin includes the canvas and its opening skill. For canvas-only installation, add the [Azure Storage canvas URL](https://github.com/microsoft/azure-dev-tools/tree/azure-storage-latest/canvases/azure-storage/com.github.copilot/extensions/azure-storage) under **Customize → Canvases → +**. This does not install the opening skill; open **Azure Storage** from your installed canvases. The [latest customer README](https://github.com/microsoft/azure-dev-tools/blob/azure-storage-latest/canvases/azure-storage/README.md) contains the same setup instructions. Use these paths only when published; if neither is available, report that rather than substituting a source folder. ## Quickstart 1. With the full plugin installed, ask Copilot: **"Open Azure Storage canvas."** For a canvas-only installation, open **Azure Storage** from installed canvases. 2. Click **Select subscriptions** in **Storage Explorer**, choose the subscriptions you intend to browse, and apply the selection. 3. Expand a subscription and storage account in the tree, then open a blob container to see its blobs. 4. Use **Filter** to inspect statistics, or type **"What is taking up the most space?"** in the canvas question box. Browsing and filtering do not modify data. ## What it does - Browse storage accounts, blob containers, and blobs with sizes, tiers, and timestamps. - Filter a container and compute aggregate statistics (totals, size histogram, by type, by tier, by extension, top largest). - Bulk download selected or filtered blobs with a live progress bar and a per file pass or fail summary. - Preview a blob inline and ask Copilot to explain the file or the statistics on the canvas. - Open a container SAS link with no sign in, list its blobs, and download them read only. - Plan an account to account copy, detect name conflicts, and get the exact `azcopy` command without moving any data. ## How it is driven Copilot can operate the same controls you see. Ask it to open an account, open a container, filter blobs, or download a set, and it drives the canvas live while you watch and can take over at any time. ## Requirements Live mode uses the Azure CLI and your existing `az login`. The canvas reads storage with your own sign in and never starts a sign in for you. Every mutating action runs only from an explicit action on the canvas. ## Troubleshooting - **Canvas unavailable:** check that the plugin is enabled, reload extensions, fully quit and reopen GitHub Copilot, then retry in a fresh chat. - **No accounts or access denied:** use **Refresh subscriptions**, confirm the intended subscription selection, and check your Azure CLI sign-in and storage permissions. The canvas does not sign in or grant access for you. - **SAS link rejected:** check its expiry and read/list permissions. Anyone holding a valid SAS can use its granted access; do not paste it into public issues or logs. - **Transfer plan only:** account-to-account copies stop at an `azcopy` command. Install AzCopy separately to run that command yourself.
© Microsoft Azure Tools · MIT · microsoft/azure-dev-tools