Class ScalingHostPoolReference
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.ScalingHostPoolReference
Scaling plan reference to hostpool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ScalingHostPoolReference class. -
Method Summary
Modifier and TypeMethodDescriptionGet the hostPoolArmPath property: Arm path of referenced hostpool.Get the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.voidvalidate()Validates the instance.withHostPoolArmPath(String hostPoolArmPath) Set the hostPoolArmPath property: Arm path of referenced hostpool.withScalingPlanEnabled(Boolean scalingPlanEnabled) Set the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
-
Constructor Details
-
ScalingHostPoolReference
public ScalingHostPoolReference()Creates an instance of ScalingHostPoolReference class.
-
-
Method Details
-
hostPoolArmPath
Get the hostPoolArmPath property: Arm path of referenced hostpool.- Returns:
- the hostPoolArmPath value.
-
withHostPoolArmPath
Set the hostPoolArmPath property: Arm path of referenced hostpool.- Parameters:
hostPoolArmPath- the hostPoolArmPath value to set.- Returns:
- the ScalingHostPoolReference object itself.
-
scalingPlanEnabled
Get the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.- Returns:
- the scalingPlanEnabled value.
-
withScalingPlanEnabled
Set the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.- Parameters:
scalingPlanEnabled- the scalingPlanEnabled value to set.- Returns:
- the ScalingHostPoolReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-