/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.As.V20180419.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ScheduledAction : AbstractModel { /// /// 定时任务ID。 /// [JsonProperty("ScheduledActionId")] public string ScheduledActionId{ get; set; } /// /// 定时任务名称。 /// [JsonProperty("ScheduledActionName")] public string ScheduledActionName{ get; set; } /// /// 定时任务所在伸缩组ID。 /// [JsonProperty("AutoScalingGroupId")] public string AutoScalingGroupId{ get; set; } /// /// 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 定时任务的重复方式。 /// [JsonProperty("Recurrence")] public string Recurrence{ get; set; } /// /// 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 定时任务设置的最大实例数。 /// [JsonProperty("MaxSize")] public ulong? MaxSize{ get; set; } /// /// 定时任务设置的期望实例数。 /// [JsonProperty("DesiredCapacity")] public ulong? DesiredCapacity{ get; set; } /// /// 定时任务设置的最小实例数。 /// [JsonProperty("MinSize")] public ulong? MinSize{ get; set; } /// /// 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ScheduledActionId", this.ScheduledActionId); this.SetParamSimple(map, prefix + "ScheduledActionName", this.ScheduledActionName); this.SetParamSimple(map, prefix + "AutoScalingGroupId", this.AutoScalingGroupId); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "Recurrence", this.Recurrence); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "MaxSize", this.MaxSize); this.SetParamSimple(map, prefix + "DesiredCapacity", this.DesiredCapacity); this.SetParamSimple(map, prefix + "MinSize", this.MinSize); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); } } }