tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__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.
Files changed (109) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +249 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +25 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +29 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +6 -30
  20. tencentcloud/cfw/v20190904/models.py +267 -479
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +5 -5
  23. tencentcloud/clb/v20180317/models.py +1 -1
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +225 -12
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  33. tencentcloud/cwp/v20180228/models.py +206 -52
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/dlc/v20210125/models.py +13 -0
  38. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  39. tencentcloud/eb/v20210416/models.py +19 -19
  40. tencentcloud/emr/v20190103/models.py +12 -0
  41. tencentcloud/es/v20180416/errorcodes.py +4 -1
  42. tencentcloud/es/v20180416/es_client.py +92 -0
  43. tencentcloud/es/v20180416/models.py +770 -12
  44. tencentcloud/ess/v20201111/ess_client.py +71 -4
  45. tencentcloud/ess/v20201111/models.py +260 -10
  46. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  47. tencentcloud/essbasic/v20210526/models.py +390 -21
  48. tencentcloud/gaap/v20180529/models.py +40 -3
  49. tencentcloud/hunyuan/v20230901/models.py +12 -0
  50. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  51. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  52. tencentcloud/ioa/v20220601/models.py +516 -46
  53. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  54. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  55. tencentcloud/iotvideo/v20191126/models.py +379 -0
  56. tencentcloud/iss/v20230517/models.py +25 -0
  57. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  58. tencentcloud/live/v20180801/models.py +51 -0
  59. tencentcloud/mongodb/v20190725/models.py +3 -7
  60. tencentcloud/mqtt/v20240516/models.py +4 -4
  61. tencentcloud/ocr/v20181119/models.py +7 -16
  62. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  63. tencentcloud/organization/v20210331/errorcodes.py +31 -1
  64. tencentcloud/organization/v20210331/models.py +674 -0
  65. tencentcloud/organization/v20210331/organization_client.py +138 -0
  66. tencentcloud/partners/v20180321/models.py +71 -0
  67. tencentcloud/partners/v20180321/partners_client.py +23 -0
  68. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  69. tencentcloud/privatedns/v20201028/models.py +858 -4
  70. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  71. tencentcloud/region/v20220627/models.py +0 -1
  72. tencentcloud/scf/v20180416/models.py +889 -8
  73. tencentcloud/scf/v20180416/scf_client.py +115 -0
  74. tencentcloud/smop/v20201203/models.py +17 -17
  75. tencentcloud/ssl/v20191205/models.py +44 -3
  76. tencentcloud/ssm/v20190923/models.py +84 -0
  77. tencentcloud/tat/v20201028/models.py +1 -29
  78. tencentcloud/tcss/v20201101/models.py +815 -33
  79. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  80. tencentcloud/tdmq/v20200217/models.py +7 -7
  81. tencentcloud/tem/v20210701/models.py +202 -198
  82. tencentcloud/teo/v20220901/errorcodes.py +51 -0
  83. tencentcloud/teo/v20220901/models.py +1470 -97
  84. tencentcloud/teo/v20220901/teo_client.py +115 -0
  85. tencentcloud/tke/v20180525/models.py +70 -0
  86. tencentcloud/tke/v20180525/tke_client.py +23 -0
  87. tencentcloud/tms/v20201229/models.py +0 -558
  88. tencentcloud/tms/v20201229/tms_client.py +0 -23
  89. tencentcloud/trp/v20210515/models.py +6 -6
  90. tencentcloud/trtc/v20190722/models.py +353 -4
  91. tencentcloud/tse/v20201207/models.py +94 -0
  92. tencentcloud/tse/v20201207/tse_client.py +23 -0
  93. tencentcloud/vclm/v20240523/models.py +166 -0
  94. tencentcloud/vpc/v20170312/models.py +137 -6
  95. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  96. tencentcloud/waf/v20180125/models.py +99 -0
  97. tencentcloud/waf/v20180125/waf_client.py +23 -0
  98. tencentcloud/wedata/v20210820/models.py +991 -0
  99. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  100. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
  101. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
  102. tencentcloud/cr/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/__init__.py +0 -0
  104. tencentcloud/cr/v20180321/cr_client.py +0 -672
  105. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  106. tencentcloud/cr/v20180321/models.py +0 -4966
  107. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
  108. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
  109. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -801,6 +801,141 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
801
801
  self._RequestId = params.get("RequestId")
802
802
 
803
803
 
804
+ class LogoParam(AbstractModel):
805
+ """logo参数
806
+
807
+ """
808
+
809
+ def __init__(self):
810
+ r"""
811
+ :param _LogoUrl: 水印 Url
812
+ 注意:此字段可能返回 null,表示取不到有效值。
813
+ :type LogoUrl: str
814
+ :param _LogoImage: 水印 Base64,Url 和 Base64 二选一传入,如果都提供以 Url 为准
815
+ 注意:此字段可能返回 null,表示取不到有效值。
816
+ :type LogoImage: str
817
+ :param _LogoRect: 水印图片位于生成结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
818
+ 注意:此字段可能返回 null,表示取不到有效值。
819
+ :type LogoRect: :class:`tencentcloud.vclm.v20240523.models.LogoRect`
820
+ """
821
+ self._LogoUrl = None
822
+ self._LogoImage = None
823
+ self._LogoRect = None
824
+
825
+ @property
826
+ def LogoUrl(self):
827
+ return self._LogoUrl
828
+
829
+ @LogoUrl.setter
830
+ def LogoUrl(self, LogoUrl):
831
+ self._LogoUrl = LogoUrl
832
+
833
+ @property
834
+ def LogoImage(self):
835
+ return self._LogoImage
836
+
837
+ @LogoImage.setter
838
+ def LogoImage(self, LogoImage):
839
+ self._LogoImage = LogoImage
840
+
841
+ @property
842
+ def LogoRect(self):
843
+ return self._LogoRect
844
+
845
+ @LogoRect.setter
846
+ def LogoRect(self, LogoRect):
847
+ self._LogoRect = LogoRect
848
+
849
+
850
+ def _deserialize(self, params):
851
+ self._LogoUrl = params.get("LogoUrl")
852
+ self._LogoImage = params.get("LogoImage")
853
+ if params.get("LogoRect") is not None:
854
+ self._LogoRect = LogoRect()
855
+ self._LogoRect._deserialize(params.get("LogoRect"))
856
+ memeber_set = set(params.keys())
857
+ for name, value in vars(self).items():
858
+ property_name = name[1:]
859
+ if property_name in memeber_set:
860
+ memeber_set.remove(property_name)
861
+ if len(memeber_set) > 0:
862
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
863
+
864
+
865
+
866
+ class LogoRect(AbstractModel):
867
+ """输入框
868
+
869
+ """
870
+
871
+ def __init__(self):
872
+ r"""
873
+ :param _X: 左上角X坐标
874
+ 注意:此字段可能返回 null,表示取不到有效值。
875
+ :type X: int
876
+ :param _Y: 左上角Y坐标
877
+ 注意:此字段可能返回 null,表示取不到有效值。
878
+ :type Y: int
879
+ :param _Width: 方框宽度
880
+ 注意:此字段可能返回 null,表示取不到有效值。
881
+ :type Width: int
882
+ :param _Height: 方框高度
883
+ 注意:此字段可能返回 null,表示取不到有效值。
884
+ :type Height: int
885
+ """
886
+ self._X = None
887
+ self._Y = None
888
+ self._Width = None
889
+ self._Height = None
890
+
891
+ @property
892
+ def X(self):
893
+ return self._X
894
+
895
+ @X.setter
896
+ def X(self, X):
897
+ self._X = X
898
+
899
+ @property
900
+ def Y(self):
901
+ return self._Y
902
+
903
+ @Y.setter
904
+ def Y(self, Y):
905
+ self._Y = Y
906
+
907
+ @property
908
+ def Width(self):
909
+ return self._Width
910
+
911
+ @Width.setter
912
+ def Width(self, Width):
913
+ self._Width = Width
914
+
915
+ @property
916
+ def Height(self):
917
+ return self._Height
918
+
919
+ @Height.setter
920
+ def Height(self, Height):
921
+ self._Height = Height
922
+
923
+
924
+ def _deserialize(self, params):
925
+ self._X = params.get("X")
926
+ self._Y = params.get("Y")
927
+ self._Width = params.get("Width")
928
+ self._Height = params.get("Height")
929
+ memeber_set = set(params.keys())
930
+ for name, value in vars(self).items():
931
+ property_name = name[1:]
932
+ if property_name in memeber_set:
933
+ memeber_set.remove(property_name)
934
+ if len(memeber_set) > 0:
935
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
936
+
937
+
938
+
804
939
  class SubmitImageAnimateJobRequest(AbstractModel):
