/* * 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.Tsf.V20180326.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ContainGroup : AbstractModel { /// /// 部署组ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("GroupId")] public string GroupId{ get; set; } /// /// 分组名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("GroupName")] public string GroupName{ get; set; } /// /// 创建时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 镜像server /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Server")] public string Server{ get; set; } /// /// 镜像名,如/tsf/nginx /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RepoName")] public string RepoName{ get; set; } /// /// 镜像版本名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TagName")] public string TagName{ get; set; } /// /// 集群ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterId")] public string ClusterId{ get; set; } /// /// 集群名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 命名空间ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("NamespaceId")] public string NamespaceId{ get; set; } /// /// 命名空间名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("NamespaceName")] public string NamespaceName{ get; set; } /// /// 初始分配的 CPU 核数,对应 K8S request /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CpuRequest")] public string CpuRequest{ get; set; } /// /// 最大分配的 CPU 核数,对应 K8S limit /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CpuLimit")] public string CpuLimit{ get; set; } /// /// 初始分配的内存 MiB 数,对应 K8S request /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MemRequest")] public string MemRequest{ get; set; } /// /// 最大分配的内存 MiB 数,对应 K8S limit /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MemLimit")] public string MemLimit{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "GroupId", this.GroupId); this.SetParamSimple(map, prefix + "GroupName", this.GroupName); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "Server", this.Server); this.SetParamSimple(map, prefix + "RepoName", this.RepoName); this.SetParamSimple(map, prefix + "TagName", this.TagName); this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId); this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName); this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId); this.SetParamSimple(map, prefix + "NamespaceName", this.NamespaceName); this.SetParamSimple(map, prefix + "CpuRequest", this.CpuRequest); this.SetParamSimple(map, prefix + "CpuLimit", this.CpuLimit); this.SetParamSimple(map, prefix + "MemRequest", this.MemRequest); this.SetParamSimple(map, prefix + "MemLimit", this.MemLimit); } } }