Muokkaa

Jaa


Example prompts for learning about Azure and your application with GitHub Copilot for Azure Preview

If you're unfamiliar with Azure and how you can use it for your application, you can ask GitHub Copilot for Azure Preview to help you. Use best practices to achieve the best results.

Example prompts to learn about Azure

If you want to use GitHub Copilot for Azure Preview to learn about how to use Azure for your application, you can start with an open-ended question or request. Then, add details like specific services and technologies for better results. Try the following example prompts.

Learn about system architecture on Azure

Use GitHub Copilot to recommend Azure services to use for your project.

  • "@azure What Azure services should I use with my app?"
  • "@azure Please recommend Azure services for my project"

When asked to recommend an Azure service, GitHub Copilot for Azure scans the current application in the workspace and provides recommendations for Azure services and service bindings.

You can work in an iterative manner asking GitHub Copilot for Azure to update the recommendations to use a different Azure service or change the bindings information. Example prompts:

  • "@azure I'd like to use App Service instead of Azure Container App for my api project"
  • "@azure Add a Cosmos DB to my project"
  • "@azure The SERVICE_URL value should be bing.com"
  • "@azure Add an environment variable STAGE=dev to my project"

You can follow-up by asking more detailed questions based on GitHub Copilot for Azure's recommendations. Here are some example detailed questions to help you understand the types of prompts you can use.

  • "@azure How can I create a highly available architecture in Azure?"
  • "@azure Explain the Azure Well-Architected Framework."
  • "@azure What types of app hosting solutions does Azure have?"
  • "@azure Help me orchestrate and automate my data processing workflows."
  • "@azure How can I integrate SignalR with Azure Application Gateway and Azure API Management?"
  • "@azure How many units do you recommend?"
  • "@azure What are the benefits and applications of using Terraform?"

Learn about AI on Azure

  • "@azure I want to build an AI application. What services can I use?"

Learn about web and application hosting on Azure

  • "@azure Which Azure service is best for hosting a scalable web application?"
  • "@azure Which service should I use to create a website?"
  • "@azure How can I use Azure to build a scalable web application?"
  • "@azure For what scenarios is Azure Functions better than Web Apps?"

Learn about containers on Azure

  • "@azure What types of containerized applications does Azure support?"
  • "@azure What are the options for managing containers in Azure?"
  • "@azure When should I use Azure Kubernetes Service instead of Azure Container Apps?"
  • "@azure What's the difference between Azure Container Apps and AKS?"
  • "@azure Why would I choose Azure Container Apps over AKS?"

Learn how to use Azure services for your app

Service or technology Learn prompt examples
Azure AI Search
  • "@azure What is Azure AI Search and why should I use it?"
  • "@azure How does pricing work for Azure AI Search?"
  • "@azure How is Azure AI Search integrated with Azure OpenAI?"
  • "@azure How is Azure AI Search integrated with Azure Machine Learning?"
  • "@azure When should I use hybrid search or vector search versus semantic ranker in Azure AI Search?"
  • "@azure Is Azure AI Search a vector database? How does Azure AI Search ensure the accuracy and relevance of vector search results?"
  • "@azure What support do you have for high-scale multitenant applications in Azure AI Search?"
  • "@azure What is the integrated vectorization feature in Azure AI Search? From which data sources can I extract data and use integrated vectorization?"
  • "@azure What is AI enrichment in Azure AI Search? How does AI enrichment work? What are the benefits of using AI enrichment?"
  • "@azure What is the semantic ranker in Azure AI Search? How is it different from vector search?"
  • "@azure What are top recommended code samples or solution accelerators for Azure AI Search?"
  • "@azure What are some real-world examples of businesses using Azure AI Search?"
Azure API Management
  • "@azure What are the benefits and applications of Azure API Management?"
Azure App Service
  • "@azure How do I deploy a web app in Azure?"
  • "@azure How do I create an App Service app and deploy code to a staging environment by using the CLI?"
  • "@azure Create a script to deploy a web app that will run in Python."
  • "@azure What database options does Azure have for web apps?"
  • "@azure What serverless options does Azure have for web apps?"
  • "@azure Create a guide for maximizing Azure App Service."
Azure Cache for Redis
  • "@azure Demonstrate how to configure a Redis cache in Azure for high availability and disaster recovery."
