CapacityReservationProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CapacityReservationProfile
- com.
public final class CapacityReservationProfile
The parameters of a capacity reservation Profile.
Constructor Summary
Constructor | Description |
---|---|
CapacityReservationProfile() |
Creates an instance of Capacity |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
capacityReservationGroup()
Get the capacity |
void |
validate()
Validates the instance. |
Capacity |
withCapacityReservationGroup(SubResource capacityReservationGroup)
Set the capacity |
Methods inherited from java.lang.Object
Constructor Details
CapacityReservationProfile
public CapacityReservationProfile()
Creates an instance of CapacityReservationProfile class.
Method Details
capacityReservationGroup
public SubResource capacityReservationGroup()
Get the capacityReservationGroup property: 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.
Returns:
validate
public void validate()
Validates the instance.
withCapacityReservationGroup
public CapacityReservationProfile withCapacityReservationGroup(SubResource capacityReservationGroup)
Set the capacityReservationGroup property: 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.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för