samples-azure-service.md

September 10, 2025 ยท View on GitHub

Subject areaSample name
app-serviceCreate an App Service app with continuous deployment from an Azure DevOps repository using Azure CLI
Create an ASP.NET Core app in a Docker container in App Service from Azure Container Registry
azure-app-configurationCreate an Azure App Configuration store with the Azure CLI
Delete an Azure App Configuration store with the Azure CLI
Export from an Azure App Configuration store
Import to an Azure App Configuration store
Work with key-values in an Azure App Configuration store
azure-arcAzure Resource Graph sample queries for Azure Arc
azure-cache-for-redisCreate a Premium Azure Cache for Redis with clustering
Create an Azure Redis using the Azure CLI
Quickstart: Route Azure Cache for Redis events to web endpoint with Azure CLI
azure-devopsManage variables in variable groups with the Azure DevOps CLI
azure-functionsCreate a function app for serverless code execution
Create a function app in a Premium plan - Azure CLI
Create a Function App in an App Service plan
Create a function app in Azure that is deployed from GitHub
Create a function app with a named Storage account connection
Create a serverless Python function app using Azure CLI
Create an Azure Function that connects to an Azure Cosmos DB
Mount a file share to a Python function app using Azure CLI
azure-monitorCreate metric alert in Azure CLI
azure-signalrCreate a SignalR Service
Create a SignalR Service with an App Service
Create a web app that uses SignalR Service and GitHub authentication
azure-sql-edgeInstall software and set up resources for the tutorial
batchCLI example: Add an application to an Azure Batch account
CLI example: Create a Batch account in Batch service mode
CLI example: Create a Batch account in user subscription mode
CLI example: Create and manage a Linux pool in Azure Batch
CLI example: Create and manage a Windows pool in Azure Batch
CLI example: Run a job and tasks with Azure Batch
cdnCreate an Azure Content Delivery Network profile and endpoint using the Azure CLI
chaos-studioUse REST APIs to interact with Chaos Studio
communication-servicesCreate and manage access tokens
Email Resource Management: Automating end to end resource creation
Migrate from Twilio Conversations Chat to Azure Communication Services
QuickStart: Add 1:1 video calling to your app
Quickstart: Add Chat to your App
Quickstart: Add voice calling to your app
Quickstart: Create and manage a room resource
Quickstart: Create and manage Email Communication Service resources
Quickstart: How to add and remove Multiple Sender Addresses to Email Communication Service
Quickstart: How to add Azure Managed Domains to Email Communication Service
Quickstart: How to add custom verified email domains
Record a call when it starts
cosmos-dbAdd or remove IP firewall rules in bulk
Add regions, change failover priority, trigger failover for an Azure Cosmos DB account using Azure CLI
Connect an existing Azure Cosmos DB account with virtual network service endpoints using Azure CLI
Convert every Azure Cosmos DB resource from standard to autoscale throughput
Create a database and collection for API for MongoDB for Azure Cosmos DB using Azure CLI
Create a database with autoscale and shared collections for API for MongoDB for Azure Cosmos DB using Azure CLI
Create a resource lock for Azure Cosmos DB Cassandra API keyspace and table using Azure CLI
Create a resource lock for Azure Cosmos DB for Gremlin database and graph using Azure CLI
Create a resource lock for Azure Cosmos DB's API for MongoDB using Azure CLI
Create a serverless database and collection for API for MongoDB for Azure Cosmos DB using Azure CLI
Create an Azure Cosmos DB account with IP firewall using Azure CLI
Create an Azure Cosmos DB account with virtual network service endpoints using Azure CLI
Create an Azure Cosmos DB Cassandra API account, keyspace and table using Azure CLI
Create an Azure Cosmos DB Cassandra API serverless account, keyspace and table using Azure CLI
Create an Azure Cosmos DB for Gremlin account, database and graph using Azure CLI
Create an Azure Cosmos DB for NoSQL account, database and container using Azure CLI
Create an Azure Cosmos DB for NoSQL account, database, and container with autoscale
Create an Azure Cosmos DB for NoSQL serverless account, database and container using Azure CLI
Create an Azure Cosmos DB Table API account and table using Azure CLI
Create resource lock for an Azure Cosmos DB for NoSQL database and container using Azure CLI
Find an existing Azure Cosmos DB free-tier account in a subscription using Azure CLI
Throughput (RU/s) operations with Azure CLI for a database or container for Azure Cosmos DB for NoSQL
Throughput (RU/s) operations with Azure CLI for a database or graph for Azure Cosmos DB - API for Gremlin
Throughput (RU/s) operations with Azure CLI for a database or graph for Azure Cosmos DB for MongoDB
Throughput (RU/s) operations with Azure CLI for a keyspace or table for Azure Cosmos DB - API for Cassandra
Throughput (RU/s) operations with Azure CLI for a table for Azure Cosmos DB for Table
Use Azure CLI for resource lock operations on Azure Cosmos DB for Table tables
Use Azure CLI to create a API for Cassandra account, keyspace, and table with autoscale
Use Azure CLI to create a API for Gremlin account, database, and graph with autoscale
Use Azure CLI to create a Gremlin serverless account, database, and graph
Use Azure CLI to create an Azure Cosmos DB for Table account and table with autoscale
Use Azure CLI to create an Azure Cosmos DB for Table serverless account and table
Work with account keys and connection strings for an Azure Cosmos DB account using Azure CLI
defender-for-cloudAzure Resource Graph sample queries for Microsoft Defender for Cloud
Express configuration Azure Command Line Interface (CLI) commands reference
devtest-labsAzure CLI Samples for Azure DevTest Labs
event-gridCreate custom topic and subscribe to events for an Azure subscription with Azure CLI
frontdoorAzure Front Door: Deploy custom domain
Tutorial: Add and customize delivery rules for Azure Front Door Standard/Premium (Preview) with Azure CLI
governanceAdvanced Resource Graph query samples
Azure Resource Graph sample queries by category
Azure Resource Graph sample queries for Azure Policy
Azure Resource Graph sample queries for management groups
Starter Resource Graph query samples
hdinsightAzure HDInsight: Azure CLI samples
logic-appsAzure CLI script sample - create a logic app
mysqlConfigure audit logs on Azure Database for MySQL - Flexible Server using Azure CLI
Configure same-zone high availability in Azure Database for MySQL - Flexible Server using Azure CLI
Configure slow query logs on an Azure Database for MySQL - Flexible Server instance using Azure CLI
Configure zone-redundant high availability in an Azure Database for MySQL - Flexible Server instance using Azure CLI
Create an Azure Database for MySQL - Flexible Server database in a VNet using Azure CLI
Create an Azure Database for MySQL - Flexible Server instance and enable public access connectivity using Azure CLI
Create and manage read replicas in Azure Database for MySQL - Flexible Server using Azure CLI
List and change server parameters of Azure Database for MySQL - Flexible Server using Azure CLI
Monitor and scale an Azure Database for MySQL - Flexible Server instance using Azure CLI
Restart/stop/start an Azure Database for MySQL - Flexible Server instance using Azure CLI
Restore an Azure Database for MySQL - Flexible Server instance using Azure CLI
postgresqlCreate an Azure Database for PostgreSQL - Flexible Server instance and configure a firewall rule using the Azure CLI
Create an Azure Database for PostgreSQL - Flexible Server instance and configure a virtual network rule using the Azure CLI
Enable and download server slow query logs of an Azure Database for PostgreSQL - Flexible Server instance using Azure CLI
List and update configurations of an Azure Database for PostgreSQL - Flexible Server instance using Azure CLI
Monitor and scale a single Azure Database for PostgreSQL - Flexible Server instance using Azure CLI
Restore an Azure Database for PostgreSQL - Flexible Server instance using Azure CLI
service-fabricCreate a secure Service Fabric Linux cluster via the Azure CLI
service-healthAzure Resource Graph sample queries for Azure Service Health
sql-serverAdd a database to a failover group using the Azure CLI
Add an Azure SQL Database elastic pool to a failover group using the Azure CLI
Azure CLI script to enable transparent data encryption using your own key
Backup an Azure SQL single database to an Azure storage container using the Azure CLI
Configure a failover group for a group of databases in Azure SQL Database using the Azure CLI
Configure active geo-replication for a pooled database in Azure SQL Database using the Azure CLI
Configure active geo-replication for a single database in Azure SQL Database using the Azure CLI
Copy a database in Azure SQL Database to a new logical server using the Azure CLI
Create a single database and configure a firewall rule using the Azure CLI
Create an Azure SQL Managed Instance using the Azure CLI
Import a BACPAC file into a database in SQL Database using the Azure CLI
Monitor and scale a single database in Azure SQL Database using the Azure CLI
Move a database in SQL Database in a SQL elastic pool using the Azure CLI
Restore a single database in Azure SQL Database to an earlier point in time using the Azure CLI
Scale an elastic pool in Azure SQL Database using the Azure CLI
storageCalculate the size of a Blob storage container
Create a storage account and rotate its account access keys
Use an Azure CLI script to delete containers based on container name prefix
virtual-machinesAzure Resource Graph sample queries for Azure Virtual Machines
Copy managed disks to same or different subscription with CLI
Copy snapshot of a managed disk to same or different subscription with CLI
Create a managed disk from a snapshot with CLI (Linux)
Create a managed disk from a VHD file in a storage account in the same subscription with CLI (Linux)
Create a virtual machine from a snapshot with CLI
Create a virtual machine using an existing managed OS disk with CLI
Export/Copy a managed disk to a storage account using the Azure CLI
Export/Copy a snapshot to a storage account in different region with CLI
Move a Marketplace Azure Virtual Machine to another subscription