805
940
  """SubmitImageAnimateJob请求参数结构体
806
941
 
@@ -825,6 +960,15 @@ class SubmitImageAnimateJobRequest(AbstractModel):
825
960
  :param _EnableSegment: 最终视频是否保留原图的背景(该模式对于tuziwu、huajiangwu不生效)
826
961
 
827
962
  :type EnableSegment: bool
963
+ :param _LogoAdd: 为生成视频添加标识的开关,默认为0。
964
+ 1:添加标识。
965
+ 0:不添加标识。
966
+ 其他数值:默认按1处理。
967
+ 建议您使用显著标识来提示,该视频是 AI 生成的视频。
968
+ :type LogoAdd: int
969
+ :param _LogoParam: 标识内容设置。
970
+ 默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
971
+ :type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
828
972
  """
829
973
  self._ImageUrl = None
830
974
  self._ImageBase64 = None
@@ -832,6 +976,8 @@ class SubmitImageAnimateJobRequest(AbstractModel):
832
976
  self._EnableAudio = None
833
977
  self._EnableBodyJoins = None
834
978
  self._EnableSegment = None
979
+ self._LogoAdd = None
980
+ self._LogoParam = None
835
981
 
836
982
  @property
837
983
  def ImageUrl(self):
@@ -881,6 +1027,22 @@ class SubmitImageAnimateJobRequest(AbstractModel):
881
1027
  def EnableSegment(self, EnableSegment):
882
1028
  self._EnableSegment = EnableSegment
883
1029
 
1030
+ @property
1031
+ def LogoAdd(self):
1032
+ return self._LogoAdd
1033
+
1034
+ @LogoAdd.setter
1035
+ def LogoAdd(self, LogoAdd):
1036
+ self._LogoAdd = LogoAdd
1037
+
1038
+ @property
1039
+ def LogoParam(self):
1040
+ return self._LogoParam
1041
+
1042
+ @LogoParam.setter
1043
+ def LogoParam(self, LogoParam):
1044
+ self._LogoParam = LogoParam
1045
+
884
1046
 
885
1047
  def _deserialize(self, params):
886
1048
  self._ImageUrl = params.get("ImageUrl")
@@ -889,6 +1051,10 @@ class SubmitImageAnimateJobRequest(AbstractModel):
889
1051
  self._EnableAudio = params.get("EnableAudio")
890
1052
  self._EnableBodyJoins = params.get("EnableBodyJoins")
891
1053
  self._EnableSegment = params.get("EnableSegment")
1054
+ self._LogoAdd = params.get("LogoAdd")
1055
+ if params.get("LogoParam") is not None:
1056
+ self._LogoParam = LogoParam()
1057
+ self._LogoParam._deserialize(params.get("LogoParam"))
892
1058
  memeber_set = set(params.keys())
893
1059
  for name, value in vars(self).items():
894
1060
  property_name = name[1:]
@@ -14469,9 +14469,12 @@ class DeleteDirectConnectGatewayCcnRoutesRequest(AbstractModel):
14469
14469
  :type DirectConnectGatewayId: str
14470
14470
  :param _RouteIds: 路由ID。形如:ccnr-f49l6u0z。
14471
14471
  :type RouteIds: list of str
14472
+ :param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
14473
+ :type AddressType: str
14472
14474
  """
14473
14475
  self._DirectConnectGatewayId = None
14474
14476
  self._RouteIds = None
14477
+ self._AddressType = None
14475
14478
 
14476
14479
  @property
14477
14480
  def DirectConnectGatewayId(self):
@@ -14489,10 +14492,19 @@ class DeleteDirectConnectGatewayCcnRoutesRequest(AbstractModel):
14489
14492
  def RouteIds(self, RouteIds):
14490
14493
  self._RouteIds = RouteIds
14491
14494
 
14495
+ @property
14496
+ def AddressType(self):
14497
+ return self._AddressType
14498
+
14499
+ @AddressType.setter
14500
+ def AddressType(self, AddressType):
14501
+ self._AddressType = AddressType
14502
+
14492
14503
 
14493
14504
  def _deserialize(self, params):
14494
14505
  self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
14495
14506
  self._RouteIds = params.get("RouteIds")
14507
+ self._AddressType = params.get("AddressType")
14496
14508
  memeber_set = set(params.keys())
14497
14509
  for name, value in vars(self).items():
14498
14510
  property_name = name[1:]
@@ -20156,6 +20168,8 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
20156
20168
  <li>`BGP` - 自动学习。</li>
20157
20169
  <li>`STATIC` - 静态,即用户配置,默认值。</li>
20158
20170
  :type CcnRouteType: str
20171
+ :param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
20172
+ :type AddressType: str
20159
20173
  :param _Offset: 偏移量。
20160
20174
  :type Offset: int
20161
20175
  :param _Limit: 返回数量。
@@ -20163,6 +20177,7 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
20163
20177
  """
20164
20178
  self._DirectConnectGatewayId = None
20165
20179
  self._CcnRouteType = None
20180
+ self._AddressType = None
20166
20181
  self._Offset = None
20167
20182
  self._Limit = None
20168
20183
 
@@ -20182,6 +20197,14 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
20182
20197
  def CcnRouteType(self, CcnRouteType):
20183
20198
  self._CcnRouteType = CcnRouteType
20184
20199
 
20200
+ @property
20201
+ def AddressType(self):
20202
+ return self._AddressType
20203
+
20204
+ @AddressType.setter
20205
+ def AddressType(self, AddressType):
20206
+ self._AddressType = AddressType
20207
+
20185
20208
  @property
20186
20209
  def Offset(self):
20187
20210
  return self._Offset
@@ -20202,6 +20225,7 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
20202
20225
  def _deserialize(self, params):
20203
20226
  self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
20204
20227
  self._CcnRouteType = params.get("CcnRouteType")
20228
+ self._AddressType = params.get("AddressType")
20205
20229
  self._Offset = params.get("Offset")
20206
20230
  self._Limit = params.get("Limit")
20207
20231
  memeber_set = set(params.keys())
@@ -24844,8 +24868,7 @@ class DescribeRoutesRequest(AbstractModel):
24844
24868
 
24845
24869
  def __init__(self):
24846
24870
  r"""
24847
- :param _Filters: 过滤条件,参数不支持同时指定RouteTableIds和Filters。
24848
- <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
24871
+ :param _Filters: <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
24849
24872
  <li>gateway-id - String - (过滤条件)网关ID。</li>
24850
24873
  <li>description - String - (过滤条件)路由描述。</li>
24851
24874
  <li>route-table-id - String - (过滤条件)路由表实例ID。</li>
@@ -35573,6 +35596,12 @@ class Ipv6Address(AbstractModel):
35573
35596
  <li>`DELETING`:删除中</li>
35574
35597
  <li>`AVAILABLE`:可用的</li>
35575
35598
  :type State: str
35599
+ :param _PublicIpAddress: 如果 IPv6地址是 ULA 类型,绑定的公网IP地址。
35600
+ 注意:此字段可能返回 null,表示取不到有效值。
35601
+ :type PublicIpAddress: str
35602
+ :param _AddressType: `IPv6`地址的类型: `GUA`, `OTHER`, `ULA`
35603
+ 注意:此字段可能返回 null,表示取不到有效值。
35604
+ :type AddressType: str
35576
35605
  """
35577
35606
  self._Address = None
35578
35607
  self._Primary = None
@@ -35580,6 +35609,8 @@ class Ipv6Address(AbstractModel):
35580
35609
  self._Description = None
35581
35610
  self._IsWanIpBlocked = None
35582
35611
  self._State = None
35612
+ self._PublicIpAddress = None
35613
+ self._AddressType = None
35583
35614
 
35584
35615
  @property
35585
35616
  def Address(self):
@@ -35629,6 +35660,22 @@ class Ipv6Address(AbstractModel):
35629
35660
  def State(self, State):
35630
35661
  self._State = State
35631
35662
 
35663
+ @property
35664
+ def PublicIpAddress(self):
35665
+ return self._PublicIpAddress
35666
+
35667
+ @PublicIpAddress.setter
35668
+ def PublicIpAddress(self, PublicIpAddress):
35669
+ self._PublicIpAddress = PublicIpAddress
35670
+
35671
+ @property
35672
+ def AddressType(self):
35673
+ return self._AddressType
35674
+
35675
+ @AddressType.setter
35676
+ def AddressType(self, AddressType):
35677
+ self._AddressType = AddressType
35678
+
35632
35679
 
35633
35680
  def _deserialize(self, params):
35634
35681
  self._Address = params.get("Address")
@@ -35637,6 +35684,8 @@ class Ipv6Address(AbstractModel):
35637
35684
  self._Description = params.get("Description")
35638
35685
  self._IsWanIpBlocked = params.get("IsWanIpBlocked")
35639
35686
  self._State = params.get("State")
35687
+ self._PublicIpAddress = params.get("PublicIpAddress")
35688
+ self._AddressType = params.get("AddressType")
35640
35689
  memeber_set = set(params.keys())
35641
35690
  for name, value in vars(self).items():
35642
35691
  property_name = name[1:]
@@ -36757,6 +36806,76 @@ class ModifyAddressesBandwidthResponse(AbstractModel):
36757
36806
  self._RequestId = params.get("RequestId")
36758
36807
 
36759
36808
 
36809
+ class ModifyAddressesRenewFlagRequest(AbstractModel):
36810
+ """ModifyAddressesRenewFlag请求参数结构体
36811
+
36812
+ """
36813
+
36814
+ def __init__(self):
36815
+ r"""
36816
+ :param _AddressIds: EIP唯一标识ID列表,形如'eip-xxxx'
36817
+ :type AddressIds: list of str
36818
+ :param _RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 示例值:NOTIFY_AND_AUTO_RENEW
36819
+ :type RenewFlag: str
36820
+ """
36821
+ self._AddressIds = None
36822
+ self._RenewFlag = None
36823
+
36824
+ @property
36825
+ def AddressIds(self):
36826
+ return self._AddressIds
36827
+
36828
+ @AddressIds.setter
36829
+ def AddressIds(self, AddressIds):
36830
+ self._AddressIds = AddressIds
36831
+
36832
+ @property
36833
+ def RenewFlag(self):
36834
+ return self._RenewFlag
36835
+
36836
+ @RenewFlag.setter
36837
+ def RenewFlag(self, RenewFlag):
36838
+ self._RenewFlag = RenewFlag
36839
+
36840
+
36841
+ def _deserialize(self, params):
36842
+ self._AddressIds = params.get("AddressIds")
36843
+ self._RenewFlag = params.get("RenewFlag")
36844
+ memeber_set = set(params.keys())
36845
+ for name, value in vars(self).items():
36846
+ property_name = name[1:]
36847
+ if property_name in memeber_set:
36848
+ memeber_set.remove(property_name)
36849
+ if len(memeber_set) > 0:
36850
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
36851
+
36852
+
36853
+
36854
+ class ModifyAddressesRenewFlagResponse(AbstractModel):
36855
+ """ModifyAddressesRenewFlag返回参数结构体
36856
+
36857
+ """
36858
+
36859
+ def __init__(self):
36860
+ r"""
36861
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
36862
+ :type RequestId: str
36863
+ """
36864
+ self._RequestId = None
36865
+
36866
+ @property
36867
+ def RequestId(self):
36868
+ return self._RequestId
36869
+
36870
+ @RequestId.setter
36871
+ def RequestId(self, RequestId):
36872
+ self._RequestId = RequestId
36873
+
36874
+
36875
+ def _deserialize(self, params):
36876
+ self._RequestId = params.get("RequestId")
36877
+
36878
+
36760
36879
  class ModifyAssistantCidrRequest(AbstractModel):
36761
36880
  """ModifyAssistantCidr请求参数结构体
36762
36881
 
@@ -42240,7 +42359,7 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
42240
42359
  r"""
42241
42360
  :param _IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
42242
42361
  :type IpProtocol: str
42243
- :param _PublicIpAddress: 弹性IP。
42362
+ :param _PublicIpAddress: 弹性公网IP。
42244
42363
  :type PublicIpAddress: str
42245
42364
  :param _PublicPort: 公网端口。
42246
42365
  :type PublicPort: int
@@ -45671,9 +45790,12 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
45671
45790
  :type DirectConnectGatewayId: str
45672
45791
  :param _Routes: 需要连通的IDC网段列表
45673
45792
  :type Routes: list of DirectConnectGatewayCcnRoute
