跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Azure Container Registry SDK for Python

技能 已验证 活跃

Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".

目的

To enable users to programmatically manage container images, artifacts, and repositories within Azure Container Registry using the Python SDK.

功能

  • Manage container images and artifacts
  • Operate on Azure Container Registry repositories
  • List, get properties, and delete repositories
  • List and delete tags
  • List, get properties, and delete manifests
  • Download artifacts and manifests
  • Support for both synchronous and asynchronous clients
  • Authentication via Entra ID and anonymous access

使用场景

  • Automating the cleanup of old or untagged container images
  • Integrating container registry management into CI/CD pipelines
  • Programmatically securing production images by locking them
  • Scripting bulk operations on container repositories and tags

非目标

  • Building or pushing container images
  • Managing Azure resources beyond the container registry itself
  • Providing a Docker daemon or registry interface

工作流

  1. Configure Azure credentials and ACR endpoint
  2. Instantiate the ContainerRegistryClient
  3. Perform repository operations (list, get properties, delete)
  4. Perform tag operations (list, get properties, delete)
  5. Perform manifest operations (list, get properties, delete)
  6. Download artifacts or manifests
  7. Utilize async client for high-throughput operations
  8. Implement cleanup routines for old images

实践

  • Authentication with Entra ID
  • Repository and Manifest Management
  • Image Lifecycle Management
  • Code Security and Best Practices

先决条件

  • Python 3.7+
  • Azure subscription and permissions to access ACR
  • Azure CLI or other means to authenticate (e.g., Service Principal, Managed Identity)

安装

请先添加 Marketplace

/plugin marketplace add microsoft/skills
/plugin install azure-sdk-python@skills

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标2.3k
许可证MIT
状态
查看源代码

类似扩展

Azure App Configuration SDK for Python

100

Azure App Configuration SDK for Python. Use for centralized configuration management, feature flags, and dynamic settings. Triggers: "azure-appconfiguration", "AzureAppConfigurationClient", "feature flags", "configuration", "key-value settings".

技能
microsoft

Azure Servicebus Py

100

Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns. Triggers: "service bus", "ServiceBusClient", "queue", "topic", "subscription", "message broker".

技能
microsoft

Azure Monitor Query Py

100

Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".

技能
microsoft

Setup Container Registry

99

Configure container image registries including GitHub Container Registry (ghcr.io), Docker Hub, and Harbor with automated image scanning, tagging strategies, retention policies, and CI/CD integration for secure image distribution. Use when setting up a private container registry, migrating from Docker Hub to self-hosted registries, implementing vulnerability scanning in CI/CD pipelines, managing multi-architecture images, enforcing image signing, or configuring automatic cleanup and retention policies.

技能
pjt222

Azure Ai Document Intelligence Dotnet

100

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".

技能
microsoft

Skill Creator

99

Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.

技能
microsoft