Share via


CapacityReservationProfile Constructors

Definition

Overloads

CapacityReservationProfile()

Initializes a new instance of the CapacityReservationProfile class.

CapacityReservationProfile(SubResource)

Initializes a new instance of the CapacityReservationProfile class.

CapacityReservationProfile()

Initializes a new instance of the CapacityReservationProfile class.

public CapacityReservationProfile ();
Public Sub New ()

Applies to

CapacityReservationProfile(SubResource)

Initializes a new instance of the CapacityReservationProfile class.

public CapacityReservationProfile (Microsoft.Azure.Management.Compute.Models.SubResource capacityReservationGroup = default);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationProfile : Microsoft.Azure.Management.Compute.Models.SubResource -> Microsoft.Azure.Management.Compute.Models.CapacityReservationProfile
Public Sub New (Optional capacityReservationGroup As SubResource = Nothing)

Parameters

capacityReservationGroup
SubResource

Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.

Applies to