ArmDesktopVirtualizationModelFactory.ScalingPlanPersonalScheduleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ScalingPlanPersonalScheduleData.
public static Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleData ScalingPlanPersonalScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDayOfWeek> daysOfWeek = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime rampUpStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.StartupBehavior? rampUpAutoStartHosts = default, Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect? rampUpStartVmOnConnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? rampUpActionOnDisconnect = default, int? rampUpMinutesToWaitOnDisconnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? rampUpActionOnLogoff = default, int? rampUpMinutesToWaitOnLogoff = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime peakStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect? peakStartVmOnConnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? peakActionOnDisconnect = default, int? peakMinutesToWaitOnDisconnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? peakActionOnLogoff = default, int? peakMinutesToWaitOnLogoff = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime rampDownStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect? rampDownStartVmOnConnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? rampDownActionOnDisconnect = default, int? rampDownMinutesToWaitOnDisconnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? rampDownActionOnLogoff = default, int? rampDownMinutesToWaitOnLogoff = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime offPeakStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect? offPeakStartVmOnConnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? offPeakActionOnDisconnect = default, int? offPeakMinutesToWaitOnDisconnect = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation? offPeakActionOnLogoff = default, int? offPeakMinutesToWaitOnLogoff = default);
static member ScalingPlanPersonalScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDayOfWeek> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.StartupBehavior> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SetStartVmOnConnect> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHandlingOperation> * Nullable<int> -> Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleData
Public Shared Function ScalingPlanPersonalScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional daysOfWeek As IEnumerable(Of DesktopVirtualizationDayOfWeek) = Nothing, Optional rampUpStartTime As ScalingActionTime = Nothing, Optional rampUpAutoStartHosts As Nullable(Of StartupBehavior) = Nothing, Optional rampUpStartVmOnConnect As Nullable(Of SetStartVmOnConnect) = Nothing, Optional rampUpActionOnDisconnect As Nullable(Of SessionHandlingOperation) = Nothing, Optional rampUpMinutesToWaitOnDisconnect As Nullable(Of Integer) = Nothing, Optional rampUpActionOnLogoff As Nullable(Of SessionHandlingOperation) = Nothing, Optional rampUpMinutesToWaitOnLogoff As Nullable(Of Integer) = Nothing, Optional peakStartTime As ScalingActionTime = Nothing, Optional peakStartVmOnConnect As Nullable(Of SetStartVmOnConnect) = Nothing, Optional peakActionOnDisconnect As Nullable(Of SessionHandlingOperation) = Nothing, Optional peakMinutesToWaitOnDisconnect As Nullable(Of Integer) = Nothing, Optional peakActionOnLogoff As Nullable(Of SessionHandlingOperation) = Nothing, Optional peakMinutesToWaitOnLogoff As Nullable(Of Integer) = Nothing, Optional rampDownStartTime As ScalingActionTime = Nothing, Optional rampDownStartVmOnConnect As Nullable(Of SetStartVmOnConnect) = Nothing, Optional rampDownActionOnDisconnect As Nullable(Of SessionHandlingOperation) = Nothing, Optional rampDownMinutesToWaitOnDisconnect As Nullable(Of Integer) = Nothing, Optional rampDownActionOnLogoff As Nullable(Of SessionHandlingOperation) = Nothing, Optional rampDownMinutesToWaitOnLogoff As Nullable(Of Integer) = Nothing, Optional offPeakStartTime As ScalingActionTime = Nothing, Optional offPeakStartVmOnConnect As Nullable(Of SetStartVmOnConnect) = Nothing, Optional offPeakActionOnDisconnect As Nullable(Of SessionHandlingOperation) = Nothing, Optional offPeakMinutesToWaitOnDisconnect As Nullable(Of Integer) = Nothing, Optional offPeakActionOnLogoff As Nullable(Of SessionHandlingOperation) = Nothing, Optional offPeakMinutesToWaitOnLogoff As Nullable(Of Integer) = Nothing) As ScalingPlanPersonalScheduleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- daysOfWeek
- IEnumerable<DesktopVirtualizationDayOfWeek>
Set of days of the week on which this schedule is active.
- rampUpStartTime
- ScalingActionTime
Starting time for ramp up period.
- rampUpAutoStartHosts
- Nullable<StartupBehavior>
The desired startup behavior during the ramp up period for personal vms in the hostpool.
- rampUpStartVmOnConnect
- Nullable<SetStartVmOnConnect>
The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.
- rampUpActionOnDisconnect
- Nullable<SessionHandlingOperation>
Action to be taken after a user disconnect during the ramp up period.
The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- rampUpActionOnLogoff
- Nullable<SessionHandlingOperation>
Action to be taken after a logoff during the ramp up period.
The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- peakStartTime
- ScalingActionTime
Starting time for peak period.
- peakStartVmOnConnect
- Nullable<SetStartVmOnConnect>
The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- peakActionOnDisconnect
- Nullable<SessionHandlingOperation>
Action to be taken after a user disconnect during the peak period.
The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- peakActionOnLogoff
- Nullable<SessionHandlingOperation>
Action to be taken after a logoff during the peak period.
The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- rampDownStartTime
- ScalingActionTime
Starting time for ramp down period.
- rampDownStartVmOnConnect
- Nullable<SetStartVmOnConnect>
The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- rampDownActionOnDisconnect
- Nullable<SessionHandlingOperation>
Action to be taken after a user disconnect during the ramp down period.
The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- rampDownActionOnLogoff
- Nullable<SessionHandlingOperation>
Action to be taken after a logoff during the ramp down period.
The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- offPeakStartTime
- ScalingActionTime
Starting time for off-peak period.
- offPeakStartVmOnConnect
- Nullable<SetStartVmOnConnect>
The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- offPeakActionOnDisconnect
- Nullable<SessionHandlingOperation>
Action to be taken after a user disconnect during the off-peak period.
The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- offPeakActionOnLogoff
- Nullable<SessionHandlingOperation>
Action to be taken after a logoff during the off-peak period.
The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
Returns
A new ScalingPlanPersonalScheduleData instance for mocking.
Applies to
Azure SDK for .NET