189 lines
6.8 KiB
C#
189 lines
6.8 KiB
C#
/*
|
||
* 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 ServerlessGroup : 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("CreateTime")]
|
||
public string CreateTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 服务状态
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Status")]
|
||
public string Status{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 程序包ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PkgId")]
|
||
public string PkgId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 程序包名
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PkgName")]
|
||
public string PkgName{ 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>
|
||
/// vpc ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VpcId")]
|
||
public string VpcId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// vpc 子网ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SubnetId")]
|
||
public string SubnetId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 程序包版本
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PkgVersion")]
|
||
public string PkgVersion{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 所需实例内存大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Memory")]
|
||
public string Memory{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 要求最小实例数
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("InstanceRequest")]
|
||
public ulong? InstanceRequest{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 部署组启动参数
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("StartupParameters")]
|
||
public string StartupParameters{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 应用ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ApplicationId")]
|
||
public string ApplicationId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 部署组实例数
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("InstanceCount")]
|
||
public ulong? InstanceCount{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 应用名称
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ApplicationName")]
|
||
public string[] ApplicationName{ 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 + "CreateTime", this.CreateTime);
|
||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||
this.SetParamSimple(map, prefix + "PkgId", this.PkgId);
|
||
this.SetParamSimple(map, prefix + "PkgName", this.PkgName);
|
||
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 + "VpcId", this.VpcId);
|
||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||
this.SetParamSimple(map, prefix + "PkgVersion", this.PkgVersion);
|
||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||
this.SetParamSimple(map, prefix + "InstanceRequest", this.InstanceRequest);
|
||
this.SetParamSimple(map, prefix + "StartupParameters", this.StartupParameters);
|
||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||
this.SetParamSimple(map, prefix + "InstanceCount", this.InstanceCount);
|
||
this.SetParamArraySimple(map, prefix + "ApplicationName.", this.ApplicationName);
|
||
}
|
||
}
|
||
}
|
||
|