ScalingHostPoolReference Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. ScalingHostPoolReference
- com.
Implements
public final class ScalingHostPoolReference
implements JsonSerializable<ScalingHostPoolReference>
Scaling plan reference to hostpool.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalingHostPoolReference() |
Creates an instance of Scaling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scaling |
fromJson(JsonReader jsonReader)
Reads an instance of Scaling |
| String |
hostPoolArmPath()
Get the host |
| Boolean |
scalingPlanEnabled()
Get the scaling |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scaling |
withHostPoolArmPath(String hostPoolArmPath)
Set the host |
|
Scaling |
withScalingPlanEnabled(Boolean scalingPlanEnabled)
Set the scaling |
Methods inherited from java.lang.Object
Constructor Details
ScalingHostPoolReference
public ScalingHostPoolReference()
Creates an instance of ScalingHostPoolReference class.
Method Details
fromJson
public static ScalingHostPoolReference fromJson(JsonReader jsonReader)
Reads an instance of ScalingHostPoolReference from the JsonReader.
Parameters:
Returns:
Throws:
hostPoolArmPath
public String hostPoolArmPath()
Get the hostPoolArmPath property: Arm path of referenced hostpool.
Returns:
scalingPlanEnabled
public Boolean scalingPlanEnabled()
Get the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHostPoolArmPath
public ScalingHostPoolReference withHostPoolArmPath(String hostPoolArmPath)
Set the hostPoolArmPath property: Arm path of referenced hostpool.
Parameters:
Returns:
withScalingPlanEnabled
public ScalingHostPoolReference withScalingPlanEnabled(Boolean scalingPlanEnabled)
Set the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
Parameters:
Returns: