Start/Stop Suspend/Resume and Scale Microsoft Fabric Capacities with Managed Identity Python Runbook
-
Updated
Apr 12, 2024 - Python
Start/Stop Suspend/Resume and Scale Microsoft Fabric Capacities with Managed Identity Python Runbook
Processes a webhook sent from an Azure alert.This Azure Automation sample runbook runs on Azure to process an alert sent through a webhook. It converts the RequestBody into a Python object by loading the json string sent in.
use system-assigned managed identity to import python 3 packages to Azure automation
Copies a blob or all files in a container from an Azure storage accountto a local directory.
This Azure Automation runbook runs in Azure to remove a package from Azure Automation.It requires the subscription id, resource group of the Automation account, Automation name, and package name as arguments.Passing in * for the package name will remove all packages.
Imports python packages from pypi.orgThis Azure Automation runbook runs in Azure to import a package and its dependencies from pypi.org.It requires the subscription id, resource group of the Automation account, Automation name, and package name as arguments.
User-assigned managed identity authentication: import python 3 packages to azure automation
Example showing how to download a runbook from an automation account so you can call it from a parent python script.
Starts Azure resource manager virtual machines in a subscription. An Azure Automation RunAs account is required for this runbook.This Azure Automation runbook runs on Azure to start Azure vms in a subscription.
Start Azure All RM virtual machines in a subscription (with days exclusion). An Azure Automation RunAs account is required for this runbook.
Stop Azure resource manager virtual machines in a subscription. An Azure Automation RunAs account is required for this runbook.
Example showing REST calls using Azure Automation RunAs account against Azure resources (sample starts an automation runbook job for a runbook)
Stops Azure resource manager virtual machines in a subscription.This Azure Automation runbook runs on Azure to stop (deallocate) Azure vms in a subscription.If no arguments are specified, then all VMs that are currently started are stopped.
This python script is a troubleshooting tool for assessing the health of the Azure Automation Update Management agent on Linux machines. It checks several aspects that affect the health of the agent. You can read more details in this document: https://docs.microsoft.com/azure/au
Add a description, image, and links to the azureautomationrunbookgallery topic page so that developers can more easily learn about it.
To associate your repository with the azureautomationrunbookgallery topic, visit your repo's landing page and select "manage topics."