Develop Azure Runbook with powershell script -- 3

Job ID: 31348422

Budget: ₹600 – ₹1,500 INR

I need a power shell script developer who can write the below logic
1. Create VMSS

Alert Rule -1 : ScaleUp Resource
2. Create Alert Source
3. Create Alert Condition
4. Create Alert Action Group
ScaleUp-Runbook

Alert Rule -2: ScaleDown Resource
5. Create Alert Source
6. Create Alert Condition
7. Create Alert Action Group
ScaleDown-Runbook

ScaleUp-Runbook :
1. Crate a new VMSS with new size
2. Create Alerts (Rule-1 & Rule-2) for this VMSS (VMSS-2)
3. Associate the VMSS to BackendPool
4. Get the JMX requestCount and currentThreadBusy metrics from VMSS-1
Check the Compare the requestCount for each interval
If requestCount is not changing and currentThreadBusy Count is zero for some interval
=> Requests Processing is completed
=> Remove the VMSS-1
=> Remove the Alerts on this VMSS-1
else
continue checking the requestCount and currentThreadBusy Count
Related categories: Azure Powershell Microsoft Azure