ScalingPlanPatch Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. ScalingPlanPatch
- com.
Implements
public final class ScalingPlanPatch
implements JsonSerializable<ScalingPlanPatch>
Scaling plan properties that can be patched.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalingPlanPatch() |
Creates an instance of Scaling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of scaling plan. |
| String |
exclusionTag()
Get the exclusion |
| String |
friendlyName()
Get the friendly |
|
static
Scaling |
fromJson(JsonReader jsonReader)
Reads an instance of Scaling |
|
List<Scaling |
hostPoolReferences()
Get the host |
|
List<Scaling |
schedules()
Get the schedules property: List of Scaling |
| Map<String,String> |
tags()
Get the tags property: tags to be updated. |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scaling |
withDescription(String description)
Set the description property: Description of scaling plan. |
|
Scaling |
withExclusionTag(String exclusionTag)
Set the exclusion |
|
Scaling |
withFriendlyName(String friendlyName)
Set the friendly |
|
Scaling |
withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
Set the host |
|
Scaling |
withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of Scaling |
|
Scaling |
withTags(Map<String,String> tags)
Set the tags property: tags to be updated. |
|
Scaling |
withTimeZone(String timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
ScalingPlanPatch
public ScalingPlanPatch()
Creates an instance of ScalingPlanPatch class.
Method Details
description
public String description()
Get the description property: Description of scaling plan.
Returns:
exclusionTag
public String exclusionTag()
Get the exclusionTag property: Exclusion tag for scaling plan.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: User friendly name of scaling plan.
Returns:
fromJson
public static ScalingPlanPatch fromJson(JsonReader jsonReader)
Reads an instance of ScalingPlanPatch from the JsonReader.
Parameters:
Returns:
Throws:
hostPoolReferences
public List<ScalingHostPoolReference> hostPoolReferences()
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.
Returns:
schedules
public List<ScalingSchedule> schedules()
Get the schedules property: List of ScalingSchedule definitions.
Returns:
tags
public Map<String,String> tags()
Get the tags property: tags to be updated.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Timezone of the scaling plan.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ScalingPlanPatch withDescription(String description)
Set the description property: Description of scaling plan.
Parameters:
Returns:
withExclusionTag
public ScalingPlanPatch withExclusionTag(String exclusionTag)
Set the exclusionTag property: Exclusion tag for scaling plan.
Parameters:
Returns:
withFriendlyName
public ScalingPlanPatch withFriendlyName(String friendlyName)
Set the friendlyName property: User friendly name of scaling plan.
Parameters:
Returns:
withHostPoolReferences
public ScalingPlanPatch withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.
Parameters:
Returns:
withSchedules
public ScalingPlanPatch withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of ScalingSchedule definitions.
Parameters:
Returns:
withTags
public ScalingPlanPatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.
Parameters:
Returns:
withTimeZone
public ScalingPlanPatch withTimeZone(String timeZone)
Set the timeZone property: Timezone of the scaling plan.
Parameters:
Returns: