tencentcloud-sdk-mariadb 3.0.537 → 3.0.538

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec6fd2406c33dd1a25bf63b8d671b2706fe1b472
4
- data.tar.gz: 80e955204dc122de27594d137296fc221cef05d8
3
+ metadata.gz: 204199b65ccc3b6fadbd6b879a5aba5abb417059
4
+ data.tar.gz: 7d33d7b193af187831a7fb8d65708525ab9f9799
5
5
  SHA512:
6
- metadata.gz: f8d9bbd4d15bb8074399e71baeaf2d9d9ce4d53cf620130eacf188a0bdc6795e02cb657a38821b51e9352bc3395356bdc0891469386aa181eaad36010918859e
7
- data.tar.gz: d02c4182e9e40ca5b05a96e5ed56b2022f4103b9fa3cac00a2057dc7c91bf4fa8a6abb363089f86875949f3b70551f9e5f9db7397688e239bf71ae2bcab58b99
6
+ metadata.gz: 77a0643ed529b01be19f21774e51f2e3cd67fbf2a4d051cef41511a9b082184896ec4c4a7f37ec63da51269cfbe5fe6e54d8feb953864fad9077ec164d5b6eac
7
+ data.tar.gz: a14245f41f277c986d39cddd33515d49ac73f36ebb67c64eef47d2e69c4d1ca8e150dd2e7a341c43ed1d68cc8a389e8e7fcb9143a29c8a3182a2f3b4588bac8e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.537
1
+ 3.0.538
@@ -439,6 +439,30 @@ module TencentCloud
439
439
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
440
440
  end
441
441
 
442
+ # 本接口(DescribeDBInstanceDetail)用于查询指定实例的详细信息。
443
+
444
+ # @param request: Request instance for DescribeDBInstanceDetail.
445
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBInstanceDetailRequest`
446
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBInstanceDetailResponse`
447
+ def DescribeDBInstanceDetail(request)
448
+ body = send_request('DescribeDBInstanceDetail', request.serialize)
449
+ response = JSON.parse(body)
450
+ if response['Response'].key?('Error') == false
451
+ model = DescribeDBInstanceDetailResponse.new
452
+ model.deserialize(response['Response'])
453
+ model
454
+ else
455
+ code = response['Response']['Error']['Code']
456
+ message = response['Response']['Error']['Message']
457
+ reqid = response['Response']['RequestId']
458
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
459
+ end
460
+ rescue TencentCloud::Common::TencentCloudSDKException => e
461
+ raise e
462
+ rescue StandardError => e
463
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
464
+ end
465
+
442
466
  # 本接口(DescribeDBInstanceSpecs)用于查询可创建的云数据库可售卖的规格配置。
443
467
 
444
468
  # @param request: Request instance for DescribeDBInstanceSpecs.
@@ -1841,6 +1841,292 @@ module TencentCloud
1841
1841
  end
1842
1842
  end
1843
1843
 
