---
type: resource-type
title: capacityReservationGroups_capacityReservations
description: azure resource type Microsoft.Compute/capacityReservationGroups_capacityReservations
name: capacityReservationGroups_capacityReservations
lexicon: azure
resource_type: Microsoft.Compute/capacityReservationGroups_capacityReservations
---
`Microsoft.Compute/capacityReservationGroups_capacityReservations`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The name of the capacity reservation.
- `properties` (`capacityReservationGroups_capacityReservations_CapacityReservationProperties`, required): Properties of the Capacity reservation.
- `location` (`string`, optional): The geo-location where the resource lives
- `sku` (`capacityReservationGroups_capacityReservations_Sku`, optional): SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. For Block capacity reservations, sku.capacity can only accept values 1, 2, 4, 8, 16, 32, 64. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. When 'CapacityReservationSupported' is true, the SKU capability also specifies the 'SupportedCapacityReservationTypes', which lists the types of capacity reservations (such as Targeted or Block) that the SKU supports. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.
- `tags` (`Record<string, unknown>`, optional): Resource tags.
- `zones` (`string[]`, optional): The availability zones.

## Attributes

- `id`
