Files
g.hnyhua.cn/TencentCloud/Tcaplusdb/V20190823/Models/CreateClusterRequest.cs
2026-02-07 15:48:27 +08:00

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