1844
+ # DescribeDBInstanceDetail请求参数结构体
1845
+ class DescribeDBInstanceDetailRequest < TencentCloud::Common::AbstractModel
1846
+ # @param InstanceId: 实例Id形如:tdsql-ow728lmc。
1847
+ # @type InstanceId: String
1848
+
1849
+ attr_accessor :InstanceId
1850
+
1851
+ def initialize(instanceid=nil)
1852
+ @InstanceId = instanceid
1853
+ end
1854
+
1855
+ def deserialize(params)
1856
+ @InstanceId = params['InstanceId']
1857
+ end
1858
+ end
1859
+
1860
+ # DescribeDBInstanceDetail返回参数结构体
1861
+ class DescribeDBInstanceDetailResponse < TencentCloud::Common::AbstractModel
1862
+ # @param InstanceId: 实例Id
1863
+ # @type InstanceId: String
1864
+ # @param InstanceName: 实例名称
1865
+ # @type InstanceName: String
1866
+ # @param Status: 实例状态
1867
+ # @type Status: Integer
1868
+ # @param StatusDesc: 实例目前运行状态描述
1869
+ # @type StatusDesc: String
1870
+ # @param Vip: 内网 IP 地址
1871
+ # @type Vip: String
1872
+ # @param Vport: 内网端口
1873
+ # @type Vport: Integer
1874
+ # @param IsTmp: 是否临时实例,0为否,非0为是
1875
+ # @type IsTmp: Integer
1876
+ # @param NodeCount: 节点数,2为一主一从,3为一主二从
1877
+ # @type NodeCount: Integer
1878
+ # @param Region: 实例所在地域名称,如 ap-shanghai
1879
+ # @type Region: String
1880
+ # @param Zone: 实例所在可用区名称,如 ap-shanghai-1
1881
+ # @type Zone: String
1882
+ # @param VpcId: 字符串型的私有网络Id
1883
+ # @type VpcId: String
1884
+ # @param SubnetId: 字符串型的私有网络子网Id
1885
+ # @type SubnetId: String
1886
+ # @param WanStatus: 外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中
1887
+ # @type WanStatus: Integer
1888
+ # @param WanDomain: 外网访问的域名,公网可解析
1889
+ # @type WanDomain: String
1890
+ # @param WanVip: 外网 IP 地址,公网可访问
1891
+ # @type WanVip: String
1892
+ # @param WanPort: 外网端口
1893
+ # @type WanPort: Integer
1894
+ # @param ProjectId: 实例所属项目 Id
1895
+ # @type ProjectId: Integer
1896
+ # @param TdsqlVersion: TDSQL 版本信息
1897
+ # @type TdsqlVersion: String
1898
+ # @param Memory: 实例内存大小,单位 GB
1899
+ # @type Memory: Integer
1900
+ # @param Storage: 实例存储大小,单位 GB
1901
+ # @type Storage: Integer
1902
+ # @param MasterZone: 主可用区,如 ap-shanghai-1
1903
+ # @type MasterZone: String
1904
+ # @param SlaveZones: 从可用区列表,如 [ap-shanghai-2]
1905
+ # @type SlaveZones: Array
1906
+ # @param AutoRenewFlag: 自动续费标志:0 否,1 是
1907
+ # @type AutoRenewFlag: Integer
1908
+ # @param ExclusterId: 独享集群Id,普通实例为空
1909
+ # @type ExclusterId: String
1910
+ # @param PayMode: 付费模式:prepaid 表示预付费
1911
+ # @type PayMode: String
1912
+ # @param CreateTime: 实例创建时间,格式为 2006-01-02 15:04:05
1913
+ # @type CreateTime: String
1914
+ # @param IsAuditSupported: 实例是否支持审计
1915
+ # @type IsAuditSupported: Boolean
1916
+ # @param PeriodEndTime: 实例到期时间,格式为 2006-01-02 15:04:05
1917
+ # @type PeriodEndTime: String
1918
+ # @param Machine: 机型信息
1919
+ # @type Machine: String
1920
+ # @param StorageUsage: 存储空间使用率
1921
+ # @type StorageUsage: String
1922
+ # @param LogStorage: 日志存储空间大小,单位 GB
1923
+ # @type LogStorage: Integer
1924
+ # @param IsEncryptSupported: 是否支持数据加密。1-支持;0-不支持
1925
+ # @type IsEncryptSupported: Integer
1926
+ # @param Vip6: 内网IPv6
1927
+ # 注意:此字段可能返回 null,表示取不到有效值。
1928
+ # @type Vip6: String
1929
+ # @param Cpu: 实例Cpu核数
1930
+ # @type Cpu: Integer
1931
+ # @param Pid: 产品类型ID
1932
+ # @type Pid: Integer
1933
+ # @param Qps: 最大QPS
1934
+ # @type Qps: Integer
1935
+ # @param Ipv6Flag: 是否支持IPv6
1936
+ # 注意:此字段可能返回 null,表示取不到有效值。
1937
+ # @type Ipv6Flag: Integer
1938
+ # @param WanVipv6: 外网IPv6地址,公网可访问
1939
+ # 注意:此字段可能返回 null,表示取不到有效值。
1940
+ # @type WanVipv6: String
1941
+ # @param WanStatusIpv6: 外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中
1942
+ # 注意:此字段可能返回 null,表示取不到有效值。
1943
+ # @type WanStatusIpv6: Integer
1944
+ # @param WanPortIpv6: 外网IPv6端口
1945
+ # 注意:此字段可能返回 null,表示取不到有效值。
1946
+ # @type WanPortIpv6: Integer
1947
+ # @param DbEngine: 数据库引擎
1948
+ # 注意:此字段可能返回 null,表示取不到有效值。
1949
+ # @type DbEngine: String
1950
+ # @param DbVersion: 数据库版本
1951
+ # 注意:此字段可能返回 null,表示取不到有效值。
1952
+ # @type DbVersion: String
1953
+ # @param ResourceTags: 标签信息
1954
+ # @type ResourceTags: Array
1955
+ # @param DcnFlag: DCN标志,0-无,1-主实例,2-灾备实例
1956
+ # 注意:此字段可能返回 null,表示取不到有效值。
1957
+ # @type DcnFlag: Integer
1958
+ # @param DcnStatus: DCN状态,0-无,1-创建中,2-同步中,3-已断开
1959
+ # 注意:此字段可能返回 null,表示取不到有效值。
1960
+ # @type DcnStatus: Integer
1961
+ # @param DcnDstNum: DCN灾备实例数
1962
+ # 注意:此字段可能返回 null,表示取不到有效值。
1963
+ # @type DcnDstNum: Integer
1964
+ # @param InstanceType: 1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)
1965
+ # 注意:此字段可能返回 null,表示取不到有效值。
1966
+ # @type InstanceType: Integer
1967
+ # @param NodesInfo: 实例的各个DB节点信息
1968
+ # 注意:此字段可能返回 null,表示取不到有效值。
1969
+ # @type NodesInfo: Array
1970
+ # @param IsMaxUserConnectionsSupported: 实例是否支持设置用户连接数限制,内核为10.1暂不支持。
1971
+ # 注意:此字段可能返回 null,表示取不到有效值。
1972
+ # @type IsMaxUserConnectionsSupported: Boolean
1973
+ # @param DbVersionId: 对外显示的数据库版本
1974
+ # 注意:此字段可能返回 null,表示取不到有效值。
1975
+ # @type DbVersionId: String
1976
+ # @param EncryptStatus: 加密状态, 0-未开启,1-已开启
1977
+ # 注意:此字段可能返回 null,表示取不到有效值。
1978
+ # @type EncryptStatus: Integer
1979
+ # @param ReplicaConfig: DCN的配置信息
1980
+ # 注意:此字段可能返回 null,表示取不到有效值。
1981
+ # @type ReplicaConfig: :class:`Tencentcloud::Mariadb.v20170312.models.DCNReplicaConfig`
1982
+ # @param ReplicaStatus: DCN的运行状态
1983
+ # 注意:此字段可能返回 null,表示取不到有效值。
1984
+ # @type ReplicaStatus: :class:`Tencentcloud::Mariadb.v20170312.models.DCNReplicaStatus`
1985
+ # @param ExclusterType: 独享集群类型,0:公有云, 1:金融围笼, 2:CDC集群
1986
+ # 注意:此字段可能返回 null,表示取不到有效值。
1987
+ # @type ExclusterType: Integer
1988
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1989
+ # @type RequestId: String
1990
+
1991
+ attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :IsTmp, :NodeCount, :Region, :Zone, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :TdsqlVersion, :Memory, :Storage, :MasterZone, :SlaveZones, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :IsAuditSupported, :PeriodEndTime, :Machine, :StorageUsage, :LogStorage, :IsEncryptSupported, :Vip6, :Cpu, :Pid, :Qps, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :DbEngine, :DbVersion, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :NodesInfo, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ReplicaConfig, :ReplicaStatus, :ExclusterType, :RequestId
1992
+
1993
+ def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, istmp=nil, nodecount=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, tdsqlversion=nil, memory=nil, storage=nil, masterzone=nil, slavezones=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, isauditsupported=nil, periodendtime=nil, machine=nil, storageusage=nil, logstorage=nil, isencryptsupported=nil, vip6=nil, cpu=nil, pid=nil, qps=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, dbengine=nil, dbversion=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, nodesinfo=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, replicaconfig=nil, replicastatus=nil, exclustertype=nil, requestid=nil)
1994
+ @InstanceId = instanceid
1995
+ @InstanceName = instancename
1996
+ @Status = status
1997
+ @StatusDesc = statusdesc
1998
+ @Vip = vip
1999
+ @Vport = vport
2000
+ @IsTmp = istmp
2001
+ @NodeCount = nodecount
2002
+ @Region = region
2003
+ @Zone = zone
2004
+ @VpcId = vpcid
2005
+ @SubnetId = subnetid
2006
+ @WanStatus = wanstatus
2007
+ @WanDomain = wandomain
2008
+ @WanVip = wanvip
2009
+ @WanPort = wanport
2010
+ @ProjectId = projectid
2011
+ @TdsqlVersion = tdsqlversion
2012
+ @Memory = memory
2013
+ @Storage = storage
2014
+ @MasterZone = masterzone
2015
+ @SlaveZones = slavezones
2016
+ @AutoRenewFlag = autorenewflag
2017
+ @ExclusterId = exclusterid
2018
+ @PayMode = paymode
2019
+ @CreateTime = createtime
2020
+ @IsAuditSupported = isauditsupported
2021
+ @PeriodEndTime = periodendtime
2022
+ @Machine = machine
2023
+ @StorageUsage = storageusage
2024
+ @LogStorage = logstorage
2025
+ @IsEncryptSupported = isencryptsupported
2026
+ @Vip6 = vip6
2027
+ @Cpu = cpu
2028
+ @Pid = pid
2029
+ @Qps = qps
2030
+ @Ipv6Flag = ipv6flag
2031
+ @WanVipv6 = wanvipv6
2032
+ @WanStatusIpv6 = wanstatusipv6
2033
+ @WanPortIpv6 = wanportipv6
2034
+ @DbEngine = dbengine
2035
+ @DbVersion = dbversion
2036
+ @ResourceTags = resourcetags
2037
+ @DcnFlag = dcnflag
2038
+ @DcnStatus = dcnstatus
2039
+ @DcnDstNum = dcndstnum
2040
+ @InstanceType = instancetype
2041
+ @NodesInfo = nodesinfo
2042
+ @IsMaxUserConnectionsSupported = ismaxuserconnectionssupported
2043
+ @DbVersionId = dbversionid
2044
+ @EncryptStatus = encryptstatus
2045
+ @ReplicaConfig = replicaconfig
2046
+ @ReplicaStatus = replicastatus
2047
+ @ExclusterType = exclustertype
2048
+ @RequestId = requestid
2049
+ end
2050
+
2051
+ def deserialize(params)
2052
+ @InstanceId = params['InstanceId']
2053
+ @InstanceName = params['InstanceName']
2054
+ @Status = params['Status']
2055
+ @StatusDesc = params['StatusDesc']
2056
+ @Vip = params['Vip']
2057
+ @Vport = params['Vport']
2058
+ @IsTmp = params['IsTmp']
2059
+ @NodeCount = params['NodeCount']
2060
+ @Region = params['Region']
2061
+ @Zone = params['Zone']
2062
+ @VpcId = params['VpcId']
2063
+ @SubnetId = params['SubnetId']
2064
+ @WanStatus = params['WanStatus']
2065
+ @WanDomain = params['WanDomain']
2066
+ @WanVip = params['WanVip']
2067
+ @WanPort = params['WanPort']
2068
+ @ProjectId = params['ProjectId']
2069
+ @TdsqlVersion = params['TdsqlVersion']
2070
+ @Memory = params['Memory']
2071
+ @Storage = params['Storage']
2072
+ @MasterZone = params['MasterZone']
2073
+ @SlaveZones = params['SlaveZones']
2074
+ @AutoRenewFlag = params['AutoRenewFlag']
2075
+ @ExclusterId = params['ExclusterId']
2076
+ @PayMode = params['PayMode']
2077
+ @CreateTime = params['CreateTime']
2078
+ @IsAuditSupported = params['IsAuditSupported']
2079
+ @PeriodEndTime = params['PeriodEndTime']
2080
+ @Machine = params['Machine']
2081
+ @StorageUsage = params['StorageUsage']
2082
+ @LogStorage = params['LogStorage']
2083
+ @IsEncryptSupported = params['IsEncryptSupported']
2084
+ @Vip6 = params['Vip6']
2085
+ @Cpu = params['Cpu']
2086
+ @Pid = params['Pid']
2087
+ @Qps = params['Qps']
2088
+ @Ipv6Flag = params['Ipv6Flag']
2089
+ @WanVipv6 = params['WanVipv6']
2090
+ @WanStatusIpv6 = params['WanStatusIpv6']
2091
+ @WanPortIpv6 = params['WanPortIpv6']
2092
+ @DbEngine = params['DbEngine']
2093
+ @DbVersion = params['DbVersion']
2094
+ unless params['ResourceTags'].nil?
2095
+ @ResourceTags = []
2096
+ params['ResourceTags'].each do |i|
2097
+ resourcetag_tmp = ResourceTag.new
2098
+ resourcetag_tmp.deserialize(i)
2099
+ @ResourceTags << resourcetag_tmp
2100
+ end
2101
+ end
2102
+ @DcnFlag = params['DcnFlag']
2103
+ @DcnStatus = params['DcnStatus']
2104
+ @DcnDstNum = params['DcnDstNum']
2105
+ @InstanceType = params['InstanceType']
2106
+ unless params['NodesInfo'].nil?
2107
+ @NodesInfo = []
2108
+ params['NodesInfo'].each do |i|
2109
+ nodeinfo_tmp = NodeInfo.new
2110
+ nodeinfo_tmp.deserialize(i)
2111
+ @NodesInfo << nodeinfo_tmp
2112
+ end
2113
+ end
2114
+ @IsMaxUserConnectionsSupported = params['IsMaxUserConnectionsSupported']
2115
+ @DbVersionId = params['DbVersionId']
2116
+ @EncryptStatus = params['EncryptStatus']
2117
+ unless params['ReplicaConfig'].nil?
2118
+ @ReplicaConfig = DCNReplicaConfig.new
2119
+ @ReplicaConfig.deserialize(params['ReplicaConfig'])
2120
+ end
2121
+ unless params['ReplicaStatus'].nil?
2122
+ @ReplicaStatus = DCNReplicaStatus.new
2123
+ @ReplicaStatus.deserialize(params['ReplicaStatus'])
2124
+ end
2125
+ @ExclusterType = params['ExclusterType']
2126
+ @RequestId = params['RequestId']
2127
+ end
2128
+ end
2129
+
1844
2130
  # DescribeDBInstanceSpecs请求参数结构体
1845
2131
  class DescribeDBInstanceSpecsRequest < TencentCloud::Common::AbstractModel
1846
2132
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.537
4
+ version: 3.0.538
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-24 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common