CmdID / az / az capacity / az capacity reservation
az capacity reservation create
Create operation to create or update a capacity reservation. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--capacity-reservation-group, -cThe name of the capacity reservation group.--capacity-reservation-name, --name, -nThe name of the capacity reservation.--capacitySpecify the number of virtual machines in the scale set.--endThe required end date for Block capacity reservations.--minimum-commitment-days, --min-commitment-daysThe minimum number of days after the start date before a committed Future capacity reservation can be updated or deleted.--schedule-profile-startThe start date and time of a Future capacity reservation.--sku, -sThe SKU of the resource for which capacity needs be reserved.--tagsResource tags--zone, -zAvailability Zone to use for this capacity reservation.