tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1300__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aca/v20210323/models.py +2 -2
- tencentcloud/aiart/v20221229/aiart_client.py +55 -0
- tencentcloud/aiart/v20221229/models.py +367 -0
- tencentcloud/autoscaling/v20180419/models.py +21 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +4 -4
- tencentcloud/cdb/v20170320/models.py +27 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/clb/v20180317/models.py +68 -0
- tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
- tencentcloud/cloudapp/v20220530/models.py +66 -17
- tencentcloud/cls/v20201016/models.py +22 -0
- tencentcloud/cmq/v20190304/cmq_client.py +0 -365
- tencentcloud/cmq/v20190304/models.py +324 -2473
- tencentcloud/config/v20220802/config_client.py +46 -0
- tencentcloud/config/v20220802/errorcodes.py +3 -0
- tencentcloud/config/v20220802/models.py +716 -26
- tencentcloud/csxg/v20230303/errorcodes.py +48 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dc/v20180410/models.py +50 -121
- tencentcloud/drm/v20181115/models.py +17 -0
- tencentcloud/dts/v20211206/models.py +68 -2
- tencentcloud/ecm/v20190719/models.py +0 -18
- tencentcloud/emr/v20190103/models.py +136 -340
- tencentcloud/ess/v20201111/ess_client.py +25 -4
- tencentcloud/ess/v20201111/models.py +44 -46
- tencentcloud/essbasic/v20210526/models.py +42 -18
- tencentcloud/gaap/v20180529/gaap_client.py +9 -3
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +46 -0
- tencentcloud/hai/v20230812/models.py +435 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +1012 -36
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
- tencentcloud/iotvideo/v20211125/models.py +135 -0
- tencentcloud/keewidb/v20220308/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +54 -16
- tencentcloud/mna/v20210119/models.py +0 -20
- tencentcloud/mongodb/v20180408/models.py +2 -44
- tencentcloud/mongodb/v20190725/models.py +2 -22
- tencentcloud/ocr/v20181119/models.py +14 -14
- tencentcloud/postgres/v20170312/models.py +233 -0
- tencentcloud/postgres/v20170312/postgres_client.py +46 -0
- tencentcloud/redis/v20180412/models.py +12 -8
- tencentcloud/redis/v20180412/redis_client.py +8 -8
- tencentcloud/scf/v20180416/models.py +44 -4
- tencentcloud/sms/v20190711/errorcodes.py +6 -0
- tencentcloud/sms/v20190711/models.py +81 -0
- tencentcloud/sms/v20210111/errorcodes.py +6 -0
- tencentcloud/sms/v20210111/models.py +81 -0
- tencentcloud/ssl/v20191205/models.py +64 -8
- tencentcloud/ssl/v20191205/ssl_client.py +8 -1
- tencentcloud/tcb/v20180608/models.py +207 -403
- tencentcloud/tcb/v20180608/tcb_client.py +1 -1
- tencentcloud/tione/v20211111/models.py +34 -0
- tencentcloud/trro/v20220325/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +0 -8
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +17 -18
- tencentcloud/wedata/v20210820/models.py +126 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/RECORD +73 -73
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,228 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AggregateResourceInfo(AbstractModel):
|
22
|
+
"""资源列列表信息
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _ResourceType: 资源类型
|
29
|
+
:type ResourceType: str
|
30
|
+
:param _ResourceName: 资源名称
|
31
|
+
:type ResourceName: str
|
32
|
+
:param _ResourceId: 资源ID
|
33
|
+
:type ResourceId: str
|
34
|
+
:param _ResourceRegion: 地域
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
:type ResourceRegion: str
|
37
|
+
:param _ResourceStatus: 资源状态
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
:type ResourceStatus: str
|
40
|
+
:param _ResourceDelete: 是否删除 1:已删除 0:未删除
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42
|
+
:type ResourceDelete: int
|
43
|
+
:param _ResourceCreateTime: 资源创建时间
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45
|
+
:type ResourceCreateTime: str
|
46
|
+
:param _Tags: 标签信息
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48
|
+
:type Tags: list of Tag
|
49
|
+
:param _ResourceZone: 可用区
|
50
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
:type ResourceZone: str
|
52
|
+
:param _ComplianceResult: 合规状态
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
:type ComplianceResult: str
|
55
|
+
:param _ResourceOwnerId: 资源所属用户ID
|
56
|
+
:type ResourceOwnerId: int
|
57
|
+
:param _ResourceOwnerName: 用户昵称
|
58
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59
|
+
:type ResourceOwnerName: str
|
60
|
+
"""
|
61
|
+
self._ResourceType = None
|
62
|
+
self._ResourceName = None
|
63
|
+
self._ResourceId = None
|
64
|
+
self._ResourceRegion = None
|
65
|
+
self._ResourceStatus = None
|
66
|
+
self._ResourceDelete = None
|
67
|
+
self._ResourceCreateTime = None
|
68
|
+
self._Tags = None
|
69
|
+
self._ResourceZone = None
|
70
|
+
self._ComplianceResult = None
|
71
|
+
self._ResourceOwnerId = None
|
72
|
+
self._ResourceOwnerName = None
|
73
|
+
|
74
|
+
@property
|
75
|
+
def ResourceType(self):
|
76
|
+
"""资源类型
|
77
|
+
:rtype: str
|
78
|
+
"""
|
79
|
+
return self._ResourceType
|
80
|
+
|
81
|
+
@ResourceType.setter
|
82
|
+
def ResourceType(self, ResourceType):
|
83
|
+
self._ResourceType = ResourceType
|
84
|
+
|
85
|
+
@property
|
86
|
+
def ResourceName(self):
|
87
|
+
"""资源名称
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._ResourceName
|
91
|
+
|
92
|
+
@ResourceName.setter
|
93
|
+
def ResourceName(self, ResourceName):
|
94
|
+
self._ResourceName = ResourceName
|
95
|
+
|
96
|
+
@property
|
97
|
+
def ResourceId(self):
|
98
|
+
"""资源ID
|
99
|
+
:rtype: str
|
100
|
+
"""
|
101
|
+
return self._ResourceId
|
102
|
+
|
103
|
+
@ResourceId.setter
|
104
|
+
def ResourceId(self, ResourceId):
|
105
|
+
self._ResourceId = ResourceId
|
106
|
+
|
107
|
+
@property
|
108
|
+
def ResourceRegion(self):
|
109
|
+
"""地域
|
110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
111
|
+
:rtype: str
|
112
|
+
"""
|
113
|
+
return self._ResourceRegion
|
114
|
+
|
115
|
+
@ResourceRegion.setter
|
116
|
+
def ResourceRegion(self, ResourceRegion):
|
117
|
+
self._ResourceRegion = ResourceRegion
|
118
|
+
|
119
|
+
@property
|
120
|
+
def ResourceStatus(self):
|
121
|
+
"""资源状态
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._ResourceStatus
|
126
|
+
|
127
|
+
@ResourceStatus.setter
|
128
|
+
def ResourceStatus(self, ResourceStatus):
|
129
|
+
self._ResourceStatus = ResourceStatus
|
130
|
+
|
131
|
+
@property
|
132
|
+
def ResourceDelete(self):
|
133
|
+
"""是否删除 1:已删除 0:未删除
|
134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
135
|
+
:rtype: int
|
136
|
+
"""
|
137
|
+
return self._ResourceDelete
|
138
|
+
|
139
|
+
@ResourceDelete.setter
|
140
|
+
def ResourceDelete(self, ResourceDelete):
|
141
|
+
self._ResourceDelete = ResourceDelete
|
142
|
+
|
143
|
+
@property
|
144
|
+
def ResourceCreateTime(self):
|
145
|
+
"""资源创建时间
|
146
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
147
|
+
:rtype: str
|
148
|
+
"""
|
149
|
+
return self._ResourceCreateTime
|
150
|
+
|
151
|
+
@ResourceCreateTime.setter
|
152
|
+
def ResourceCreateTime(self, ResourceCreateTime):
|
153
|
+
self._ResourceCreateTime = ResourceCreateTime
|
154
|
+
|
155
|
+
@property
|
156
|
+
def Tags(self):
|
157
|
+
"""标签信息
|
158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
:rtype: list of Tag
|
160
|
+
"""
|
161
|
+
return self._Tags
|
162
|
+
|
163
|
+
@Tags.setter
|
164
|
+
def Tags(self, Tags):
|
165
|
+
self._Tags = Tags
|
166
|
+
|
167
|
+
@property
|
168
|
+
def ResourceZone(self):
|
169
|
+
"""可用区
|
170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
171
|
+
:rtype: str
|
172
|
+
"""
|
173
|
+
return self._ResourceZone
|
174
|
+
|
175
|
+
@ResourceZone.setter
|
176
|
+
def ResourceZone(self, ResourceZone):
|
177
|
+
self._ResourceZone = ResourceZone
|
178
|
+
|
179
|
+
@property
|
180
|
+
def ComplianceResult(self):
|
181
|
+
"""合规状态
|
182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
183
|
+
:rtype: str
|
184
|
+
"""
|
185
|
+
return self._ComplianceResult
|
186
|
+
|
187
|
+
@ComplianceResult.setter
|
188
|
+
def ComplianceResult(self, ComplianceResult):
|
189
|
+
self._ComplianceResult = ComplianceResult
|
190
|
+
|
191
|
+
@property
|
192
|
+
def ResourceOwnerId(self):
|
193
|
+
"""资源所属用户ID
|
194
|
+
:rtype: int
|
195
|
+
"""
|
196
|
+
return self._ResourceOwnerId
|
197
|
+
|
198
|
+
@ResourceOwnerId.setter
|
199
|
+
def ResourceOwnerId(self, ResourceOwnerId):
|
200
|
+
self._ResourceOwnerId = ResourceOwnerId
|
201
|
+
|
202
|
+
@property
|
203
|
+
def ResourceOwnerName(self):
|
204
|
+
"""用户昵称
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
206
|
+
:rtype: str
|
207
|
+
"""
|
208
|
+
return self._ResourceOwnerName
|
209
|
+
|
210
|
+
@ResourceOwnerName.setter
|
211
|
+
def ResourceOwnerName(self, ResourceOwnerName):
|
212
|
+
self._ResourceOwnerName = ResourceOwnerName
|
213
|
+
|
214
|
+
|
215
|
+
def _deserialize(self, params):
|
216
|
+
self._ResourceType = params.get("ResourceType")
|
217
|
+
self._ResourceName = params.get("ResourceName")
|
218
|
+
self._ResourceId = params.get("ResourceId")
|
219
|
+
self._ResourceRegion = params.get("ResourceRegion")
|
220
|
+
self._ResourceStatus = params.get("ResourceStatus")
|
221
|
+
self._ResourceDelete = params.get("ResourceDelete")
|
222
|
+
self._ResourceCreateTime = params.get("ResourceCreateTime")
|
223
|
+
if params.get("Tags") is not None:
|
224
|
+
self._Tags = []
|
225
|
+
for item in params.get("Tags"):
|
226
|
+
obj = Tag()
|
227
|
+
obj._deserialize(item)
|
228
|
+
self._Tags.append(obj)
|
229
|
+
self._ResourceZone = params.get("ResourceZone")
|
230
|
+
self._ComplianceResult = params.get("ComplianceResult")
|
231
|
+
self._ResourceOwnerId = params.get("ResourceOwnerId")
|
232
|
+
self._ResourceOwnerName = params.get("ResourceOwnerName")
|
233
|
+
memeber_set = set(params.keys())
|
234
|
+
for name, value in vars(self).items():
|
235
|
+
property_name = name[1:]
|
236
|
+
if property_name in memeber_set:
|
237
|
+
memeber_set.remove(property_name)
|
238
|
+
if len(memeber_set) > 0:
|
239
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
240
|
+
|
241
|
+
|
242
|
+
|
21
243
|
class Annotation(AbstractModel):
|
22
244
|
"""合规详情
|
23
245
|
|
@@ -636,8 +858,8 @@ ConfigurationItemChangeNotification:变更触发
|
|
636
858
|
|
637
859
|
|
638
860
|
|
639
|
-
class
|
640
|
-
"""
|
861
|
+
class DescribeAggregateDiscoveredResourceRequest(AbstractModel):
|
862
|
+
"""DescribeAggregateDiscoveredResource请求参数结构体
|
641
863
|
|
642
864
|
"""
|
643
865
|
|
@@ -649,10 +871,16 @@ class DescribeDiscoveredResourceRequest(AbstractModel):
|
|
649
871
|
:type ResourceType: str
|
650
872
|
:param _ResourceRegion: 资源地域
|
651
873
|
:type ResourceRegion: str
|
874
|
+
:param _AccountGroupId: 账号组ID
|
875
|
+
:type AccountGroupId: str
|
876
|
+
:param _ResourceOwnerId: 资源所属用户ID
|
877
|
+
:type ResourceOwnerId: int
|
652
878
|
"""
|
653
879
|
self._ResourceId = None
|
654
880
|
self._ResourceType = None
|
655
881
|
self._ResourceRegion = None
|
882
|
+
self._AccountGroupId = None
|
883
|
+
self._ResourceOwnerId = None
|
656
884
|
|
657
885
|
@property
|
658
886
|
def ResourceId(self):
|
@@ -687,11 +915,35 @@ class DescribeDiscoveredResourceRequest(AbstractModel):
|
|
687
915
|
def ResourceRegion(self, ResourceRegion):
|
688
916
|
self._ResourceRegion = ResourceRegion
|
689
917
|
|
918
|
+
@property
|
919
|
+
def AccountGroupId(self):
|
920
|
+
"""账号组ID
|
921
|
+
:rtype: str
|
922
|
+
"""
|
923
|
+
return self._AccountGroupId
|
924
|
+
|
925
|
+
@AccountGroupId.setter
|
926
|
+
def AccountGroupId(self, AccountGroupId):
|
927
|
+
self._AccountGroupId = AccountGroupId
|
928
|
+
|
929
|
+
@property
|
930
|
+
def ResourceOwnerId(self):
|
931
|
+
"""资源所属用户ID
|
932
|
+
:rtype: int
|
933
|
+
"""
|
934
|
+
return self._ResourceOwnerId
|
935
|
+
|
936
|
+
@ResourceOwnerId.setter
|
937
|
+
def ResourceOwnerId(self, ResourceOwnerId):
|
938
|
+
self._ResourceOwnerId = ResourceOwnerId
|
939
|
+
|
690
940
|
|
691
941
|
def _deserialize(self, params):
|
692
942
|
self._ResourceId = params.get("ResourceId")
|
693
943
|
self._ResourceType = params.get("ResourceType")
|
694
944
|
self._ResourceRegion = params.get("ResourceRegion")
|
945
|
+
self._AccountGroupId = params.get("AccountGroupId")
|
946
|
+
self._ResourceOwnerId = params.get("ResourceOwnerId")
|
695
947
|
memeber_set = set(params.keys())
|
696
948
|
for name, value in vars(self).items():
|
697
949
|
property_name = name[1:]
|
@@ -702,8 +954,8 @@ class DescribeDiscoveredResourceRequest(AbstractModel):
|
|
702
954
|
|
703
955
|
|
704
956
|
|
705
|
-
class
|
706
|
-
"""
|
957
|
+
class DescribeAggregateDiscoveredResourceResponse(AbstractModel):
|
958
|
+
"""DescribeAggregateDiscoveredResource返回参数结构体
|
707
959
|
|
708
960
|
"""
|
709
961
|
|
@@ -888,34 +1140,286 @@ class DescribeDiscoveredResourceResponse(AbstractModel):
|
|
888
1140
|
self._RequestId = params.get("RequestId")
|
889
1141
|
|
890
1142
|
|
891
|
-
class
|
892
|
-
"""
|
1143
|
+
class DescribeDiscoveredResourceRequest(AbstractModel):
|
1144
|
+
"""DescribeDiscoveredResource请求参数结构体
|
893
1145
|
|
894
1146
|
"""
|
895
1147
|
|
896
1148
|
def __init__(self):
|
897
1149
|
r"""
|
898
|
-
:param
|
899
|
-
:type
|
900
|
-
:param
|
901
|
-
|
902
|
-
|
903
|
-
:type
|
904
|
-
:param _ComplianceRegion: 已评估资源地域。
|
905
|
-
长度为0~32个字符
|
906
|
-
:type ComplianceRegion: str
|
907
|
-
:param _ComplianceType: 合规类型。取值:
|
908
|
-
COMPLIANT:合规、
|
909
|
-
NON_COMPLIANT:不合规
|
910
|
-
:type ComplianceType: str
|
911
|
-
:param _Annotation: 不合规资源的补充信息。
|
912
|
-
:type Annotation: :class:`tencentcloud.config.v20220802.models.Annotation`
|
1150
|
+
:param _ResourceId: 资源ID
|
1151
|
+
:type ResourceId: str
|
1152
|
+
:param _ResourceType: 资源类型
|
1153
|
+
:type ResourceType: str
|
1154
|
+
:param _ResourceRegion: 资源地域
|
1155
|
+
:type ResourceRegion: str
|
913
1156
|
"""
|
914
|
-
self.
|
915
|
-
self.
|
916
|
-
self.
|
917
|
-
|
918
|
-
|
1157
|
+
self._ResourceId = None
|
1158
|
+
self._ResourceType = None
|
1159
|
+
self._ResourceRegion = None
|
1160
|
+
|
1161
|
+
@property
|
1162
|
+
def ResourceId(self):
|
1163
|
+
"""资源ID
|
1164
|
+
:rtype: str
|
1165
|
+
"""
|
1166
|
+
return self._ResourceId
|
1167
|
+
|
1168
|
+
@ResourceId.setter
|
1169
|
+
def ResourceId(self, ResourceId):
|
1170
|
+
self._ResourceId = ResourceId
|
1171
|
+
|
1172
|
+
@property
|
1173
|
+
def ResourceType(self):
|
1174
|
+
"""资源类型
|
1175
|
+
:rtype: str
|
1176
|
+
"""
|
1177
|
+
return self._ResourceType
|
1178
|
+
|
1179
|
+
@ResourceType.setter
|
1180
|
+
def ResourceType(self, ResourceType):
|
1181
|
+
self._ResourceType = ResourceType
|
1182
|
+
|
1183
|
+
@property
|
1184
|
+
def ResourceRegion(self):
|
1185
|
+
"""资源地域
|
1186
|
+
:rtype: str
|
1187
|
+
"""
|
1188
|
+
return self._ResourceRegion
|
1189
|
+
|
1190
|
+
@ResourceRegion.setter
|
1191
|
+
def ResourceRegion(self, ResourceRegion):
|
1192
|
+
self._ResourceRegion = ResourceRegion
|
1193
|
+
|
1194
|
+
|
1195
|
+
def _deserialize(self, params):
|
1196
|
+
self._ResourceId = params.get("ResourceId")
|
1197
|
+
self._ResourceType = params.get("ResourceType")
|
1198
|
+
self._ResourceRegion = params.get("ResourceRegion")
|
1199
|
+
memeber_set = set(params.keys())
|
1200
|
+
for name, value in vars(self).items():
|
1201
|
+
property_name = name[1:]
|
1202
|
+
if property_name in memeber_set:
|
1203
|
+
memeber_set.remove(property_name)
|
1204
|
+
if len(memeber_set) > 0:
|
1205
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1206
|
+
|
1207
|
+
|
1208
|
+
|
1209
|
+
class DescribeDiscoveredResourceResponse(AbstractModel):
|
1210
|
+
"""DescribeDiscoveredResource返回参数结构体
|
1211
|
+
|
1212
|
+
"""
|
1213
|
+
|
1214
|
+
def __init__(self):
|
1215
|
+
r"""
|
1216
|
+
:param _ResourceId: 资源Id
|
1217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1218
|
+
:type ResourceId: str
|
1219
|
+
:param _ResourceType: 资源类型
|
1220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1221
|
+
:type ResourceType: str
|
1222
|
+
:param _ResourceName: 资源名
|
1223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1224
|
+
:type ResourceName: str
|
1225
|
+
:param _ResourceRegion: 资源地域
|
1226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1227
|
+
:type ResourceRegion: str
|
1228
|
+
:param _ResourceZone: 资源可用区
|
1229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1230
|
+
:type ResourceZone: str
|
1231
|
+
:param _Configuration: 资源配置
|
1232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1233
|
+
:type Configuration: str
|
1234
|
+
:param _ResourceCreateTime: 资源创建时间
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1236
|
+
:type ResourceCreateTime: str
|
1237
|
+
:param _Tags: 资源标签
|
1238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1239
|
+
:type Tags: list of Tag
|
1240
|
+
:param _UpdateTime: 资源更新时间
|
1241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1242
|
+
:type UpdateTime: str
|
1243
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1244
|
+
:type RequestId: str
|
1245
|
+
"""
|
1246
|
+
self._ResourceId = None
|
1247
|
+
self._ResourceType = None
|
1248
|
+
self._ResourceName = None
|
1249
|
+
self._ResourceRegion = None
|
1250
|
+
self._ResourceZone = None
|
1251
|
+
self._Configuration = None
|
1252
|
+
self._ResourceCreateTime = None
|
1253
|
+
self._Tags = None
|
1254
|
+
self._UpdateTime = None
|
1255
|
+
self._RequestId = None
|
1256
|
+
|
1257
|
+
@property
|
1258
|
+
def ResourceId(self):
|
1259
|
+
"""资源Id
|
1260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1261
|
+
:rtype: str
|
1262
|
+
"""
|
1263
|
+
return self._ResourceId
|
1264
|
+
|
1265
|
+
@ResourceId.setter
|
1266
|
+
def ResourceId(self, ResourceId):
|
1267
|
+
self._ResourceId = ResourceId
|
1268
|
+
|
1269
|
+
@property
|
1270
|
+
def ResourceType(self):
|
1271
|
+
"""资源类型
|
1272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1273
|
+
:rtype: str
|
1274
|
+
"""
|
1275
|
+
return self._ResourceType
|
1276
|
+
|
1277
|
+
@ResourceType.setter
|
1278
|
+
def ResourceType(self, ResourceType):
|
1279
|
+
self._ResourceType = ResourceType
|
1280
|
+
|
1281
|
+
@property
|
1282
|
+
def ResourceName(self):
|
1283
|
+
"""资源名
|
1284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1285
|
+
:rtype: str
|
1286
|
+
"""
|
1287
|
+
return self._ResourceName
|
1288
|
+
|
1289
|
+
@ResourceName.setter
|
1290
|
+
def ResourceName(self, ResourceName):
|
1291
|
+
self._ResourceName = ResourceName
|
1292
|
+
|
1293
|
+
@property
|
1294
|
+
def ResourceRegion(self):
|
1295
|
+
"""资源地域
|
1296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1297
|
+
:rtype: str
|
1298
|
+
"""
|
1299
|
+
return self._ResourceRegion
|
1300
|
+
|
1301
|
+
@ResourceRegion.setter
|
1302
|
+
def ResourceRegion(self, ResourceRegion):
|
1303
|
+
self._ResourceRegion = ResourceRegion
|
1304
|
+
|
1305
|
+
@property
|
1306
|
+
def ResourceZone(self):
|
1307
|
+
"""资源可用区
|
1308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1309
|
+
:rtype: str
|
1310
|
+
"""
|
1311
|
+
return self._ResourceZone
|
1312
|
+
|
1313
|
+
@ResourceZone.setter
|
1314
|
+
def ResourceZone(self, ResourceZone):
|
1315
|
+
self._ResourceZone = ResourceZone
|
1316
|
+
|
1317
|
+
@property
|
1318
|
+
def Configuration(self):
|
1319
|
+
"""资源配置
|
1320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1321
|
+
:rtype: str
|
1322
|
+
"""
|
1323
|
+
return self._Configuration
|
1324
|
+
|
1325
|
+
@Configuration.setter
|
1326
|
+
def Configuration(self, Configuration):
|
1327
|
+
self._Configuration = Configuration
|
1328
|
+
|
1329
|
+
@property
|
1330
|
+
def ResourceCreateTime(self):
|
1331
|
+
"""资源创建时间
|
1332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1333
|
+
:rtype: str
|
1334
|
+
"""
|
1335
|
+
return self._ResourceCreateTime
|
1336
|
+
|
1337
|
+
@ResourceCreateTime.setter
|
1338
|
+
def ResourceCreateTime(self, ResourceCreateTime):
|
1339
|
+
self._ResourceCreateTime = ResourceCreateTime
|
1340
|
+
|
1341
|
+
@property
|
1342
|
+
def Tags(self):
|
1343
|
+
"""资源标签
|
1344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1345
|
+
:rtype: list of Tag
|
1346
|
+
"""
|
1347
|
+
return self._Tags
|
1348
|
+
|
1349
|
+
@Tags.setter
|
1350
|
+
def Tags(self, Tags):
|
1351
|
+
self._Tags = Tags
|
1352
|
+
|
1353
|
+
@property
|
1354
|
+
def UpdateTime(self):
|
1355
|
+
"""资源更新时间
|
1356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1357
|
+
:rtype: str
|
1358
|
+
"""
|
1359
|
+
return self._UpdateTime
|
1360
|
+
|
1361
|
+
@UpdateTime.setter
|
1362
|
+
def UpdateTime(self, UpdateTime):
|
1363
|
+
self._UpdateTime = UpdateTime
|
1364
|
+
|
1365
|
+
@property
|
1366
|
+
def RequestId(self):
|
1367
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1368
|
+
:rtype: str
|
1369
|
+
"""
|
1370
|
+
return self._RequestId
|
1371
|
+
|
1372
|
+
@RequestId.setter
|
1373
|
+
def RequestId(self, RequestId):
|
1374
|
+
self._RequestId = RequestId
|
1375
|
+
|
1376
|
+
|
1377
|
+
def _deserialize(self, params):
|
1378
|
+
self._ResourceId = params.get("ResourceId")
|
1379
|
+
self._ResourceType = params.get("ResourceType")
|
1380
|
+
self._ResourceName = params.get("ResourceName")
|
1381
|
+
self._ResourceRegion = params.get("ResourceRegion")
|
1382
|
+
self._ResourceZone = params.get("ResourceZone")
|
1383
|
+
self._Configuration = params.get("Configuration")
|
1384
|
+
self._ResourceCreateTime = params.get("ResourceCreateTime")
|
1385
|
+
if params.get("Tags") is not None:
|
1386
|
+
self._Tags = []
|
1387
|
+
for item in params.get("Tags"):
|
1388
|
+
obj = Tag()
|
1389
|
+
obj._deserialize(item)
|
1390
|
+
self._Tags.append(obj)
|
1391
|
+
self._UpdateTime = params.get("UpdateTime")
|
1392
|
+
self._RequestId = params.get("RequestId")
|
1393
|
+
|
1394
|
+
|
1395
|
+
class Evaluation(AbstractModel):
|
1396
|
+
"""自定义规则评估结果
|
1397
|
+
|
1398
|
+
"""
|
1399
|
+
|
1400
|
+
def __init__(self):
|
1401
|
+
r"""
|
1402
|
+
:param _ComplianceResourceId: 已评估资源ID。长度为0~256个字符
|
1403
|
+
:type ComplianceResourceId: str
|
1404
|
+
:param _ComplianceResourceType: 已评估资源类型。
|
1405
|
+
支持:
|
1406
|
+
QCS::CVM::Instance、 QCS::CBS::Disk、QCS::VPC::Vpc、QCS::VPC::Subnet、QCS::VPC::SecurityGroup、 QCS::CAM::User、QCS::CAM::Group、QCS::CAM::Policy、QCS::CAM::Role、QCS::COS::Bucket
|
1407
|
+
:type ComplianceResourceType: str
|
1408
|
+
:param _ComplianceRegion: 已评估资源地域。
|
1409
|
+
长度为0~32个字符
|
1410
|
+
:type ComplianceRegion: str
|
1411
|
+
:param _ComplianceType: 合规类型。取值:
|
1412
|
+
COMPLIANT:合规、
|
1413
|
+
NON_COMPLIANT:不合规
|
1414
|
+
:type ComplianceType: str
|
1415
|
+
:param _Annotation: 不合规资源的补充信息。
|
1416
|
+
:type Annotation: :class:`tencentcloud.config.v20220802.models.Annotation`
|
1417
|
+
"""
|
1418
|
+
self._ComplianceResourceId = None
|
1419
|
+
self._ComplianceResourceType = None
|
1420
|
+
self._ComplianceRegion = None
|
1421
|
+
self._ComplianceType = None
|
1422
|
+
self._Annotation = None
|
919
1423
|
|
920
1424
|
@property
|
921
1425
|
def ComplianceResourceId(self):
|
@@ -1446,6 +1950,192 @@ class ListAggregateConfigRulesResponse(AbstractModel):
|
|
1446
1950
|
self._RequestId = params.get("RequestId")
|
1447
1951
|
|
1448
1952
|
|
1953
|
+
class ListAggregateDiscoveredResourcesRequest(AbstractModel):
|
1954
|
+
"""ListAggregateDiscoveredResources请求参数结构体
|
1955
|
+
|
1956
|
+
"""
|
1957
|
+
|
1958
|
+
def __init__(self):
|
1959
|
+
r"""
|
1960
|
+
:param _MaxResults: 每页显示数量
|
1961
|
+
:type MaxResults: int
|
1962
|
+
:param _AccountGroupId: 账号组ID
|
1963
|
+
:type AccountGroupId: str
|
1964
|
+
:param _Filters: resourceName:资源名 resourceId :资源ID
|
1965
|
+
:type Filters: list of Filter
|
1966
|
+
:param _Tags: 标签
|
1967
|
+
:type Tags: list of Tag
|
1968
|
+
:param _NextToken: 下一页token
|
1969
|
+
:type NextToken: str
|
1970
|
+
:param _OrderType: 排序方式 asc、desc
|
1971
|
+
:type OrderType: str
|
1972
|
+
"""
|
1973
|
+
self._MaxResults = None
|
1974
|
+
self._AccountGroupId = None
|
1975
|
+
self._Filters = None
|
1976
|
+
self._Tags = None
|
1977
|
+
self._NextToken = None
|
1978
|
+
self._OrderType = None
|
1979
|
+
|
1980
|
+
@property
|
1981
|
+
def MaxResults(self):
|
1982
|
+
"""每页显示数量
|
1983
|
+
:rtype: int
|
1984
|
+
"""
|
1985
|
+
return self._MaxResults
|
1986
|
+
|
1987
|
+
@MaxResults.setter
|
1988
|
+
def MaxResults(self, MaxResults):
|
1989
|
+
self._MaxResults = MaxResults
|
1990
|
+
|
1991
|
+
@property
|
1992
|
+
def AccountGroupId(self):
|
1993
|
+
"""账号组ID
|
1994
|
+
:rtype: str
|
1995
|
+
"""
|
1996
|
+
return self._AccountGroupId
|
1997
|
+
|
1998
|
+
@AccountGroupId.setter
|
1999
|
+
def AccountGroupId(self, AccountGroupId):
|
2000
|
+
self._AccountGroupId = AccountGroupId
|
2001
|
+
|
2002
|
+
@property
|
2003
|
+
def Filters(self):
|
2004
|
+
"""resourceName:资源名 resourceId :资源ID
|
2005
|
+
:rtype: list of Filter
|
2006
|
+
"""
|
2007
|
+
return self._Filters
|
2008
|
+
|
2009
|
+
@Filters.setter
|
2010
|
+
def Filters(self, Filters):
|
2011
|
+
self._Filters = Filters
|
2012
|
+
|
2013
|
+
@property
|
2014
|
+
def Tags(self):
|
2015
|
+
"""标签
|
2016
|
+
:rtype: list of Tag
|
2017
|
+
"""
|
2018
|
+
return self._Tags
|
2019
|
+
|
2020
|
+
@Tags.setter
|
2021
|
+
def Tags(self, Tags):
|
2022
|
+
self._Tags = Tags
|
2023
|
+
|
2024
|
+
@property
|
2025
|
+
def NextToken(self):
|
2026
|
+
"""下一页token
|
2027
|
+
:rtype: str
|
2028
|
+
"""
|
2029
|
+
return self._NextToken
|
2030
|
+
|
2031
|
+
@NextToken.setter
|
2032
|
+
def NextToken(self, NextToken):
|
2033
|
+
self._NextToken = NextToken
|
2034
|
+
|
2035
|
+
@property
|
2036
|
+
def OrderType(self):
|
2037
|
+
"""排序方式 asc、desc
|
2038
|
+
:rtype: str
|
2039
|
+
"""
|
2040
|
+
return self._OrderType
|
2041
|
+
|
2042
|
+
@OrderType.setter
|
2043
|
+
def OrderType(self, OrderType):
|
2044
|
+
self._OrderType = OrderType
|
2045
|
+
|
2046
|
+
|
2047
|
+
def _deserialize(self, params):
|
2048
|
+
self._MaxResults = params.get("MaxResults")
|
2049
|
+
self._AccountGroupId = params.get("AccountGroupId")
|
2050
|
+
if params.get("Filters") is not None:
|
2051
|
+
self._Filters = []
|
2052
|
+
for item in params.get("Filters"):
|
2053
|
+
obj = Filter()
|
2054
|
+
obj._deserialize(item)
|
2055
|
+
self._Filters.append(obj)
|
2056
|
+
if params.get("Tags") is not None:
|
2057
|
+
self._Tags = []
|
2058
|
+
for item in params.get("Tags"):
|
2059
|
+
obj = Tag()
|
2060
|
+
obj._deserialize(item)
|
2061
|
+
self._Tags.append(obj)
|
2062
|
+
self._NextToken = params.get("NextToken")
|
2063
|
+
self._OrderType = params.get("OrderType")
|
2064
|
+
memeber_set = set(params.keys())
|
2065
|
+
for name, value in vars(self).items():
|
2066
|
+
property_name = name[1:]
|
2067
|
+
if property_name in memeber_set:
|
2068
|
+
memeber_set.remove(property_name)
|
2069
|
+
if len(memeber_set) > 0:
|
2070
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2071
|
+
|
2072
|
+
|
2073
|
+
|
2074
|
+
class ListAggregateDiscoveredResourcesResponse(AbstractModel):
|
2075
|
+
"""ListAggregateDiscoveredResources返回参数结构体
|
2076
|
+
|
2077
|
+
"""
|
2078
|
+
|
2079
|
+
def __init__(self):
|
2080
|
+
r"""
|
2081
|
+
:param _Items: 详情
|
2082
|
+
:type Items: list of AggregateResourceInfo
|
2083
|
+
:param _NextToken: 下一页
|
2084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2085
|
+
:type NextToken: str
|
2086
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2087
|
+
:type RequestId: str
|
2088
|
+
"""
|
2089
|
+
self._Items = None
|
2090
|
+
self._NextToken = None
|
2091
|
+
self._RequestId = None
|
2092
|
+
|
2093
|
+
@property
|
2094
|
+
def Items(self):
|
2095
|
+
"""详情
|
2096
|
+
:rtype: list of AggregateResourceInfo
|
2097
|
+
"""
|
2098
|
+
return self._Items
|
2099
|
+
|
2100
|
+
@Items.setter
|
2101
|
+
def Items(self, Items):
|
2102
|
+
self._Items = Items
|
2103
|
+
|
2104
|
+
@property
|
2105
|
+
def NextToken(self):
|
2106
|
+
"""下一页
|
2107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2108
|
+
:rtype: str
|
2109
|
+
"""
|
2110
|
+
return self._NextToken
|
2111
|
+
|
2112
|
+
@NextToken.setter
|
2113
|
+
def NextToken(self, NextToken):
|
2114
|
+
self._NextToken = NextToken
|
2115
|
+
|
2116
|
+
@property
|
2117
|
+
def RequestId(self):
|
2118
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2119
|
+
:rtype: str
|
2120
|
+
"""
|
2121
|
+
return self._RequestId
|
2122
|
+
|
2123
|
+
@RequestId.setter
|
2124
|
+
def RequestId(self, RequestId):
|
2125
|
+
self._RequestId = RequestId
|
2126
|
+
|
2127
|
+
|
2128
|
+
def _deserialize(self, params):
|
2129
|
+
if params.get("Items") is not None:
|
2130
|
+
self._Items = []
|
2131
|
+
for item in params.get("Items"):
|
2132
|
+
obj = AggregateResourceInfo()
|
2133
|
+
obj._deserialize(item)
|
2134
|
+
self._Items.append(obj)
|
2135
|
+
self._NextToken = params.get("NextToken")
|
2136
|
+
self._RequestId = params.get("RequestId")
|
2137
|
+
|
2138
|
+
|
1449
2139
|
class ListConfigRulesRequest(AbstractModel):
|
1450
2140
|
"""ListConfigRules请求参数结构体
|
1451
2141
|
|