conversations
listlengths
3
3
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Linux?" }, { "from": "gpt", "value": "Enabling the set of extra security features inside requires that the target operating system be fully up-to-date. Some mitigations will be enabled by default. The following section describes the features which are off by default and/or reliant on hardware support (microcode). Enabling these features may cause a performance impact. Reference your operating system provider's documentation for further instructions\n**Step 1: Disable hyper-threading on the VM** - Customers running untrusted code on a hyper-threaded VM will need to disable hyper-threading or move to a non-hyper-threaded VM. Reference [this doc](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/azure/virtual-machines/acu>) for a list of hyper-threaded VM sizes (where ratio of vCPU to Core is 2:1). To check if you're running a hyper-threaded VM, run the `lscpu` command in the Linux VM.\nIf `Thread(s) per core = 2`, then hyper-threading has been enabled.\nIf `Thread(s) per core = 1`, then hyper-threading has been disabled.\nSample output for a VM with hyper-threading enabled:\nConsole Copy\n```\nCPU Architecture: x86_64\nCPU op-mode(s): 32-bit, 64-bit\nByte Order: Little Endian\nCPU(s): 8\nOn-line CPU(s) list: 0-7\nThread(s) per core: 2\nCore(s) per socket: 4\nSocket(s): 1\nNUMA node(s): 1\n\n```\n\nIf you're running a hyper-threaded VM, [contact Azure Support](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/aka.ms/MicrocodeEnablementRequest-SupportTechnical>) to get hyper-threading disabled. Once hyper-threading is disabled, **support will require a full VM reboot**. Refer to [Core count](https://learn.microsoft.com/en-us/azure/virtual-machines/<#core-count>) to understand why your VM core count decreased.\n**Step 2:** To mitigate against any of the below CPU based memory vulnerabilities, refer to your operating system provider's documentation:\n * [Redhat](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/access.redhat.com/security/vulnerabilities>)\n * [SUSE](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/www.suse.com/support/kb/?doctype%5B%5D=DT_SUSESDB_PSDB_1_1&startIndex=1&maxIndex=0>)\n * [Ubuntu](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/wiki.ubuntu.com/SecurityTeam/KnowledgeBase/>)\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machines/<#core-count>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Core count?" }, { "from": "gpt", "value": "When a hyper-threaded VM is created, Azure allocates 2 threads per core - these are called vCPUs. When hyper-threading is disabled, Azure removes a thread and surfaces up single threaded cores (physical cores). The ratio of vCPU to CPU is 2:1, so once hyper-threading is disabled, the CPU count in the VM will appear to have decreased by half. For example, a D8_v3 VM is a hyper-threaded VM running on 8 vCPUs (2 threads per core x 4 cores). When hyper-threading is disabled, CPUs will drop to 4 physical cores with 1 thread per core.\n[](https://learn.microsoft.com/en-us/azure/virtual-machines/<#next-steps>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Next steps?" }, { "from": "gpt", "value": "For more information about how security is integrated into every aspect of Azure, see [Azure Security Documentation](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/azure/security/index>)." } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Feedback?" }, { "from": "gpt", "value": "Was this page helpful?\nYes No\n[ Provide product feedback ](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/feedback.azure.com/d365community/forum/ec2f1827-be25-ec11-b6e6-000d3a4f0f1c>)|\n[ Get help at Microsoft Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/learn.microsoft.com/answers/tags/94/azure-virtual-machines/>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "Training\nLearning path\n[ Implement virtual machine host security in Azure - Training ](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/training/paths/implement-host-security/?source=recommendations>)\nLearn how to protect and harden your virtual machines in Azure\nCertification\n[ Microsoft Certified: Azure Virtual Desktop Specialty - Certifications ](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/credentials/certifications/azure-virtual-desktop-specialty/?source=recommendations>)\nPlan, deliver, manage, and monitor virtual desktop experiences and remote apps on Microsoft Azure for any device.\n[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fmitigate-se>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "Training\nLearning path\n[ Implement virtual machine host security in Azure - Training ](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/training/paths/implement-host-security/?source=recommendations>)\nLearn how to protect and harden your virtual machines in Azure\nCertification\n[ Microsoft Certified: Azure Virtual Desktop Specialty - Certifications ](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/credentials/certifications/azure-virtual-desktop-specialty/?source=recommendations>)\nPlan, deliver, manage, and monitor virtual desktop experiences and remote apps on Microsoft Azure for any device." } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fmitigate-se>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machines/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machines/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain [Skip to main content](https://learn.microsoft.com/en-us/azure/service-fabric/<#main>)?" }, { "from": "gpt", "value": "This browser is no longer supported.\nUpgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.\n[Download Microsoft Edge](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/go.microsoft.com/fwlink/p/?LinkID=2092881 >) [More info about Internet Explorer and Microsoft Edge](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge>)\n[ Learn ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/>) [ ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.microsoft.com>)\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/service-fabric/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/service-fabric/<#>)\n[ ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.microsoft.com>) [ Learn ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/>)\n * Discover\n * [ Documentation ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/docs/>)\nIn-depth articles on Microsoft developer tools and technologies\n * [ Training ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/>)\nPersonalized learning paths and courses\n * [ Credentials ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/credentials/>)\nGlobally recognized, industry-endorsed credentials\n * [ Q&A ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/answers/>)\nTechnical questions and answers moderated by Microsoft\n * [ Code Samples ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/samples/>)\nCode sample library for Microsoft developer tools and technologies\n * [ Assessments ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/assessments/>)\nInteractive, curated guidance and recommendations\n * [ Shows ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/shows/>)\nThousands of hours of original programming from Microsoft experts\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Product documentation\n * [ ASP.NET ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/aspnet/>)\n * [ Azure ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/>)\n * [ Dynamics 365 ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dynamics365/>)\n * [ Microsoft 365 ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/microsoft-365/>)\n * [ Microsoft Copilot ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/copilot/>)\n * [ Microsoft Edge ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/microsoft-edge/>)\n * [ Microsoft Entra ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/entra/>)\n * [ Microsoft Graph ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/graph/>)\n * [ Microsoft Intune ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/mem/>)\n * [ Microsoft Purview ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/purview/>)\n * [ Microsoft Teams ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/microsoftteams/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dotnet/>)\n * [ Power Apps ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/power-apps/>)\n * [ Power BI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/power-bi/>)\n * [ Power Platform ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/power-platform/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/powershell/>)\n * [ SQL ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/sql/>)\n * [ Sysinternals ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/sysinternals/>)\n * [ Visual Studio ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/visualstudio/>)\n * [ Windows ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/windows/>)\n * [ Windows Server ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/windows-server/>)\n[ View all products ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/docs/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Development languages\n * [ C++ ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/cpp/>)\n * [ C# ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dotnet/csharp/>)\n * [ DAX ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dax/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/java/>)\n * [ OData ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/odata/>)\n * [ OpenAPI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/openapi/>)\n * [ Power Query M ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/powerquery-m/>)\n * [ VBA ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/office/vba/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Topics\n * [ Artificial intelligence ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/ai/>)\n * [ Compliance ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/compliance/>)\n * [ DevOps ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/devops/>)\n * [ Platform engineering ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/platform-engineering/>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/security/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/service-fabric/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/service-fabric/<#>)\n[ Azure ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/>)\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/support/options/>)\n * More\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/support/options/>)\n\n[ Portal ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/portal.azure.com>) [ Free account ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/azure.microsoft.com/free/>)\nTable of contents Exit focus mode\nSearch\nSuggestions will filter as you type\n * [Service Fabric Documentation](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/>)\n * Overview\n * Quickstarts\n * [Managed cluster with Azure portal](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/quickstart-managed-cluster-portal>)\n * [Managed cluster with ARM template](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/quickstart-managed-cluster-template>)\n * [Service Fabric cluster with Azure portal](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/quickstart-classic-cluster-portal>)\n * [Service Fabric cluster with Bicep](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/quickstart-cluster-bicep>)\n * [Service Fabric cluster with ARM template](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/quickstart-cluster-template>)\n * [Create .NET application](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-quickstart-dotnet>)\n * [Deploy a Linux container application](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-quickstart-containers-linux>)\n * [Deploy a Windows container application](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-quickstart-containers>)\n * Java Quickstarts\n * Tutorials\n * Best practices\n * Samples\n * Concepts\n * How-to guides\n * Reference\n * [Azure PowerShell](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/powershell/module/az.servicefabric/>)\n * [PowerShell](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/powershell/module/servicefabric/>)\n * [Azure CLI (az sf)](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/cli/azure/sf>)\n * Service Fabric CLI (sfctl)\n * [Java API](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/java/api/overview/azure/servicefabric>)\n * [.NET](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/dotnet/api/overview/azure/service-fabric>)\n * [REST](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/rest/api/servicefabric>)\n * [Resource Manager template](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/templates/microsoft.servicefabric/clusters>)\n * [Service Fabric events](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-event-generation-operational>)\n * [Monitoring data reference](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/monitor-service-fabric-reference>)\n * [Configure cluster settings and fabric upgrade policy](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-fabric-settings>)\n * Service model XML schema\n * [Environment variables](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-environment-variables-reference>)\n * [Azure Policy built-ins](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/policy-reference>)\n * Resources\n * [Support and troubleshooting](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-support>)\n\nDownload PDF\n 1. [ Learn ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/>)\n 2. [ Azure ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [ Service Fabric ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/>)\n\n 1. [Learn](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/>)\n 2. [Azure](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [Service Fabric](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/>)\n\n[ Read in English ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-event-generation-operational> \"Read in English\") Save\n * Add to Collections\n * Add to Plan\n\n[ ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/service-fabric/service-fabric-diagnostics-event-generation-operational.md> \"Edit This Document\")\nTable of contents[ Read in English ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-event-generation-operational> \"Read in English\") Add to Collections Add to Plan [ Edit ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/service-fabric/service-fabric-diagnostics-event-generation-operational.md> \"Edit This Document\")\n#### Share via\n[ Facebook ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational%3FWT.mc_id%3Dfacebook>) [ x.com ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational%3FWT.mc_id%3Dtwitter&text=Today%20I%20completed%20%22Azure%20Service%20Fabric%20Event%20List%20-%20Azure%20Service%20Fabric%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!&tw_p=tweetbutton&url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational%3FWT.mc_id%3Dtwitter>) [ LinkedIn ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.linkedin.com/feed/?shareActive=true&text=Today%20I%20completed%20%22Azure%20Service%20Fabric%20Event%20List%20-%20Azure%20Service%20Fabric%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!%0A%0D%0Ahttps%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational%3FWT.mc_id%3Dlinkedin>) Email Print\nTable of contents\n# List of Service Fabric events\n * Article\n * 08/22/2024\n * 9 contributors\n\nFeedback" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "1. [Cluster events](https://learn.microsoft.com/en-us/azure/service-fabric/<#cluster-events>)\n 2. [Node events](https://learn.microsoft.com/en-us/azure/service-fabric/<#node-events>)\n 3. [Application events](https://learn.microsoft.com/en-us/azure/service-fabric/<#application-events>)\n 4. [Service events](https://learn.microsoft.com/en-us/azure/service-fabric/<#service-events>)\n 5. [Partition events](https://learn.microsoft.com/en-us/azure/service-fabric/<#partition-events>)\n 6. [Replica events](https://learn.microsoft.com/en-us/azure/service-fabric/<#replica-events>)\n 7. [Container events](https://learn.microsoft.com/en-us/azure/service-fabric/<#container-events>)\n 8. [BackupRestoreService Events](https://learn.microsoft.com/en-us/azure/service-fabric/<#backuprestoreservice-events>)\n 9. [Health reports](https://learn.microsoft.com/en-us/azure/service-fabric/<#health-reports>)\n 10. [Chaos testing events](https://learn.microsoft.com/en-us/azure/service-fabric/<#chaos-testing-events>)\n 11. [Other events](https://learn.microsoft.com/en-us/azure/service-fabric/<#other-events>)\n 12. [Events prior to version 6.2](https://learn.microsoft.com/en-us/azure/service-fabric/<#events-prior-to-version-62>)\n 13. [Next steps](https://learn.microsoft.com/en-us/azure/service-fabric/<#next-steps>)\n\nShow 9 more\nService Fabric exposes a primary set of cluster events to inform you of the status of your cluster as [Service Fabric Events](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-events>). These are based on actions performed by Service Fabric on your nodes and your cluster or management decisions made by a cluster owner/operator. These events can be accessed by configuring in various ways including configuring [Azure Monitor logs with your cluster](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-oms-setup>), or querying the [EventStore](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-eventstore>). On Windows machines, these events are fed into the EventLog - so you can see Service Fabric Events in Event Viewer.\nHere are some characteristics of these events\n * Each event is tied to a specific entity in the cluster, for example, Application, Service, Node, Replica.\n * Each event contains a set of common fields: EventInstanceId, EventName, and Category.\n * Each event contains fields that tie the event back to the entity it's associated with. For instance, the ApplicationCreated event would have fields that identify the name of the application created.\n * Events are structured in such a way that they can be consumed in various tools to do further analysis. Additionally, relevant details for an event are defined as separate properties as opposed to a long String.\n * Events are written by different subsystems in Service Fabric are identified by Source(Task) below. More information is available on these subsystems in [Service Fabric Architecture](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-architecture>) and [Service Fabric Technical Overview](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-technical-overview>).\n\nHere's a list of these Service Fabric events organized by entity.\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#cluster-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Cluster events?" }, { "from": "gpt", "value": "**Cluster upgrade events**\nMore details on cluster upgrades can be found [here](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-cluster-upgrade-windows-server>).\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n29627 | ClusterUpgradeStarted | Upgrade | A cluster upgrade has started | CM | Informational\n29628 | ClusterUpgradeCompleted | Upgrade | A cluster upgrade has completed | CM | Informational\n29629 | ClusterUpgradeRollbackStarted | Upgrade | A cluster upgrade has started to roll back | CM | Warning\n29630 | ClusterUpgradeRollbackCompleted | Upgrade | A cluster upgrade has completed rolling back | CM | Warning\n29631 | ClusterUpgradeDomainCompleted | Upgrade | An upgrade domain has finished upgrading during a cluster upgrade | CM | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#node-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Node events?" }, { "from": "gpt", "value": "**Node lifecycle events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n18602 | NodeDeactivateCompleted | StateTransition | Deactivation of a node has completed | FM | Informational\n18603 | NodeUp | StateTransition | The cluster has detected a node has started up | FM | Informational\n18604 | NodeDown | StateTransition | The cluster has detected a node has shut down. During a node restart, you'll see a NodeDown event followed by a NodeUp event | FM | Error\n18605 | NodeAddedToCluster | StateTransition | A new node has been added to the cluster and Service Fabric can deploy applications to this node | FM | Informational\n18606 | NodeRemovedFromCluster | StateTransition | A node has been removed from the cluster. Service Fabric will no longer deploy applications to this node | FM | Informational\n18607 | NodeDeactivateStarted | StateTransition | Deactivation of a node has started | FM | Informational\n25621 | NodeOpenSucceeded | StateTransition | A node started successfully | FabricNode | Informational\n25622 | NodeOpenFailed | StateTransition | A node failed to start and join the ring | FabricNode | Error\n25624 | NodeClosed | StateTransition | A node shut down successfully | FabricNode | Informational\n25626 | NodeAborted | StateTransition | A node has ungracefully shut down | FabricNode | Error\n**Ktl Logger Node events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n50187 | SharedLogWriteThrottled | Health | Writes to Shared log are throttling | KtlLoggerNode | Informational\n50188 | SharedLogWriteUnthrottled | Health | Writes to Shared log have unthrottled | KtlLoggerNode | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#application-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Application events?" }, { "from": "gpt", "value": "**Application lifecycle events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n29620 | ApplicationCreated | LifeCycle | A new application was created | CM | Informational\n29625 | ApplicationDeleted | LifeCycle | An existing application was deleted | CM | Informational\n23083 | ApplicationProcessExited | LifeCycle | A process within an application has exited | Hosting | Informational\n**Application upgrade events**\nMore details on application upgrades can be found [here](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-application-upgrade>).\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n29621 | ApplicationUpgradeStarted | Upgrade | An application upgrade has started | CM | Informational\n29622 | ApplicationUpgradeCompleted | Upgrade | An application upgrade has completed | CM | Informational\n29623 | ApplicationUpgradeRollbackStarted | Upgrade | An application upgrade has started to roll back | CM | Warning\n29624 | ApplicationUpgradeRollbackCompleted | Upgrade | An application upgrade has completed rolling back | CM | Warning\n29626 | ApplicationUpgradeDomainCompleted | Upgrade | An upgrade domain has finished upgrading during an application upgrade | CM | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#service-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Service events?" }, { "from": "gpt", "value": "**Service lifecycle events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n18657 | ServiceCreated | LifeCycle | A new service was created | FM | Informational\n18658 | ServiceDeleted | LifeCycle | An existing service was deleted | FM | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#partition-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Partition events?" }, { "from": "gpt", "value": "**Partition move events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n18940 | PartitionReconfigured | LifeCycle | A partition reconfiguration has completed | RA | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#replica-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Replica events?" }, { "from": "gpt", "value": "**Replica lifecycle events**\nExpand table\nEventId | Name | Category | Description | Source (Task) | Level\n---|---|---|---|---|---\n61701 | ReliableDictionaryOpened | LifeCycle | Reliable dictionary has opened | DistributedDictionary | Informational\n61702 | ReliableDictionaryClosed | LifeCycle | Reliable dictionary has closed | DistributedDictionary | Informational\n61703 | ReliableDictionaryCheckpointRecovered | LifeCycle | Reliable dictionary has recovered its checkpoint | DistributedDictionary | Informational\n61704 | ReliableDictionaryCheckpointFilesSent | LifeCycle | Replica has sent reliable dictionary's checkpoint files | DistributedDictionary | Informational\n61705 | ReliableDictionaryCheckpointFilesReceived | LifeCycle | Replica has received reliable dictionary's checkpoint files | DistributedDictionary | Informational\n61963 | ReliableQueueOpened | LifeCycle | Reliable queue has opened | DistributedQueue | Informational\n61964 | ReliableQueueClosed | LifeCycle | Reliable queue has closed | DistributedQueue | Informational\n61965 | ReliableQueueCheckpointRecovered | LifeCycle | Reliable queue has recovered its checkpoint | DistributedQueue | Informational\n61966 | ReliableQueueCheckpointFilesSent | LifeCycle | Replica has sent reliable queue's checkpoint files | DistributedQueue | Informational\n63647 | ReliableQueueCheckpointFilesReceived | LifeCycle | Replica has received reliable queue's checkpoint files | DistributedQueue | Informational\n63648 | ReliableConcurrentQueueOpened | LifeCycle | Reliable concurrent queue has opened | ReliableConcurrentQueue | Informational\n63649 | ReliableConcurrentQueueClosed | LifeCycle | Reliable concurrent queue has closed | ReliableConcurrentQueue | Informational\n63650 | ReliableConcurrentQueueCheckpointRecovered | LifeCycle | Reliable concurrent queue has recovered its checkpoint | ReliableConcurrentQueue | Informational\n61687 | TStoreError | Failure | Reliable collection has received an unexpected error | TStore | Error\n63831 | PrimaryFullCopyInitiated | LifeCycle | Primary replica has initiated a full copy | TReplicator | Informational\n63832 | PrimaryPartialCopyInitiated | LifeCycle | Primary replica has initiated a partial copy | TReplicator | Informational\n16831 | BuildIdleReplicaStarted | LifeCycle | Primary replica has started building idle replica | Replication | Informational\n16832 | BuildIdleReplicaCompleted | LifeCycle | Primary replica has completed building idle replica | Replication | Informational\n16833 | BuildIdleReplicaFailed | LifeCycle | Primary replica has failed building idle replica | Replication | Warning\n16834 | PrimaryReplicationQueueFull | Health | Primary replica's replication queue is full | Replication | Warning\n16835 | PrimaryReplicationQueueWarning | Health | Primary replica's replication queue is near full | Replication | Warning\n16836 | PrimaryReplicationQueueWarningMitigated | Health | Primary replica's replication queue is okay | Replication | Informational\n16837 | SecondaryReplicationQueueFull | Health | Secondary replica's replication queue is full | Replication | Warning\n16838 | SecondaryReplicationQueueWarning | Health | Secondary replica's replication queue is near full | Replication | Warning\n16839 | SecondaryReplicationQueueWarningMitigated | Health | Secondary replica's replication queue is okay | Replication | Informational\n16840 | PrimaryFaultedSlowSecondary | Health | Primary replica has faulted a slow secondary replica | Replication | Warning\n16841 | ReplicatorFaulted | Health | Replica has faulted | Replication | Warning\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#container-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Container events?" }, { "from": "gpt", "value": "**Container lifecycle events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n23074 | ContainerActivated | A container has started | Hosting | Informational | 1\n23075 | ContainerDeactivated | A container has stopped | Hosting | Informational | 1\n23082 | ContainerExited | A container has exited - Check the UnexpectedTermination flag | Hosting | Informational | 1\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#backuprestoreservice-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain BackupRestoreService Events?" }, { "from": "gpt", "value": "When BackupRestoreService (BRS) is enabled on an SF Cluster, it exposes events for user triggered and periodic operations to let user understand the status of operations. User triggered operations cover actions like creating a backup policy on cluster, triggering backup on a partition or any other valid action in BRS context. BRS periodically emits status of current active policies at cluster level, information about last backup and upcoming scheduled backup and status of periodic backup at different stages at partition level.\n**BackupRestoreService partition events**\nExpand table\nEventId | Name | Description | Source (Task) | Level\n---|---|---|---|---\n65305 | BRSInfo | Periodic backup triggered | BackupRestoreService | Informational\n65307 | BRSWarning | Incremental backup failed, triggering a full backup | BackupRestoreService | Warning\n65309 | BRSError | Periodic backup failed | BackupRestoreService | Error\n**BackupRestoreService cluster events**\nExpand table\nEventId | Name | Description | Source (Task) | Level\n---|---|---|---|---\n65306 | BRSInfo | Backup policy created | BackupRestoreService | Informational\n65308 | BRSWarning | Backup policy deleted | BackupRestoreService | Warning\n65310 | BRSError | AddBackupPolicy failed | BackupRestoreService | Error\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#health-reports>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Health reports?" }, { "from": "gpt", "value": "The [Service Fabric Health Model](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-health-introduction>) provides a rich, flexible, and extensible health evaluation and reporting. Starting Service Fabric version 6.2, health data is written as Platform events to provide historical records of health. To keep the volume of health events low, we only write the following as Service Fabric events:\n * All `Error` or `Warning` health reports\n * `Ok` health reports during transitions\n * When an `Error` or `Warning` health event expires. This can be used to determine how long an entity was unhealthy\n\n**Cluster health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54428 | ClusterNewHealthReport | A new cluster health report is available | HM | Informational | 1\n54437 | ClusterHealthReportExpired | An existing cluster health report has expired | HM | Informational | 1\n**Node health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54423 | NodeNewHealthReport | A new node health report is available | HM | Informational | 1\n54432 | NodeHealthReportExpired | An existing node health report has expired | HM | Informational | 1\n**Application health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54425 | ApplicationNewHealthReport | A new application health report was created. This is for undeployed applications. | HM | Informational | 1\n54426 | DeployedApplicationNewHealthReport | A new deployed application health report was created | HM | Informational | 1\n54427 | DeployedServicePackageNewHealthReport | A new deployed service health report was created | HM | Informational | 1\n54434 | ApplicationHealthReportExpired | An existing application health report has expired | HM | Informational | 1\n54435 | DeployedApplicationHealthReportExpired | An existing deployed application health report has expired | HM | Informational | 1\n54436 | DeployedServicePackageHealthReportExpired | An existing deployed service health report has expired | HM | Informational | 1\n**Service health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54424 | ServiceNewHealthReport | A new service health report was created | HM | Informational | 1\n54433 | ServiceHealthReportExpired | An existing service health report has expired | HM | Informational | 1\n**Partition health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54422 | PartitionNewHealthReport | A new partition health report was created | HM | Informational | 1\n54431 | PartitionHealthReportExpired | An existing partition health report has expired | HM | Informational | 1\n**Replica health report events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n54429 | StatefulReplicaNewHealthReport | A stateful replica health report was created | HM | Informational | 1\n54430 | StatelessInstanceNewHealthReport | A new stateless instance health report was created | HM | Informational | 1\n54438 | StatefulReplicaHealthReportExpired | An existing stateful replica health report has expired | HM | Informational | 1\n54439 | StatelessInstanceHealthReportExpired | An existing stateless instance health report has expired | HM | Informational | 1\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#chaos-testing-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Chaos testing events?" }, { "from": "gpt", "value": "**Chaos session events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n50021 | ChaosStarted | A Chaos testing session has started | Testability | Informational | 1\n50023 | ChaosStopped | A Chaos testing session has stopped | Testability | Informational | 1\n**Chaos node events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n50033 | ChaosNodeRestartScheduled | A node has scheduled to restart as part of a Chaos testing session | Testability | Informational | 1\n50087 | ChaosNodeRestartCompleted | A node has finished restarting as part of a Chaos testing session | Testability | Informational | 1\n**Chaos application events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n50053 | ChaosCodePackageRestartScheduled | A code package restart has been scheduled during a Chaos testing session | Testability | Informational | 1\n50101 | ChaosCodePackageRestartCompleted | A code package restart has completed during a Chaos testing session | Testability | Informational | 1\n**Chaos partition events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n50069 | ChaosPartitionPrimaryMoveScheduled | A primary partition has scheduled to move as part of a Chaos testing session | Testability | Informational | 1\n50077 | ChaosPartitionSecondaryMoveScheduled | A secondary partition has scheduled to move as part of a Chaos testing session | Testability | Informational | 1\n65003 | PartitionPrimaryMoveAnalysis | The deeper analysis of the primary partition move is available | Testability | Informational | 1\n**Chaos replica events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n50047 | ChaosReplicaRestartScheduled | A replica restart has been scheduled as part of a Chaos testing session | Testability | Informational | 1\n50051 | ChaosReplicaRemovalScheduled | A replica removal has been scheduled as part of a Chaos testing session | Testability | Informational | 1\n50093 | ChaosReplicaRemovalCompleted | A replica removal has completed as part of a Chaos testing session | Testability | Informational | 1\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#other-events>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Other events?" }, { "from": "gpt", "value": "**Correlation events**\nExpand table\nEventId | Name | Description | Source (Task) | Level | Version\n---|---|---|---|---|---\n65011 | CorrelationOperational | A correlation has been detected | Testability | Informational | 1\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#events-prior-to-version-62>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Events prior to version 6.2?" }, { "from": "gpt", "value": "Here's a comprehensive list of events provided by Service Fabric before version 6.2.\nExpand table\nEventId | Name | Source (Task) | Level\n---|---|---|---\n25620 | NodeOpening | FabricNode | Informational\n25621 | NodeOpenedSuccess | FabricNode | Informational\n25622 | NodeOpenedFailed | FabricNode | Informational\n25623 | NodeClosing | FabricNode | Informational\n25624 | NodeClosed | FabricNode | Informational\n25625 | NodeAborting | FabricNode | Informational\n25626 | NodeAborted | FabricNode | Informational\n29627 | ClusterUpgradeStart | CM | Informational\n29628 | ClusterUpgradeComplete | CM | Informational\n29629 | ClusterUpgradeRollback | CM | Informational\n29630 | ClusterUpgradeRollbackComplete | CM | Informational\n29631 | ClusterUpgradeDomainComplete | CM | Informational\n23074 | ContainerActivated | Hosting | Informational\n23075 | ContainerDeactivated | Hosting | Informational\n29620 | ApplicationCreated | CM | Informational\n29621 | ApplicationUpgradeStart | CM | Informational\n29622 | ApplicationUpgradeComplete | CM | Informational\n29623 | ApplicationUpgradeRollback | CM | Informational\n29624 | ApplicationUpgradeRollbackComplete | CM | Informational\n29625 | ApplicationDeleted | CM | Informational\n29626 | ApplicationUpgradeDomainComplete | CM | Informational\n18566 | ServiceCreated | FM | Informational\n18567 | ServiceDeleted | FM | Informational\n[](https://learn.microsoft.com/en-us/azure/service-fabric/<#next-steps>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Next steps?" }, { "from": "gpt", "value": "* Get an overview of [diagnostics in Service Fabric](https://learn.microsoft.com/en-us/azure/service-fabric/<monitor-service-fabric>)\n * Learn more about the EventStore in [Service Fabric Eventstore Overview](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-eventstore>)\n * Modifying your [Azure Diagnostics](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-event-aggregation-wad>) configuration to collect more logs\n * [Setting up Application Insights](https://learn.microsoft.com/en-us/azure/service-fabric/<service-fabric-diagnostics-event-analysis-appinsights>) to see your Operational channel logs" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Feedback?" }, { "from": "gpt", "value": "Was this page helpful?\nYes No\n[ Provide product feedback ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/feedback.azure.com/d365community/forum/e622b37a-2225-ec11-b6e6-000d3a4f0f84>)|\n[ Get help at Microsoft Q&A ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/learn.microsoft.com/answers/tags/39/azure-service-fabric/>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fservice-fabric%2Fservice-fabric-diagnostics-event-generation-operational>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/service-fabric/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/service-fabric/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain [Skip to main content](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#main>)?" }, { "from": "gpt", "value": "This browser is no longer supported.\nUpgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.\n[Download Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/p/?LinkID=2092881 >) [More info about Internet Explorer and Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge>)\n[ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>) [ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>)\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>) [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>)\n * Discover\n * [ Documentation ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nIn-depth articles on Microsoft developer tools and technologies\n * [ Training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/>)\nPersonalized learning paths and courses\n * [ Credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/>)\nGlobally recognized, industry-endorsed credentials\n * [ Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/answers/>)\nTechnical questions and answers moderated by Microsoft\n * [ Code Samples ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/samples/>)\nCode sample library for Microsoft developer tools and technologies\n * [ Assessments ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/>)\nInteractive, curated guidance and recommendations\n * [ Shows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/shows/>)\nThousands of hours of original programming from Microsoft experts\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Product documentation\n * [ ASP.NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/aspnet/>)\n * [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * [ Dynamics 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dynamics365/>)\n * [ Microsoft 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-365/>)\n * [ Microsoft Copilot ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/copilot/>)\n * [ Microsoft Edge ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-edge/>)\n * [ Microsoft Entra ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/entra/>)\n * [ Microsoft Graph ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/graph/>)\n * [ Microsoft Intune ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/mem/>)\n * [ Microsoft Purview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/purview/>)\n * [ Microsoft Teams ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoftteams/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/>)\n * [ Power Apps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-apps/>)\n * [ Power BI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-bi/>)\n * [ Power Platform ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-platform/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/>)\n * [ SQL ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sql/>)\n * [ Sysinternals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sysinternals/>)\n * [ Visual Studio ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/visualstudio/>)\n * [ Windows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows/>)\n * [ Windows Server ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows-server/>)\n[ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Development languages\n * [ C++ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cpp/>)\n * [ C# ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/csharp/>)\n * [ DAX ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dax/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/java/>)\n * [ OData ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/odata/>)\n * [ OpenAPI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/openapi/>)\n * [ Power Query M ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powerquery-m/>)\n * [ VBA ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/office/vba/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Topics\n * [ Artificial intelligence ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/ai/>)\n * [ Compliance ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/compliance/>)\n * [ DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/devops/>)\n * [ Platform engineering ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/platform-engineering/>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/security/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n * More\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n\n[ Portal ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/portal.azure.com>) [ Free account ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/free/>)\nTable of contents Exit focus mode\nSearch\nSuggestions will filter as you type\n * [Virtual Machines Scale Sets Documentation](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n * Overview\n * [What are Virtual Machine Scale Sets?](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview>)\n * [Orchestration modes](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes>)\n * [Scale Set FAQ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq>)\n * [What's new](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/whats-new>)\n * Quickstarts\n * Tutorials\n * Scale\n * Reliability\n * Cost optimization\n * Management\n * [Modify a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set>)\n * [Understand instance IDs](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-instance-ids>)\n * Connect to Virtual Machines\n * [Manage fault domains](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-fault-domains>)\n * [Relocate to another region](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/operational-excellence/relocation-virtual-machine-scale-sets?toc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftoc.json&bc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fbreadcrumb%2Fazure-compute%2Ftoc.json>)\n * [Proximity placement groups](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/proximity-placement-groups>)\n * Common management tasks\n * Upgrade Policies\n * [Overview](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy>)\n * [Setting the upgrade policy mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-set-upgrade-policy>)\n * [Changing the upgrade policy mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-change-upgrade-policy>)\n * [Configure rolling upgrade policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-configure-rolling-upgrades>)\n * [Custom metrics for rolling upgrades (preview)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-rolling-upgrade-custom-metrics>)\n * [Rolling upgrades with MaxSurge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maxsurge>)\n * [Performing manual upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-perform-manual-upgrades>)\n * [Reimage a virtual machine](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-reimage-virtual-machine>)\n * Extensions\n * Azure Compute Gallery\n * Run Command\n * Monitoring\n * Updates and maintenance\n * Disks\n * Networking\n * Security\n * Reference\n * Resources\n * [Support and troubleshooting](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/vmss-support-help>)\n\nDownload PDF\n 1. [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [ Virtual Machine Scale Sets ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n 1. [Learn](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [Azure](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [Virtual Machine Scale Sets](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-set-upgrade-policy?tabs=portal> \"Read in English\") Save\n * Add to Collections\n * Add to Plan\n\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/virtual-machine-scale-sets-set-upgrade-policy.md> \"Edit This Document\")\nTable of contents[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-set-upgrade-policy?tabs=portal> \"Read in English\") Add to Collections Add to Plan [ Edit ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/virtual-machine-scale-sets-set-upgrade-policy.md> \"Edit This Document\")\n#### Share via\n[ Facebook ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy%3Ftabs%3Dportal%26WT.mc_id%3Dfacebook>) [ x.com ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy%3Ftabs%3Dportal%26WT.mc_id%3Dtwitter&text=Today%20I%20completed%20%22Set%20the%20upgrade%20policy%20mode%20on%20Virtual%20Machine%20Scale%20Sets%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!&tw_p=tweetbutton&url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy%3Ftabs%3Dportal%26WT.mc_id%3Dtwitter>) [ LinkedIn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.linkedin.com/feed/?shareActive=true&text=Today%20I%20completed%20%22Set%20the%20upgrade%20policy%20mode%20on%20Virtual%20Machine%20Scale%20Sets%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!%0A%0D%0Ahttps%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy%3Ftabs%3Dportal%26WT.mc_id%3Dlinkedin>) Email Print\nTable of contents\n# Set the upgrade policy mode on Virtual Machine Scale Sets\n * Article\n * 11/19/2024\n * 2 contributors\n\nFeedback" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "The upgrade policy mode can be set during scale set creation or changed post deployment. If you don't explicitly set the upgrade policy mode, it defaults to manual. To change the upgrade policy mode of an existing scale set deployment, see [changing the upgrade policy mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-change-upgrade-policy>).\n * [Portal](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#tabpanel_1_portal>)\n * [CLI](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#tabpanel_1_cli>)\n * [PowerShell](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#tabpanel_1_powershell>)\n * [ARM Template](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#tabpanel_1_template>)\n\nDuring the Virtual Machine Scale Set creation in the Azure portal, under the **Management** tab, set the upgrade policy to **Rolling** , **Automatic** , or **Manual**.\nIf using a rolling upgrade policy mode, see [configure rolling upgrade policy mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-configure-rolling-upgrades>) for configuration settings and suggestions.\n![Screenshot showing deploying a scale set and enabling MaxSurge.](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/media/upgrade-policy/pick-upgrade-policy.png)\nWhen creating a new scale set using Azure CLI, use [az vmss create](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/vmss#az-vmss-create>) and the `-upgrade-policy-mode` to set the upgrade policy mode.\nIf using a rolling upgrade policy mode, see [configure rolling upgrade policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-configure-rolling-upgrades>) for configuration settings and suggestions.\nAzure CLI Copy Open Cloud Shell\n```\naz group create --name myResourceGroup --location westus\n\n```\n\nAzure CLI Copy Open Cloud Shell\n```\naz vmss create \\\n --resource-group myResourceGroup \\\n --name myScaleSet \\\n --orchestration-mode Flexible \\\n --image Ubuntu2204 \\\n --lb myLoadBalancer \\\n --upgrade-policy-mode manual \\\n --instance-count 5 \\\n --admin-username azureuser \\\n --generate-ssh-keys\n\n```\n\nWhen creating a new scale set using Azure PowerShell, use [New-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/new-azvmss>) and the `-UpgradePolicyMode` parameter to set the upgrade policy mode.\nIf using a rolling upgrade policy mode, see [configure rolling upgrade policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-configure-rolling-upgrades>) for configuration settings and suggestions.\nAzure PowerShell Copy Open Cloud Shell\n```\nNew-AzResourceGroup -Name \"myResourceGroup\" -Location \"WestUS\"\n\n```\n\nAzure PowerShell Copy Open Cloud Shell\n```\nNew-AzVmss `\n -ResourceGroupName \"myResourceGroup\" `\n -Location \"EastUS\" `\n -VMScaleSetName \"myScaleSet\" `\n -OrchestrationMode \"Flexible\" `\n -VirtualNetworkName \"myVnet\" `\n -SubnetName \"mySubnet\" `\n -PublicIpAddressName \"myPublicIPAddress\" `\n -LoadBalancerName \"myLoadBalancer\" `\n -UpgradePolicyMode \"Manual\"\n\n```\n\nWhen using an ARM template, add the `upgradePolicy` parameter to the properties section of your template to set the upgrade policy mode.\nIf using a rolling upgrade policy mode, see [configure rolling upgrade policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-configure-rolling-upgrades>) for configuration settings and suggestions.\nJSON Copy\n```\n\"properties\": {\n \"upgradePolicy\": {\n \"mode\": \"manual\",\n }\n }\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#next-steps>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Next steps?" }, { "from": "gpt", "value": "Learn how to [change the upgrade policy mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-change-upgrade-policy>) of your Virtual Machine Scale Set." } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Feedback?" }, { "from": "gpt", "value": "Was this page helpful?\nYes No\n[ Provide product feedback ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/feedback.azure.com/d365community/forum/ec2f1827-be25-ec11-b6e6-000d3a4f0f1c>)|\n[ Get help at Microsoft Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/answers/tags/393/azure-vm-scalesets/>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-set-upgrade-policy>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain [Skip to main content](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#main>)?" }, { "from": "gpt", "value": "This browser is no longer supported.\nUpgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.\n[Download Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/p/?LinkID=2092881 >) [More info about Internet Explorer and Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge>)\n[ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>) [ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>)\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>) [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>)\n * Discover\n * [ Documentation ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nIn-depth articles on Microsoft developer tools and technologies\n * [ Training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/>)\nPersonalized learning paths and courses\n * [ Credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/>)\nGlobally recognized, industry-endorsed credentials\n * [ Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/answers/>)\nTechnical questions and answers moderated by Microsoft\n * [ Code Samples ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/samples/>)\nCode sample library for Microsoft developer tools and technologies\n * [ Assessments ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/>)\nInteractive, curated guidance and recommendations\n * [ Shows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/shows/>)\nThousands of hours of original programming from Microsoft experts\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Product documentation\n * [ ASP.NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/aspnet/>)\n * [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * [ Dynamics 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dynamics365/>)\n * [ Microsoft 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-365/>)\n * [ Microsoft Copilot ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/copilot/>)\n * [ Microsoft Edge ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-edge/>)\n * [ Microsoft Entra ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/entra/>)\n * [ Microsoft Graph ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/graph/>)\n * [ Microsoft Intune ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/mem/>)\n * [ Microsoft Purview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/purview/>)\n * [ Microsoft Teams ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoftteams/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/>)\n * [ Power Apps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-apps/>)\n * [ Power BI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-bi/>)\n * [ Power Platform ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-platform/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/>)\n * [ SQL ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sql/>)\n * [ Sysinternals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sysinternals/>)\n * [ Visual Studio ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/visualstudio/>)\n * [ Windows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows/>)\n * [ Windows Server ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows-server/>)\n[ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Development languages\n * [ C++ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cpp/>)\n * [ C# ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/csharp/>)\n * [ DAX ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dax/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/java/>)\n * [ OData ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/odata/>)\n * [ OpenAPI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/openapi/>)\n * [ Power Query M ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powerquery-m/>)\n * [ VBA ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/office/vba/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Topics\n * [ Artificial intelligence ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/ai/>)\n * [ Compliance ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/compliance/>)\n * [ DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/devops/>)\n * [ Platform engineering ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/platform-engineering/>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/security/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n * More\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n\n[ Portal ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/portal.azure.com>) [ Free account ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/free/>)\nTable of contents Exit focus mode\nSearch\nSuggestions will filter as you type\n * [Virtual Machines Scale Sets Documentation](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n * Overview\n * [What are Virtual Machine Scale Sets?](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview>)\n * [Orchestration modes](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes>)\n * [Scale Set FAQ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq>)\n * [What's new](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/whats-new>)\n * Quickstarts\n * Tutorials\n * Create and manage\n * [Azure CLI](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-cli>)\n * [Azure PowerShell](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-powershell>)\n * Modify a scale set\n * Use data disks\n * Use a custom VM image\n * Deploy apps to a scale set\n * Autoscale a scale set\n * Scale\n * Reliability\n * Cost optimization\n * Management\n * Monitoring\n * Updates and maintenance\n * Disks\n * Networking\n * Security\n * Reference\n * Resources\n * [Support and troubleshooting](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/vmss-support-help>)\n\nDownload PDF\n 1. [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [ Virtual Machine Scale Sets ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n 1. [Learn](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [Azure](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [Virtual Machine Scale Sets](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-powershell> \"Read in English\") Save\n * Add to Collections\n * Add to Plan\n\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/tutorial-create-and-manage-powershell.md> \"Edit This Document\")\nTable of contents[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-powershell> \"Read in English\") Add to Collections Add to Plan [ Edit ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/tutorial-create-and-manage-powershell.md> \"Edit This Document\")\n#### Share via\n[ Facebook ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell%3FWT.mc_id%3Dfacebook>) [ x.com ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell%3FWT.mc_id%3Dtwitter&text=Today%20I%20completed%20%22Tutorial%3A%20Create%20and%20manage%20a%20Virtual%20Machine%20Scale%20Set%20with%20Azure%20PowerShell%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!&tw_p=tweetbutton&url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell%3FWT.mc_id%3Dtwitter>) [ LinkedIn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.linkedin.com/feed/?shareActive=true&text=Today%20I%20completed%20%22Tutorial%3A%20Create%20and%20manage%20a%20Virtual%20Machine%20Scale%20Set%20with%20Azure%20PowerShell%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!%0A%0D%0Ahttps%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell%3FWT.mc_id%3Dlinkedin>) Email Print\nTable of contents\n# Tutorial: Create and manage a Virtual Machine Scale Set with Azure PowerShell\n * Article\n * 08/22/2024\n * 10 contributors\n\nFeedback" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "1. [Azure Cloud Shell](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cloud-shell>)\n 2. [Create a resource group](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-resource-group>)\n 3. [Create a Virtual Machine Scale Set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-virtual-machine-scale-set>)\n 4. [View the VM instances in a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#view-the-vm-instances-in-a-scale-set>)\n 5. [Create a scale set with a specific VM instance size](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-scale-set-with-a-specific-vm-instance-size>)\n 6. [Change the capacity of a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#change-the-capacity-of-a-scale-set>)\n 7. [Stop and deallocate VM instances in a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#stop-and-deallocate-vm-instances-in-a-scale-set>)\n 8. [Start VM instances in a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#start-vm-instances-in-a-scale-set>)\n 9. [Restart VM instances in a scale set](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#restart-vm-instances-in-a-scale-set>)\n 10. [Clean up resources](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#clean-up-resources>)\n 11. [Next steps](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#next-steps>)\n\nShow 7 more\nA Virtual Machine Scale Set allows you to deploy and manage a set of virtual machines. Throughout the lifecycle of a Virtual Machine Scale Set, you may need to run one or more management tasks. In this tutorial you learn how to:\n * Create a resource group\n * Create a Virtual Machine Scale Set\n * Scale out and in\n * Stop, Start and restart VM instances\n\nIf you don't have an Azure subscription, create a [free account](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/free/?WT.mc_id=A261C142F>) before you begin.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cloud-shell>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure Cloud Shell?" }, { "from": "gpt", "value": "Azure hosts Azure Cloud Shell, an interactive shell environment that you can use through your browser. You can use either Bash or PowerShell with Cloud Shell to work with Azure services. You can use the Cloud Shell preinstalled commands to run the code in this article, without having to install anything on your local environment.\nTo start Azure Cloud Shell:\nExpand table\nOption | Example/Link\n---|---\nSelect **Try It** in the upper-right corner of a code or command block. Selecting **Try It** doesn't automatically copy the code or command to Cloud Shell. | ![Screenshot that shows an example of Try It for Azure Cloud Shell.](https://learn.microsoft.com/en-us/azure/reusable-content/cloud-shell/media/hdi-azure-cli-try-it.png)\nGo to <https://shell.azure.com>, or select the **Launch Cloud Shell** button to open Cloud Shell in your browser. | [![Button to launch Azure Cloud Shell.](https://learn.microsoft.com/en-us/azure/reusable-content/ce-skilling/azure/media/cloud-shell/launch-cloud-shell-button.png)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/shell.azure.com>)\nSelect the **Cloud Shell** button on the menu bar at the upper right in the [Azure portal](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/portal.azure.com>). | ![Screenshot that shows the Cloud Shell button in the Azure portal](https://learn.microsoft.com/en-us/azure/reusable-content/cloud-shell/media/hdi-cloud-shell-menu.png)\nTo use Azure Cloud Shell:\n 1. Start Cloud Shell.\n 2. Select the **Copy** button on a code block (or command block) to copy the code or command.\n 3. Paste the code or command into the Cloud Shell session by selecting **Ctrl** +**Shift** +**V** on Windows and Linux, or by selecting **Cmd** +**Shift** +**V** on macOS.\n 4. Select **Enter** to run the code or command.\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-resource-group>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Create a resource group?" }, { "from": "gpt", "value": "An Azure resource group is a logical container into which Azure resources are deployed and managed. A resource group must be created before a Virtual Machine Scale Set. Create a resource group with the [New-AzResourceGroup](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.resources/new-azresourcegroup>) command. In this example, a resource group named _myResourceGroup_ is created in the _EastUS_ region.\n```\nNew-AzResourceGroup -ResourceGroupName \"myResourceGroup\" -Location \"EastUS\"\n\n```\n\nThe resource group name is specified when you create or modify a scale set throughout this tutorial.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-virtual-machine-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Create a Virtual Machine Scale Set?" }, { "from": "gpt", "value": "First, set an administrator username and password for the VM instances with [Get-Credential](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/microsoft.powershell.security/get-credential>):\n```\n$cred = Get-Credential\n\n```\n\nNow create a Virtual Machine Scale Set with [New-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/new-azvmss>). To distribute traffic to the individual VM instances, a load balancer is also created. The load balancer includes rules to distribute traffic on TCP port 80, and allow remote desktop traffic on TCP port 3389 and PowerShell remoting on TCP port 5985:\nImportant\nStarting November 2023, VM scale sets created using PowerShell and Azure CLI will default to Flexible Orchestration Mode if no orchestration mode is specified. For more information about this change and what actions you should take, go to [Breaking Change for VMSS PowerShell/CLI Customers - Microsoft Community Hub](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/azure-compute-blog/breaking-change-for-vmss-powershell-cli-customers/ba-p/3818295>)\n```\nNew-AzVmss `\n -ResourceGroupName \"myResourceGroup\" `\n -VMScaleSetName \"myScaleSet\" `\n -OrchestrationMode \"Flexible\" `\n -Location \"EastUS\" `\n -Credential $cred\n\n```\n\nIt takes a few minutes to create and configure all the scale set resources and VM instances. To distribute traffic to the individual VM instances, a load balancer is also created.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#view-the-vm-instances-in-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain View the VM instances in a scale set?" }, { "from": "gpt", "value": "To view a list of VM instances in a scale set, use [Get-AzVM](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/get-azvm>) as follows:\n```\nGet-AzVM -ResourceGroupName \"myResourceGroup\"\n\n```\n\nThe following example output shows two VM instances in the scale set:\n```\nResourceGroupName Name Location VmSize OsType ProvisioningState\n----------------- ---- -------- ------ ------ -----------------\nmyResourceGroup myScaleSet_instance1 eastus Standard_DS1_v2 Windows Succeeded\nmyResourceGroup myScaleSet_instance2 eastus Standard_DS1_v2 Windows Succeeded\n\n```\n\nTo view additional information about a specific VM instance, use [Get-AzVM](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/get-azvm>) and specify the VM name.\n```\nGet-AzVM -ResourceGroupName \"myResourceGroup\" -name \"myScaleSet_instance1\"\n\n```\n```\nResourceGroupName : myresourcegroup\nId : /subscriptions/resourceGroups/myresourcegroup/providers/Microsoft.Compute/virtualMachines/myScaleSet_instance1\nVmId : d27b5fde-d469-4087-b08f-87d0bd8df786\nName : myScaleSet_instance1\nType : Microsoft.Compute/virtualMachines\nLocation : eastus\nTags : {}\nHardwareProfile : {VmSize}\nNetworkProfile : {NetworkInterfaces}\nOSProfile : {ComputerName, AdminUsername, WindowsConfiguration, Secrets, AllowExtensionOperations, RequireGuestProvisionSignal}\nProvisioningState : Succeeded\nStorageProfile : {ImageReference, OsDisk, DataDisks}\nVirtualMachineScaleSet : {Id}\nTimeCreated : 11/16/2022 11:02:02 PM\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#create-a-scale-set-with-a-specific-vm-instance-size>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Create a scale set with a specific VM instance size?" }, { "from": "gpt", "value": "When you created a scale set at the start of the tutorial, a default VM SKU of _Standard_D1_v2_ was provided for the VM instances. You can specify a different VM instance size with the `-VMSize` parameter to specify a VM instance size of _Standard_F1_.\n```\nNew-AzVmss `\n -ResourceGroupName \"myResourceGroup\" `\n -VMScaleSetName \"myScaleSet\" `\n -OrchestrationMode \"Flexible\" `\n -VMSize \"Standard_F1\" `\n -Location \"EastUS\" `\n -Credential $cred\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#change-the-capacity-of-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Change the capacity of a scale set?" }, { "from": "gpt", "value": "When you created a scale set, two VM instances were deployed by default. To increase or decrease the number of VM instances in the scale set, you can manually change the capacity. The scale set creates or removes the required number of VM instances, then configures the load balancer to distribute traffic.\nFirst, create a scale set object with [Get-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/get-azvmss>), then specify a new value for `sku.capacity`. To apply the capacity change, use [Update-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/update-azvmss>). The following example sets the number of VM instances in your scale set to _3_ :\n```\n# Get current scale set\n$vmss = Get-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\"\n# Set and update the capacity of your scale set\n$vmss.sku.capacity = 3\nUpdate-AzVmss -ResourceGroupName \"myResourceGroup\" -Name \"myScaleSet\" -VirtualMachineScaleSet $vmss\n\n```\n\nIt takes a few minutes to update the capacity of your scale set. To see the number of instances you now have in the scale set, use [Get-Az](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/get-azvm>):\n```\nGet-AzVm -ResourceGroupName \"myResourceGroup\"\n\n```\n\nThe following example output shows that the capacity of the scale set is now _3_ :\n```\nResourceGroupName Name Location VmSize OsType ProvisioningState\n----------------- ---- -------- ------ ------ -----------------\nmyResourceGroup myScaleSet_instance1 eastus Standard_DS1_v2 Windows Succeeded\nmyResourceGroup myScaleSet_instance2 eastus Standard_DS1_v2 Windows Succeeded\nmyResourceGroup myScaleSet_instance3 eastus Standard_DS1_v2 Windows Succeeded\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#stop-and-deallocate-vm-instances-in-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Stop and deallocate VM instances in a scale set?" }, { "from": "gpt", "value": "To stop individual VM instances, use [Stop-AzVm](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/stop-azvm>) and specify the instance names.\n```\nStop-AzVM -ResourceGroupName \"myResourceGroup\" -name \"myScaleSet_instance1\"\n\n```\n\nBy default, stopped VMs are deallocated and don't incur compute charges. If you wish the VM to remain in a provisioned state when stopped, add the `-StayProvisioned` parameter to the preceding command. Stopped VMs that remain provisioned incur regular compute charges.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#start-vm-instances-in-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Start VM instances in a scale set?" }, { "from": "gpt", "value": "To start all the VM instances in a scale set, use [Start-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/start-azvmss>).\n```\nStart-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\"\n\n```\n\nTo start an individual VM instance in a scale set, use [Start-AzVM](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/start-azvm>) and specify the instance name.\n```\nStart-AzVM -ResourceGroupName \"myResourceGroup\" -name \"myScaleSet_instance1\"\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#restart-vm-instances-in-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Restart VM instances in a scale set?" }, { "from": "gpt", "value": "To restart all the VMs in a scale set, use [Restart-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/restart-azvmss>).\n```\nRestart-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\"\n\n```\n\nTo restart an individual instance, use [Restart-AzVM] and specify the instance name.\n```\nRestart-AzVM -ResourceGroupName \"myResourceGroup\" -name \"myScaleSet_instance1\"\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#clean-up-resources>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Clean up resources?" }, { "from": "gpt", "value": "When you delete a resource group, all resources contained within, such as the VM instances, virtual network, and disks, are also deleted. The `-Force` parameter confirms that you wish to delete the resources without an extra prompt to do so. The `-AsJob` parameter returns control to the prompt without waiting for the operation to complete.\n```\nRemove-AzResourceGroup -Name \"myResourceGroup\" -Force -AsJob\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#next-steps>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Next steps?" }, { "from": "gpt", "value": "In this tutorial, you learned how to perform some basic scale set creation and management tasks with Azure PowerShell:\n * Create a resource group\n * Create a scale set\n * View and use specific VM sizes\n * Manually scale a scale set\n * Perform common scale set management tasks such as stopping, starting and restarting your scale set\n\nAdvance to the next tutorial to learn how to connect to your scale set instances.\n[Use data disks with scale sets](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<tutorial-connect-to-instances-powershell>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Feedback?" }, { "from": "gpt", "value": "Was this page helpful?\nYes No\n[ Provide product feedback ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/feedback.azure.com/d365community/forum/ec2f1827-be25-ec11-b6e6-000d3a4f0f1c>)|\n[ Get help at Microsoft Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/answers/tags/393/azure-vm-scalesets/>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftutorial-create-and-manage-powershell>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain [Skip to main content](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#main>)?" }, { "from": "gpt", "value": "This browser is no longer supported.\nUpgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.\n[Download Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/p/?LinkID=2092881 >) [More info about Internet Explorer and Microsoft Edge](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge>)\n[ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>) [ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>)\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com>) [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/>)\n * Discover\n * [ Documentation ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nIn-depth articles on Microsoft developer tools and technologies\n * [ Training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/>)\nPersonalized learning paths and courses\n * [ Credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/>)\nGlobally recognized, industry-endorsed credentials\n * [ Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/answers/>)\nTechnical questions and answers moderated by Microsoft\n * [ Code Samples ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/samples/>)\nCode sample library for Microsoft developer tools and technologies\n * [ Assessments ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/>)\nInteractive, curated guidance and recommendations\n * [ Shows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/shows/>)\nThousands of hours of original programming from Microsoft experts\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Product documentation\n * [ ASP.NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/aspnet/>)\n * [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * [ Dynamics 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dynamics365/>)\n * [ Microsoft 365 ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-365/>)\n * [ Microsoft Copilot ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/copilot/>)\n * [ Microsoft Edge ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoft-edge/>)\n * [ Microsoft Entra ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/entra/>)\n * [ Microsoft Graph ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/graph/>)\n * [ Microsoft Intune ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/mem/>)\n * [ Microsoft Purview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/purview/>)\n * [ Microsoft Teams ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/microsoftteams/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/>)\n * [ Power Apps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-apps/>)\n * [ Power BI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-bi/>)\n * [ Power Platform ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/power-platform/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/>)\n * [ SQL ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sql/>)\n * [ Sysinternals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/sysinternals/>)\n * [ Visual Studio ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/visualstudio/>)\n * [ Windows ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows/>)\n * [ Windows Server ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/windows-server/>)\n[ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/docs/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Development languages\n * [ C++ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cpp/>)\n * [ C# ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/csharp/>)\n * [ DAX ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dax/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/java/>)\n * [ OData ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/odata/>)\n * [ OpenAPI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/openapi/>)\n * [ Power Query M ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powerquery-m/>)\n * [ VBA ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/office/vba/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Topics\n * [ Artificial intelligence ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/ai/>)\n * [ Compliance ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/compliance/>)\n * [ DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/devops/>)\n * [ Platform engineering ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/platform-engineering/>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/security/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#>)\n[ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n * More\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/options/>)\n\n[ Portal ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/portal.azure.com>) [ Free account ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/free/>)\nTable of contents Exit focus mode\nSearch\nSuggestions will filter as you type\n * [Virtual Machines Scale Sets Documentation](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n * Overview\n * [What are Virtual Machine Scale Sets?](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview>)\n * [Orchestration modes](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes>)\n * [Scale Set FAQ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq>)\n * [What's new](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/whats-new>)\n * Quickstarts\n * Tutorials\n * Scale\n * Reliability\n * Cost optimization\n * Management\n * Monitoring\n * Updates and maintenance\n * Disks\n * Networking\n * Security\n * [Policy definitions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/policy-reference>)\n * [Security and policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machines/security-policy?toc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftoc.json&bc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fbreadcrumb%2Fazure-compute%2Ftoc.json>)\n * [Azure security baseline](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/security/benchmark/azure/baselines/virtual-machine-scale-sets-security-baseline?toc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftoc.json&bc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fbreadcrumb%2Fazure-compute%2Ftoc.json>)\n * [Hotpatch](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/automanage/automanage-hotpatch?toc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftoc.json&bc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fbreadcrumb%2Fazure-compute%2Ftoc.json>)\n * [Automatic VM guest patching](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching?toc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Ftoc.json&bc=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fbreadcrumb%2Fazure-compute%2Ftoc.json>)\n * Automatic OS image upgrades\n * [Overview](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade>)\n * Maintenance control\n * Reference\n * Resources\n * [Support and troubleshooting](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/vmss-support-help>)\n\nDownload PDF\n 1. [ Learn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [ Azure ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [ Virtual Machine Scale Sets ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n 1. [Learn](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/>)\n 2. [Azure](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [Virtual Machine Scale Sets](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/>)\n\n[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade> \"Read in English\") Save\n * Add to Collections\n * Add to Plan\n\n[ ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md> \"Edit This Document\")\nTable of contents[ Read in English ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade> \"Read in English\") Add to Collections Add to Plan [ Edit ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md> \"Edit This Document\")\n#### Share via\n[ Facebook ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade%3FWT.mc_id%3Dfacebook>) [ x.com ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade%3FWT.mc_id%3Dtwitter&text=Today%20I%20completed%20%22Automatic%20OS%20image%20upgrades%20with%20Azure%20Virtual%20Machine%20Scale%20Sets%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!&tw_p=tweetbutton&url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade%3FWT.mc_id%3Dtwitter>) [ LinkedIn ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.linkedin.com/feed/?shareActive=true&text=Today%20I%20completed%20%22Automatic%20OS%20image%20upgrades%20with%20Azure%20Virtual%20Machine%20Scale%20Sets%20-%20Azure%20Virtual%20Machine%20Scale%20Sets%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!%0A%0D%0Ahttps%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade%3FWT.mc_id%3Dlinkedin>) Email Print\nTable of contents\n# Azure Virtual Machine Scale Set automatic OS image upgrades\n * Article\n * 01/18/2025\n * 32 contributors\n\nFeedback" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "1. [How does automatic OS image upgrade work?](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#how-does-automatic-os-image-upgrade-work>)\n 2. [OS image upgrade versus reimage](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#os-image-upgrade-versus-reimage>)\n 3. [Supported OS images](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#supported-os-images>)\n 4. [Requirements for configuring automatic OS image upgrade](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#requirements-for-configuring-automatic-os-image-upgrade>)\n 5. [Automatic OS image upgrade for custom images](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#automatic-os-image-upgrade-for-custom-images>)\n 6. [Configure automatic OS image upgrade](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#configure-automatic-os-image-upgrade>)\n 7. [Using Application Health Extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#using-application-health-extension>)\n 8. [Using Application Health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#using-application-health-extension-1>)\n 9. [Configure custom metrics for rolling upgrades on Virtual Machine Scale Sets (Preview)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#configure-custom-metrics-for-rolling-upgrades-on-virtual-machine-scale-sets-preview>)\n 10. [Get the history of automatic OS image upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#get-the-history-of-automatic-os-image-upgrades>)\n 11. [How to get the latest version of a platform OS image?](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#how-to-get-the-latest-version-of-a-platform-os-image>)\n 12. [Manually trigger OS image upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#manually-trigger-os-image-upgrades>)\n 13. [Leverage Activity Logs for Upgrade Notifications and Insights](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#leverage-activity-logs-for-upgrade-notifications-and-insights>)\n 14. [Investigate and Resolve Auto Upgrade Errors](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#investigate-and-resolve-auto-upgrade-errors>)\n 15. [Next steps](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#next-steps>)\n\nShow 11 more\nNote\nMany of the steps listed in this document apply to Virtual Machine Scale Sets using Uniform Orchestration mode. We recommend using Flexible Orchestration for new workloads. For more information, see [Orchestration modes for Virtual Machine Scale Sets in Azure](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-orchestration-modes>).\nEnabling automatic OS image upgrades on your scale set helps ease update management by safely and automatically upgrading the OS disk for all instances in the scale set.\nAutomatic OS upgrade has the following characteristics:\n * Once configured, the latest OS image published by image publishers is automatically applied to the scale set without user intervention.\n * Upgrades batches of instances in a rolling manner each time a new image is published by the publisher.\n * Integrates with application health probes and [Application Health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>).\n * Works for all virtual machine sizes, and for both Windows and Linux images including custom images through [Azure Compute Gallery](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/shared-image-galleries>).\n * You can opt out of automatic upgrades at any time (OS Upgrades can be initiated manually as well).\n * The OS Disk of a virtual machine is replaced with the new OS Disk created with latest image version. Configured extensions and custom data scripts are run, while persisted data disks are retained.\n * [Extension sequencing](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-extension-sequencing>) is supported.\n * Can be enabled on a scale set of any size.\n\nNote\nBefore enabling automatic OS image upgrades, check [requirements section](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#requirements-for-configuring-automatic-os-image-upgrade>) of this documentation.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#how-does-automatic-os-image-upgrade-work>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "How does automatic OS image upgrade work?" }, { "from": "gpt", "value": "An upgrade works by replacing the OS disk of a virtual machine with a new disk created using the image version. Any configured extensions and custom data scripts are run on the OS disk, while data disks are retained. To minimize the application downtime, upgrades take place in batches, with no more than 20% of the scale set upgrading at any time.\nYou must integrate an Azure Load Balancer application health probe or [Application Health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>) to track the health of the application after an upgrade. This allows the platform to validate the virtual machine health to ensure updates are applied in a safe manner. We recommend incorporating an application heartbeat to validate upgrade success.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#availability-first-updates>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Availability-first Updates?" }, { "from": "gpt", "value": "The availability-first model for platform orchestrated updates described below ensures that availability configurations in Azure are respected across multiple availability levels.\n**Across regions:**\n * An update moves across Azure globally in a phased manner to prevent Azure-wide deployment failures.\n * A 'phase' can have one or more regions, and an update moves across phases only if eligible virtual machines in the previous phase update successfully.\n * Geo-paired regions won't be updated concurrently and cannot be in the same regional phase.\n * The success of an update is measured by tracking the health of a virtual machine post update.\n\n**Within a region:**\n * Virtual machines in different Availability Zones are not updated concurrently with the same update.\n\n**Within a 'set':**\n * All virtual machines in a common scale set are not updated concurrently.\n * Virtual machines in a common Virtual Machine Scale Set are grouped in batches and updated within Update Domain boundaries as described below.\n\nThe platform orchestrated updates process is followed for rolling out supported OS platform image upgrades every month. For custom images through Azure Compute Gallery, an image upgrade is only kicked off for a particular Azure region when the new image is published and [replicated](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/azure-compute-gallery#replication>) to the region of that scale set.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#upgrading-virtual-machines-in-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Upgrading virtual machines in a scale set?" }, { "from": "gpt", "value": "The region of a scale set becomes eligible to get image upgrades either through the availability-first process for platform images or replicating new custom image versions for Share Image Gallery. The image upgrade is then applied to an individual scale set in a batched manner as follows:\n 1. Before you begin the upgrade process, the orchestrator ensures that no more than 20% of instances in the entire scale set are unhealthy (for any reason).\n 2. The upgrade orchestrator identifies the batch of virtual machines to upgrade, with any one batch having a maximum of 20% of the total instance count, subject to a minimum batch size of one virtual machine. There is no minimum scale set size requirement and scale sets with 5 or fewer instances have 1 virtual machine per upgrade batch (minimum batch size).\n 3. The OS disk of every virtual machine in the selected upgrade batch is replaced with a new OS disk created from the image. All specified extensions and configurations in the scale set model are applied to the upgraded instance.\n 4. For scale sets with configured application health probes or Application Health extension, the upgrade waits up to 5 minutes for the instance to become healthy, before moving on to upgrade the next batch. If an instance does not recover its health in 5 minutes after an upgrade, then by default the previous OS disk for the instance is restored.\n 5. The upgrade orchestrator also tracks the percentage of instances that become unhealthy post an upgrade. The upgrade stops if more than 20% of upgraded instances become unhealthy during the upgrade process.\n 6. The above process continues until all instances in the scale set have been upgraded.\n\nThe scale set OS upgrade orchestrator checks for the overall scale set health before upgrading every batch. While you're upgrading a batch, there could be other concurrent planned or unplanned maintenance activities that could impact the health of your scale set instances. In such cases if more than 20% of the scale set's instances become unhealthy, then the scale set upgrade stops at the end of current batch.\nTo modify the default settings associated with Rolling Upgrades, review Azure's [Rolling Upgrade Policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#rollingupgradepolicy>).\nNote\nAutomatic OS upgrade does not upgrade the reference image Sku on the scale set. To change the Sku (such as Ubuntu 18.04-LTS to 20.04-LTS), you must update the [scale set model](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-upgrade-scale-set#the-scale-set-model>) directly with the desired image Sku. Image publisher and offer can't be changed for an existing scale set.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#os-image-upgrade-versus-reimage>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain OS image upgrade versus reimage?" }, { "from": "gpt", "value": "Both **OS Image Upgrade** and **[Reimage](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/reimage>)** are methods used to update virtual machines within a scale set, but they serve different purposes and have distinct impacts.\nOS image upgrade involves updating the underlying operating system image that is used to create new instances in a scale set. When you perform an OS image upgrade, Azure creates new virtual machines with the updated OS image and gradually replace the old virtual machines in the scale set with the new ones. This process is typically performed in stages to ensure high availability. OS image upgrades are a non-disruptive way to apply updates or changes to the underlying OS of the virtual machines in a scale set. Existing virtual machines are not affected until they are replaced with the new instances.\nReimaging a virtual machine in a scale set is a more immediate and disruptive action. When you choose to reimage a virtual machine , Azure stops the selected virtual machine, perform the reimage operation, and then restart the virtual machine using the same OS image. This effectively reinstalls the OS on that specific virtual machine. Reimaging is typically used when you need to troubleshoot or reset a specific virtual machine due to issues with that instance.\n**Key differences:**\n * OS Image Upgrade is a gradual and non-disruptive process that updates the OS image for the entire Virtual Machine Scale Set over time, ensuring minimal impact on running workloads.\n * Reimage is a more immediate and disruptive action that affects only the selected virtual machine, stopping it temporarily and reinstalling the OS.\n\n**When to use each method:**\n * Use OS Image Upgrade when you want to update the OS image for the entire scale set while maintaining high availability.\n * Use Reimage when you need to troubleshoot or reset a specific virtual machine within the virtual Machine Scale Set.\n\nIt's essential to carefully plan and choose the appropriate method based on your specific requirements to minimize any disruption to your applications and services running in a Virtual Machine Scale Set.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#supported-os-images>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Supported OS images?" }, { "from": "gpt", "value": "Only certain OS platform images are currently supported. Custom images [are supported](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-automatic-upgrade#automatic-os-image-upgrade-for-custom-images>) if the scale set uses custom images through [Azure Compute Gallery](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/shared-image-galleries>).\nThe following platform SKUs are currently supported (and more are added periodically):\nExpand table\nPublisher | OS Offer | Sku\n---|---|---\nCanonical | UbuntuServer | 18.04-LTS\nCanonical | UbuntuServer | 18_04-LTS-Gen2\nCanonical | 0001-com-ubuntu-server-focal | 20_04-LTS\nCanonical | 0001-com-ubuntu-server-focal | 20_04-LTS-Gen2\nCanonical | 0001-com-ubuntu-server-jammy | 22_04-LTS\nCanonical | 0001-com-ubuntu-server-jammy | 22_04-LTS-Gen2\nMicrosoftCblMariner | Cbl-Mariner | cbl-mariner-1\nMicrosoftCblMariner | Cbl-Mariner | 1-Gen2\nMicrosoftCblMariner | Cbl-Mariner | cbl-mariner-2\nMicrosoftCblMariner | Cbl-Mariner | cbl-mariner-2-Gen2\nMicrosoftSqlServer | Sql2017-ws2019 | enterprise\nMicrosoftWindowsServer | WindowsServer | 2012-R2-Datacenter\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter-gensecond\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter-gs\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter-smalldisk\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter-with-Containers\nMicrosoftWindowsServer | WindowsServer | 2016-Datacenter-with-containers-gs\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-Core\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-Core-with-Containers\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-gensecond\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-gs\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-smalldisk\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-with-Containers\nMicrosoftWindowsServer | WindowsServer | 2019-Datacenter-with-Containers-gs\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-smalldisk\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-smalldisk-g2\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-core\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-core-smalldisk\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-g2\nMicrosoftWindowsServer | WindowsServer | Datacenter-core-20h2-with-containers-smalldisk-gs\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-azure-edition\nMicrosoftWindowsServer | WindowsServer | 2022-Datacenter-azure-edition-smalldisk\nMirantis | Windows_with_Mirantis_Container_Runtime_2019 | win_2019_mcr_23_0\nMirantis | Windows_with_Mirantis_Container_Runtime_2019 | win_2019_mcr_23_0_gen2\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#requirements-for-configuring-automatic-os-image-upgrade>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Requirements for configuring automatic OS image upgrade?" }, { "from": "gpt", "value": "* The _version_ property of the image must be set to latest.\n * Must use application health probes or [Application Health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>) for non-Service Fabric scale sets. For Service Fabric requirements, see [Service Fabric requirement](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#service-fabric-requirements>).\n * Use Compute API version 2018-10-01 or higher.\n * Ensure that external resources specified in the scale set model are available and updated. Examples include SAS URI for bootstrapping payload in virtual machine extension properties, payload in storage account, reference to secrets in the model, and more.\n * For scale sets using Windows virtual machines, starting with Compute API version 2019-03-01, the _virtualMachineProfile.osProfile.windowsConfiguration.enableAutomaticUpdates_ property must set to _false_ in the scale set model definition. The _enableAutomaticUpdates_ property enables in-VM patching where \"Windows Update\" applies operating system patches without replacing the OS disk. With automatic OS image upgrades enabled on your scale set, which can be done by setting the _automaticOSUpgradePolicy.enableAutomaticOSUpgrade_ to _true_ , an extra patching process through Windows Update is not required.\n * The [patch orchestration mode](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/automatic-vm-guest-patching#patch-orchestration-modes>) must _not_ be set to `AutomaticByPlatform` in the scale set model definition. With automatic OS image upgrades enabled on your scale set, a platform orchestration patching process is not required.\n\nNote\nAfter an OS disk is replaced through reimage or upgrade, the attached data disks may have their drive letters reassigned. To retain the same drive letters for attached disks, it is suggested to use a custom boot script.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#service-fabric-requirements>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Service Fabric requirements?" }, { "from": "gpt", "value": "If you are using Service Fabric, ensure the following conditions are met:\n * Service Fabric [durability level](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../service-fabric/service-fabric-cluster-capacity#durability-characteristics-of-the-cluster>) is Silver or Gold. If Service Fabric durability is Bronze, only Stateless-only node types support automatic OS image upgrades).\n * The Service Fabric extension on the scale set model definition must have TypeHandlerVersion 1.1 or above.\n * Durability level should be the same at the Service Fabric cluster and Service Fabric extension on the scale set model definition.\n * More health probes or use of application health extension is not required for Silver or Gold durability. Bronze durability with Stateless-only node types requires an additional health probe.\n * The property _virtualMachineProfile.osProfile.windowsConfiguration.enableAutomaticUpdates_ property must set to _false_ in the scale set model definition. The _enableAutomaticUpdates_ property enables in-VM patching using \"Windows Update\" and is not supported on Service Fabric scale sets. You should use the _automaticOSUpgradePolicy.enableAutomaticOSUpgrade_ property instead.\n\nEnsure that durability settings are not mismatched on the Service Fabric cluster and Service Fabric extension, as a mismatch results in upgrade errors. Durability levels can be modified per the guidelines outlined on [this page](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../service-fabric/service-fabric-cluster-capacity#changing-durability-levels>).\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#automatic-os-image-upgrade-for-custom-images>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Automatic OS image upgrade for custom images?" }, { "from": "gpt", "value": "Automatic OS image upgrade is supported for custom images deployed through [Azure Compute Gallery](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/shared-image-galleries>). Other custom images are not supported for automatic OS image upgrades.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#additional-requirements-for-custom-images>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional requirements for custom images?" }, { "from": "gpt", "value": "* The setup and configuration process for automatic OS image upgrade is the same for all scale sets as detailed in the [configuration section](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-automatic-upgrade#configure-automatic-os-image-upgrade>) of this page.\n * Scale sets instances configured for automatic OS image upgrades are upgraded to the version of the Azure Compute Gallery image when a new version of the image is published and [replicated](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/azure-compute-gallery#replication>) to the region of that scale set. If the new image is not replicated to the region where the scale is deployed, the scale set instances are not upgraded to the version. Regional image replication allows you to control the rollout of the new image for your scale sets.\n * The new image version should not be excluded from the version for that gallery image. Image versions excluded from the gallery image's version are not rolled out to the scale set through automatic OS image upgrade.\n\nNote\nIt can take up to 3 hours for a scale set to trigger the first image upgrade rollout after the scale set is first configured for automatic OS upgrades due to certain factors such as Maintenance Windows or other restrictions. Customers on the latest image may not get an upgrade until a new image is available.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#configure-automatic-os-image-upgrade>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Configure automatic OS image upgrade?" }, { "from": "gpt", "value": "To configure automatic OS image upgrade, ensure that the _automaticOSUpgradePolicy.enableAutomaticOSUpgrade_ property is set to _true_ in the scale set model definition.\nNote\n**Upgrade Policy mode** and **Automatic OS Upgrade Policy** are separate settings and control different aspects of the scale set. When there are changes in the scale set template, the Upgrade Policy `mode` determines what happens to existing instances in the scale set. However, Automatic OS Upgrade Policy `enableAutomaticOSUpgrade` is specific to the OS image and tracks changes the image publisher has made and determines what happens when there is an update to the image.\nNote\nIf `enableAutomaticOSUpgrade` is set to _true_ , `enableAutomaticUpdates` is automatically set to _false_ and cannot be set to _true_.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#rest-api>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain REST API?" }, { "from": "gpt", "value": "The following example describes how to set automatic OS upgrades on a scale set model:\nCopy\n```\nPUT or PATCH on `/subscriptions/subscription_id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myScaleSet?api-version=2021-03-01`\n\n```\n\nJSON Copy\n```\n{\n \"properties\": {\n \"upgradePolicy\": {\n \"automaticOSUpgradePolicy\": {\n \"enableAutomaticOSUpgrade\": true\n }\n }\n }\n}\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-powershell>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure PowerShell?" }, { "from": "gpt", "value": "Use the [New-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/new-azvmss>) cmdlet to configure automatic OS image upgrades for your scale set during provisioning. The following example configures automatic upgrades for the scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure PowerShell Copy Open Cloud Shell\n```\nNew-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\" -AutomaticOSUpgrade $true\n\n```\n\nUse the [Update-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/update-azvmss>) cmdlet to configure automatic OS image upgrades for your existing scale set. The following example configures automatic upgrades for the scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure PowerShell Copy Open Cloud Shell\n```\nUpdate-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\" -AutomaticOSUpgrade $true\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cli-20>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure CLI 2.0?" }, { "from": "gpt", "value": "Use [az vmss create](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/vmss#az-vmss-create>) to configure automatic OS image upgrades for your scale set during provisioning. Use Azure CLI 2.0.47 or above. The following example configures automatic upgrades for the scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure CLI Copy Open Cloud Shell\n```\naz vmss create --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling\n\n```\n\nUse [az vmss update](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/vmss#az-vmss-update>) to configure automatic OS image upgrades for your existing scale set. Use Azure CLI 2.0.47 or above. The following example configures automatic upgrades for the scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure CLI Copy Open Cloud Shell\n```\naz vmss update --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling\n\n```\n\nNote\nAfter configuring automatic OS image upgrades for your scale set, you must also bring the scale set virtual machines to the latest scale set model if your scale set uses the 'Manual' [upgrade policy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-upgrade-policy>).\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#arm-templates>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain ARM templates?" }, { "from": "gpt", "value": "The following example describes how to set automatic OS upgrades on a scale set model via Azure Resource Manager templates (ARM templates):\nJSON Copy\n```\n\"properties\": {\n \"upgradePolicy\": {\n \"mode\": \"Automatic\",\n \"RollingUpgradePolicy\": {\n \"BatchInstancePercent\": 20,\n \"MaxUnhealthyInstancePercent\": 25,\n \"MaxUnhealthyUpgradedInstancePercent\": 25,\n \"PauseTimeBetweenBatches\": \"PT0S\"\n },\n \"automaticOSUpgradePolicy\": {\n \"enableAutomaticOSUpgrade\": true,\n \"useRollingUpgradePolicy\": true,\n \"disableAutomaticRollback\": false\n }\n },\n },\n\"imagePublisher\": {\n \"type\": \"string\",\n \"defaultValue\": \"MicrosoftWindowsServer\"\n },\n \"imageOffer\": {\n \"type\": \"string\",\n \"defaultValue\": \"WindowsServer\"\n },\n \"imageSku\": {\n \"type\": \"string\",\n \"defaultValue\": \"2022-datacenter\"\n },\n \"imageOSVersion\": {\n \"type\": \"string\",\n \"defaultValue\": \"latest\"\n }\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#bicep>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Bicep?" }, { "from": "gpt", "value": "The following example describes how to set automatic OS upgrades on a scale set model via Bicep:\nJSON Copy\n```\nproperties: {\n    overprovision: overProvision\n    upgradePolicy: {\n      mode: 'Automatic'\n      automaticOSUpgradePolicy: {\n        enableAutomaticOSUpgrade: true\n      }\n    }\n}\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#using-application-health-extension>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Using Application Health Extension?" }, { "from": "gpt", "value": "During an OS Upgrade, virtual machines in a scale set are upgraded one batch at a time. The upgrade should continue only if the customer application is healthy on the upgraded virtual machines. We recommend that the application provides health signals to the scale set OS Upgrade engine. By default, during OS Upgrades the platform considers virtual machine power state and extension provisioning state to determine if a virtual machine is healthy after an upgrade. During the OS Upgrade of a virtual machine, the OS disk on a virtual machine is replaced with a new disk based on latest image version. After the OS Upgrade has completed, the configured extensions are run on these virtual machines. The application is considered healthy only when all the extensions on the instance are successfully provisioned.\nA scale set can optionally be configured with Application Health Probes to provide the platform with accurate information on the ongoing state of the application. Application Health Probes are Custom Load Balancer Probes that are used as a health signal. The application running on a scale set virtual machine can respond to external HTTP or TCP requests indicating whether it's healthy. For more information on how Custom Load Balancer Probes work, see to [Understand load balancer probes](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/load-balancer/load-balancer-custom-probe-overview>). Application Health Probes are not supported for Service Fabric scale sets. Non-Service Fabric scale sets require either Load Balancer application health probes or [Application Health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>).\nIf the scale set is configured to use multiple placement groups, probes using a [Standard Load Balancer](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/load-balancer/load-balancer-overview>) need to be used.\nNote\nOnly one source of health monitoring can be used for a Virtual Machine Scale Set, either an Application Health Extension or a Health Probe. If you have both options enabled, you need to remove one before using orchestration services like Instance Repairs or Automatic OS Upgrades.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#configuring-a-custom-load-balancer-probe-as-application-health-probe-on-a-scale-set>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Configuring a Custom Load Balancer Probe as Application Health Probe on a scale set?" }, { "from": "gpt", "value": "As a best practice, create a load balancer probe explicitly for scale set health. The same endpoint for an existing HTTP probe or TCP probe can be used, but a health probe could require different behavior from a traditional load-balancer probe. For example, a traditional load balancer probe could return unhealthy if the load on the instance is too high, but that would not be appropriate for determining the instance health during an automatic OS upgrade. Configure the probe to have a high probing rate of less than two minutes.\nThe load-balancer probe can be referenced in the _networkProfile_ of the scale set and can be associated with either an internal or public facing load-balancer as follows:\nJSON Copy\n```\n\"networkProfile\": {\n \"healthProbe\" : {\n \"id\": \"[concat(variables('lbId'), '/probes/', variables('sshProbeName'))]\"\n },\n \"networkInterfaceConfigurations\":\n ...\n}\n\n```\n\nNote\nWhen using Automatic OS Upgrades with Service Fabric, the new OS image is rolled out Update Domain by Update Domain to maintain high availability of the services running in Service Fabric. To utilize Automatic OS Upgrades in Service Fabric your cluster node type must be configured to use the Silver Durability Tier or higher. For Bronze Durability tier, automatic OS image upgrade is only supported for Stateless node types. For more information on the durability characteristics of Service Fabric clusters, see [this documentation](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../service-fabric/service-fabric-cluster-capacity#durability-characteristics-of-the-cluster>).\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#using-application-health-extension-1>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Using Application Health extension?" }, { "from": "gpt", "value": "The Application Health extension is deployed inside a Virtual Machine Scale Set instance and reports on virtual machine health from inside the scale set instance. You can configure the extension to probe on an application endpoint and update the status of the application on that instance. This instance status is checked by Azure to determine whether an instance is eligible for upgrade operations.\nAs the extension reports health from within a virtual machine, the extension can be used in situations where external probes such as Application Health Probes (that utilize custom Azure Load Balancer [probes](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/load-balancer/load-balancer-custom-probe-overview>)) can’t be used.\nThere are multiple ways of deploying the Application Health extension to your scale sets as detailed in the examples in [this article](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension#deploy-the-application-health-extension>).\nNote\nOnly one source of health monitoring can be used for a Virtual Machine Scale Set, either an Application Health Extension or a Health Probe. If you have both options enabled, you need to remove one before using orchestration services like Instance Repairs or Automatic OS Upgrades.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#configure-custom-metrics-for-rolling-upgrades-on-virtual-machine-scale-sets-preview>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Configure custom metrics for rolling upgrades on Virtual Machine Scale Sets (Preview)?" }, { "from": "gpt", "value": "Note\n**Custom metrics for rolling upgrades on Virtual Machine Scale Sets is currently in preview.** Previews are made available to you on the condition that you agree to the [supplemental terms of use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/azure.microsoft.com/support/legal/preview-supplemental-terms/>). Some aspects of these features may change prior to general availability (GA).\nCustom metrics for rolling upgrades enables you to utilize the [application health extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>) to emit custom metrics to your Virtual Machine Scale Set. These custom metrics can be used to tell the scale set the order in which virtual machines should be updated when a rolling upgrade is triggered. The custom metrics can also inform your scale set when an upgrade should be skipped on a specific instance. This allows you to have more control over the ordering and the update process itself.\nCustom metrics can be used in combination with other rolling upgrade functionality such as [automatic OS upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-automatic-upgrade>), [automatic extension upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<../virtual-machines/automatic-extension-upgrade>) and [MaxSurge rolling upgrades](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-maxsurge>).\nFor more information, see [custom metrics for rolling upgrades on Virtual Machine Scale Sets](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-rolling-upgrade-custom-metrics>)\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#get-the-history-of-automatic-os-image-upgrades>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Get the history of automatic OS image upgrades?" }, { "from": "gpt", "value": "You can check the history of the most recent OS upgrade performed on your scale set with Azure PowerShell, Azure CLI 2.0, or the REST APIs. You can get history for the last five OS upgrade attempts within the past two months.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#keep-credentials-up-to-date>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Keep credentials up to date?" }, { "from": "gpt", "value": "If your scale set uses any credentials to access external resources, such as a virtual machine extension configured to use a SAS token for storage account, then ensure that the credentials are updated. If any credentials including certificates and tokens have expired, the upgrade fails and the first batch of virtual machines are left in a failed state.\nThe recommended steps to recover virtual machines and re-enable automatic OS upgrade if there's a resource authentication failure are:\n * Regenerate the token (or any other credentials) passed into your extensions.\n * Ensure that any credential used from inside the virtual machine to talk to external entities is up to date.\n * Update extensions in the scale set model with any new tokens.\n * Deploy the updated scale set, which updates all virtual machines including the failed ones.\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#rest-api-1>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain REST API?" }, { "from": "gpt", "value": "The following example uses [REST API](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtualmachinescalesets/getosupgradehistory>) to check the status for the scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nCopy\n```\nGET on `/subscriptions/subscription_id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myScaleSet/osUpgradeHistory?api-version=2021-03-01`\n\n```\n\nThe GET call returns properties similar to the following example output:\nJSON Copy\n```\n{\n\t\"value\": [\n\t\t{\n\t\t\t\"properties\": {\n \"runningStatus\": {\n \"code\": \"RollingForward\",\n \"startTime\": \"2018-07-24T17:46:06.1248429+00:00\",\n \"completedTime\": \"2018-04-21T12:29:25.0511245+00:00\"\n },\n \"progress\": {\n \"successfulInstanceCount\": 16,\n \"failedInstanceCount\": 0,\n \"inProgressInstanceCount\": 4,\n \"pendingInstanceCount\": 0\n },\n \"startedBy\": \"Platform\",\n \"targetImageReference\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": \"2016.127.20180613\"\n },\n \"rollbackInfo\": {\n \"successfullyRolledbackInstanceCount\": 0,\n \"failedRolledbackInstanceCount\": 0\n }\n },\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets/rollingUpgrades\",\n \"location\": \"westeurope\"\n }\n ]\n}\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-powershell-1>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure PowerShell?" }, { "from": "gpt", "value": "Use the [Get-AzVmss](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/get-azvmss>) cmdlet to check OS upgrade history for your scale set. The following example details how you review the OS upgrade status for a scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure PowerShell Copy Open Cloud Shell\n```\nGet-AzVmss -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\" -OSUpgradeHistory\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cli-20-1>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure CLI 2.0?" }, { "from": "gpt", "value": "Use [az vmss get-os-upgrade-history](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/vmss#az-vmss-get-os-upgrade-history>) to check the OS upgrade history for your scale set. Use Azure CLI 2.0.47 or above. The following example details how you review the OS upgrade status for a scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure CLI Copy Open Cloud Shell\n```\naz vmss get-os-upgrade-history --resource-group myResourceGroup --name myScaleSet\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#how-to-get-the-latest-version-of-a-platform-os-image>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "How to get the latest version of a platform OS image?" }, { "from": "gpt", "value": "You can get the available image versions for automatic OS upgrade supported SKUs using the below examples:\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#rest-api-2>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain REST API?" }, { "from": "gpt", "value": "Copy\n```\nGET on `/subscriptions/subscription_id/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions?api-version=2021-03-01`\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-powershell-2>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure PowerShell?" }, { "from": "gpt", "value": "Azure PowerShell Copy Open Cloud Shell\n```\nGet-AzVmImage -Location \"westus\" -PublisherName \"Canonical\" -offer \"0001-com-ubuntu-server-jammy\" -sku \"22_04-lts\"\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cli-20-2>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure CLI 2.0?" }, { "from": "gpt", "value": "Azure CLI Copy Open Cloud Shell\n```\naz vm image list --location \"westus\" --publisher \"Canonical\" --offer \"0001-com-ubuntu-server-jammy\" --sku \"22_04-lts\" --all\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#manually-trigger-os-image-upgrades>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Manually trigger OS image upgrades?" }, { "from": "gpt", "value": "With automatic OS image upgrade enabled on your scale set, you don't need to manually trigger image updates on your scale set. The OS upgrade orchestrator automatically applies the latest available image version to your scale set instances without any manual intervention.\nFor specific cases where you don't want to wait for the orchestrator to apply the latest image, you can trigger an OS image upgrade manually using the below examples.\nNote\nManual trigger of OS image upgrades does not provide automatic rollback capabilities. If an instance does not recover its health after an upgrade operation, its previous OS disk can't be restored.\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#rest-api-3>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain REST API?" }, { "from": "gpt", "value": "Use the [Start OS Upgrade](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtualmachinescalesetrollingupgrades/startosupgrade>) API call to start a rolling upgrade to move all Virtual Machine Scale Set instances to the latest available image OS version. Instances that are already running the latest available OS version are not affected. The following example details how you can start a rolling OS upgrade on a scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nCopy\n```\nPOST on `/subscriptions/subscription_id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myScaleSet/osRollingUpgrade?api-version=2021-03-01`\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-powershell-3>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure PowerShell?" }, { "from": "gpt", "value": "Use the [Start-AzVmssRollingOSUpgrade](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.compute/Start-AzVmssRollingOSUpgrade>) cmdlet to check OS upgrade history for your scale set. The following example details how you can start a rolling OS upgrade on a scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure PowerShell Copy Open Cloud Shell\n```\nStart-AzVmssRollingOSUpgrade -ResourceGroupName \"myResourceGroup\" -VMScaleSetName \"myScaleSet\"\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#azure-cli-20-3>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure CLI 2.0?" }, { "from": "gpt", "value": "Use [az vmss rolling-upgrade start](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/vmss/rolling-upgrade#az-vmss-rolling-upgrade-start>) to check the OS upgrade history for your scale set. Use Azure CLI 2.0.47 or above. The following example details how you can start a rolling OS upgrade on a scale set named _myScaleSet_ in the resource group named _myResourceGroup_ :\nAzure CLI Copy Open Cloud Shell\n```\naz vmss rolling-upgrade start --resource-group \"myResourceGroup\" --name \"myScaleSet\" --subscription \"subscriptionId\"\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#leverage-activity-logs-for-upgrade-notifications-and-insights>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Leverage Activity Logs for Upgrade Notifications and Insights?" }, { "from": "gpt", "value": "[Activity Log](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/essentials/activity-log?tabs=powershell>) is a subscription log that provides insight into subscription-level events that have occurred in Azure. Customers are able to:\n * See events related to operations performed on their resources in Azure portal\n * Create action groups to tune notification methods like email, sms, webhooks, or ITSM\n * Set up suitable alerts using different criteria using Portal, ARM resource template, PowerShell or CLI to be sent to action groups\n\nCustomers receive three types of notifications related to Automatic OS Upgrade operation:\n * Submission of upgrade request for a particular resource\n * Outcome of submission request along with any error details\n * Outcome of upgrade completion along with any error details\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#setting-up-action-groups-for-activity-log-alerts>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Setting up Action Groups for Activity log alerts?" }, { "from": "gpt", "value": "An [action group](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/action-groups>) is a collection of notification preferences defined by the owner of an Azure subscription. Azure Monitor and Service Health alerts use action groups to notify users that an alert has been triggered.\nAction groups can be created and managed using:\n * [ARM Resource Manager](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/action-groups#create-an-action-group-with-a-resource-manager-template>)\n * [Portal](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/action-groups#create-an-action-group-in-the-azure-portal>)\n * PowerShell:\n * [New-AzActionGroup](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.monitor/new-azactiongroup>)\n * [Get-AzActionGroup](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.monitor/get-azactiongroup>)\n * [Remove-AzActionGroup](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/powershell/module/az.monitor/remove-azactiongroup>)\n * [CLI](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/cli/azure/monitor/action-group#az-monitor-action-group-create>)\n\nCustomers can set up the following using action groups:\n * [SMS and/or Email notifications](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/action-groups#email-azure-resource-manager>)\n * [Webhooks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/action-groups#webhook>) - Customers can attach webhooks to their automation runbooks and configure their action groups to trigger the runbooks. You can start a runbook from a [webhook](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/automation/automation-webhooks>)\n * [ITSM Connections](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/azure/azure-monitor/alerts/itsmc-overview>)\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#investigate-and-resolve-auto-upgrade-errors>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Investigate and Resolve Auto Upgrade Errors?" }, { "from": "gpt", "value": "The platform can return errors on virtual machines while performing Automatic Image Upgrade with Rolling Upgrade policy. The [Get Instance View](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/get-instance-view>) of a virtual machine contains the detailed error message to investigate and resolve an error. The [Rolling Upgrades - Get Latest](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/get>) can provide more details on rolling upgrade configuration and status. The [Get OS Upgrade History](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/get-os-upgrade-history>) provides details on the last image upgrade operation on the scale set. Below are the topmost errors that can result in Rolling Upgrades.\n**RollingUpgradeInProgressWithFailedUpgradedVMs**\n * Error is triggered for a virtual machine failure.\n * The detailed error message mentions whether the rollout continues/pauses based on the configured threshold.\n\n**MaxUnhealthyUpgradedInstancePercentExceededInRollingUpgrade**\n * Error is triggered when the percent of upgraded virtual machines exceed the max threshold allowed for unhealthy virtual machines.\n * The detailed error message aggregates the most common error contributing to the unhealthy virtual machines. See [MaxUnhealthyUpgradedInstancePercent](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#rollingupgradepolicy>).\n\n**MaxUnhealthyInstancePercentExceededInRollingUpgrade**\n * Error is triggered when the percent of unhealthy virtual machines exceed the max threshold allowed for unhealthy virtual machines during an upgrade.\n * The detailed error message displays the current unhealthy percent and the configured allowable unhealthy virtual machine percentage. See [maxUnhealthyInstancePercent](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#rollingupgradepolicy>).\n\n**MaxUnhealthyInstancePercentExceededBeforeRollingUpgrade**\n * Error is triggered when the percent of unhealthy virtual machines exceed the max threshold allowed for unhealthy virtual machines before an upgrade takes place.\n * The detailed error message displays the current unhealthy percent and the configured allowable unhealthy virtual machine percentage. See [maxUnhealthyInstancePercent](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#rollingupgradepolicy>).\n\n**InternalExecutionError**\n * Error is triggered when an unhandled, unformatted or unexpected occurs during execution.\n * The detailed error message displays the cause of the error.\n\n**RollingUpgradeTimeoutError**\n * Error is triggered when the rolling upgrade process has timed out.\n * The detailed error message displays the length of time the system timed out after attempting to update.\n\n[](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<#next-steps>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Next steps?" }, { "from": "gpt", "value": "[Learn about the Application Health Extension](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<virtual-machine-scale-sets-health-extension>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Feedback?" }, { "from": "gpt", "value": "Was this page helpful?\nYes No\n[ Provide product feedback ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/feedback.azure.com/d365community/forum/ec2f1827-be25-ec11-b6e6-000d3a4f0f1c>)|\n[ Get help at Microsoft Q&A ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/learn.microsoft.com/answers/tags/393/azure-vm-scalesets/>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Additional resources?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "[ English (United States)](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/locale?target=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-automatic-upgrade>)\n[ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices ](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/aka.ms/yourcaliforniaprivacychoices>)\nTheme\n * Light\n * Dark\n * High contrast\n\n * [Previous Versions](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/previous-versions/>)\n * [Blog](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog>)\n * [Contribute](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/contribute/>)\n * [Privacy](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/go.microsoft.com/fwlink/?LinkId=521839>)\n * [Terms of Use](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/</en-us/legal/termsofuse>)\n * [Trademarks](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/<https:/www.microsoft.com/legal/intellectualproperty/Trademarks/>)\n * © Microsoft 2025" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain [Skip to main content](https://learn.microsoft.com/en-us/azure/container-instances/<#main>)?" }, { "from": "gpt", "value": "This browser is no longer supported.\nUpgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.\n[Download Microsoft Edge](https://learn.microsoft.com/en-us/azure/container-instances/<https:/go.microsoft.com/fwlink/p/?LinkID=2092881 >) [More info about Internet Explorer and Microsoft Edge](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge>)\n[ Learn ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/>) [ ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/www.microsoft.com>)\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/container-instances/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/container-instances/<#>)\n[ ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/www.microsoft.com>) [ Learn ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/>)\n * Discover\n * [ Documentation ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/docs/>)\nIn-depth articles on Microsoft developer tools and technologies\n * [ Training ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/>)\nPersonalized learning paths and courses\n * [ Credentials ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/credentials/>)\nGlobally recognized, industry-endorsed credentials\n * [ Q&A ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/answers/>)\nTechnical questions and answers moderated by Microsoft\n * [ Code Samples ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/samples/>)\nCode sample library for Microsoft developer tools and technologies\n * [ Assessments ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/assessments/>)\nInteractive, curated guidance and recommendations\n * [ Shows ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/shows/>)\nThousands of hours of original programming from Microsoft experts\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Product documentation\n * [ ASP.NET ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/aspnet/>)\n * [ Azure ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/>)\n * [ Dynamics 365 ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dynamics365/>)\n * [ Microsoft 365 ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/microsoft-365/>)\n * [ Microsoft Copilot ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/copilot/>)\n * [ Microsoft Edge ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/microsoft-edge/>)\n * [ Microsoft Entra ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/entra/>)\n * [ Microsoft Graph ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/graph/>)\n * [ Microsoft Intune ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/mem/>)\n * [ Microsoft Purview ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/purview/>)\n * [ Microsoft Teams ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/microsoftteams/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dotnet/>)\n * [ Power Apps ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/power-apps/>)\n * [ Power BI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/power-bi/>)\n * [ Power Platform ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/power-platform/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/powershell/>)\n * [ SQL ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/sql/>)\n * [ Sysinternals ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/sysinternals/>)\n * [ Visual Studio ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/visualstudio/>)\n * [ Windows ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/windows/>)\n * [ Windows Server ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/windows-server/>)\n[ View all products ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/docs/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Development languages\n * [ C++ ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/cpp/>)\n * [ C# ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dotnet/csharp/>)\n * [ DAX ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dax/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/java/>)\n * [ OData ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/odata/>)\n * [ OpenAPI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/openapi/>)\n * [ Power Query M ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/powerquery-m/>)\n * [ VBA ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/office/vba/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n * Topics\n * [ Artificial intelligence ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/ai/>)\n * [ Compliance ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/compliance/>)\n * [ DevOps ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/devops/>)\n * [ Platform engineering ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/platform-engineering/>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/security/>)\nMicrosoft Learn for Organizations\n[ Boost your team's technical skills ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/organizations/>)\nAccess curated resources to upskill your team and close skills gaps.\n\nSuggestions will filter as you type\n[ Sign in ](https://learn.microsoft.com/en-us/azure/container-instances/<#>)\n * [ Profile ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/users/me/activity/>)\n * [ Settings ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/users/me/settings/>)\n\n[ Sign out ](https://learn.microsoft.com/en-us/azure/container-instances/<#>)\n[ Azure ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/>)\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/support/options/>)\n * More\n * Products\n * Popular products\n * [ Azure AI Services ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/ai-services/>)\n * [ Azure App Service ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/app-service/>)\n * [ Azure Databricks ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/databricks/>)\n * [ Azure DevOps ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/devops/>)\n * [ Azure Functions ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-functions/>)\n * [ Azure Monitor ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/>)\n * [ Azure Virtual Machines ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/virtual-machines/>)\n * Popular categories\n * [ Compute ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=compute>)\n * [ Networking ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=networking>)\n * [ Storage ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=storage>)\n * [ AI & machine learning ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=ai-machine-learning>)\n * [ Analytics ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=analytics>)\n * [ Databases ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=databases>)\n * [ Security ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/?product=security>)\n * [ View all products ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/>)\n * Architecture\n * [ Cloud Adoption Framework ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/cloud-adoption-framework/>)\n * [ Well-Architected Framework ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/well-architected/>)\n * [ Azure Architecture Center ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/architecture/>)\n * Develop\n * [ Python ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/python/>)\n * [ .NET ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/dotnet/azure/>)\n * [ JavaScript ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/javascript/>)\n * [ Java ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/java/>)\n * [ PowerShell ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/powershell/azure/>)\n * [ Azure CLI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/cli/azure/>)\n * [ View all developer resources ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/developer/>)\n * Learn Azure\n * [ Start your AI learning assessment ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/assessments/1c032171-8ca0-4032-8962-a38a5cc424a8/>)\n * Top learning paths\n * [ Cloud concepts ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/>)\n * [ AI fundamentals ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/get-started-with-artificial-intelligence-on-azure/>)\n * [ Intro to generative AI ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/introduction-generative-ai/>)\n * [ Azure Architecture fundamentals ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/>)\n * [ Earn credentials ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/credentials/browse/?products=azure>)\n * [ Instructor-led courses ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/browse/?products=azure&resource_type=course>)\n * [ View all training ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/training/azure/>)\n * [ Troubleshooting ](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/troubleshoot/azure/>)\n * Resources\n * [ Product overview ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/get-started>)\n * [ Latest blog posts ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/blog/>)\n * [ Pricing information ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/pricing/>)\n * [ Support options ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/support/options/>)\n\n[ Portal ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/portal.azure.com>) [ Free account ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/azure.microsoft.com/free/>)\nTable of contents Exit focus mode\nSearch\nSuggestions will filter as you type\n * [Container Instances documentation](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/>)\n * Overview\n * Quickstarts\n * [Deploy a container instance - CLI](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart>)\n * [Deploy a container instance - Portal](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-portal>)\n * [Deploy a container instance - PowerShell](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-powershell>)\n * [Deploy a container instance - Bicep](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-bicep>)\n * [Deploy a container instance - ARM template](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-template>)\n * [Deploy a container instance - Terraform](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-terraform>)\n * [Deploy a container instance - Docker CLI](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/quickstart-docker-cli>)\n * Tutorials\n * Samples\n * Concepts\n * How-to guides\n * Reference\n * [Azure CLI](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/cli/azure/container>)\n * [Azure CLI confcom extension](https://learn.microsoft.com/en-us/azure/container-instances/<https:/github.com/Azure/azure-cli-extensions/blob/main/src/confcom/azext_confcom/README.md>)\n * [REST](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/rest/api/container-instances>)\n * [PowerShell](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/powershell/module/az.containerinstance>)\n * [.NET](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/dotnet/api/overview/azure/containerinstance>)\n * [Python](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/python/api/overview/azure/containerinstance>)\n * [Java](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/java/api/overview/azure/containerinstance>)\n * [Node.js](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/javascript/api/overview/azure/container-instances>)\n * [Resource Manager template](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/templates/microsoft.containerinstance/containergroups>)\n * [YAML](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-reference-yaml>)\n * [Connector](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/connectors/aci>)\n * [Monitoring data reference](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/monitor-azure-container-instances-reference>)\n * [Azure Policy built-ins](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/policy-reference>)\n * Resources\n * [Support and troubleshooting](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/container-instances-support-help>)\n\nDownload PDF\n 1. [ Learn ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/>)\n 2. [ Azure ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [ Container Instances ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/>)\n\n 1. [Learn](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/>)\n 2. [Azure](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/>)\n 3. [Container Instances](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/>)\n\n[ Read in English ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/monitor-azure-container-instances-reference> \"Read in English\") Save\n * Add to Collections\n * Add to Plan\n\n[ ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/container-instances/monitor-azure-container-instances-reference.md> \"Edit This Document\")\nTable of contents[ Read in English ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/learn.microsoft.com/en-us/azure/container-instances/monitor-azure-container-instances-reference> \"Read in English\") Add to Collections Add to Plan [ Edit ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/container-instances/monitor-azure-container-instances-reference.md> \"Edit This Document\")\n#### Share via\n[ Facebook ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fcontainer-instances%2Fmonitor-azure-container-instances-reference%3FWT.mc_id%3Dfacebook>) [ x.com ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fcontainer-instances%2Fmonitor-azure-container-instances-reference%3FWT.mc_id%3Dtwitter&text=Today%20I%20completed%20%22Monitoring%20data%20reference%20for%20Container%20Instances%20-%20Azure%20Container%20Instances%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!&tw_p=tweetbutton&url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fcontainer-instances%2Fmonitor-azure-container-instances-reference%3FWT.mc_id%3Dtwitter>) [ LinkedIn ](https://learn.microsoft.com/en-us/azure/container-instances/<https:/www.linkedin.com/feed/?shareActive=true&text=Today%20I%20completed%20%22Monitoring%20data%20reference%20for%20Container%20Instances%20-%20Azure%20Container%20Instances%20%7C%20Microsoft%20Learn%22!%20I'm%20so%20proud%20to%20be%20celebrating%20this%20achievement%20and%20hope%20this%20inspires%20you%20to%20start%20your%20own%20%40MicrosoftLearn%20journey!%0A%0D%0Ahttps%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fcontainer-instances%2Fmonitor-azure-container-instances-reference%3FWT.mc_id%3Dlinkedin>) Email Print\nTable of contents\n# Container Instances monitoring data reference\n * Article\n * 08/30/2024\n * 4 contributors\n\nFeedback" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain In this article?" }, { "from": "gpt", "value": "1. [Metrics](https://learn.microsoft.com/en-us/azure/container-instances/<#metrics>)\n 2. [Metric dimensions](https://learn.microsoft.com/en-us/azure/container-instances/<#metric-dimensions>)\n 3. [Resource logs](https://learn.microsoft.com/en-us/azure/container-instances/<#resource-logs>)\n 4. [Azure Monitor Logs tables](https://learn.microsoft.com/en-us/azure/container-instances/<#azure-monitor-logs-tables>)\n 5. [Activity log](https://learn.microsoft.com/en-us/azure/container-instances/<#activity-log>)\n 6. [Related content](https://learn.microsoft.com/en-us/azure/container-instances/<#related-content>)\n\nShow 2 more\nThis article contains all the monitoring reference information for this service.\nSee [Monitor Container Instances](https://learn.microsoft.com/en-us/azure/container-instances/<monitor-azure-container-instances>) for details on the data you can collect for Container Instances and how to use it.\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#metrics>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Metrics?" }, { "from": "gpt", "value": "This section lists all the automatically collected platform metrics for this service. These metrics are also part of the global list of [all platform metrics supported in Azure Monitor](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/reference/supported-metrics/metrics-index#supported-metrics-per-resource-type>).\nFor information on metric retention, see [Azure Monitor Metrics overview](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/data-platform-metrics#retention-of-metrics>).\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#supported-metrics-for-microsoftcontainerinstancecontainergroups>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Supported metrics for Microsoft.ContainerInstance/containerGroups?" }, { "from": "gpt", "value": "The following table lists the metrics available for the Microsoft.ContainerInstance/containerGroups resource type.\n * All columns might not be present in every table.\n * Some columns might be beyond the viewing area of the page. Select **Expand table** to view all available columns.\n\n**Table headings**\n * **Category** - The metrics group or classification.\n * **Metric** - The metric display name as it appears in the Azure portal.\n * **Name in REST API** - The metric name as referred to in the [REST API](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/rest-api-walkthrough>).\n * **Unit** - Unit of measure.\n * **Aggregation** - The default [aggregation](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained>) type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.\n * **Dimensions** - [Dimensions](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained#dimensions-splitting-and-filtering>) available for the metric.\n * **Time Grains** - [Intervals](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained#granularity>) at which the metric is sampled. For example, `PT1M` indicates that the metric is sampled every minute, `PT30M` every 30 minutes, `PT1H` every hour, and so on.\n * **DS Export** - Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see [Create diagnostic settings in Azure Monitor](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/create-diagnostic-settings?tabs=portal>).\n\nExpand table\nMetric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export\n---|---|---|---|---|---|---\n**CPU Usage** CPU usage on all cores in millicores. | `CpuUsage` | Count | Maximum, Minimum, Average | `containerName` | PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H | Yes\n**Memory Usage** Total memory usage in byte. | `MemoryUsage` | Bytes | Maximum, Minimum, Average | `containerName` | PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H | Yes\n**Network Bytes Received Per Second** The network bytes received per second. | `NetworkBytesReceivedPerSecond` | Bytes | Maximum, Minimum, Average | <none> | PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H | Yes\n**Network Bytes Transmitted Per Second** The network bytes transmitted per second. | `NetworkBytesTransmittedPerSecond` | Bytes | Maximum, Minimum, Average | <none> | PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H | Yes\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#supported-metrics-for-microsoftcontainerinstancecontainerscalesets>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Supported metrics for Microsoft.ContainerInstance/containerScaleSets?" }, { "from": "gpt", "value": "The following table lists the metrics available for the Microsoft.ContainerInstance/containerScaleSets resource type.\n * All columns might not be present in every table.\n * Some columns might be beyond the viewing area of the page. Select **Expand table** to view all available columns.\n\n**Table headings**\n * **Category** - The metrics group or classification.\n * **Metric** - The metric display name as it appears in the Azure portal.\n * **Name in REST API** - The metric name as referred to in the [REST API](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/rest-api-walkthrough>).\n * **Unit** - Unit of measure.\n * **Aggregation** - The default [aggregation](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained>) type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.\n * **Dimensions** - [Dimensions](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained#dimensions-splitting-and-filtering>) available for the metric.\n * **Time Grains** - [Intervals](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/metrics-aggregation-explained#granularity>) at which the metric is sampled. For example, `PT1M` indicates that the metric is sampled every minute, `PT30M` every 30 minutes, `PT1H` every hour, and so on.\n * **DS Export** - Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see [Create diagnostic settings in Azure Monitor](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/create-diagnostic-settings?tabs=portal>).\n\nExpand table\nMetric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export\n---|---|---|---|---|---|---\n**Percentage CPU** Average of the CPU percentages consumed by individual Container Groups in this Scale Set | `CpuPercentage` | Percent | Average, Minimum, Maximum | `containerName` | PT1M | Yes\n**CPU usage** Average of the CPU utilizations in millicores consumed by Container Groups in this Scale Set | `CpuUsage` | MilliCores | Total (Sum), Average, Minimum, Maximum | `containerName` | PT1M | Yes\n**Memory percentage** Average of the memory percentages consumed ((usedMemory/allocatedMemory) * 100) by Container Groups in this Scale Set | `MemoryPercentage` | Percent | Average, Minimum, Maximum | `containerName` | PT1M | Yes\n**Memory usage** Total memory used by all the Container Groups in this Scale Set | `MemoryUsage` | Bytes | Total (Sum), Average, Minimum, Maximum | `containerName` | PT1M | Yes\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#metric-dimensions>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Metric dimensions?" }, { "from": "gpt", "value": "For information about what metric dimensions are, see [Multi-dimensional metrics](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/platform/data-platform-metrics#multi-dimensional-metrics>).\nThis service has the following dimensions associated with its metrics.\nExpand table\nDimension Name | Description\n---|---\n**containerName** | The name of the container. The name must be between 1 and 63 characters long. It can contain only lowercase letters numbers, and dashes. Dashes can't begin or end the name, and dashes can't be consecutive. The name must be unique in its resource group.\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#resource-logs>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Resource logs?" }, { "from": "gpt", "value": "This section lists the types of resource logs you can collect for this service. The section pulls from the list of [all resource logs category types supported in Azure Monitor](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/platform/resource-logs-schema>).\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#supported-resource-logs-for-microsoftcontainerinstancecontainergroups>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Supported resource logs for Microsoft.ContainerInstance/containerGroups?" }, { "from": "gpt", "value": "Expand table\nCategory | Category display name | Log table | [Supports basic log plan](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/logs/basic-logs-configure?tabs=portal-1#compare-the-basic-and-analytics-log-data-plans>) | [Supports ingestion-time transformation](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/data-collection-transformations>) | Example queries | Costs to export\n---|---|---|---|---|---|---\n`ContainerEvent` | Container events | [ContainerEvent](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/reference/tables/containerevent>)Container Event Customer Logs. | No | No | Yes\n`ContainerInstanceLog` | Standard output logs | [ContainerInstanceLog](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/reference/tables/containerinstancelog>)Container Instance Customer Logs. | No | No | Yes\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#azure-monitor-logs-tables>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure Monitor Logs tables?" }, { "from": "gpt", "value": "This section lists the Azure Monitor Logs tables relevant to this service, which are available for query by Log Analytics using Kusto queries. The tables contain resource log data and possibly more depending on what is collected and routed to them.\nContainer Instances has two table schemas, a legacy schema for Log Analytics and a new schema that supports diagnostic settings. The diagnostic settings feature is in public preview in the Azure portal. You can use either or both schemas at the same time.\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#legacy-log-analytics-tables>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Legacy Log Analytics tables?" }, { "from": "gpt", "value": "The following __CL_ tables represent the legacy Log Analytics integration. Users provide the Log Analytics workspace ID and key in the Container Group payload.\nNote\nSome of the columns in the following list exist only as part of the schema, and don't have any data emitted in logs. These columns are denoted with a description of 'Empty'.\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#containerinstancelog_cl>)\n#### ContainerInstanceLog_CL\nExpand table\nColumn | Type | Description\n---|---|---\nComputer | string | Empty\nContainerGroup_s | string | The name of the container group associated with the record\nContainerID_s | string | A unique identifier for the container associated with the record\nContainerImage_s | string | The name of the container image associated with the record\nLocation_s | string | The location of the resource associated with the record\nMessage | string | If applicable, the message from the container\nOSType_s | string | The name of the operating system the container is based on\nRawData | string | Empty\nResourceGroup | string | Name of the resource group that the record is associated with\nSource_s | string | Name of the logging component, \"LoggingAgent\"\nSubscriptionId | string | A unique identifier for the subscription that the record is associated with\nTimeGenerated | datetime | Timestamp when the event was generated by the Azure service processing the request corresponding the event\nType | string | The name of the table\n_ResourceId | string | A unique identifier for the resource that the record is associated with\n_SubscriptionId | string | A unique identifier for the subscription that the record is associated with\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#containerevent_cl>)\n#### ContainerEvent_CL\nExpand table\nColumn | Type | Description\n---|---|---\nComputer | string | Empty\nContainerGroupInstanceId_g | string | A unique identifier for the container group associated with the record\nContainerGroup_s | string | The name of the container group associated with the record\nContainerName_s | string | The name of the container associated with the record\nCount_d | real | How many times the event has occurred since the last poll\nFirstTimestamp_t | datetime | The timestamp of the first time the event occurred\nLocation_s | string | The location of the resource associated with the record\nMessage | string | If applicable, the message from the container\nOSType_s | string | The name of the operating system the container is based on\nRawData | string | Empty\nReason_s | string | Empty\nResourceGroup | string | The name of the resource group that the record is associated with\nSubscriptionId | string | A unique identifier for the subscription that the record is associated with\nTimeGenerated | datetime | Timestamp when the event was generated by the Azure service processing the request corresponding the event\nType | string | The name of the table\n_ResourceId | string | A unique identifier for the resource that the record is associated with\n_SubscriptionId | string | A unique identifier for the subscription that the record is associated with\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#azure-monitor-log-analytics-tables>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Azure Monitor Log Analytics tables?" }, { "from": "gpt", "value": "The newer tables require use of a diagnostic setting to route information to Log Analytics. The diagnostic settings feature for Container Instances in the Azure portal is in public preview. The table names are similar, but without the _CL, and some columns are different.\nOnce this feature is enabled for a subscription, diagnostic settings can be applied to a container group. Applying diagnostic settings causes a container group to restart.\nFor example, here's how you can use `New-AzDiagnosticSetting` command to apply a diagnostic settings object to a container group.\nAzure PowerShell Copy\n```\n$log = @()\n$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerInstanceLog -RetentionPolicyDay 7 -RetentionPolicyEnabled $true\n\nNew-AzDiagnosticSetting -Name test-setting -ResourceId <container-group-resource-id> -WorkspaceId <log-analytics-workspace-id> -Log $log\n\n```\n\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#container-instances>)\n#### Container Instances\nMicrosoft.ContainerInstance/containerGroups\n * [ContainerInstanceLog](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/reference/tables/containerinstancelog>)\n * [ContainerEvent](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/reference/tables/containerevent>)\n\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#activity-log>)" } ]
[ { "from": "system", "value": "You are an Azure AI assistant, trained to help users understand and work with Azure services and documentation. You have deep knowledge of Azure's cloud platform, particularly about: . Provide clear, accurate, and helpful responses based on official Azure documentation." }, { "from": "human", "value": "Can you explain Activity log?" }, { "from": "gpt", "value": "The linked table lists the operations that can be recorded in the activity log for this service. These operations are a subset of [all the possible resource provider operations in the activity log](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/role-based-access-control/resource-provider-operations>).\nFor more information on the schema of activity log entries, see [Activity Log schema](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/azure-monitor/essentials/activity-log-schema>).\nThe following table lists a subset of the operations that Azure Container Instances may record in the Activity log. For the complete listing, see [Microsoft.ContainerInstance resource provider operations](https://learn.microsoft.com/en-us/azure/container-instances/</en-us/azure/role-based-access-control/resource-provider-operations#microsoftcontainerinstance>).\nExpand table\nOperation | Description\n---|---\nMicrosoft.ContainerInstance/register/action | Registers the subscription for the container instance resource provider and enables the creation of container groups.\nMicrosoft.ContainerInstance/containerGroupProfiles/read | Get all container group profiles.\nMicrosoft.ContainerInstance/containerGroupProfiles/write | Create or update a specific container group profile.\nMicrosoft.ContainerInstance/containerGroupProfiles/delete | Delete the specific container group profile.\nMicrosoft.ContainerInstance/containerGroups/read | Get all container groups.\nMicrosoft.ContainerInstance/containerGroups/write | Create or update a specific container group.\nMicrosoft.ContainerInstance/containerGroups/delete | Delete the specific container group.\nMicrosoft.ContainerInstance/containerGroups/restart/action | Restarts a specific container group. This log only captures customer-intiated restarts, not restarts initiated by Azure Container Instances infrastructure.\nMicrosoft.ContainerInstance/containerGroups/stop/action | Stops a specific container group. Compute resources are deallocated and billing stops.\nMicrosoft.ContainerInstance/containerGroups/start/action | Starts a specific container group.\nMicrosoft.ContainerInstance/containerGroups/containers/exec/action | Exec into a specific container.\nMicrosoft.ContainerInstance/containerGroups/containers/attach/action | Attach to the output stream of a container.\nMicrosoft.ContainerInstance/containerGroups/containers/buildlogs/read | Get build logs for a specific container.\nMicrosoft.ContainerInstance/containerGroups/containers/logs/read | Get logs for a specific container.\nMicrosoft.ContainerInstance/containerGroups/detectors/read | List Container Group Detectors\nMicrosoft.ContainerInstance/containerGroups/operationResults/read | Get async operation result\nMicrosoft.ContainerInstance/containerGroups/outboundNetworkDependenciesEndpoints/read | List Container Group Detectors\nMicrosoft.ContainerInstance/containerGroups/providers/Microsoft.Insights/diagnosticSettings/read | Gets the diagnostic setting for the container group.\nMicrosoft.ContainerInstance/containerGroups/providers/Microsoft.Insights/diagnosticSettings/write | Creates or updates the diagnostic setting for the container group.\nMicrosoft.ContainerInstance/containerGroups/providers/Microsoft.Insights/metricDefinitions/read | Gets the available metrics for container group.\nMicrosoft.ContainerInstance/locations/deleteVirtualNetworkOrSubnets/action | Notifies Microsoft.ContainerInstance that virtual network or subnet is being deleted.\nMicrosoft.ContainerInstance/locations/cachedImages/read | Gets the cached images for the subscription in a region.\nMicrosoft.ContainerInstance/locations/capabilities/read | Get the capabilities for a region.\nMicrosoft.ContainerInstance/locations/operationResults/read | Get async operation result\nMicrosoft.ContainerInstance/locations/operations/read | List the operations for Azure Container Instance service.\nMicrosoft.ContainerInstance/locations/usages/read | Get the usage for a specific region.\nMicrosoft.ContainerInstance/operations/read | List the operations for Azure Container Instance service.\nMicrosoft.ContainerInstance/serviceassociationlinks/delete | Delete the service association link created by Azure Container Instance resource provider on a subnet.\n[](https://learn.microsoft.com/en-us/azure/container-instances/<#related-content>)" } ]