Skip to main content

capacity_reservation_groups

Overview

Namecapacity_reservation_groups
TypeResource
Idazure.compute.capacity_reservation_groups

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
locationstringResource location
propertiesobjectcapacity reservation group Properties.
tagsobjectResource tags
typestringResource type
zonesarrayAvailability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcapacityReservationGroupName, resourceGroupName, subscriptionIdThe operation that retrieves information about a capacity reservation group.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups.
list_by_subscriptionSELECTsubscriptionIdLists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups.
create_or_updateINSERTcapacityReservationGroupName, resourceGroupName, subscriptionIdThe operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags and sharing profile may be modified. Please refer to https://aka.ms/CapacityReservation for more details.
deleteDELETEcapacityReservationGroupName, resourceGroupName, subscriptionIdThe operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups.
_list_by_subscriptionEXECsubscriptionIdLists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups.
updateEXECcapacityReservationGroupName, resourceGroupName, subscriptionIdThe operation to update a capacity reservation group. When updating a capacity reservation group, only tags and sharing profile may be modified.