Skip to content

Commit 8e96ab9

Browse files
Merge pull request #270144 from JnHs/jh-copilot-cliprompts
add more example prompts
2 parents 50da63f + 5bf2183 commit 8e96ab9

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

articles/copilot/generate-cli-scripts.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Generate Azure CLI scripts using Microsoft Copilot for Azure (preview)
33
description: Learn about scenarios where Microsoft Copilot for Azure (preview) can generate Azure CLI scripts for you to customize and use.
4-
ms.date: 11/15/2023
4+
ms.date: 03/25/2024
55
ms.topic: conceptual
66
ms.service: copilot-for-azure
77
ms.custom: ignite-2023, ignite-2023-copilotinAzure, devx-track-azurecli
@@ -21,11 +21,18 @@ When you tell Microsoft Copilot for Azure (preview) about a task you want to per
2121

2222
## Sample prompts
2323

24-
Here are a few examples of the kinds of prompts you can use to generate Azure CLI scripts. Modify these prompts based on your real-life scenarios, or try additional prompts to create different kinds of queries.
25-
26-
- "I want to create a virtual machine using Azure CLI"
27-
- "I want to use Azure CLI to deploy and manage AKS using a private service endpoint"
28-
- "I want to create a web app using Azure CLI"
24+
Here are a few examples of the kinds of prompts you can use to generate Azure CLI scripts. Some prompts will return a single command, while others provide multiple steps walking through the full scenario. Modify these prompts based on your real-life scenarios, or try additional prompts to create different kinds of queries.
25+
26+
- "Give me a CLI script to create a new storage account"
27+
- "How do I list all my VMs using Azure CLI?"
28+
- "Create a virtual network with two subnets using the address space of 10.0.0.0/16 using az cli"
29+
- "I need to assign a dns name to a vm using a script"
30+
- "How to attach a disk to a VM using az cli ?"
31+
- "How to create and manage a Linux pool in Azure Batch using cli?"
32+
- "Show me how to backup and restore a web app from a backup using cli"
33+
- "Create VNet service endpoints for Azure Database for PostgreSQL using CLI"
34+
- "I want to create a function app with a named storage account connection using Azure CLI"
35+
- "How to create an App Service app and deploy code to a staging environment using CLI?"
2936

3037
## Examples
3138

0 commit comments

Comments
 (0)