/* * 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.Tcaplusdb.V20190823.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CreateClusterRequest : AbstractModel { /// /// 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX` /// [JsonProperty("IdlType")] public string IdlType{ get; set; } /// /// 集群名称,可使用中文或英文字符,最大长度32个字符 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 集群所绑定的私有网络实例ID,形如:vpc-f49l6u0z /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 集群所绑定的子网实例ID,形如:subnet-pxir56ns /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 集群访问密码,必须是a-zA-Z0-9的字符,且必须包含数字和大小写字母 /// [JsonProperty("Password")] public string Password{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "IdlType", this.IdlType); this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "Password", this.Password); } } }