CmdID / az / az devcenter / az devcenter admin / az devcenter admin catalog
az devcenter admin catalog create
Create a catalog. Azure CLI extensions reference
2 examples 6 options Its page in the Azure CLI extensions reference
Examples
Create using an Azure DevOps repository
az devcenter admin catalog create --ado-git path="/templates" branch="main" secret-identifier="https://contosokv.vault.azure.net/secrets/CentralRepoPat" uri="https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"Identify--ado-gitProperties for an Azure DevOps catalog type.--nameThe name of the catalog.--dev-center-nameThe name of the dev center.--resource-groupName of resource group.Create using a GitHub repository
az devcenter admin catalog create --git-hub path="/templates" branch="main" secret-identifier="https://contosokv.vault.azure.net/secrets/CentralRepoPat" uri="https://github.com/Contoso/centralrepo-fake.git" --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"Identify--git-hubProperties for a GitHub catalog type.--nameThe name of the catalog.--dev-center-nameThe name of the dev center.--resource-groupName of resource group.Options
--ado-gitProperties for an Azure DevOps catalog type.--catalog-name, --name, -nThe name of the catalog.--dev-center-name, --dev-center, -dThe name of the dev center.--git-hubProperties for a GitHub catalog type.--sync-typeIndicates the type of sync that is configured for the catalog.--tagsResource tags.