Gustav032 on Mon, 06 Mar 2017 07:26:28
I have "Department" with Subscription quota 600$ , i know that are notification about the quota but
i want to make a powershell script (and put in orchestrator) that do the following :
when the subscription quota reaches 550$ , disable/stop all the services (not delete) and prevent to keep spending money. and then when the subscription get more money restart/enable all the services (in this case i speaking about VM Computers)
CHEEKATLAPRADEEP-MSFT on Mon, 06 Mar 2017 19:28:48
Programmatically, this is not supported. You may leave a feedback here.
Manually, you may use Azure Billing Alert Service to create customized billing alerts when quota exceeds 550$. Once you get the alert, then you may stop/deallocate all the Azure services which you are using in your Azure Subscription.
Note: Even though the VM is no longer allocated to a host in Azure the actual storage for the VM is persisted in the Azure storage account. This means you still pay the storage charges for the OS disk and any data disks.
For more details, see “Azure Virtual Machines – Stopping vs Stopping (Deallocating)”.
Gustav032 on Tue, 07 Mar 2017 08:00:17
Thanks,sounds good but, i tried to active the billing alert services, but isn't work.....
i was activated the preview feature but i cant see the option in the subscriptions.
CHEEKATLAPRADEEP-MSFT on Tue, 07 Mar 2017 12:41:58
Since the preview feature activated by you is not seen in the Azure portal, I suggest you to contact the Azure Billing Team using the link below: