-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
JitSchedulingPolicy.cs
33 lines (28 loc) · 1.21 KB
/
JitSchedulingPolicy.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Resources.Models
{
/// <summary> The JIT scheduling policies. </summary>
public partial class JitSchedulingPolicy
{
/// <summary> Initializes a new instance of JitSchedulingPolicy. </summary>
/// <param name="schedulingType"> The type of JIT schedule. </param>
/// <param name="duration"> The required duration of the JIT request. </param>
/// <param name="startOn"> The start time of the request. </param>
public JitSchedulingPolicy(JitSchedulingType schedulingType, TimeSpan duration, DateTimeOffset startOn)
{
SchedulingType = schedulingType;
Duration = duration;
StartOn = startOn;
}
/// <summary> The type of JIT schedule. </summary>
public JitSchedulingType SchedulingType { get; }
/// <summary> The required duration of the JIT request. </summary>
public TimeSpan Duration { get; set; }
/// <summary> The start time of the request. </summary>
public DateTimeOffset StartOn { get; set; }
}
}