lib/v20170312/models.rb in tencentcloud-sdk-postgres-3.0.457 vs lib/v20170312/models.rb in tencentcloud-sdk-postgres-3.0.458
- old
+ new
@@ -1367,30 +1367,35 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type VpcId: String
# @param SubnetId: 子网ID
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubnetId: String
+ # @param ProtocolType: 连接数据库的协议类型,当前支持:postgresql、mssql(MSSQL兼容语法)
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ProtocolType: String
- attr_accessor :Address, :Ip, :Port, :NetType, :Status, :VpcId, :SubnetId
+ attr_accessor :Address, :Ip, :Port, :NetType, :Status, :VpcId, :SubnetId, :ProtocolType
- def initialize(address=nil, ip=nil, port=nil, nettype=nil, status=nil, vpcid=nil, subnetid=nil)
+ def initialize(address=nil, ip=nil, port=nil, nettype=nil, status=nil, vpcid=nil, subnetid=nil, protocoltype=nil)
@Address = address
@Ip = ip
@Port = port
@NetType = nettype
@Status = status
@VpcId = vpcid
@SubnetId = subnetid
+ @ProtocolType = protocoltype
end
def deserialize(params)
@Address = params['Address']
@Ip = params['Ip']
@Port = params['Port']
@NetType = params['NetType']
@Status = params['Status']
@VpcId = params['VpcId']
@SubnetId = params['SubnetId']
+ @ProtocolType = params['ProtocolType']
end
end
# 描述实例节点信息,包括节点类型、节点所在可用区。
class DBNode < TencentCloud::Common::AbstractModel