Class ScalingPlanProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.ScalingPlanProperties
Scaling plan properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of scaling plan.Get the exclusionTag property: Exclusion tag for scaling plan.Get the friendlyName property: User friendly name of scaling plan.Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.Get the hostPoolType property: HostPool type for desktop.objectId()
Get the objectId property: ObjectId of scaling plan.Get the schedules property: List of ScalingSchedule definitions.timeZone()
Get the timeZone property: Timezone of the scaling plan.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of scaling plan.withExclusionTag
(String exclusionTag) Set the exclusionTag property: Exclusion tag for scaling plan.withFriendlyName
(String friendlyName) Set the friendlyName property: User friendly name of scaling plan.withHostPoolReferences
(List<ScalingHostPoolReference> hostPoolReferences) Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.withHostPoolType
(ScalingHostPoolType hostPoolType) Set the hostPoolType property: HostPool type for desktop.withSchedules
(List<ScalingSchedule> schedules) Set the schedules property: List of ScalingSchedule definitions.withTimeZone
(String timeZone) Set the timeZone property: Timezone of the scaling plan.
-
Constructor Details
-
ScalingPlanProperties
public ScalingPlanProperties()
-
-
Method Details
-
objectId
Get the objectId property: ObjectId of scaling plan. (internal use).- Returns:
- the objectId value.
-
description
Get the description property: Description of scaling plan.- Returns:
- the description value.
-
withDescription
Set the description property: Description of scaling plan.- Parameters:
description
- the description value to set.- Returns:
- the ScalingPlanProperties object itself.
-
friendlyName
Get the friendlyName property: User friendly name of scaling plan.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: User friendly name of scaling plan.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ScalingPlanProperties object itself.
-
timeZone
Get the timeZone property: Timezone of the scaling plan.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Timezone of the scaling plan.- Parameters:
timeZone
- the timeZone value to set.- Returns:
- the ScalingPlanProperties object itself.
-
hostPoolType
Get the hostPoolType property: HostPool type for desktop.- Returns:
- the hostPoolType value.
-
withHostPoolType
Set the hostPoolType property: HostPool type for desktop.- Parameters:
hostPoolType
- the hostPoolType value to set.- Returns:
- the ScalingPlanProperties object itself.
-
exclusionTag
Get the exclusionTag property: Exclusion tag for scaling plan.- Returns:
- the exclusionTag value.
-
withExclusionTag
Set the exclusionTag property: Exclusion tag for scaling plan.- Parameters:
exclusionTag
- the exclusionTag value to set.- Returns:
- the ScalingPlanProperties object itself.
-
schedules
Get the schedules property: List of ScalingSchedule definitions.- Returns:
- the schedules value.
-
withSchedules
Set the schedules property: List of ScalingSchedule definitions.- Parameters:
schedules
- the schedules value to set.- Returns:
- the ScalingPlanProperties object itself.
-
hostPoolReferences
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Returns:
- the hostPoolReferences value.
-
withHostPoolReferences
public ScalingPlanProperties withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences) Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Parameters:
hostPoolReferences
- the hostPoolReferences value to set.- Returns:
- the ScalingPlanProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-