Files
2026-02-07 15:48:27 +08:00

221 lines
8.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 VmGroup : AbstractModel
{
/// <summary>
/// 部署组ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 部署组名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GroupName")]
public string GroupName{ get; set; }
/// <summary>
/// 部署组状态
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GroupStatus")]
public string GroupStatus{ get; set; }
/// <summary>
/// 程序包ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PackageId")]
public string PackageId{ get; set; }
/// <summary>
/// 程序包名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PackageName")]
public string PackageName{ get; set; }
/// <summary>
/// 程序包版本号
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PackageVersion")]
public string PackageVersion{ get; set; }
/// <summary>
/// 集群ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClusterId")]
public string ClusterId{ get; set; }
/// <summary>
/// 集群名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClusterName")]
public string ClusterName{ get; set; }
/// <summary>
/// 命名空间ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NamespaceId")]
public string NamespaceId{ get; set; }
/// <summary>
/// 命名空间名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NamespaceName")]
public string NamespaceName{ get; set; }
/// <summary>
/// 应用ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ApplicationId")]
public string ApplicationId{ get; set; }
/// <summary>
/// 应用名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ApplicationName")]
public string ApplicationName{ get; set; }
/// <summary>
/// 部署组机器数目
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceCount")]
public long? InstanceCount{ get; set; }
/// <summary>
/// 部署组运行中机器数目
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RunInstanceCount")]
public long? RunInstanceCount{ get; set; }
/// <summary>
/// 部署组启动参数信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StartupParameters")]
public string StartupParameters{ get; set; }
/// <summary>
/// 部署组创建时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 部署组更新时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 部署组停止机器数目
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OffInstanceCount")]
public long? OffInstanceCount{ get; set; }
/// <summary>
/// 部署组描述信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GroupDesc")]
public string GroupDesc{ get; set; }
/// <summary>
/// 微服务类型
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("MicroserviceType")]
public string MicroserviceType{ get; set; }
/// <summary>
/// 应用类型
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ApplicationType")]
public string ApplicationType{ get; set; }
/// <summary>
/// 部署组资源类型
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GroupResourceType")]
public string GroupResourceType{ get; set; }
/// <summary>
/// 部署组更新时间戳
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("UpdatedTime")]
public long? UpdatedTime{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
this.SetParamSimple(map, prefix + "GroupStatus", this.GroupStatus);
this.SetParamSimple(map, prefix + "PackageId", this.PackageId);
this.SetParamSimple(map, prefix + "PackageName", this.PackageName);
this.SetParamSimple(map, prefix + "PackageVersion", this.PackageVersion);
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 + "ApplicationId", this.ApplicationId);
this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName);
this.SetParamSimple(map, prefix + "InstanceCount", this.InstanceCount);
this.SetParamSimple(map, prefix + "RunInstanceCount", this.RunInstanceCount);
this.SetParamSimple(map, prefix + "StartupParameters", this.StartupParameters);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.SetParamSimple(map, prefix + "OffInstanceCount", this.OffInstanceCount);
this.SetParamSimple(map, prefix + "GroupDesc", this.GroupDesc);
this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType);
this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType);
this.SetParamSimple(map, prefix + "GroupResourceType", this.GroupResourceType);
this.SetParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime);
}
}
}