Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 2.47 KB

File metadata and controls

40 lines (24 loc) · 2.47 KB
title Azure CLI samples full list | Microsoft Docs
description Find links to Azure CLI samples. Search by Azure service, command name, or GitHub file name.
ms.service azure-cli
ms.topic sample
ms.custom devx-track-azurecli

Azure CLI sample scripts

Azure CLI samples provide end-to-end scenarios for jobs to be done. This article provides an A - Z list of Azure CLI samples written for Bash environments.

Not every Azure CLI reference command is used in a sample script. For a complete list of Azure CLI commands, see the A - Z reference list. For a list of popular conceptual content for each reference group, see Azure CLI conceptual article list.

List of samples

Use these three tabs to find Azure CLI samples. List by subject area and List by reference group tabs contain the same samples. Only the sort is different. The Azure CLI samples GitHub repository tab has more samples as not every GitHub sample is used in an article.

Use this list of Azure CLI samples to find samples for the subject area that published the script. (Many Azure CLI scripts use reference commands from more than one Azure service.)

[!INCLUDE sample-list-azure-service]

Use this list of Azure CLI samples to find scripts that demonstrate a particular command.

[!INCLUDE sample-list-reference-group]

Some Azure services store their Azure CLI samples in the Azure-samples/azure-cli-samples GitHub repository. Most of these samples have a conceptual article published that provides more explanation. However, if you prefer to go straight to the script source, use the GitHub file links provided here. For a more complete list of Azure CLI samples, use the List by Azure service or List by reference command tabs.

For space considerations, some common Azure CLI commands, like az group are removed from the delimited list of reference commands.

[!INCLUDE samples-azure-cli-samples-repo]