tencentcloud-sdk-python-cfw 3.1.201__py2.py3-none-any.whl → 3.1.216__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.201'
17
+ __version__ = '3.1.216'
@@ -806,19 +806,19 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
806
806
 
807
807
  def __init__(self):
808
808
  r"""
809
- :param _Data: 待创建的规则数组,不能为空。每条规则必须提供访问源、访问目的、动作、非空描述和字符串 OrderIndex。未使用 ServiceTemplateId 时必须提供 Protocol 和 Port;使用 ServiceTemplateId 时二者可同时省略或留空,如填写非空值则必须为 Protocol=ANY、Port=-1/-1。Scope 可省略,默认使用 SG。
809
+ :param _Data: <p>创建规则数据</p>
810
810
  :type Data: list of SecurityGroupRule
811
811
  :param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
812
812
  :type CfwAiAgentOperationSource: str
813
- :param _ClientToken: 保留字段,不提供幂等保证;重复请求仍可能重复创建规则,建议省略。
813
+ :param _ClientToken: <p>保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。</p>
814
814
  :type ClientToken: str
815
- :param _From: 添加方式。batch_import 表示非覆盖批量导入;batch_import_cover 表示覆盖导入,会删除当前账号的全部可操作企业安全组规则后再添加 Data,添加失败时已删除的规则不会恢复,风险极高。两种批量导入都会使用 Data.Enable。其它值按普通新增处理。
815
+ :param _From: <p>来源 默认空 覆盖导入是 batch_import_cover</p>
816
816
  :type From: str
817
- :param _IsDelay: 延迟生效标记。1 表示将规则保留为待生效状态,0 表示按账号当前发布设置处理;省略等同于 0。账号停止自动发布时,规则仍保持待生效。
817
+ :param _IsDelay: <p>(IsDelay为老版参数,新版无需输入)是否延迟下发,1则延迟下发,否则立即下发</p>
818
818
  :type IsDelay: int
819
- :param _IsUseId: 规则 ID 复用标记。1 表示使用每条规则的 Data.Id,此时 Data.Id 传十进制数字字符串;其它值由系统分配 ID。重复 ID 会导致创建失败。
819
+ :param _IsUseId: <p>是否复用rule id,1为是,默认不需要</p>
820
820
  :type IsUseId: int
821
- :param _Type: 添加位置类型,可省略,默认为 0:0 添加到末尾,1 添加到最前,2 从指定顺序插入。Type=0 或 1 按 Data 数组顺序确定最终顺序;Type=2 使用首条 Data.OrderIndex 作为插入位置,超过当前最大顺序时添加到末尾。
821
+ :param _Type: <p>添加类型,0:添加到最后,1:添加到最前;2:中间插入;默认0添加到最后</p>
822
822
  :type Type: int
823
823
  """
824
824
  self._Data = None
@@ -831,7 +831,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
831
831
 
832
832
  @property
833
833
  def Data(self):
834
- r"""待创建的规则数组,不能为空。每条规则必须提供访问源、访问目的、动作、非空描述和字符串 OrderIndex。未使用 ServiceTemplateId 时必须提供 Protocol 和 Port;使用 ServiceTemplateId 时二者可同时省略或留空,如填写非空值则必须为 Protocol=ANY、Port=-1/-1。Scope 可省略,默认使用 SG。
834
+ r"""<p>创建规则数据</p>
835
835
  :rtype: list of SecurityGroupRule
836
836
  """
837
837
  return self._Data
@@ -853,7 +853,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
853
853
 
854
854
  @property
855
855
  def ClientToken(self):
856
- r"""保留字段,不提供幂等保证;重复请求仍可能重复创建规则,建议省略。
856
+ r"""<p>保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。</p>
857
857
  :rtype: str
858
858
  """
859
859
  return self._ClientToken
@@ -864,7 +864,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
864
864
 
865
865
  @property
866
866
  def From(self):
867
- r"""添加方式。batch_import 表示非覆盖批量导入;batch_import_cover 表示覆盖导入,会删除当前账号的全部可操作企业安全组规则后再添加 Data,添加失败时已删除的规则不会恢复,风险极高。两种批量导入都会使用 Data.Enable。其它值按普通新增处理。
867
+ r"""<p>来源 默认空 覆盖导入是 batch_import_cover</p>
868
868
  :rtype: str
869
869
  """
870
870
  return self._From
@@ -875,7 +875,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
875
875
 
876
876
  @property
877
877
  def IsDelay(self):
878
- r"""延迟生效标记。1 表示将规则保留为待生效状态,0 表示按账号当前发布设置处理;省略等同于 0。账号停止自动发布时,规则仍保持待生效。
878
+ r"""<p>(IsDelay为老版参数,新版无需输入)是否延迟下发,1则延迟下发,否则立即下发</p>
879
879
  :rtype: int
880
880
  """
881
881
  return self._IsDelay
@@ -886,7 +886,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
886
886
 
887
887
  @property
888
888
  def IsUseId(self):
889
- r"""规则 ID 复用标记。1 表示使用每条规则的 Data.Id,此时 Data.Id 传十进制数字字符串;其它值由系统分配 ID。重复 ID 会导致创建失败。
889
+ r"""<p>是否复用rule id,1为是,默认不需要</p>
890
890
  :rtype: int
891
891
  """
892
892
  return self._IsUseId
@@ -897,7 +897,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
897
897
 
898
898
  @property
899
899
  def Type(self):
900
- r"""添加位置类型,可省略,默认为 0:0 添加到末尾,1 添加到最前,2 从指定顺序插入。Type=0 或 1 按 Data 数组顺序确定最终顺序;Type=2 使用首条 Data.OrderIndex 作为插入位置,超过当前最大顺序时添加到末尾。
900
+ r"""<p>添加类型,0:添加到最后,1:添加到最前;2:中间插入;默认0添加到最后</p>
901
901
  :rtype: int
902
902
  """
903
903
  return self._Type
@@ -937,9 +937,9 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
937
937
 
938
938
  def __init__(self):
939
939
  r"""
940
- :param _Rules: 新增规则的摘要列表。
940
+ :param _Rules: <p>添加成功的规则详情</p>
941
941
  :type Rules: list of SecurityGroupSimplifyRule
942
- :param _Status: 处理状态:0 表示成功。
942
+ :param _Status: <p>状态值,0:添加成功,非0:添加失败</p>
943
943
  :type Status: int
944
944
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
945
945
  :type RequestId: str
@@ -950,7 +950,7 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
950
950
 
951
951
  @property
952
952
  def Rules(self):
953
- r"""新增规则的摘要列表。
953
+ r"""<p>添加成功的规则详情</p>
954
954
  :rtype: list of SecurityGroupSimplifyRule
955
955
  """
956
956
  return self._Rules
@@ -961,7 +961,7 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
961
961
 
962
962
  @property
963
963
  def Status(self):
964
- r"""处理状态:0 表示成功。
964
+ r"""<p>状态值,0:添加成功,非0:添加失败</p>
965
965
  :rtype: int
966
966
  """
967
967
  return self._Status
@@ -5129,36 +5129,38 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5129
5129
 
5130
5130
  def __init__(self):
5131
5131
  r"""
5132
- :param _AlertDirection: <p>必填的告警方向:0 出向,1 入向,3 内网。用于 HandleIpList 中 IP 目标的处置方向;其它目标也必须传上述有效值。从 DescribeCfwAlerts 复制方向时,将 alerts[].direction 的 outbound、inbound、lateral 分别转换为 JSON 整数 0、1、3。</p>
5132
+ :param _AlertDirection: <p>当前日志方向: 0 出向 1 入向</p>
5133
5133
  :type AlertDirection: int
5134
- :param _HandleDirection: <p>必填的处置生效方向。支持空字符串、0(互联网出向)、1(互联网入向)、0,1/1,0(互联网双向)、3(内网访问)、5(内网访问源)、6(内网访问目的)及 5,6/6,5。空字符串表示按告警原方向处置;同一 IP 的已有规则方向会与本次方向合并。</p>
5134
+ :param _HandleDirection: <p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
5135
5135
  :type HandleDirection: str
5136
- :param _HandleTime: <p>处置有效期:1 表示 1 天,7 表示 7 天,-2 表示永久。</p>
5136
+ :param _HandleTime: <p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
5137
5137
  :type HandleTime: int
5138
- :param _HandleType: <p>必填的处置类型:1 按 HandleIdList 或 HandleEventIdList 封禁,2 按 HandleIdList、HandleEventIdList 或 BlockDomain 加白,3 按 HandleIpList 加白 IP,4 按 HandleIpList 封禁 IP,5 将 HandleIdList 或 HandleEventIdList 对应的安全基线告警地址加入指定方向的安全基线列表,8 按 HandleEventIdList 关联资产或 AssetIdList 新增隔离。五类目标至少提供一类;HandleType=8 未能从事件解析出资产时必须提供 AssetIdList。IsolateType 和 WhiteIpList 仅用于类型 8。</p>
5138
+ :param _HandleType: <p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
5139
5139
  :type HandleType: int
5140
- :param _AssetIdList: <p>资产隔离目标列表,可省略;仅 HandleType=8 使用。直接按资产隔离时,调用 DescribeCfwAssets,传 AssetType=host 和目标 InstanceId,解析返回结果;仅在唯一 assets[].instance_id 与目标完全相等时将其写入本字段,不使用资产名称。</p>
5140
+ :param _AssetIdList: <p>隔离资产列表</p>
5141
5141
  :type AssetIdList: list of str
5142
- :param _BlockDomain: <p>域名加白目标,传合法域名;HandleType 必须为 2,并同时传 TargetEventIdList。</p>
5142
+ :param _BlockDomain: <p>封禁域名-保留字段</p>
5143
5143
  :type BlockDomain: str
5144
5144
  :param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
5145
5145
  :type CfwAiAgentOperationSource: str
5146
- :param _HandleComment: <p>可选处置说明,最多 50 个 Unicode 字符。</p>
5146
+ :param _HandleComment: <p>处置描述</p>
5147
5147
  :type HandleComment: str
5148
- :param _HandleEventIdList: <p>告警事件 ID 列表,可省略。通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。事件对应的告警日志会与 HandleIdList 合并后参与处置。</p>
5148
+ :param _HandleEventIdList: <p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
5149
5149
  :type HandleEventIdList: list of str
5150
- :param _HandleIdList: <p>告警日志 ID 列表,可省略;可与 HandleEventIdList 同时使用。调用 DescribeLogs,传 Index=rule_threatinfo 和目标日志的查询条件,解析返回结果,仅使用目标记录的 log_id。告警事件 ID 使用 HandleEventIdList。</p>
5150
+ :param _HandleIdList: <p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
5151
5151
  :type HandleIdList: list of str
5152
- :param _HandleIpList: <p>IP 处置目标列表,每项必须是有效 IP 地址。HandleType=3 表示加白,HandleType=4 表示封禁;可使用 DescribeCfwAlerts 返回的 alerts[].src_ip_list 或 alerts[].dst_ip_list。</p>
5152
+ :param _HandleIpList: <p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
5153
5153
  :type HandleIpList: list of str
5154
- :param _IgnoreReason: <p>处置原因,可省略:0 未指定原因,1 重复,2 误报,3 紧急加白;主要用于加白记录。</p>
5154
+ :param _IgnoreReason: <p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
5155
5155
  :type IgnoreReason: int
5156
- :param _IsolateType: <p>隔离范围数组,可省略:1 互联网入站,2 互联网出站,4 内网访问。仅 HandleType=8 使用;组合多个范围时传入对应值且不要重复,重复值会改变最终隔离范围。</p>
5156
+ :param _IsolateType: <p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
5157
5157
  :type IsolateType: list of int
5158
- :param _TargetEventIdList: <p>处置关联的来源事件 ID 列表,仅用于 HandleIpList 或 BlockDomain。BlockDomain 处置时必填,HandleIpList 处置时可省略;通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。</p>
5158
+ :param _TargetEventIdList: <p>处置HandleIpList,属于的告警事件ID</p>
5159
5159
  :type TargetEventIdList: list of str
5160
- :param _WhiteIpList: <p>隔离后仍允许通信的 IPv4 地址列表,仅 HandleType=8 使用。可省略或传空数组;非空时每项必须是有效 IPv4 地址。</p>
5160
+ :param _WhiteIpList: <p>加白IP列表 隔离时放通的ip列表</p>
5161
5161
  :type WhiteIpList: list of str
5162
+ :param _ExcludeIdList: <p>排除列表</p>
5163
+ :type ExcludeIdList: list of str
5162
5164
  """
5163
5165
  self._AlertDirection = None
5164
5166
  self._HandleDirection = None
@@ -5175,10 +5177,11 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5175
5177
  self._IsolateType = None
5176
5178
  self._TargetEventIdList = None
5177
5179
  self._WhiteIpList = None
5180
+ self._ExcludeIdList = None
5178
5181
 
5179
5182
  @property
5180
5183
  def AlertDirection(self):
5181
- r"""<p>必填的告警方向:0 出向,1 入向,3 内网。用于 HandleIpList 中 IP 目标的处置方向;其它目标也必须传上述有效值。从 DescribeCfwAlerts 复制方向时,将 alerts[].direction 的 outbound、inbound、lateral 分别转换为 JSON 整数 0、1、3。</p>
5184
+ r"""<p>当前日志方向: 0 出向 1 入向</p>
5182
5185
  :rtype: int
5183
5186
  """
5184
5187
  return self._AlertDirection
@@ -5189,7 +5192,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5189
5192
 
5190
5193
  @property
5191
5194
  def HandleDirection(self):
5192
- r"""<p>必填的处置生效方向。支持空字符串、0(互联网出向)、1(互联网入向)、0,1/1,0(互联网双向)、3(内网访问)、5(内网访问源)、6(内网访问目的)及 5,6/6,5。空字符串表示按告警原方向处置;同一 IP 的已有规则方向会与本次方向合并。</p>
5195
+ r"""<p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
5193
5196
  :rtype: str
5194
5197
  """
5195
5198
  return self._HandleDirection
@@ -5200,7 +5203,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5200
5203
 
5201
5204
  @property
5202
5205
  def HandleTime(self):
5203
- r"""<p>处置有效期:1 表示 1 天,7 表示 7 天,-2 表示永久。</p>
5206
+ r"""<p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
5204
5207
  :rtype: int
5205
5208
  """
5206
5209
  return self._HandleTime
@@ -5211,7 +5214,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5211
5214
 
5212
5215
  @property
5213
5216
  def HandleType(self):
5214
- r"""<p>必填的处置类型:1 按 HandleIdList 或 HandleEventIdList 封禁,2 按 HandleIdList、HandleEventIdList 或 BlockDomain 加白,3 按 HandleIpList 加白 IP,4 按 HandleIpList 封禁 IP,5 将 HandleIdList 或 HandleEventIdList 对应的安全基线告警地址加入指定方向的安全基线列表,8 按 HandleEventIdList 关联资产或 AssetIdList 新增隔离。五类目标至少提供一类;HandleType=8 未能从事件解析出资产时必须提供 AssetIdList。IsolateType 和 WhiteIpList 仅用于类型 8。</p>
5217
+ r"""<p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
5215
5218
  :rtype: int
5216
5219
  """
5217
5220
  return self._HandleType
@@ -5222,7 +5225,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5222
5225
 
5223
5226
  @property
5224
5227
  def AssetIdList(self):
5225
- r"""<p>资产隔离目标列表,可省略;仅 HandleType=8 使用。直接按资产隔离时,调用 DescribeCfwAssets,传 AssetType=host 和目标 InstanceId,解析返回结果;仅在唯一 assets[].instance_id 与目标完全相等时将其写入本字段,不使用资产名称。</p>
5228
+ r"""<p>隔离资产列表</p>
5226
5229
  :rtype: list of str
5227
5230
  """
5228
5231
  return self._AssetIdList
@@ -5233,7 +5236,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5233
5236
 
5234
5237
  @property
5235
5238
  def BlockDomain(self):
5236
- r"""<p>域名加白目标,传合法域名;HandleType 必须为 2,并同时传 TargetEventIdList。</p>
5239
+ r"""<p>封禁域名-保留字段</p>
5237
5240
  :rtype: str
5238
5241
  """
5239
5242
  return self._BlockDomain
@@ -5255,7 +5258,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5255
5258
 
5256
5259
  @property
5257
5260
  def HandleComment(self):
5258
- r"""<p>可选处置说明,最多 50 个 Unicode 字符。</p>
5261
+ r"""<p>处置描述</p>
5259
5262
  :rtype: str
5260
5263
  """
5261
5264
  return self._HandleComment
@@ -5266,7 +5269,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5266
5269
 
5267
5270
  @property
5268
5271
  def HandleEventIdList(self):
5269
- r"""<p>告警事件 ID 列表,可省略。通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。事件对应的告警日志会与 HandleIdList 合并后参与处置。</p>
5272
+ r"""<p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
5270
5273
  :rtype: list of str
5271
5274
  """
5272
5275
  return self._HandleEventIdList
@@ -5277,7 +5280,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5277
5280
 
5278
5281
  @property
5279
5282
  def HandleIdList(self):
5280
- r"""<p>告警日志 ID 列表,可省略;可与 HandleEventIdList 同时使用。调用 DescribeLogs,传 Index=rule_threatinfo 和目标日志的查询条件,解析返回结果,仅使用目标记录的 log_id。告警事件 ID 使用 HandleEventIdList。</p>
5283
+ r"""<p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
5281
5284
  :rtype: list of str
5282
5285
  """
5283
5286
  return self._HandleIdList
@@ -5288,7 +5291,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5288
5291
 
5289
5292
  @property
5290
5293
  def HandleIpList(self):
5291
- r"""<p>IP 处置目标列表,每项必须是有效 IP 地址。HandleType=3 表示加白,HandleType=4 表示封禁;可使用 DescribeCfwAlerts 返回的 alerts[].src_ip_list 或 alerts[].dst_ip_list。</p>
5294
+ r"""<p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
5292
5295
  :rtype: list of str
5293
5296
  """
5294
5297
  return self._HandleIpList
@@ -5299,7 +5302,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5299
5302
 
5300
5303
  @property
5301
5304
  def IgnoreReason(self):
5302
- r"""<p>处置原因,可省略:0 未指定原因,1 重复,2 误报,3 紧急加白;主要用于加白记录。</p>
5305
+ r"""<p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
5303
5306
  :rtype: int
5304
5307
  """
5305
5308
  return self._IgnoreReason
@@ -5310,7 +5313,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5310
5313
 
5311
5314
  @property
5312
5315
  def IsolateType(self):
5313
- r"""<p>隔离范围数组,可省略:1 互联网入站,2 互联网出站,4 内网访问。仅 HandleType=8 使用;组合多个范围时传入对应值且不要重复,重复值会改变最终隔离范围。</p>
5316
+ r"""<p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
5314
5317
  :rtype: list of int
5315
5318
  """
5316
5319
  return self._IsolateType
@@ -5321,7 +5324,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5321
5324
 
5322
5325
  @property
5323
5326
  def TargetEventIdList(self):
5324
- r"""<p>处置关联的来源事件 ID 列表,仅用于 HandleIpList 或 BlockDomain。BlockDomain 处置时必填,HandleIpList 处置时可省略;通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。</p>
5327
+ r"""<p>处置HandleIpList,属于的告警事件ID</p>
5325
5328
  :rtype: list of str
5326
5329
  """
5327
5330
  return self._TargetEventIdList
@@ -5332,7 +5335,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5332
5335
 
5333
5336
  @property
5334
5337
  def WhiteIpList(self):
5335
- r"""<p>隔离后仍允许通信的 IPv4 地址列表,仅 HandleType=8 使用。可省略或传空数组;非空时每项必须是有效 IPv4 地址。</p>
5338
+ r"""<p>加白IP列表 隔离时放通的ip列表</p>
5336
5339
  :rtype: list of str
5337
5340
  """
5338
5341
  return self._WhiteIpList
@@ -5341,6 +5344,17 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5341
5344
  def WhiteIpList(self, WhiteIpList):
5342
5345
  self._WhiteIpList = WhiteIpList
5343
5346
 
5347
+ @property
5348
+ def ExcludeIdList(self):
5349
+ r"""<p>排除列表</p>
5350
+ :rtype: list of str
5351
+ """
5352
+ return self._ExcludeIdList
5353
+
5354
+ @ExcludeIdList.setter
5355
+ def ExcludeIdList(self, ExcludeIdList):
5356
+ self._ExcludeIdList = ExcludeIdList
5357
+
5344
5358
 
5345
5359
  def _deserialize(self, params):
5346
5360
  self._AlertDirection = params.get("AlertDirection")
@@ -5358,6 +5372,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
5358
5372
  self._IsolateType = params.get("IsolateType")
5359
5373
  self._TargetEventIdList = params.get("TargetEventIdList")
5360
5374
  self._WhiteIpList = params.get("WhiteIpList")
5375
+ self._ExcludeIdList = params.get("ExcludeIdList")
5361
5376
  memeber_set = set(params.keys())
5362
5377
  for name, value in vars(self).items():
5363
5378
  property_name = name[1:]
@@ -5375,11 +5390,11 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
5375
5390
 
5376
5391
  def __init__(self):
5377
5392
  r"""
5378
- :param _ReturnCode: 请求返回码,0 表示已进入异步处理;处理进度见 Status。
5393
+ :param _ReturnCode: <p>返回状态码:<br>0 成功<br>非0 失败</p>
5379
5394
  :type ReturnCode: int
5380
- :param _ReturnMsg: 与 ReturnCode 对应的结果信息,成功时为 success。
5395
+ :param _ReturnMsg: <p>返回信息:<br>success 成功<br>其他</p>
5381
5396
  :type ReturnMsg: str
5382
- :param _Status: 异步处理状态:1 表示处理中,使用完全相同的请求参数继续查询;修改参数会发起新的操作。0 表示处理结束,处置结果通过对应查询接口获取。
5397
+ :param _Status: <p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
5383
5398
  :type Status: int
5384
5399
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5385
5400
  :type RequestId: str
@@ -5391,7 +5406,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
5391
5406
 
5392
5407
  @property
5393
5408
  def ReturnCode(self):
5394
- r"""请求返回码,0 表示已进入异步处理;处理进度见 Status。
5409
+ r"""<p>返回状态码:<br>0 成功<br>非0 失败</p>
5395
5410
  :rtype: int
5396
5411
  """
5397
5412
  return self._ReturnCode
@@ -5402,7 +5417,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
5402
5417
 
5403
5418
  @property
5404
5419
  def ReturnMsg(self):
5405
- r"""与 ReturnCode 对应的结果信息,成功时为 success。
5420
+ r"""<p>返回信息:<br>success 成功<br>其他</p>
5406
5421
  :rtype: str
5407
5422
  """
5408
5423
  return self._ReturnMsg
@@ -5413,7 +5428,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
5413
5428
 
5414
5429
  @property
5415
5430
  def Status(self):
5416
- r"""异步处理状态:1 表示处理中,使用完全相同的请求参数继续查询;修改参数会发起新的操作。0 表示处理结束,处置结果通过对应查询接口获取。
5431
+ r"""<p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
5417
5432
  :rtype: int
5418
5433
  """
5419
5434
  return self._Status
@@ -30323,22 +30338,17 @@ class ModifyEnterpriseSecurityDispatchStatusRequest(AbstractModel):
30323
30338
 
30324
30339
  def __init__(self):
30325
30340
  r"""
30326
- :param _Status: 0:打开立即下发开关;
30327
-
30328
- 1:关闭立即下发开关;
30329
-
30330
- 2:关闭立即下发开关情况下,触发开始下发
30341
+ :param _Status: <p>0:打开立即下发开关;</p><p>1:关闭立即下发开关;</p><p>2:关闭立即下发开关情况下,触发开始下发</p>
30331
30342
  :type Status: int
30343
+ :param _BindFallbackOnce: <p>开启自动下发时,注明本次修改是否为空绑资产绑定兜底安全组</p>
30344
+ :type BindFallbackOnce: int
30332
30345
  """
30333
30346
  self._Status = None
30347
+ self._BindFallbackOnce = None
30334
30348
 
30335
30349
  @property
30336
30350
  def Status(self):
30337
- r"""0:打开立即下发开关;
30338
-
30339
- 1:关闭立即下发开关;
30340
-
30341
- 2:关闭立即下发开关情况下,触发开始下发
30351
+ r"""<p>0:打开立即下发开关;</p><p>1:关闭立即下发开关;</p><p>2:关闭立即下发开关情况下,触发开始下发</p>
30342
30352
  :rtype: int
30343
30353
  """
30344
30354
  return self._Status
@@ -30347,9 +30357,21 @@ class ModifyEnterpriseSecurityDispatchStatusRequest(AbstractModel):
30347
30357
  def Status(self, Status):
30348
30358
  self._Status = Status
30349
30359
 
30360
+ @property
30361
+ def BindFallbackOnce(self):
30362
+ r"""<p>开启自动下发时,注明本次修改是否为空绑资产绑定兜底安全组</p>
30363
+ :rtype: int
30364
+ """
30365
+ return self._BindFallbackOnce
30366
+
30367
+ @BindFallbackOnce.setter
30368
+ def BindFallbackOnce(self, BindFallbackOnce):
30369
+ self._BindFallbackOnce = BindFallbackOnce
30370
+
30350
30371
 
30351
30372
  def _deserialize(self, params):
30352
30373
  self._Status = params.get("Status")
30374
+ self._BindFallbackOnce = params.get("BindFallbackOnce")
30353
30375
  memeber_set = set(params.keys())
30354
30376
  for name, value in vars(self).items():
30355
30377
  property_name = name[1:]
@@ -30367,7 +30389,7 @@ class ModifyEnterpriseSecurityDispatchStatusResponse(AbstractModel):
30367
30389
 
30368
30390
  def __init__(self):
30369
30391
  r"""
30370
- :param _Status: 0: 修改成功, 其他: 修改失败
30392
+ :param _Status: <p>0: 修改成功, 其他: 修改失败</p>
30371
30393
  :type Status: int
30372
30394
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30373
30395
  :type RequestId: str
@@ -30377,7 +30399,7 @@ class ModifyEnterpriseSecurityDispatchStatusResponse(AbstractModel):
30377
30399
 
30378
30400
  @property
30379
30401
  def Status(self):
30380
- r"""0: 修改成功, 其他: 修改失败
30402
+ r"""<p>0: 修改成功, 其他: 修改失败</p>
30381
30403
  :rtype: int
30382
30404
  """
30383
30405
  return self._Status
@@ -30410,15 +30432,15 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
30410
30432
 
30411
30433
  def __init__(self):
30412
30434
  r"""
30413
- :param _ModifyType: 修改类型,仅接受 0、1、2。0:用 Data 完整替换 RuleUuid 指定规则的可写内容;1:修改 RuleUuid 指定规则的启停状态;2:修改当前账号全部可操作规则的启停状态。
30435
+ :param _ModifyType: <p>修改类型,0:修改规则内容;1:修改单条规则开关状态;2:修改所有规则开关状态</p>
30414
30436
  :type ModifyType: int
30415
- :param _RuleUuid: 规则数值 ID。ModifyType=0 或 1 时,调用 DescribeCfwRules,传 RuleType=enterprise_sg、RuleId=<数值 RuleUuid>、ExpandNames=false,并使用返回的 rules[].uuid;ModifyType=2 时传 0。
30437
+ :param _RuleUuid: <p>规则的uuid,可通过查询规则列表获取</p>
30416
30438
  :type RuleUuid: int
30417
30439
  :param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
30418
30440
  :type CfwAiAgentOperationSource: str
30419
- :param _Data: ModifyType=0 时必填的完整规则内容对象,不是局部更新。调用 DescribeCfwRules,传 RuleType=enterprise_sg、RuleId=<数值 RuleUuid>、ExpandNames=false 获取原规则:src_content、dst_content 分别写入 SourceContent、DestContent;src_type 和 dst_type 的 0、1/2/3/4/5/6/16/24/25、7、8、9/10、100 分别对应 net、instance、template、tag、region、resourcegroup,DestType 的 20 对应 dnsparse;未列出的数值类型不能转换。再调用 DescribeEnterpriseSecurityGroupRule,使用同一 RuleUuid 获取 OrderIndex、Protocol、Port、RuleAction、Description、Scope 和 ServiceTemplateId。缺失字段按空值处理,仅 Scope 省略时保留原值。ModifyType=1 或 2 时不传 Data。
30441
+ :param _Data: <p>编辑后的企业安全组规则数据;修改规则状态不用填该字段</p>
30420
30442
  :type Data: :class:`tencentcloud.cfw.v20190904.models.SecurityGroupRule`
30421
- :param _Enable: 规则状态,JSON 整数:0 表示关闭,1 表示开启。ModifyType=1 时修改 RuleUuid 指定规则,ModifyType=2 时修改当前账号的全部可操作规则;这两种模式下应显式填写。ModifyType=0 时忽略该字段。
30443
+ :param _Enable: <p>0是关闭,1是开启</p>
30422
30444
  :type Enable: int
30423
30445
  """
30424
30446
  self._ModifyType = None
@@ -30429,7 +30451,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
30429
30451
 
30430
30452
  @property
30431
30453
  def ModifyType(self):
30432
- r"""修改类型,仅接受 0、1、2。0:用 Data 完整替换 RuleUuid 指定规则的可写内容;1:修改 RuleUuid 指定规则的启停状态;2:修改当前账号全部可操作规则的启停状态。
30454
+ r"""<p>修改类型,0:修改规则内容;1:修改单条规则开关状态;2:修改所有规则开关状态</p>
30433
30455
  :rtype: int
30434
30456
  """
30435
30457
  return self._ModifyType
@@ -30440,7 +30462,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
30440
30462
 
30441
30463
  @property
30442
30464
  def RuleUuid(self):
30443
- r"""规则数值 ID。ModifyType=0 或 1 时,调用 DescribeCfwRules,传 RuleType=enterprise_sg、RuleId=<数值 RuleUuid>、ExpandNames=false,并使用返回的 rules[].uuid;ModifyType=2 时传 0。
30465
+ r"""<p>规则的uuid,可通过查询规则列表获取</p>
30444
30466
  :rtype: int
30445
30467
  """
30446
30468
  return self._RuleUuid
@@ -30462,7 +30484,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
30462
30484
 
30463
30485
  @property
30464
30486
  def Data(self):
30465
- r"""ModifyType=0 时必填的完整规则内容对象,不是局部更新。调用 DescribeCfwRules,传 RuleType=enterprise_sg、RuleId=<数值 RuleUuid>、ExpandNames=false 获取原规则:src_content、dst_content 分别写入 SourceContent、DestContent;src_type 和 dst_type 的 0、1/2/3/4/5/6/16/24/25、7、8、9/10、100 分别对应 net、instance、template、tag、region、resourcegroup,DestType 的 20 对应 dnsparse;未列出的数值类型不能转换。再调用 DescribeEnterpriseSecurityGroupRule,使用同一 RuleUuid 获取 OrderIndex、Protocol、Port、RuleAction、Description、Scope 和 ServiceTemplateId。缺失字段按空值处理,仅 Scope 省略时保留原值。ModifyType=1 或 2 时不传 Data。
30487
+ r"""<p>编辑后的企业安全组规则数据;修改规则状态不用填该字段</p>
30466
30488
  :rtype: :class:`tencentcloud.cfw.v20190904.models.SecurityGroupRule`
30467
30489
  """
30468
30490
  return self._Data
@@ -30473,7 +30495,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
30473
30495
 
30474
30496
  @property
30475
30497
  def Enable(self):
30476
- r"""规则状态,JSON 整数:0 表示关闭,1 表示开启。ModifyType=1 时修改 RuleUuid 指定规则,ModifyType=2 时修改当前账号的全部可操作规则;这两种模式下应显式填写。ModifyType=0 时忽略该字段。
30498
+ r"""<p>0是关闭,1是开启</p>
30477
30499
  :rtype: int
30478
30500
  """
30479
30501
  return self._Enable
@@ -30508,9 +30530,9 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
30508
30530
 
30509
30531
  def __init__(self):
30510
30532
  r"""
30511
- :param _NewRuleUuid: ModifyType=0/1 返回规则 ID;ModifyType=2 回显请求中的 RuleUuid。
30533
+ :param _NewRuleUuid: <p>编辑后新生成规则的Id</p>
30512
30534
  :type NewRuleUuid: int
30513
- :param _Status: 处理状态:0 表示成功。
30535
+ :param _Status: <p>状态值,0:编辑成功,非0:编辑失败</p>
30514
30536
  :type Status: int
30515
30537
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30516
30538
  :type RequestId: str
@@ -30521,7 +30543,7 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
30521
30543
 
30522
30544
  @property
30523
30545
  def NewRuleUuid(self):
30524
- r"""ModifyType=0/1 返回规则 ID;ModifyType=2 回显请求中的 RuleUuid。
30546
+ r"""<p>编辑后新生成规则的Id</p>
30525
30547
  :rtype: int
30526
30548
  """
30527
30549
  return self._NewRuleUuid
@@ -30532,7 +30554,7 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
30532
30554
 
30533
30555
  @property
30534
30556
  def Status(self):
30535
- r"""处理状态:0 表示成功。
30557
+ r"""<p>状态值,0:编辑成功,非0:编辑失败</p>
30536
30558
  :rtype: int
30537
30559
  """
30538
30560
  return self._Status
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.201
3
+ Version: 3.1.216
4
4
  Summary: Tencent Cloud Cfw SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.201
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.216
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=Ol9T5N-Tu_-YhRRn99msjgYTUzKOWnPB88u1K4kyF-M,630
1
+ tencentcloud/__init__.py,sha256=H9mc7Ur8-pPFe5qO0JhCA9WvQnVP4A5JbfUvcEK3gHY,630
2
2
  tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cfw/v20190904/cfw_client.py,sha256=W3odQczJkr9sjABPcCM7HqSpPkIKNVWbaiMK7Xp_7FY,160140
5
5
  tencentcloud/cfw/v20190904/cfw_client_async.py,sha256=4rmhdBSXjzCNiCXhILY8ldqfkTUkQEedMd3wvfBxo3M,109037
6
6
  tencentcloud/cfw/v20190904/errorcodes.py,sha256=stHSiv13FWhtpW2Kc-M8RMKWIgd6cLODnrtucdRYUl0,5035
7
- tencentcloud/cfw/v20190904/models.py,sha256=YJ80vFbHchoWlzoiTv_M0i6gxDYbGC9__lgr3Hm-BcU,1454343
8
- tencentcloud_sdk_python_cfw-3.1.201.dist-info/METADATA,sha256=1vmnUpJw4nrhUCQGkf3u5DATHPtfWMPB3q2fkrv2WJs,1497
9
- tencentcloud_sdk_python_cfw-3.1.201.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_cfw-3.1.201.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cfw-3.1.201.dist-info/RECORD,,
7
+ tencentcloud/cfw/v20190904/models.py,sha256=YFaLhZCqcb0vFFS_SK8QxBnQ-pwYylAvWkurgwolDp4,1446589
8
+ tencentcloud_sdk_python_cfw-3.1.216.dist-info/METADATA,sha256=268wkMb49_rj3Tj0ft3RGR4Rexm5daS2XuJPmMb_OzE,1497
9
+ tencentcloud_sdk_python_cfw-3.1.216.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_cfw-3.1.216.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cfw-3.1.216.dist-info/RECORD,,