tencentcloud-sdk-python 3.0.1257__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +237 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +13 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +16 -2
- tencentcloud/cfw/v20190904/cfw_client.py +6 -30
- tencentcloud/cfw/v20190904/models.py +261 -479
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +225 -12
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +201 -48
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +71 -4
- tencentcloud/ess/v20201111/models.py +232 -7
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +364 -18
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +2 -2
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +30 -0
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +1 -1
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +472 -33
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +27 -0
- tencentcloud/teo/v20220901/models.py +1464 -91
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +134 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +99 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +99 -104
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1257.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())
|
@@ -35572,6 +35596,12 @@ class Ipv6Address(AbstractModel):
|
|
35572
35596
|
<li>`DELETING`:删除中</li>
|
35573
35597
|
<li>`AVAILABLE`:可用的</li>
|
35574
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
|
35575
35605
|
"""
|
35576
35606
|
self._Address = None
|
35577
35607
|
self._Primary = None
|
@@ -35579,6 +35609,8 @@ class Ipv6Address(AbstractModel):
|
|
35579
35609
|
self._Description = None
|
35580
35610
|
self._IsWanIpBlocked = None
|
35581
35611
|
self._State = None
|
35612
|
+
self._PublicIpAddress = None
|
35613
|
+
self._AddressType = None
|
35582
35614
|
|
35583
35615
|
@property
|
35584
35616
|
def Address(self):
|
@@ -35628,6 +35660,22 @@ class Ipv6Address(AbstractModel):
|
|
35628
35660
|
def State(self, State):
|
35629
35661
|
self._State = State
|
35630
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
|
+
|
35631
35679
|
|
35632
35680
|
def _deserialize(self, params):
|
35633
35681
|
self._Address = params.get("Address")
|
@@ -35636,6 +35684,8 @@ class Ipv6Address(AbstractModel):
|
|
35636
35684
|
self._Description = params.get("Description")
|
35637
35685
|
self._IsWanIpBlocked = params.get("IsWanIpBlocked")
|
35638
35686
|
self._State = params.get("State")
|
35687
|
+
self._PublicIpAddress = params.get("PublicIpAddress")
|
35688
|
+
self._AddressType = params.get("AddressType")
|
35639
35689
|
memeber_set = set(params.keys())
|
35640
35690
|
for name, value in vars(self).items():
|
35641
35691
|
property_name = name[1:]
|
@@ -36756,6 +36806,76 @@ class ModifyAddressesBandwidthResponse(AbstractModel):
|
|
36756
36806
|
self._RequestId = params.get("RequestId")
|
36757
36807
|
|
36758
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
|
+
|
36759
36879
|
class ModifyAssistantCidrRequest(AbstractModel):
|
36760
36880
|
"""ModifyAssistantCidr请求参数结构体
|
36761
36881
|
|
@@ -42239,7 +42359,7 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
|
|
42239
42359
|
r"""
|
42240
42360
|
:param _IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
|
42241
42361
|
:type IpProtocol: str
|
42242
|
-
:param _PublicIpAddress:
|
42362
|
+
:param _PublicIpAddress: 弹性公网IP。
|
42243
42363
|
:type PublicIpAddress: str
|
42244
42364
|
:param _PublicPort: 公网端口。
|
42245
42365
|
:type PublicPort: int
|
@@ -45670,9 +45790,12 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
45670
45790
|
:type DirectConnectGatewayId: str
|
45671
45791
|
:param _Routes: 需要连通的IDC网段列表
|
45672
45792
|
:type Routes: list of DirectConnectGatewayCcnRoute
|
45793
|
+
:param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
|
45794
|
+
:type AddressType: str
|
45673
45795
|
"""
|
45674
45796
|
self._DirectConnectGatewayId = None
|
45675
45797
|
self._Routes = None
|
45798
|
+
self._AddressType = None
|
45676
45799
|
|
45677
45800
|
@property
|
45678
45801
|
def DirectConnectGatewayId(self):
|
@@ -45690,6 +45813,14 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
45690
45813
|
def Routes(self, Routes):
|
45691
45814
|
self._Routes = Routes
|
45692
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
|
+
|
45693
45824
|
|
45694
45825
|
def _deserialize(self, params):
|
45695
45826
|
self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
@@ -45699,6 +45830,7 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
45699
45830
|
obj = DirectConnectGatewayCcnRoute()
|
45700
45831
|
obj._deserialize(item)
|
45701
45832
|
self._Routes.append(obj)
|
45833
|
+
self._AddressType = params.get("AddressType")
|
45702
45834
|
memeber_set = set(params.keys())
|
45703
45835
|
for name, value in vars(self).items():
|
45704
45836
|
property_name = name[1:]
|
@@ -48619,7 +48751,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
48619
48751
|
:param _Action: ACCEPT 或 DROP。
|
48620
48752
|
注意:此字段可能返回 null,表示取不到有效值。
|
48621
48753
|
:type Action: str
|
48622
|
-
:param _PolicyDescription:
|
48754
|
+
:param _PolicyDescription: 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
|
48623
48755
|
注意:此字段可能返回 null,表示取不到有效值。
|
48624
48756
|
:type PolicyDescription: str
|
48625
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
|
|