Complete the code to specify the purchase of a reserved instance for a virtual machine.
az vm reservation purchase --vm-name [1] --reservation-term 1-year
The --vm-name parameter requires the name of the virtual machine to purchase a reserved instance for.
Complete the code to list all reserved instances in a specific subscription.
az reservations reservation list --subscription [1]The --subscription parameter requires the subscription ID to list reserved instances under that subscription.
Fix the error in the command to update a reserved instance's scope to shared.
az reservations reservation update --reservation-id [1] --scope [2]
The --scope parameter accepts values like shared or single. To set the scope to shared, use shared.
Fill both blanks to create a reservation order with a specific SKU and quantity.
az reservations reservation-order create --sku [1] --quantity [2]
The --sku parameter specifies the VM size SKU, and --quantity specifies how many reserved instances to purchase.
Fill all three blanks to create a reservation order with a specific term, billing scope, and SKU.
az reservations reservation-order create --reservation-term [1] --billing-scope [2] --sku [3]
The --reservation-term sets the duration, --billing-scope is the subscription ID for billing, and --sku is the VM size.