Complete the code to create a budget alert in Azure Cost Management.
az consumption budget create --amount [1] --time-grain Monthly --name MyBudget --resource-group MyResourceGroupThe --amount parameter requires a numeric value representing the budget limit. '1000' is a valid number.
Complete the code to list all cost management budgets in a subscription.
az consumption budget list --subscription [1]The --subscription parameter requires the subscription ID, which is a GUID like '12345678-1234-1234-1234-123456789abc'.
Fix the error in the code to enable cost alerts when spending reaches 80% of the budget.
az consumption budget update --name MyBudget --resource-group MyResourceGroup --threshold [1]The --threshold parameter expects an integer percentage value without the percent sign, so '80' is correct.
Fill both blanks to create a cost management export that runs monthly and saves to a storage account.
az consumption export create --name MonthlyExport --subscription MySubscription --storage-account [1] --recurrence [2]
The --storage-account requires the storage account name, and --recurrence should be 'monthly' to run monthly exports.
Fill all three blanks to create a reserved instance purchase with a 1-year term and a specific SKU.
az reservation order create --reserved-resource-type VirtualMachines --term [1] --sku [2] --quantity [3]
The --term should be '1Year' for a one-year reservation, --sku is the VM size like 'Standard_D2s_v3', and --quantity is the number of instances to reserve, here '5'.