Registry / cloud / azure-azure-sdk-for-go-sdk-resourcemanager-containerregistry-armcontainerregistry

azure-azure-sdk-for-go-sdk-resourcemanager-containerregistry-armcontainerregistry

JSON →
library1.2.0gogounverified

Provides Azure SDK for managing Azure Container Registry resources (ARM).

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry
INSTALL
IMPORT
SIG · AZURE-AZURE-SDK-FO
A
azure-azure-sdk-for-go-sdk-resourcemanager-containerregistry-armcontainerregistry
cloudgov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

armcontainerregistry
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry

Lists all container registries in a subscription using default Azure credentials.

package main import ( "context" "fmt" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" ) func main() { cred, _ := azidentity.NewDefaultAzureCredential(nil) client, _ := armcontainerregistry.NewRegistriesClient("subscription-id", cred, nil) resp, _ := client.List(context.Background(), nil) for _, reg := range resp.Value { fmt.Println(*reg.Name) } }
Debug
Known issues
gotchaRequires Azure authentication setup (e.g., environment variables or managed identity).
fix
Ensure DefaultAzureCredential is configured correctly before using the SDK.
affects: all
Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
azure-azure-sdk-for-go-sdk-resourcemanager-containerregistry-armcontainerregistry — go get azure-azure-sdk-for-go-sdk-resourcemanager-containerregistry-armcontainerregistry · libregistry