CapacityReservation Class
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.
[Microsoft.Rest.Serialization.JsonTransformation]
public class CapacityReservation : Microsoft.Azure.Management.Compute.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type CapacityReservation = class
inherit Resource
Public Class CapacityReservation
Inherits Resource
- Inheritance
- Attributes
Capacity |
Initializes a new instance of the CapacityReservation class. |
Capacity |
Initializes a new instance of the CapacityReservation class. |
Capacity |
Initializes a new instance of the CapacityReservation class. |
Capacity |
Initializes a new instance of the CapacityReservation class. |
Id |
Gets resource Id (Inherited from Resource) |
Instance |
Gets the Capacity reservation instance view. |
Location |
Gets or sets resource location (Inherited from Resource) |
Name |
Gets resource name (Inherited from Resource) |
Platform |
Gets 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. |
Provisioning |
Gets the provisioning state, which only appears in the response. |
Provisioning |
Gets the date time when the capacity reservation was last updated. |
Reservation |
Gets a unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. |
Sku |
Gets or sets 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 |
Gets or sets resource tags (Inherited from Resource) |
Time |
Gets specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01. |
Type |
Gets resource type (Inherited from Resource) |
Virtual |
Gets a list of all virtual machine resource ids that are associated with the capacity reservation. |
Zones |
Gets or sets availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. |
Validate() |
Validate the object. |
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: