tencentcloud-sdk-es 3.0.780 → 3.0.781

Sign up to get free protection for your applications and to get access to all the features.
@@ -554,6 +554,160 @@ module TencentCloud
554
554
  end
555
555
  end
556
556
 
557
+ # CreateServerlessInstance请求参数结构体
558
+ class CreateServerlessInstanceRequest < TencentCloud::Common::AbstractModel
559
+ # @param Zone: 可用区
560
+ # @type Zone: String
561
+ # @param VpcId: 私有网络ID
562
+ # @type VpcId: String
563
+ # @param SubnetId: 子网ID
564
+ # @type SubnetId: String
565
+ # @param IndexName: 索引名,需以-AppId结尾
566
+ # @type IndexName: String
567
+ # @param IndexMetaJson: 创建的索引元数据JSON,如mappings、settings
568
+ # @type IndexMetaJson: String
569
+ # @param SpaceId: 创建索引的空间ID
570
+ # @type SpaceId: String
571
+ # @param Username: 创建索引的用户名
572
+ # @type Username: String
573
+ # @param Password: 创建索引的密码
574
+ # @type Password: String
575
+ # @param ServerlessDi: 创建数据接入
576
+ # @type ServerlessDi: :class:`Tencentcloud::Es.v20180416.models.ServerlessDi`
577
+ # @param AutoGetIp: 是否自行添加白名单ip
578
+ # @type AutoGetIp: Integer
579
+ # @param TagList: 标签信息
580
+ # @type TagList: Array
581
+ # @param KibanaWhiteIpList: kibana公网白名单
582
+ # @type KibanaWhiteIpList: Array
583
+
584
+ attr_accessor :Zone, :VpcId, :SubnetId, :IndexName, :IndexMetaJson, :SpaceId, :Username, :Password, :ServerlessDi, :AutoGetIp, :TagList, :KibanaWhiteIpList
585
+
586
+ def initialize(zone=nil, vpcid=nil, subnetid=nil, indexname=nil, indexmetajson=nil, spaceid=nil, username=nil, password=nil, serverlessdi=nil, autogetip=nil, taglist=nil, kibanawhiteiplist=nil)
587
+ @Zone = zone
588
+ @VpcId = vpcid
589
+ @SubnetId = subnetid
590
+ @IndexName = indexname
591
+ @IndexMetaJson = indexmetajson
592
+ @SpaceId = spaceid
593
+ @Username = username
594
+ @Password = password
595
+ @ServerlessDi = serverlessdi
596
+ @AutoGetIp = autogetip
597
+ @TagList = taglist
598
+ @KibanaWhiteIpList = kibanawhiteiplist
599
+ end
600
+
601
+ def deserialize(params)
602
+ @Zone = params['Zone']
603
+ @VpcId = params['VpcId']
604
+ @SubnetId = params['SubnetId']
605
+ @IndexName = params['IndexName']
606
+ @IndexMetaJson = params['IndexMetaJson']
607
+ @SpaceId = params['SpaceId']
608
+ @Username = params['Username']
609
+ @Password = params['Password']
610
+ unless params['ServerlessDi'].nil?
611
+ @ServerlessDi = ServerlessDi.new
612
+ @ServerlessDi.deserialize(params['ServerlessDi'])
613
+ end
614
+ @AutoGetIp = params['AutoGetIp']
615
+ unless params['TagList'].nil?
616
+ @TagList = []
617
+ params['TagList'].each do |i|
618
+ taginfo_tmp = TagInfo.new
619
+ taginfo_tmp.deserialize(i)
620
+ @TagList << taginfo_tmp
621
+ end
622
+ end
623
+ @KibanaWhiteIpList = params['KibanaWhiteIpList']
624
+ end
625
+ end
626
+
627
+ # CreateServerlessInstance返回参数结构体
628
+ class CreateServerlessInstanceResponse < TencentCloud::Common::AbstractModel
629
+ # @param InstanceId: 实例ID
630
+ # @type InstanceId: String
631
+ # @param DealName: 订单号
632
+ # 注意:此字段可能返回 null,表示取不到有效值。
633
+ # @type DealName: String
634
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
635
+ # @type RequestId: String
636
+
637
+ attr_accessor :InstanceId, :DealName, :RequestId
638
+
639
+ def initialize(instanceid=nil, dealname=nil, requestid=nil)
640
+ @InstanceId = instanceid
641
+ @DealName = dealname
642
+ @RequestId = requestid
643
+ end
644
+
645
+ def deserialize(params)
646
+ @InstanceId = params['InstanceId']
647
+ @DealName = params['DealName']
648
+ @RequestId = params['RequestId']
649
+ end
650
+ end
651
+
652
+ # CreateServerlessSpaceV2请求参数结构体
653
+ class CreateServerlessSpaceV2Request < TencentCloud::Common::AbstractModel
654
+ # @param VpcInfo: vpc信息
655
+ # @type VpcInfo: Array
656
+ # @param SpaceName: 索引空间名
657
+ # @type SpaceName: String
658
+ # @param Zone: 空间名称
659
+ # @type Zone: String
660
+ # @param KibanaWhiteIpList: 白名单列表
661
+ # @type KibanaWhiteIpList: Array
662
+ # @param ZoneId: 空间id
663
+ # @type ZoneId: Integer
664
+
665
+ attr_accessor :VpcInfo, :SpaceName, :Zone, :KibanaWhiteIpList, :ZoneId
666
+
667
+ def initialize(vpcinfo=nil, spacename=nil, zone=nil, kibanawhiteiplist=nil, zoneid=nil)
668
+ @VpcInfo = vpcinfo
669
+ @SpaceName = spacename
670
+ @Zone = zone
671
+ @KibanaWhiteIpList = kibanawhiteiplist
672
+ @ZoneId = zoneid
673
+ end
674
+
675
+ def deserialize(params)
676
+ unless params['VpcInfo'].nil?
677
+ @VpcInfo = []
678
+ params['VpcInfo'].each do |i|
679
+ vpcinfo_tmp = VpcInfo.new
680
+ vpcinfo_tmp.deserialize(i)
681
+ @VpcInfo << vpcinfo_tmp
682
+ end
683
+ end
684
+ @SpaceName = params['SpaceName']
685
+ @Zone = params['Zone']
686
+ @KibanaWhiteIpList = params['KibanaWhiteIpList']
687
+ @ZoneId = params['ZoneId']
688
+ end
689
+ end
690
+
691
+ # CreateServerlessSpaceV2返回参数结构体
692
+ class CreateServerlessSpaceV2Response < TencentCloud::Common::AbstractModel
693
+ # @param SpaceId: 空间ID
694
+ # @type SpaceId: String
695
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
696
+ # @type RequestId: String
697
+
698
+ attr_accessor :SpaceId, :RequestId
699
+
700
+ def initialize(spaceid=nil, requestid=nil)
701
+ @SpaceId = spaceid
702
+ @RequestId = requestid
703
+ end
704
+
705
+ def deserialize(params)
706
+ @SpaceId = params['SpaceId']
707
+ @RequestId = params['RequestId']
708
+ end
709
+ end
710
+
557
711
  # DeleteIndex请求参数结构体
558
712
  class DeleteIndexRequest < TencentCloud::Common::AbstractModel
559
713
  # @param InstanceId: ES集群ID
@@ -706,6 +860,74 @@ module TencentCloud
706
860
  end
707
861
  end
708
862
 
863
+ # DeleteServerlessInstance请求参数结构体
864
+ class DeleteServerlessInstanceRequest < TencentCloud::Common::AbstractModel
865
+ # @param InstanceId: serverless实例ID
866
+ # @type InstanceId: String
867
+
868
+ attr_accessor :InstanceId
869
+
870
+ def initialize(instanceid=nil)
871
+ @InstanceId = instanceid
872
+ end
873
+
874
+ def deserialize(params)
875
+ @InstanceId = params['InstanceId']
876
+ end
877
+ end
878
+
879
+ # DeleteServerlessInstance返回参数结构体
880
+ class DeleteServerlessInstanceResponse < TencentCloud::Common::AbstractModel
881
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
882
+ # @type RequestId: String
883
+
884
+ attr_accessor :RequestId
885
+
886
+ def initialize(requestid=nil)
887
+ @RequestId = requestid
888
+ end
889
+
890
+ def deserialize(params)
891
+ @RequestId = params['RequestId']
892
+ end
893
+ end
894
+
895
+ # DeleteServerlessSpaceUser请求参数结构体
896
+ class DeleteServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel
897
+ # @param SpaceId: 空间的ID
898
+ # @type SpaceId: String
899
+ # @param Username: 创建索引的用户名
900
+ # @type Username: String
901
+
902
+ attr_accessor :SpaceId, :Username
903
+
904
+ def initialize(spaceid=nil, username=nil)
905
+ @SpaceId = spaceid
906
+ @Username = username
907
+ end
908
+
909
+ def deserialize(params)
910
+ @SpaceId = params['SpaceId']
911
+ @Username = params['Username']
912
+ end
913
+ end
914
+
915
+ # DeleteServerlessSpaceUser返回参数结构体
916
+ class DeleteServerlessSpaceUserResponse < TencentCloud::Common::AbstractModel
917
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
918
+ # @type RequestId: String
919
+
920
+ attr_accessor :RequestId
921
+
922
+ def initialize(requestid=nil)
923
+ @RequestId = requestid
924
+ end
925
+
926
+ def deserialize(params)
927
+ @RequestId = params['RequestId']
928
+ end
929
+ end
930
+
709
931
  # DescribeDiagnose请求参数结构体
710
932
  class DescribeDiagnoseRequest < TencentCloud::Common::AbstractModel
711
933
  # @param InstanceId: ES实例ID
@@ -1527,67 +1749,538 @@ module TencentCloud
1527
1749
  end
1528
1750
  end
1529
1751
 
1530
- # DescribeViews请求参数结构体
1531
- class DescribeViewsRequest < TencentCloud::Common::AbstractModel
1532
- # @param InstanceId: 集群实例ID
1533
- # @type InstanceId: String
1752
+ # DescribeServerlessSpaceUser请求参数结构体
1753
+ class DescribeServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel
1754
+ # @param SpaceId: 空间的ID
1755
+ # @type SpaceId: String
1756
+ # @param Offset: 游标
1757
+ # @type Offset: Integer
1758
+ # @param Limit: 页条数
1759
+ # @type Limit: Integer
1760
+ # @param UserNames: 用户名列表过滤
1761
+ # @type UserNames: Array
1762
+ # @param UserTypes: 用户类型
1763
+ # @type UserTypes: Array
1764
+ # @param PrivilegeTypes: 权限类型
1765
+ # @type PrivilegeTypes: Array
1766
+
1767
+ attr_accessor :SpaceId, :Offset, :Limit, :UserNames, :UserTypes, :PrivilegeTypes
1768
+
1769
+ def initialize(spaceid=nil, offset=nil, limit=nil, usernames=nil, usertypes=nil, privilegetypes=nil)
1770
+ @SpaceId = spaceid
1771
+ @Offset = offset
1772
+ @Limit = limit
1773
+ @UserNames = usernames
1774
+ @UserTypes = usertypes
1775
+ @PrivilegeTypes = privilegetypes
1776
+ end
1777
+
1778
+ def deserialize(params)
1779
+ @SpaceId = params['SpaceId']
1780
+ @Offset = params['Offset']
1781
+ @Limit = params['Limit']
1782
+ @UserNames = params['UserNames']
1783
+ @UserTypes = params['UserTypes']
1784
+ @PrivilegeTypes = params['PrivilegeTypes']
1785
+ end
1786
+ end
1787
+
1788
+ # DescribeServerlessSpaceUser返回参数结构体
1789
+ class DescribeServerlessSpaceUserResponse < TencentCloud::Common::AbstractModel
1790
+ # @param ServerlessSpaceUsers: 用户数组
1791
+ # @type ServerlessSpaceUsers: Array
1792
+ # @param TotalCount: 用户总数
1793
+ # @type TotalCount: Integer
1794
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1795
+ # @type RequestId: String
1796
+
1797
+ attr_accessor :ServerlessSpaceUsers, :TotalCount, :RequestId
1798
+
1799
+ def initialize(serverlessspaceusers=nil, totalcount=nil, requestid=nil)
1800
+ @ServerlessSpaceUsers = serverlessspaceusers
1801
+ @TotalCount = totalcount
1802
+ @RequestId = requestid
1803
+ end
1804
+
1805
+ def deserialize(params)
1806
+ unless params['ServerlessSpaceUsers'].nil?
1807
+ @ServerlessSpaceUsers = []
1808
+ params['ServerlessSpaceUsers'].each do |i|
1809
+ serverlessspaceuser_tmp = ServerlessSpaceUser.new
1810
+ serverlessspaceuser_tmp.deserialize(i)
1811
+ @ServerlessSpaceUsers << serverlessspaceuser_tmp
1812
+ end
1813
+ end
1814
+ @TotalCount = params['TotalCount']
1815
+ @RequestId = params['RequestId']
1816
+ end
1817
+ end
1818
+
1819
+ # DescribeServerlessSpaces请求参数结构体
1820
+ class DescribeServerlessSpacesRequest < TencentCloud::Common::AbstractModel
1821
+ # @param SpaceIds: 过滤的空间ID
1822
+ # @type SpaceIds: Array
1823
+ # @param SpaceNames: 过滤的空间名
1824
+ # @type SpaceNames: Array
1825
+ # @param Order: 排序顺序,支持升序asc、降序desc
1826
+ # @type Order: String
1827
+ # @param OrderBy: 排序字段,支持空间创建时间SpaceCreateTime
1828
+ # @type OrderBy: String
1829
+ # @param VpcIds: vpcId信息数组
1830
+ # @type VpcIds: Array
1831
+ # @param Offset: 分页起始
1832
+ # @type Offset: Integer
1833
+ # @param Limit: 分页条数
1834
+ # @type Limit: Integer
1835
+
1836
+ attr_accessor :SpaceIds, :SpaceNames, :Order, :OrderBy, :VpcIds, :Offset, :Limit
1837
+
1838
+ def initialize(spaceids=nil, spacenames=nil, order=nil, orderby=nil, vpcids=nil, offset=nil, limit=nil)
1839
+ @SpaceIds = spaceids
1840
+ @SpaceNames = spacenames
1841
+ @Order = order
1842
+ @OrderBy = orderby
1843
+ @VpcIds = vpcids
1844
+ @Offset = offset
1845
+ @Limit = limit
1846
+ end
1847
+
1848
+ def deserialize(params)
1849
+ @SpaceIds = params['SpaceIds']
1850
+ @SpaceNames = params['SpaceNames']
1851
+ @Order = params['Order']
1852
+ @OrderBy = params['OrderBy']
1853
+ @VpcIds = params['VpcIds']
1854
+ @Offset = params['Offset']
1855
+ @Limit = params['Limit']
1856
+ end
1857
+ end
1858
+
1859
+ # DescribeServerlessSpaces返回参数结构体
1860
+ class DescribeServerlessSpacesResponse < TencentCloud::Common::AbstractModel
1861
+ # @param TotalCount: 查询总数
1862
+ # 注意:此字段可能返回 null,表示取不到有效值。
1863
+ # @type TotalCount: Integer
1864
+ # @param ServerlessSpaces: Serverless空间信息列表
1865
+ # 注意:此字段可能返回 null,表示取不到有效值。
1866
+ # @type ServerlessSpaces: Array
1867
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1868
+ # @type RequestId: String
1869
+
1870
+ attr_accessor :TotalCount, :ServerlessSpaces, :RequestId
1871
+
1872
+ def initialize(totalcount=nil, serverlessspaces=nil, requestid=nil)
1873
+ @TotalCount = totalcount
1874
+ @ServerlessSpaces = serverlessspaces
1875
+ @RequestId = requestid
1876
+ end
1877
+
1878
+ def deserialize(params)
1879
+ @TotalCount = params['TotalCount']
1880
+ unless params['ServerlessSpaces'].nil?
1881
+ @ServerlessSpaces = []
1882
+ params['ServerlessSpaces'].each do |i|
1883
+ serverlessspace_tmp = ServerlessSpace.new
1884
+ serverlessspace_tmp.deserialize(i)
1885
+ @ServerlessSpaces << serverlessspace_tmp
1886
+ end
1887
+ end
1888
+ @RequestId = params['RequestId']
1889
+ end
1890
+ end
1891
+
1892
+ # DescribeViews请求参数结构体
1893
+ class DescribeViewsRequest < TencentCloud::Common::AbstractModel
1894
+ # @param InstanceId: 集群实例ID
1895
+ # @type InstanceId: String
1896
+
1897
+ attr_accessor :InstanceId
1898
+
1899
+ def initialize(instanceid=nil)
1900
+ @InstanceId = instanceid
1901
+ end
1902
+
1903
+ def deserialize(params)
1904
+ @InstanceId = params['InstanceId']
1905
+ end
1906
+ end
1907
+
1908
+ # DescribeViews返回参数结构体
1909
+ class DescribeViewsResponse < TencentCloud::Common::AbstractModel
1910
+ # @param ClusterView: 集群维度视图
1911
+ # 注意:此字段可能返回 null,表示取不到有效值。
1912
+ # @type ClusterView: :class:`Tencentcloud::Es.v20180416.models.ClusterView`
1913
+ # @param NodesView: 节点维度视图
1914
+ # 注意:此字段可能返回 null,表示取不到有效值。
1915
+ # @type NodesView: Array
1916
+ # @param KibanasView: Kibana维度视图
1917
+ # 注意:此字段可能返回 null,表示取不到有效值。
1918
+ # @type KibanasView: Array
1919
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1920
+ # @type RequestId: String
1921
+
1922
+ attr_accessor :ClusterView, :NodesView, :KibanasView, :RequestId
1923
+
1924
+ def initialize(clusterview=nil, nodesview=nil, kibanasview=nil, requestid=nil)
1925
+ @ClusterView = clusterview
1926
+ @NodesView = nodesview
1927
+ @KibanasView = kibanasview
1928
+ @RequestId = requestid
1929
+ end
1930
+
1931
+ def deserialize(params)
1932
+ unless params['ClusterView'].nil?
1933
+ @ClusterView = ClusterView.new
1934
+ @ClusterView.deserialize(params['ClusterView'])
1935
+ end
1936
+ unless params['NodesView'].nil?
1937
+ @NodesView = []
1938
+ params['NodesView'].each do |i|
1939
+ nodeview_tmp = NodeView.new
1940
+ nodeview_tmp.deserialize(i)
1941
+ @NodesView << nodeview_tmp
1942
+ end
1943
+ end
1944
+ unless params['KibanasView'].nil?
1945
+ @KibanasView = []
1946
+ params['KibanasView'].each do |i|
1947
+ kibanaview_tmp = KibanaView.new
1948
+ kibanaview_tmp.deserialize(i)
1949
+ @KibanasView << kibanaview_tmp
1950
+ end
1951
+ end
1952
+ @RequestId = params['RequestId']
1953
+ end
1954
+ end
1955
+
1956
+ # 数据接入信息
1957
+ class DiData < TencentCloud::Common::AbstractModel
1958
+ # @param DiId: 数据接入id
1959
+ # 注意:此字段可能返回 null,表示取不到有效值。
1960
+ # @type DiId: String
1961
+ # @param CreateTime: 数据接入创建时间
1962
+ # 注意:此字段可能返回 null,表示取不到有效值。
1963
+ # @type CreateTime: String
1964
+ # @param Status: 数据接入状态,0处理中,1正常,-2删除中,-3已删除
1965
+ # 注意:此字段可能返回 null,表示取不到有效值。
1966
+ # @type Status: Integer
1967
+ # @param DiDataSourceCvm: cvm数据源信息
1968
+ # 注意:此字段可能返回 null,表示取不到有效值。
1969
+ # @type DiDataSourceCvm: :class:`Tencentcloud::Es.v20180416.models.DiDataSourceCvm`
1970
+ # @param DiDataSourceTke: tke数据源信息
1971
+ # 注意:此字段可能返回 null,表示取不到有效值。
1972
+ # @type DiDataSourceTke: :class:`Tencentcloud::Es.v20180416.models.DiDataSourceTke`
1973
+ # @param DiDataSinkServerless: serverless目的端信息
1974
+ # 注意:此字段可能返回 null,表示取不到有效值。
1975
+ # @type DiDataSinkServerless: :class:`Tencentcloud::Es.v20180416.models.DiDataSinkServerless`
1976
+ # @param DiDataSourceType: 数据接入类型
1977
+ # 注意:此字段可能返回 null,表示取不到有效值。
1978
+ # @type DiDataSourceType: String
1979
+
1980
+ attr_accessor :DiId, :CreateTime, :Status, :DiDataSourceCvm, :DiDataSourceTke, :DiDataSinkServerless, :DiDataSourceType
1981
+
1982
+ def initialize(diid=nil, createtime=nil, status=nil, didatasourcecvm=nil, didatasourcetke=nil, didatasinkserverless=nil, didatasourcetype=nil)
1983
+ @DiId = diid
1984
+ @CreateTime = createtime
1985
+ @Status = status
1986
+ @DiDataSourceCvm = didatasourcecvm
1987
+ @DiDataSourceTke = didatasourcetke
1988
+ @DiDataSinkServerless = didatasinkserverless
1989
+ @DiDataSourceType = didatasourcetype
1990
+ end
1991
+
1992
+ def deserialize(params)
1993
+ @DiId = params['DiId']
1994
+ @CreateTime = params['CreateTime']
1995
+ @Status = params['Status']
1996
+ unless params['DiDataSourceCvm'].nil?
1997
+ @DiDataSourceCvm = DiDataSourceCvm.new
1998
+ @DiDataSourceCvm.deserialize(params['DiDataSourceCvm'])
1999
+ end
2000
+ unless params['DiDataSourceTke'].nil?
2001
+ @DiDataSourceTke = DiDataSourceTke.new
2002
+ @DiDataSourceTke.deserialize(params['DiDataSourceTke'])
2003
+ end
2004
+ unless params['DiDataSinkServerless'].nil?
2005
+ @DiDataSinkServerless = DiDataSinkServerless.new
2006
+ @DiDataSinkServerless.deserialize(params['DiDataSinkServerless'])
2007
+ end
2008
+ @DiDataSourceType = params['DiDataSourceType']
2009
+ end
2010
+ end
2011
+
2012
+ # 数据接入serverless目的端信息
2013
+ class DiDataSinkServerless < TencentCloud::Common::AbstractModel
2014
+ # @param ServerlessId: serverless实例id
2015
+ # 注意:此字段可能返回 null,表示取不到有效值。
2016
+ # @type ServerlessId: String
2017
+
2018
+ attr_accessor :ServerlessId
2019
+
2020
+ def initialize(serverlessid=nil)
2021
+ @ServerlessId = serverlessid
2022
+ end
2023
+
2024
+ def deserialize(params)
2025
+ @ServerlessId = params['ServerlessId']
2026
+ end
2027
+ end
2028
+
2029
+ # 数据接入cvm数据源信息
2030
+ class DiDataSourceCvm < TencentCloud::Common::AbstractModel
2031
+ # @param VpcId: vpc id
2032
+ # 注意:此字段可能返回 null,表示取不到有效值。
2033
+ # @type VpcId: String
2034
+ # @param LogPaths: 采集路径列表
2035
+ # 注意:此字段可能返回 null,表示取不到有效值。
2036
+ # @type LogPaths: Array
2037
+ # @param CvmInstances: cvm实例信息列表
2038
+ # 注意:此字段可能返回 null,表示取不到有效值。
2039
+ # @type CvmInstances: Array
2040
+ # @param CollectorId: 采集器id
2041
+ # 注意:此字段可能返回 null,表示取不到有效值。
2042
+ # @type CollectorId: String
2043
+
2044
+ attr_accessor :VpcId, :LogPaths, :CvmInstances, :CollectorId
2045
+
2046
+ def initialize(vpcid=nil, logpaths=nil, cvminstances=nil, collectorid=nil)
2047
+ @VpcId = vpcid
2048
+ @LogPaths = logpaths
2049
+ @CvmInstances = cvminstances
2050
+ @CollectorId = collectorid
2051
+ end
2052
+
2053
+ def deserialize(params)
2054
+ @VpcId = params['VpcId']
2055
+ @LogPaths = params['LogPaths']
2056
+ unless params['CvmInstances'].nil?
2057
+ @CvmInstances = []
2058
+ params['CvmInstances'].each do |i|
2059
+ didatasourcecvminstance_tmp = DiDataSourceCvmInstance.new
2060
+ didatasourcecvminstance_tmp.deserialize(i)
2061
+ @CvmInstances << didatasourcecvminstance_tmp
2062
+ end
2063
+ end
2064
+ @CollectorId = params['CollectorId']
2065
+ end
2066
+ end
2067
+
2068
+ # 数据接入cvm实例信息
2069
+ class DiDataSourceCvmInstance < TencentCloud::Common::AbstractModel
2070
+ # @param InstanceId: cvm实例id
2071
+ # 注意:此字段可能返回 null,表示取不到有效值。
2072
+ # @type InstanceId: String
2073
+ # @param VpcId: vpc id
2074
+ # 注意:此字段可能返回 null,表示取不到有效值。
2075
+ # @type VpcId: String
2076
+ # @param SubnetId: 子网id
2077
+ # 注意:此字段可能返回 null,表示取不到有效值。
2078
+ # @type SubnetId: String
2079
+ # @param ErrMsg: 错误信息
2080
+ # 注意:此字段可能返回 null,表示取不到有效值。
2081
+ # @type ErrMsg: String
2082
+
2083
+ attr_accessor :InstanceId, :VpcId, :SubnetId, :ErrMsg
2084
+
2085
+ def initialize(instanceid=nil, vpcid=nil, subnetid=nil, errmsg=nil)
2086
+ @InstanceId = instanceid
2087
+ @VpcId = vpcid
2088
+ @SubnetId = subnetid
2089
+ @ErrMsg = errmsg
2090
+ end
2091
+
2092
+ def deserialize(params)
2093
+ @InstanceId = params['InstanceId']
2094
+ @VpcId = params['VpcId']
2095
+ @SubnetId = params['SubnetId']
2096
+ @ErrMsg = params['ErrMsg']
2097
+ end
2098
+ end
2099
+
2100
+ # 数据接入tke数据源信息
2101
+ class DiDataSourceTke < TencentCloud::Common::AbstractModel
2102
+ # @param VpcId: vpc id
2103
+ # 注意:此字段可能返回 null,表示取不到有效值。
2104
+ # @type VpcId: String
2105
+ # @param TkeId: tke实例id
2106
+ # 注意:此字段可能返回 null,表示取不到有效值。
2107
+ # @type TkeId: String
2108
+ # @param CollectorId: 采集器id
2109
+ # 注意:此字段可能返回 null,表示取不到有效值。
2110
+ # @type CollectorId: String
2111
+ # @param CollectorName: 采集源名称
2112
+ # 注意:此字段可能返回 null,表示取不到有效值。
2113
+ # @type CollectorName: String
2114
+ # @param CollectorType: 采集器类型
2115
+ # 注意:此字段可能返回 null,表示取不到有效值。
2116
+ # @type CollectorType: String
2117
+ # @param CollectorVersion: 采集器版本
2118
+ # 注意:此字段可能返回 null,表示取不到有效值。
2119
+ # @type CollectorVersion: String
2120
+ # @param IncludeNamespaces: tke包含的命名空间
2121
+ # 注意:此字段可能返回 null,表示取不到有效值。
2122
+ # @type IncludeNamespaces: Array
2123
+ # @param ExcludeNamespaces: tke不包含的命名空间
2124
+ # 注意:此字段可能返回 null,表示取不到有效值。
2125
+ # @type ExcludeNamespaces: Array
2126
+ # @param PodLabelKeys: tke pod标签名
2127
+ # 注意:此字段可能返回 null,表示取不到有效值。
2128
+ # @type PodLabelKeys: Array
2129
+ # @param PodLabelValues: tke pod标签值
2130
+ # 注意:此字段可能返回 null,表示取不到有效值。
2131
+ # @type PodLabelValues: Array
2132
+ # @param ContainerName: tke容器名称
2133
+ # 注意:此字段可能返回 null,表示取不到有效值。
2134
+ # @type ContainerName: String
2135
+ # @param ConfigContent: tke采集器beat配置
2136
+ # 注意:此字段可能返回 null,表示取不到有效值。
2137
+ # @type ConfigContent: String
2138
+ # @param InputType: /
2139
+ # 注意:此字段可能返回 null,表示取不到有效值。
2140
+ # @type InputType: String
2141
+ # @param InputPath: TKE 日志采集路径
2142
+ # 注意:此字段可能返回 null,表示取不到有效值。
2143
+ # @type InputPath: String
2144
+
2145
+ attr_accessor :VpcId, :TkeId, :CollectorId, :CollectorName, :CollectorType, :CollectorVersion, :IncludeNamespaces, :ExcludeNamespaces, :PodLabelKeys, :PodLabelValues, :ContainerName, :ConfigContent, :InputType, :InputPath
2146
+
2147
+ def initialize(vpcid=nil, tkeid=nil, collectorid=nil, collectorname=nil, collectortype=nil, collectorversion=nil, includenamespaces=nil, excludenamespaces=nil, podlabelkeys=nil, podlabelvalues=nil, containername=nil, configcontent=nil, inputtype=nil, inputpath=nil)
2148
+ @VpcId = vpcid
2149
+ @TkeId = tkeid
2150
+ @CollectorId = collectorid
2151
+ @CollectorName = collectorname
2152
+ @CollectorType = collectortype
2153
+ @CollectorVersion = collectorversion
2154
+ @IncludeNamespaces = includenamespaces
2155
+ @ExcludeNamespaces = excludenamespaces
2156
+ @PodLabelKeys = podlabelkeys
2157
+ @PodLabelValues = podlabelvalues
2158
+ @ContainerName = containername
2159
+ @ConfigContent = configcontent
2160
+ @InputType = inputtype
2161
+ @InputPath = inputpath
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ @VpcId = params['VpcId']
2166
+ @TkeId = params['TkeId']
2167
+ @CollectorId = params['CollectorId']
2168
+ @CollectorName = params['CollectorName']
2169
+ @CollectorType = params['CollectorType']
2170
+ @CollectorVersion = params['CollectorVersion']
2171
+ @IncludeNamespaces = params['IncludeNamespaces']
2172
+ @ExcludeNamespaces = params['ExcludeNamespaces']
2173
+ @PodLabelKeys = params['PodLabelKeys']
2174
+ @PodLabelValues = params['PodLabelValues']
2175
+ @ContainerName = params['ContainerName']
2176
+ @ConfigContent = params['ConfigContent']
2177
+ @InputType = params['InputType']
2178
+ @InputPath = params['InputPath']
2179
+ end
2180
+ end
2181
+
2182
+ # 数据接入cvm数据源
2183
+ class DiSourceCvm < TencentCloud::Common::AbstractModel
2184
+ # @param VpcId: 数据源所属vpc id,创建后不允许修改
2185
+ # @type VpcId: String
2186
+ # @param CvmIds: cvm列表
2187
+ # @type CvmIds: Array
2188
+ # @param LogPaths: 采集路径列表,支持通配符
2189
+ # @type LogPaths: Array
1534
2190
 
1535
- attr_accessor :InstanceId
2191
+ attr_accessor :VpcId, :CvmIds, :LogPaths
1536
2192
 
1537
- def initialize(instanceid=nil)
1538
- @InstanceId = instanceid
2193
+ def initialize(vpcid=nil, cvmids=nil, logpaths=nil)
2194
+ @VpcId = vpcid
2195
+ @CvmIds = cvmids
2196
+ @LogPaths = logpaths
1539
2197
  end
1540
2198
 
1541
2199
  def deserialize(params)
1542
- @InstanceId = params['InstanceId']
2200
+ @VpcId = params['VpcId']
2201
+ @CvmIds = params['CvmIds']
2202
+ @LogPaths = params['LogPaths']
1543
2203
  end
1544
2204
  end
1545
2205
 
1546
- # DescribeViews返回参数结构体
1547
- class DescribeViewsResponse < TencentCloud::Common::AbstractModel
1548
- # @param ClusterView: 集群维度视图
1549
- # 注意:此字段可能返回 null,表示取不到有效值。
1550
- # @type ClusterView: :class:`Tencentcloud::Es.v20180416.models.ClusterView`
1551
- # @param NodesView: 节点维度视图
2206
+ # 数据接入tke数据源
2207
+ class DiSourceTke < TencentCloud::Common::AbstractModel
2208
+ # @param VpcId: 数据源所属vpc id,创建后不允许修改
2209
+ # @type VpcId: String
2210
+ # @param TkeId: tke实例id,创建后不允许修改
2211
+ # @type TkeId: String
2212
+ # @param IncludeNamespaces: tke包含的命名空间
2213
+ # @type IncludeNamespaces: Array
2214
+ # @param ExcludeNamespaces: tke不包含的命名空间
2215
+ # @type ExcludeNamespaces: Array
2216
+ # @param ContainerName: tke容器名称
2217
+ # @type ContainerName: String
2218
+ # @param LogFilters: tke日志内容过滤
2219
+ # @type LogFilters: String
2220
+ # @param ConfigContent: tke beats配置项
2221
+ # @type ConfigContent: String
2222
+ # @param PodLabel: tke pod标签
2223
+ # @type PodLabel: Array
2224
+ # @param InputType: /
2225
+ # @type InputType: String
2226
+ # @param InputPath: tke 日志采集路径
2227
+ # @type InputPath: String
2228
+
2229
+ attr_accessor :VpcId, :TkeId, :IncludeNamespaces, :ExcludeNamespaces, :ContainerName, :LogFilters, :ConfigContent, :PodLabel, :InputType, :InputPath
2230
+
2231
+ def initialize(vpcid=nil, tkeid=nil, includenamespaces=nil, excludenamespaces=nil, containername=nil, logfilters=nil, configcontent=nil, podlabel=nil, inputtype=nil, inputpath=nil)
2232
+ @VpcId = vpcid
2233
+ @TkeId = tkeid
2234
+ @IncludeNamespaces = includenamespaces
2235
+ @ExcludeNamespaces = excludenamespaces
2236
+ @ContainerName = containername
2237
+ @LogFilters = logfilters
2238
+ @ConfigContent = configcontent
2239
+ @PodLabel = podlabel
2240
+ @InputType = inputtype
2241
+ @InputPath = inputpath
2242
+ end
2243
+
2244
+ def deserialize(params)
2245
+ @VpcId = params['VpcId']
2246
+ @TkeId = params['TkeId']
2247
+ @IncludeNamespaces = params['IncludeNamespaces']
2248
+ @ExcludeNamespaces = params['ExcludeNamespaces']
2249
+ @ContainerName = params['ContainerName']
2250
+ @LogFilters = params['LogFilters']
2251
+ @ConfigContent = params['ConfigContent']
2252
+ unless params['PodLabel'].nil?
2253
+ @PodLabel = []
2254
+ params['PodLabel'].each do |i|
2255
+ disourcetkepodlabel_tmp = DiSourceTkePodLabel.new
2256
+ disourcetkepodlabel_tmp.deserialize(i)
2257
+ @PodLabel << disourcetkepodlabel_tmp
2258
+ end
2259
+ end
2260
+ @InputType = params['InputType']
2261
+ @InputPath = params['InputPath']
2262
+ end
2263
+ end
2264
+
2265
+ # tke pod标签
2266
+ class DiSourceTkePodLabel < TencentCloud::Common::AbstractModel
2267
+ # @param Key: 标签key
1552
2268
  # 注意:此字段可能返回 null,表示取不到有效值。
1553
- # @type NodesView: Array
1554
- # @param KibanasView: Kibana维度视图
2269
+ # @type Key: String
2270
+ # @param Value: 标签value
1555
2271
  # 注意:此字段可能返回 null,表示取不到有效值。
1556
- # @type KibanasView: Array
1557
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1558
- # @type RequestId: String
2272
+ # @type Value: String
1559
2273
 
1560
- attr_accessor :ClusterView, :NodesView, :KibanasView, :RequestId
2274
+ attr_accessor :Key, :Value
1561
2275
 
1562
- def initialize(clusterview=nil, nodesview=nil, kibanasview=nil, requestid=nil)
1563
- @ClusterView = clusterview
1564
- @NodesView = nodesview
1565
- @KibanasView = kibanasview
1566
- @RequestId = requestid
2276
+ def initialize(key=nil, value=nil)
2277
+ @Key = key
2278
+ @Value = value
1567
2279
  end
1568
2280
 
1569
2281
  def deserialize(params)
1570
- unless params['ClusterView'].nil?
1571
- @ClusterView = ClusterView.new
1572
- @ClusterView.deserialize(params['ClusterView'])
1573
- end
1574
- unless params['NodesView'].nil?
1575
- @NodesView = []
1576
- params['NodesView'].each do |i|
1577
- nodeview_tmp = NodeView.new
1578
- nodeview_tmp.deserialize(i)
1579
- @NodesView << nodeview_tmp
1580
- end
1581
- end
1582
- unless params['KibanasView'].nil?
1583
- @KibanasView = []
1584
- params['KibanasView'].each do |i|
1585
- kibanaview_tmp = KibanaView.new
1586
- kibanaview_tmp.deserialize(i)
1587
- @KibanasView << kibanaview_tmp
1588
- end
1589
- end
1590
- @RequestId = params['RequestId']
2282
+ @Key = params['Key']
2283
+ @Value = params['Value']
1591
2284
  end
1592
2285
  end
1593
2286
 
@@ -2890,6 +3583,22 @@ module TencentCloud
2890
3583
  end
2891
3584
  end
2892
3585
 
3586
+ # kibana公网域名白名单参数
3587
+ class KibanaPublicAcl < TencentCloud::Common::AbstractModel
3588
+ # @param WhiteIpList: kibana访问白名单
3589
+ # @type WhiteIpList: Array
3590
+
3591
+ attr_accessor :WhiteIpList
3592
+
3593
+ def initialize(whiteiplist=nil)
3594
+ @WhiteIpList = whiteiplist
3595
+ end
3596
+
3597
+ def deserialize(params)
3598
+ @WhiteIpList = params['WhiteIpList']
3599
+ end
3600
+ end
3601
+
2893
3602
  # Kibana视图数据
2894
3603
  class KibanaView < TencentCloud::Common::AbstractModel
2895
3604
  # @param Ip: Kibana节点IP
@@ -4052,6 +4761,183 @@ module TencentCloud
4052
4761
  end
4053
4762
  end
4054
4763
 
4764
+ # 创建serverless索引时创建数据接入
4765
+ class ServerlessDi < TencentCloud::Common::AbstractModel
4766
+ # @param DiSourceType: 数据链路采集源类型,如cvm_collector、tke_collector
4767
+ # @type DiSourceType: String
4768
+ # @param DiSourceCvm: cvm数据源
4769
+ # @type DiSourceCvm: :class:`Tencentcloud::Es.v20180416.models.DiSourceCvm`
4770
+ # @param DiSourceTke: tke数据源
4771
+ # @type DiSourceTke: :class:`Tencentcloud::Es.v20180416.models.DiSourceTke`
4772
+
4773
+ attr_accessor :DiSourceType, :DiSourceCvm, :DiSourceTke
4774
+
4775
+ def initialize(disourcetype=nil, disourcecvm=nil, disourcetke=nil)
4776
+ @DiSourceType = disourcetype
4777
+ @DiSourceCvm = disourcecvm
4778
+ @DiSourceTke = disourcetke
4779
+ end
4780
+
4781
+ def deserialize(params)
4782
+ @DiSourceType = params['DiSourceType']
4783
+ unless params['DiSourceCvm'].nil?
4784
+ @DiSourceCvm = DiSourceCvm.new
4785
+ @DiSourceCvm.deserialize(params['DiSourceCvm'])
4786
+ end
4787
+ unless params['DiSourceTke'].nil?
4788
+ @DiSourceTke = DiSourceTke.new
4789
+ @DiSourceTke.deserialize(params['DiSourceTke'])
4790
+ end
4791
+ end
4792
+ end
4793
+
4794
+ # Serverless索引空间信息
4795
+ class ServerlessSpace < TencentCloud::Common::AbstractModel
4796
+ # @param SpaceId: Serverless索引空间ID
4797
+ # @type SpaceId: String
4798
+ # @param SpaceName: Serverless索引空间名
4799
+ # @type SpaceName: String
4800
+ # @param Status: Serverless索引空间状态,0正常,-1已删除
4801
+ # @type Status: Integer
4802
+ # @param CreateTime: 创建日期
4803
+ # @type CreateTime: String
4804
+ # @param IndexCount: 空间内索引数量
4805
+ # @type IndexCount: Integer
4806
+ # @param KibanaUrl: kibana公网uri
4807
+ # 注意:此字段可能返回 null,表示取不到有效值。
4808
+ # @type KibanaUrl: String
4809
+ # @param KibanaPrivateUrl: kibana内网url
4810
+ # 注意:此字段可能返回 null,表示取不到有效值。
4811
+ # @type KibanaPrivateUrl: String
4812
+ # @param IndexAccessUrl: 空间内网访问地址
4813
+ # 注意:此字段可能返回 null,表示取不到有效值。
4814
+ # @type IndexAccessUrl: String
4815
+ # @param KibanaPublicAcl: 空间白名单
4816
+ # 注意:此字段可能返回 null,表示取不到有效值。
4817
+ # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl`
4818
+ # @param KibanaEmbedUrl: 空间检索分析域名
4819
+ # 注意:此字段可能返回 null,表示取不到有效值。
4820
+ # @type KibanaEmbedUrl: String
4821
+ # @param DiDataList: 数据联路
4822
+ # 注意:此字段可能返回 null,表示取不到有效值。
4823
+ # @type DiDataList: :class:`Tencentcloud::Es.v20180416.models.DiData`
4824
+ # @param VpcInfo: 空间vpc信息
4825
+ # 注意:此字段可能返回 null,表示取不到有效值。
4826
+ # @type VpcInfo: Array
4827
+ # @param Region: 地域
4828
+ # 注意:此字段可能返回 null,表示取不到有效值。
4829
+ # @type Region: String
4830
+ # @param Zone: 可用区
4831
+ # 注意:此字段可能返回 null,表示取不到有效值。
4832
+ # @type Zone: String
4833
+ # @param EnableKibanaPublicAccess: kibana公网开关,0关闭,1开启
4834
+ # 注意:此字段可能返回 null,表示取不到有效值。
4835
+ # @type EnableKibanaPublicAccess: Integer
4836
+ # @param EnableKibanaPrivateAccess: kibana内网开关,0关闭,1开启
4837
+ # 注意:此字段可能返回 null,表示取不到有效值。
4838
+ # @type EnableKibanaPrivateAccess: Integer
4839
+ # @param AppId: 空间所属appid
4840
+ # 注意:此字段可能返回 null,表示取不到有效值。
4841
+ # @type AppId: Integer
4842
+
4843
+ attr_accessor :SpaceId, :SpaceName, :Status, :CreateTime, :IndexCount, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :KibanaPublicAcl, :KibanaEmbedUrl, :DiDataList, :VpcInfo, :Region, :Zone, :EnableKibanaPublicAccess, :EnableKibanaPrivateAccess, :AppId
4844
+
4845
+ def initialize(spaceid=nil, spacename=nil, status=nil, createtime=nil, indexcount=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, kibanapublicacl=nil, kibanaembedurl=nil, didatalist=nil, vpcinfo=nil, region=nil, zone=nil, enablekibanapublicaccess=nil, enablekibanaprivateaccess=nil, appid=nil)
4846
+ @SpaceId = spaceid
4847
+ @SpaceName = spacename
4848
+ @Status = status
4849
+ @CreateTime = createtime
4850
+ @IndexCount = indexcount
4851
+ @KibanaUrl = kibanaurl
4852
+ @KibanaPrivateUrl = kibanaprivateurl
4853
+ @IndexAccessUrl = indexaccessurl
4854
+ @KibanaPublicAcl = kibanapublicacl
4855
+ @KibanaEmbedUrl = kibanaembedurl
4856
+ @DiDataList = didatalist
4857
+ @VpcInfo = vpcinfo
4858
+ @Region = region
4859
+ @Zone = zone
4860
+ @EnableKibanaPublicAccess = enablekibanapublicaccess
4861
+ @EnableKibanaPrivateAccess = enablekibanaprivateaccess
4862
+ @AppId = appid
4863
+ end
4864
+
4865
+ def deserialize(params)
4866
+ @SpaceId = params['SpaceId']
4867
+ @SpaceName = params['SpaceName']
4868
+ @Status = params['Status']
4869
+ @CreateTime = params['CreateTime']
4870
+ @IndexCount = params['IndexCount']
4871
+ @KibanaUrl = params['KibanaUrl']
4872
+ @KibanaPrivateUrl = params['KibanaPrivateUrl']
4873
+ @IndexAccessUrl = params['IndexAccessUrl']
4874
+ unless params['KibanaPublicAcl'].nil?
4875
+ @KibanaPublicAcl = EsAcl.new
4876
+ @KibanaPublicAcl.deserialize(params['KibanaPublicAcl'])
4877
+ end
4878
+ @KibanaEmbedUrl = params['KibanaEmbedUrl']
4879
+ unless params['DiDataList'].nil?
4880
+ @DiDataList = DiData.new
4881
+ @DiDataList.deserialize(params['DiDataList'])
4882
+ end
4883
+ unless params['VpcInfo'].nil?
4884
+ @VpcInfo = []
4885
+ params['VpcInfo'].each do |i|
4886
+ vpcinfo_tmp = VpcInfo.new
4887
+ vpcinfo_tmp.deserialize(i)
4888
+ @VpcInfo << vpcinfo_tmp
4889
+ end
4890
+ end
4891
+ @Region = params['Region']
4892
+ @Zone = params['Zone']
4893
+ @EnableKibanaPublicAccess = params['EnableKibanaPublicAccess']
4894
+ @EnableKibanaPrivateAccess = params['EnableKibanaPrivateAccess']
4895
+ @AppId = params['AppId']
4896
+ end
4897
+ end
4898
+
4899
+ # ServerlessSpaceUser
4900
+ class ServerlessSpaceUser < TencentCloud::Common::AbstractModel
4901
+ # @param Username: 用户名
4902
+ # 注意:此字段可能返回 null,表示取不到有效值。
4903
+ # @type Username: String
4904
+ # @param Password: 用户密码
4905
+ # 注意:此字段可能返回 null,表示取不到有效值。
4906
+ # @type Password: String
4907
+ # @param CreateTime: 创建时间
4908
+ # 注意:此字段可能返回 null,表示取不到有效值。
4909
+ # @type CreateTime: String
4910
+ # @param Status: 用户状态
4911
+ # 注意:此字段可能返回 null,表示取不到有效值。
4912
+ # @type Status: Integer
4913
+ # @param IndicesScope: 有权限的索引数组
4914
+ # 注意:此字段可能返回 null,表示取不到有效值。
4915
+ # @type IndicesScope: Array
4916
+ # @param PrivilegeType: 权限类型
4917
+ # 注意:此字段可能返回 null,表示取不到有效值。
4918
+ # @type PrivilegeType: Integer
4919
+
4920
+ attr_accessor :Username, :Password, :CreateTime, :Status, :IndicesScope, :PrivilegeType
4921
+
4922
+ def initialize(username=nil, password=nil, createtime=nil, status=nil, indicesscope=nil, privilegetype=nil)
4923
+ @Username = username
4924
+ @Password = password
4925
+ @CreateTime = createtime
4926
+ @Status = status
4927
+ @IndicesScope = indicesscope
4928
+ @PrivilegeType = privilegetype
4929
+ end
4930
+
4931
+ def deserialize(params)
4932
+ @Username = params['Username']
4933
+ @Password = params['Password']
4934
+ @CreateTime = params['CreateTime']
4935
+ @Status = params['Status']
4936
+ @IndicesScope = params['IndicesScope']
4937
+ @PrivilegeType = params['PrivilegeType']
4938
+ end
4939
+ end
4940
+
4055
4941
  # 智能运维集群配置详情
4056
4942
  class SettingDetail < TencentCloud::Common::AbstractModel
4057
4943
  # @param Key: 配置key
@@ -4884,6 +5770,112 @@ module TencentCloud
4884
5770
  end
4885
5771
  end
4886
5772
 
5773
+ # UpdateServerlessInstance请求参数结构体
5774
+ class UpdateServerlessInstanceRequest < TencentCloud::Common::AbstractModel
5775
+ # @param InstanceId: Serveless实例ID
5776
+ # @type InstanceId: String
5777
+ # @param UpdateMetaJson: 更新的索引元数据JSON,如mappings、settings
5778
+ # @type UpdateMetaJson: String
5779
+ # @param Password: 实例访问密码
5780
+ # @type Password: String
5781
+ # @param KibanaPrivateAccess: 开启kibana内网访问,如OPEN、CLOSE
5782
+ # @type KibanaPrivateAccess: String
5783
+ # @param KibanaPublicAccess: 开启kibana外网访问,如OPEN、CLOSE
5784
+ # @type KibanaPublicAccess: String
5785
+ # @param KibanaPublicAcl: 访问控制列表
5786
+ # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.KibanaPublicAcl`
5787
+
5788
+ attr_accessor :InstanceId, :UpdateMetaJson, :Password, :KibanaPrivateAccess, :KibanaPublicAccess, :KibanaPublicAcl
5789
+
5790
+ def initialize(instanceid=nil, updatemetajson=nil, password=nil, kibanaprivateaccess=nil, kibanapublicaccess=nil, kibanapublicacl=nil)
5791
+ @InstanceId = instanceid
5792
+ @UpdateMetaJson = updatemetajson
5793
+ @Password = password
5794
+ @KibanaPrivateAccess = kibanaprivateaccess
5795
+ @KibanaPublicAccess = kibanapublicaccess
5796
+ @KibanaPublicAcl = kibanapublicacl
5797
+ end
5798
+
5799
+ def deserialize(params)
5800
+ @InstanceId = params['InstanceId']
5801
+ @UpdateMetaJson = params['UpdateMetaJson']
5802
+ @Password = params['Password']
5803
+ @KibanaPrivateAccess = params['KibanaPrivateAccess']
5804
+ @KibanaPublicAccess = params['KibanaPublicAccess']
5805
+ unless params['KibanaPublicAcl'].nil?
5806
+ @KibanaPublicAcl = KibanaPublicAcl.new
5807
+ @KibanaPublicAcl.deserialize(params['KibanaPublicAcl'])
5808
+ end
5809
+ end
5810
+ end
5811
+
5812
+ # UpdateServerlessInstance返回参数结构体
5813
+ class UpdateServerlessInstanceResponse < TencentCloud::Common::AbstractModel
5814
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5815
+ # @type RequestId: String
5816
+
5817
+ attr_accessor :RequestId
5818
+
5819
+ def initialize(requestid=nil)
5820
+ @RequestId = requestid
5821
+ end
5822
+
5823
+ def deserialize(params)
5824
+ @RequestId = params['RequestId']
5825
+ end
5826
+ end
5827
+
5828
+ # UpdateServerlessSpace请求参数结构体
5829
+ class UpdateServerlessSpaceRequest < TencentCloud::Common::AbstractModel
5830
+ # @param SpaceId: Serveless索引空间ID
5831
+ # @type SpaceId: String
5832
+ # @param SpaceName: Serveless索引空间名
5833
+ # @type SpaceName: String
5834
+ # @param KibanaPrivateAccess: kibana内网开关
5835
+ # @type KibanaPrivateAccess: String
5836
+ # @param KibanaPublicAccess: kibana公网开关
5837
+ # @type KibanaPublicAccess: String
5838
+ # @param KibanaPublicAcl: kibana公网白名单
5839
+ # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl`
5840
+
5841
+ attr_accessor :SpaceId, :SpaceName, :KibanaPrivateAccess, :KibanaPublicAccess, :KibanaPublicAcl
5842
+
5843
+ def initialize(spaceid=nil, spacename=nil, kibanaprivateaccess=nil, kibanapublicaccess=nil, kibanapublicacl=nil)
5844
+ @SpaceId = spaceid
5845
+ @SpaceName = spacename
5846
+ @KibanaPrivateAccess = kibanaprivateaccess
5847
+ @KibanaPublicAccess = kibanapublicaccess
5848
+ @KibanaPublicAcl = kibanapublicacl
5849
+ end
5850
+
5851
+ def deserialize(params)
5852
+ @SpaceId = params['SpaceId']
5853
+ @SpaceName = params['SpaceName']
5854
+ @KibanaPrivateAccess = params['KibanaPrivateAccess']
5855
+ @KibanaPublicAccess = params['KibanaPublicAccess']
5856
+ unless params['KibanaPublicAcl'].nil?
5857
+ @KibanaPublicAcl = EsAcl.new
5858
+ @KibanaPublicAcl.deserialize(params['KibanaPublicAcl'])
5859
+ end
5860
+ end
5861
+ end
5862
+
5863
+ # UpdateServerlessSpace返回参数结构体
5864
+ class UpdateServerlessSpaceResponse < TencentCloud::Common::AbstractModel
5865
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5866
+ # @type RequestId: String
5867
+
5868
+ attr_accessor :RequestId
5869
+
5870
+ def initialize(requestid=nil)
5871
+ @RequestId = requestid
5872
+ end
5873
+
5874
+ def deserialize(params)
5875
+ @RequestId = params['RequestId']
5876
+ end
5877
+ end
5878
+
4887
5879
  # UpgradeInstance请求参数结构体
