/* * 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 CreateApplicationRequest : AbstractModel { /// /// 应用名称 /// [JsonProperty("ApplicationName")] public string ApplicationName{ get; set; } /// /// 应用类型,V:虚拟机应用;C:容器应用;S:serverless应用 /// [JsonProperty("ApplicationType")] public string ApplicationType{ get; set; } /// /// 应用微服务类型,M:service mesh应用;N:普通应用;G:网关应用 /// [JsonProperty("MicroserviceType")] public string MicroserviceType{ get; set; } /// /// 应用描述 /// [JsonProperty("ApplicationDesc")] public string ApplicationDesc{ get; set; } /// /// 应用日志配置项,废弃参数 /// [JsonProperty("ApplicationLogConfig")] public string ApplicationLogConfig{ get; set; } /// /// 应用资源类型,废弃参数 /// [JsonProperty("ApplicationResourceType")] public string ApplicationResourceType{ get; set; } /// /// 应用runtime类型 /// [JsonProperty("ApplicationRuntimeType")] public string ApplicationRuntimeType{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName); this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType); this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType); this.SetParamSimple(map, prefix + "ApplicationDesc", this.ApplicationDesc); this.SetParamSimple(map, prefix + "ApplicationLogConfig", this.ApplicationLogConfig); this.SetParamSimple(map, prefix + "ApplicationResourceType", this.ApplicationResourceType); this.SetParamSimple(map, prefix + "ApplicationRuntimeType", this.ApplicationRuntimeType); } } }