45793
+ :param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
45794
+ :type AddressType: str
45674
45795
  """
45675
45796
  self._DirectConnectGatewayId = None
45676
45797
  self._Routes = None
45798
+ self._AddressType = None
45677
45799
 
45678
45800
  @property
45679
45801
  def DirectConnectGatewayId(self):
@@ -45691,6 +45813,14 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
45691
45813
  def Routes(self, Routes):
45692
45814
  self._Routes = Routes
45693
45815
 
45816
+ @property
45817
+ def AddressType(self):
45818
+ return self._AddressType
45819
+
45820
+ @AddressType.setter
45821
+ def AddressType(self, AddressType):
45822
+ self._AddressType = AddressType
45823
+
45694
45824
 
45695
45825
  def _deserialize(self, params):
45696
45826
  self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
@@ -45700,6 +45830,7 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
45700
45830
  obj = DirectConnectGatewayCcnRoute()
45701
45831
  obj._deserialize(item)
45702
45832
  self._Routes.append(obj)
45833
+ self._AddressType = params.get("AddressType")
45703
45834
  memeber_set = set(params.keys())
45704
45835
  for name, value in vars(self).items():
45705
45836
  property_name = name[1:]
@@ -48605,10 +48736,10 @@ class SecurityGroupPolicy(AbstractModel):
48605
48736
  :param _ServiceTemplate: 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。
48606
48737
  注意:此字段可能返回 null,表示取不到有效值。
48607
48738
  :type ServiceTemplate: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
48608
- :param _CidrBlock: 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0
48739
+ :param _CidrBlock: 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IP地址。
48609
48740
  注意:此字段可能返回 null,表示取不到有效值。
48610
48741
  :type CidrBlock: str
48611
- :param _Ipv6CidrBlock: 网段或IPv6(互斥)
48742
+ :param _Ipv6CidrBlock: 网段或IPv6(互斥)。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IPv6地址。
48612
48743
  注意:此字段可能返回 null,表示取不到有效值。
48613
48744
  :type Ipv6CidrBlock: str
48614
48745
  :param _SecurityGroupId: 安全组实例ID,例如:sg-ohuuioma。
@@ -48620,7 +48751,7 @@ class SecurityGroupPolicy(AbstractModel):
48620
48751
  :param _Action: ACCEPT 或 DROP。
48621
48752
  注意:此字段可能返回 null,表示取不到有效值。
48622
48753
  :type Action: str
48623
- :param _PolicyDescription: 安全组规则描述。
48754
+ :param _PolicyDescription: 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
48624
48755
  注意:此字段可能返回 null,表示取不到有效值。
48625
48756
  :type PolicyDescription: str
48626
48757
  :param _ModifyTime: 安全组最近修改时间。
@@ -6632,6 +6632,29 @@ class VpcClient(AbstractClient):
6632
6632
  raise TencentCloudSDKException(type(e).__name__, str(e))
6633
6633
 
6634
6634
 
6635
+ def ModifyAddressesRenewFlag(self, request):
6636
+ """调整EIP续费标识
6637
+
6638
+ :param request: Request instance for ModifyAddressesRenewFlag.
6639
+ :type request: :class:`tencentcloud.vpc.v20170312.models.ModifyAddressesRenewFlagRequest`
6640
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.ModifyAddressesRenewFlagResponse`
6641
+
6642
+ """
6643
+ try:
6644
+ params = request._serialize()
6645
+ headers = request.headers
6646
+ body = self.call("ModifyAddressesRenewFlag", params, headers=headers)
6647
+ response = json.loads(body)
6648
+ model = models.ModifyAddressesRenewFlagResponse()
6649
+ model._deserialize(response["Response"])
6650
+ return model
6651
+ except Exception as e:
6652
+ if isinstance(e, TencentCloudSDKException):
6653
+ raise
6654
+ else:
6655
+ raise TencentCloudSDKException(type(e).__name__, str(e))
6656
+
6657
+
6635
6658
  def ModifyAssistantCidr(self, request):
6636
6659
  """本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。
6637
6660
 
@@ -26382,6 +26382,105 @@ class ModifyUserSignatureRuleResponse(AbstractModel):
26382
26382
  self._RequestId = params.get("RequestId")
26383
26383
 
26384
26384
 
26385
+ class ModifyUserSignatureRuleV2Request(AbstractModel):
26386
+ """ModifyUserSignatureRuleV2请求参数结构体
26387
+
26388
+ """
26389
+
26390
+ def __init__(self):
26391
+ r"""
26392
+ :param _Domain: 域名
26393
+ :type Domain: str
26394
+ :param _MainClassID: 主类id
26395
+ :type MainClassID: str
26396
+ :param _Status: 主类开关0=关闭,1=开启,2=只告警
26397
+ :type Status: int
26398
+ :param _RuleID: 下发修改的规则列表
26399
+ :type RuleID: list of ReqUserRule
26400
+ """
26401
+ self._Domain = None
26402
+ self._MainClassID = None
26403
+ self._Status = None
26404
+ self._RuleID = None
26405
+
26406
+ @property
26407
+ def Domain(self):
26408
+ return self._Domain
26409
+
26410
+ @Domain.setter
26411
+ def Domain(self, Domain):
26412
+ self._Domain = Domain
26413
+
26414
+ @property
26415
+ def MainClassID(self):
26416
+ return self._MainClassID
26417
+
26418
+ @MainClassID.setter
26419
+ def MainClassID(self, MainClassID):
26420
+ self._MainClassID = MainClassID
26421
+
26422
+ @property
26423
+ def Status(self):
26424
+ return self._Status
26425
+
26426
+ @Status.setter
26427
+ def Status(self, Status):
26428
+ self._Status = Status
26429
+
26430
+ @property
26431
+ def RuleID(self):
26432
+ return self._RuleID
26433
+
26434
+ @RuleID.setter
26435
+ def RuleID(self, RuleID):
26436
+ self._RuleID = RuleID
26437
+
26438
+
26439
+ def _deserialize(self, params):
26440
+ self._Domain = params.get("Domain")
26441
+ self._MainClassID = params.get("MainClassID")
26442
+ self._Status = params.get("Status")
26443
+ if params.get("RuleID") is not None:
26444
+ self._RuleID = []
26445
+ for item in params.get("RuleID"):
26446
+ obj = ReqUserRule()
26447
+ obj._deserialize(item)
26448
+ self._RuleID.append(obj)
26449
+ memeber_set = set(params.keys())
26450
+ for name, value in vars(self).items():
26451
+ property_name = name[1:]
26452
+ if property_name in memeber_set:
26453
+ memeber_set.remove(property_name)
26454
+ if len(memeber_set) > 0:
26455
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26456
+
26457
+
26458
+
26459
+ class ModifyUserSignatureRuleV2Response(AbstractModel):
26460
+ """ModifyUserSignatureRuleV2返回参数结构体
26461
+
26462
+ """
26463
+
26464
+ def __init__(self):
26465
+ r"""
26466
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26467
+ :type RequestId: str
26468
+ """
26469
+ self._RequestId = None
26470
+
26471
+ @property
26472
+ def RequestId(self):
26473
+ return self._RequestId
26474
+
26475
+ @RequestId.setter
26476
+ def RequestId(self, RequestId):
26477
+ self._RequestId = RequestId
26478
+
26479
+
26480
+ def _deserialize(self, params):
26481
+ self._RequestId = params.get("RequestId")
26482
+
26483
+
26385
26484
  class ModifyWafAutoDenyRulesRequest(AbstractModel):
26386
26485
  """ModifyWafAutoDenyRules请求参数结构体
26387
26486
 
@@ -3046,6 +3046,29 @@ class WafClient(AbstractClient):
3046
3046
  raise TencentCloudSDKException(type(e).__name__, str(e))
3047
3047
 
3048
3048
 
3049
+ def ModifyUserSignatureRuleV2(self, request):
3050
+ """修改用户防护规则,开启关闭具体的某条规则
3051
+
3052
+ :param request: Request instance for ModifyUserSignatureRuleV2.
3053
+ :type request: :class:`tencentcloud.waf.v20180125.models.ModifyUserSignatureRuleV2Request`
3054
+ :rtype: :class:`tencentcloud.waf.v20180125.models.ModifyUserSignatureRuleV2Response`
3055
+
3056
+ """
3057
+ try:
3058
+ params = request._serialize()
3059
+ headers = request.headers
3060
+ body = self.call("ModifyUserSignatureRuleV2", params, headers=headers)
3061
+ response = json.loads(body)
3062
+ model = models.ModifyUserSignatureRuleV2Response()
3063
+ model._deserialize(response["Response"])
3064
+ return model
3065
+ except Exception as e:
3066
+ if isinstance(e, TencentCloudSDKException):
3067
+ raise
3068
+ else:
3069
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3070
+
3071
+
3049
3072
  def ModifyWafAutoDenyRules(self, request):
3050
3073
  """修改ip惩罚规则
3051
3074