CapacityReservationGroupProperties Class
capacity reservation group Properties.
Constructor
CapacityReservationGroupProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
capacity_reservations
|
A list of all capacity reservation resource ids that belong to capacity reservation group. |
|
virtual_machines_associated
|
A list of references to all virtual machines associated to the capacity reservation group. |
|
instance_view
|
The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. |
|
sharing_profile
|
Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. The capacity reservation group resource can generally be shared across subscriptions belonging to a single Azure AAD tenant or across AAD tenants if there is a trust relationship established between the tenants. Block capacity reservation does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. |
|
reservation_type
|
Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation group is provided. The reservation type is immutable and cannot be changed after it is assigned. Known values are: "Targeted" and "Block". |
Attributes
capacity_reservations
A list of all capacity reservation resource ids that belong to capacity reservation group.
capacity_reservations: list['_models.SubResourceReadOnly'] | None
instance_view
The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
instance_view: _models.CapacityReservationGroupInstanceView | None
reservation_type
Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation group is provided. The reservation type is immutable and cannot be changed after it is assigned. Known values are: "Targeted" and "Block".
reservation_type: str | _models.ReservationType | None
sharing_profile
Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. The capacity reservation group resource can generally be shared across subscriptions belonging to a single Azure AAD tenant or across AAD tenants if there is a trust relationship established between the tenants. Block capacity reservation does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
sharing_profile: _models.ResourceSharingProfile | None
virtual_machines_associated
A list of references to all virtual machines associated to the capacity reservation group.
virtual_machines_associated: list['_models.SubResourceReadOnly'] | None