4888
5880
  class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
4889
5881
  # @param InstanceId: 实例ID
@@ -5001,6 +5993,43 @@ module TencentCloud
5001
5993
  end
5002
5994
  end
5003
5995
 
5996
+ # vpc信息
5997
+ class VpcInfo < TencentCloud::Common::AbstractModel
5998
+ # @param VpcId: vpcId信息
5999
+ # 注意:此字段可能返回 null,表示取不到有效值。
6000
+ # @type VpcId: String
6001
+ # @param SubnetId: SubnetId信息
6002
+ # 注意:此字段可能返回 null,表示取不到有效值。
6003
+ # @type SubnetId: String
6004
+ # @param VpcUid: VpcUid信息
6005
+ # 注意:此字段可能返回 null,表示取不到有效值。
6006
+ # @type VpcUid: Integer
6007
+ # @param SubnetUid: SubnetUid 信息
6008
+ # 注意:此字段可能返回 null,表示取不到有效值。
6009
+ # @type SubnetUid: Integer
6010
+ # @param AvailableIpAddressCount: 可用ip数量
6011
+ # 注意:此字段可能返回 null,表示取不到有效值。
6012
+ # @type AvailableIpAddressCount: Integer
6013
+
6014
+ attr_accessor :VpcId, :SubnetId, :VpcUid, :SubnetUid, :AvailableIpAddressCount
6015
+
6016
+ def initialize(vpcid=nil, subnetid=nil, vpcuid=nil, subnetuid=nil, availableipaddresscount=nil)
6017
+ @VpcId = vpcid
6018
+ @SubnetId = subnetid
6019
+ @VpcUid = vpcuid
6020
+ @SubnetUid = subnetuid
6021
+ @AvailableIpAddressCount = availableipaddresscount
6022
+ end
6023
+
6024
+ def deserialize(params)
6025
+ @VpcId = params['VpcId']
6026
+ @SubnetId = params['SubnetId']
6027
+ @VpcUid = params['VpcUid']
6028
+ @SubnetUid = params['SubnetUid']
6029
+ @AvailableIpAddressCount = params['AvailableIpAddressCount']
6030
+ end
6031
+ end
6032
+
5004
6033
  # 可视化节点配置
5005
6034
  class WebNodeTypeInfo < TencentCloud::Common::AbstractModel
5006
6035
  # @param NodeNum: 可视化节点个数,固定为1