CapacityReservationPatch 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.
Specifies information about the capacity reservation. Only tags and sku.capacity can be updated.
public class CapacityReservationPatch : Azure.ResourceManager.Compute.Models.ComputeResourcePatch, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.CapacityReservationPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.CapacityReservationPatch>
type CapacityReservationPatch = class
inherit ComputeResourcePatch
interface IJsonModel<CapacityReservationPatch>
interface IPersistableModel<CapacityReservationPatch>
Public Class CapacityReservationPatch
Inherits ComputeResourcePatch
Implements IJsonModel(Of CapacityReservationPatch), IPersistableModel(Of CapacityReservationPatch)
- Inheritance
- Implements
Constructors
CapacityReservationPatch() |
Initializes a new instance of CapacityReservationPatch. |
Properties
InstanceView |
The Capacity reservation instance view. |
PlatformFaultDomainCount |
Specifies the value of fault domain count that Capacity Reservation supports for requested VM size. Note: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation. Minimum api-version: 2022-08-01. |
ProvisioningOn |
The date time when the capacity reservation was last updated. |
ProvisioningState |
The provisioning state, which only appears in the response. |
ReservationId |
A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. |
Sku |
SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. |
Tags |
Resource tags. (Inherited from ComputeResourcePatch) |
TimeCreated |
Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01. |
VirtualMachinesAssociated |
A list of all virtual machine resource ids that are associated with the capacity reservation. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |