/* * 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 MsInstance : AbstractModel { /// /// 机器实例ID信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 机器实例名称信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 服务运行的端口号 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Port")] public string Port{ get; set; } /// /// 机器实例内网IP /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("LanIp")] public string LanIp{ get; set; } /// /// 机器实例外网IP /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WanIp")] public string WanIp{ get; set; } /// /// 机器可用状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceAvailableStatus")] public string InstanceAvailableStatus{ get; set; } /// /// 服务运行状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ServiceInstanceStatus")] public string ServiceInstanceStatus{ get; set; } /// /// 应用ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ApplicationId")] public string ApplicationId{ get; set; } /// /// 应用名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ApplicationName")] public string ApplicationName{ 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; } /// /// 部署组ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("GroupId")] public string GroupId{ get; set; } /// /// 部署组名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("GroupName")] public string GroupName{ get; set; } /// /// 机器TSF可用状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceStatus")] public string InstanceStatus{ get; set; } /// /// 健康检查URL /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("HealthCheckUrl")] public string HealthCheckUrl{ get; set; } /// /// 集群类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterType")] public string ClusterType{ get; set; } /// /// 应用程序包版本 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ApplicationPackageVersion")] public string ApplicationPackageVersion{ get; set; } /// /// 应用类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ApplicationType")] public string ApplicationType{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "Port", this.Port); this.SetParamSimple(map, prefix + "LanIp", this.LanIp); this.SetParamSimple(map, prefix + "WanIp", this.WanIp); this.SetParamSimple(map, prefix + "InstanceAvailableStatus", this.InstanceAvailableStatus); this.SetParamSimple(map, prefix + "ServiceInstanceStatus", this.ServiceInstanceStatus); this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId); this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName); 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 + "GroupId", this.GroupId); this.SetParamSimple(map, prefix + "GroupName", this.GroupName); this.SetParamSimple(map, prefix + "InstanceStatus", this.InstanceStatus); this.SetParamSimple(map, prefix + "HealthCheckUrl", this.HealthCheckUrl); this.SetParamSimple(map, prefix + "ClusterType", this.ClusterType); this.SetParamSimple(map, prefix + "ApplicationPackageVersion", this.ApplicationPackageVersion); this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType); } } }