CapacityReservationProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The parameters of a capacity reservation Profile.
public class CapacityReservationProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.CapacityReservationProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.CapacityReservationProfile>
type CapacityReservationProfile = class
interface IJsonModel<CapacityReservationProfile>
interface IPersistableModel<CapacityReservationProfile>
Public Class CapacityReservationProfile
Implements IJsonModel(Of CapacityReservationProfile), IPersistableModel(Of CapacityReservationProfile)
- Inheritance
-
CapacityReservationProfile
- Implements
Constructors
| Name | Description |
|---|---|
| CapacityReservationProfile() |
Initializes a new instance of CapacityReservationProfile. |
Properties
| Name | Description |
|---|---|
| CapacityReservationGroupId |
Resource Id. |
| DisableCapacityReservationAssignment |
Specifies whether the virtual machine is explicitly opted out from being associated with any capacity reservation. When set to true, the virtual machine will not be allowed to implicitly or explicitly associate with any type of capacity reservation and will consume capacity from the publicly available capacity. Minimum api-version: 2026-04-01. |