Azure Container Apps
  • "@azure What is the Azure Container Apps service?"
  • "@azure Tell me the difference between a container app and a container app environment."
Azure Cosmos DB
  • "@azure Why would I use Azure Cosmos DB instead of Azure SQL?"
  • "@azure I want to use Azure Cosmos DB to store my data."
  • "@azure Why would I use an Azure Cosmos DB account over a SQL database?"
Azure Data Factory
  • "@azure How do I create data pipelines with Azure Data Factory?"
Azure Developer CLI (azd)
  • "@azure Do you have example deployment models for Azure? SaaS, PaaS, etc."
  • "@azure What is the best infrastructure for my application?"
  • "@azure How do I set up my Azure environment?"
  • "@azure What are Azure Resource Manager templates and how do I use them?"
  • "@azure How do I manage environments with the Azure Developer CLI?"
  • "@azure What is the Azure Developer CLI?"
  • "@azure What is the difference between Bicep and ARM templates?"
  • "@azure How do I make sure my environments have the best security patterns?"
  • "@azure How do I deploy by using my CI/CD pipeline?"
Azure Functions
  • "@azure How do I create a new Azure function?"
  • "@azure What is the difference between Azure Functions and Azure Logic Apps?"
  • "@azure Create a guide for integrating Azure Logic Apps with Azure Functions."
  • "@azure I want to create an Azure function in Node.js."
Azure Key Vault
  • "@azure Explain how and why I should use Azure key vaults."
Azure Kubernetes Service (AKS)
  • "@azure How do I get the status of all nodes in my AKS cluster?"
  • "@azure What's the command to set a context for my AKS cluster?"
Azure Machine Learning
  • "@azure Generate a PowerShell script to create a new Azure Machine Learning workspace."
  • "@azure What is the difference between Azure AI services and Azure Machine Learning?"
Azure Monitor
  • "@azure Create a guide for using Azure Logic Apps to automate responses to Azure Monitor alerts."
Azure Virtual Network
  • "@azure How do I balance inbound network traffic to my application?"
Azure OpenAI Service
  • "@azure What services does Azure OpenAI provide?"
  • "@azure Where is GPT-4o mini available?"
  • "@azure What are the prerequisites for integrating Azure OpenAI?"
  • "@azure Create a guide for creating and using Azure OpenAI resources."
  • "@azure What are the available types of Azure OpenAI models?"
Azure SDK
  • "@azure Can I use Azure SDKs in the browser?"
  • "@azure Does the C# storage SDK support chunked blob uploads and downloads?"
Azure SignalR Service
  • "@azure How do I host and scale SignalR on multiple servers?"
  • "@azure How do I do real-time communication in .NET?"
  • "@azure How do I push real-time updates to clients?"
  • "@azure How do I synchronize data across clients?"
  • "@azure How do I stream data to clients?"
  • "@azure How do I manage and scale WebSocket connections?"
  • "@azure How do I host and scale Socket.IO?"
  • "@azure What do I need to do to configure my SignalR code to work with Azure SignalR Service?"
  • "@azure Evaluate my use of SignalR. Is it following the best security practices?"
  • "@azure How do I stress test SignalR?"
  • "@azure How do I configure networking in Azure SignalR Service?"
  • "@azure How do I configure an Azure Web PubSub event handler?"
Azure SQL
  • "@azure Create a Terraform configuration to deploy an Azure SQL database."
  • "@azure Design a strategy for migrating on-premises SQL Server databases to Azure SQL Managed Instance."
Azure Static Web Apps
  • "@azure Do static web apps support static IP addresses?"
Azure Storage
  • "@azure Why would I use a blob storage?"
  • "@azure How do I pull data from a storage blob in React?"
  • "@azure Outline steps to secure Azure Blob Storage with private endpoints and Azure Private Link."
  • "@azure Generate an Azure CLI script to create a new storage account."
  • "@azure Give me the code to create a new storage account with a CLI."
  • "@azure Can you help me choose the right Azure storage solution?"
Azure Web PubSub
  • "@azure How do I authenticate with Web PubSub?"
  • "@azure What do I need to do to host my Socket.IO app on Azure?"
  • "@azure How do I stress test Web PubSub?"