-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DevCenterScheduleData.cs
59 lines (53 loc) · 2.93 KB
/
DevCenterScheduleData.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.DevCenter.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DevCenter
{
/// <summary>
/// A class representing the DevCenterSchedule data model.
/// Represents a Schedule to execute a task.
/// </summary>
public partial class DevCenterScheduleData : ResourceData
{
/// <summary> Initializes a new instance of DevCenterScheduleData. </summary>
public DevCenterScheduleData()
{
}
/// <summary> Initializes a new instance of DevCenterScheduleData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="scheduledType"> Supported type this scheduled task represents. </param>
/// <param name="frequency"> The frequency of this scheduled task. </param>
/// <param name="time"> The target time to trigger the action. The format is HH:MM. </param>
/// <param name="timeZone"> The IANA timezone id at which the schedule should execute. </param>
/// <param name="state"> Indicates whether or not this scheduled task is enabled. </param>
/// <param name="provisioningState"> The provisioning state of the resource. </param>
internal DevCenterScheduleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DevCenterScheduledType? scheduledType, DevCenterScheduledFrequency? frequency, string time, string timeZone, DevCenterScheduleEnableStatus? state, DevCenterProvisioningState? provisioningState) : base(id, name, resourceType, systemData)
{
ScheduledType = scheduledType;
Frequency = frequency;
Time = time;
TimeZone = timeZone;
State = state;
ProvisioningState = provisioningState;
}
/// <summary> Supported type this scheduled task represents. </summary>
public DevCenterScheduledType? ScheduledType { get; set; }
/// <summary> The frequency of this scheduled task. </summary>
public DevCenterScheduledFrequency? Frequency { get; set; }
/// <summary> The target time to trigger the action. The format is HH:MM. </summary>
public string Time { get; set; }
/// <summary> The IANA timezone id at which the schedule should execute. </summary>
public string TimeZone { get; set; }
/// <summary> Indicates whether or not this scheduled task is enabled. </summary>
public DevCenterScheduleEnableStatus? State { get; set; }
/// <summary> The provisioning state of the resource. </summary>
public DevCenterProvisioningState? ProvisioningState { get; }
}
}