From 76933cc6a2947093599bba9fb1bc0eeddff55375 Mon Sep 17 00:00:00 2001 From: Dongjiang You Date: Tue, 7 Feb 2017 11:53:15 -0800 Subject: [PATCH] Add Powershell commands and update API/SDK references (#19) * Add Powershell help to FAQ * Update API and SDK --- README.md | 17 ++++++++++++----- docs/FAQ.md | 14 ++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2404fef..db4f961 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ACR User Accounts - https://blogs.msdn.microsoft.com/stevelasker/2016/11/17/azur Official Documentation Page - https://docs.microsoft.com/en-us/azure/container-registry/ -Contribute to Documentation - https://github.com/Microsoft/azure-docs/blob/master/articles/container-registry/toc.md +Contribute to Documentation - https://github.com/Microsoft/azure-docs/blob/master/articles/container-registry/TOC.md Azure Container Registry Home Page - https://azure.microsoft.com/en-us/services/container-registry/ @@ -24,8 +24,15 @@ Azure Management Portal - https://portal.azure.com/#blade/HubsExtension/Resource AZ CLI Reference - https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-acr/README.rst -REST API Reference - https://docs.microsoft.com/en-us/rest/api/containerregistry/ - -Python SDK - https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-containerregistry - Log Issues - https://github.com/Azure/acr/issues + +## API and SDK References + +REST API Reference - https://docs.microsoft.com/en-us/rest/api/containerregistry/ +> Swagger Specification - https://github.com/Azure/azure-rest-api-specs/blob/master/arm-containerregistry/2016-06-27-preview/swagger/containerregistry.json + +SDK for Python - https://pypi.python.org/pypi/azure-mgmt-containerregistry/0.1.1 +> Source - https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-containerregistry + +SDK for .NET - https://www.nuget.org/packages/Microsoft.Azure.Management.ContainerRegistry/1.0.0-preview +> Source - https://github.com/Azure/azure-sdk-for-net/tree/AutoRest/src/ResourceManagement/ContainerRegistry diff --git a/docs/FAQ.md b/docs/FAQ.md index 08dbfb9..674bcc7 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -22,3 +22,17 @@ https://\/v2/ ## Is Azure Premium Storage account supported? Azure Premium Storage account is not supported. + +## How to get admin login credential for a container registry? + +Please make sure admin is enabled. + +Using `az cli` +``` +az acr credential show -n myRegistry +``` + +Using `Azure Powershell` +``` +Invoke-AzureRmResourceAction -Action getCredentials -ResourceType Microsoft.ContainerRegistry/registries -ResourceGroupName myResourceGroup -ResourceName myRegistry +```