tencentcloud-sdk-python 3.0.1061__py2.py3-none-any.whl → 3.0.1075__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +5 -5
- tencentcloud/antiddos/v20200309/models.py +27 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +3 -3
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +506 -0
- tencentcloud/car/v20220110/car_client.py +2 -2
- tencentcloud/cat/v20180409/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +4 -4
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/cdc/v20201214/cdc_client.py +2 -2
- tencentcloud/cdc/v20201214/errorcodes.py +1 -1
- tencentcloud/cdc/v20201214/models.py +134 -4
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +365 -0
- tencentcloud/cdwdoris/v20211228/models.py +5 -1
- tencentcloud/cfs/v20190719/models.py +12 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- tencentcloud/cfw/v20190904/models.py +123 -102
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +6 -6
- tencentcloud/cloudaudit/v20190319/errorcodes.py +6 -3
- tencentcloud/cloudaudit/v20190319/models.py +30 -2
- tencentcloud/common/credential.py +14 -4
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +70 -32
- tencentcloud/cynosdb/v20190107/models.py +188 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/dbbrain/v20191016/models.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/dts/v20211206/dts_client.py +511 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/dts/v20211206/models.py +6919 -2997
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/ess/v20201111/ess_client.py +132 -21
- tencentcloud/ess/v20201111/models.py +495 -67
- tencentcloud/essbasic/v20210526/essbasic_client.py +126 -39
- tencentcloud/essbasic/v20210526/models.py +501 -237
- tencentcloud/facefusion/v20181201/errorcodes.py +3 -0
- tencentcloud/faceid/v20180301/errorcodes.py +1 -1
- tencentcloud/faceid/v20180301/models.py +26 -2
- tencentcloud/hai/v20230812/errorcodes.py +18 -0
- tencentcloud/hai/v20230812/models.py +81 -3
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +195 -1
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +20 -8
- tencentcloud/ivld/v20210903/models.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +149 -0
- tencentcloud/monitor/v20180724/models.py +1118 -97
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +60 -1
- tencentcloud/mrs/v20200910/errorcodes.py +6 -0
- tencentcloud/mrs/v20200910/models.py +161 -1
- tencentcloud/mrs/v20200910/mrs_client.py +46 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +229 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +41 -1
- tencentcloud/omics/v20221128/models.py +92 -25
- tencentcloud/rum/v20210622/models.py +0 -504
- tencentcloud/rum/v20210622/rum_client.py +0 -138
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/models.py +13 -1
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +5 -5
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +6 -6
- tencentcloud/ssm/v20190923/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcb/v20180608/models.py +12 -3
- tencentcloud/tcm/v20210413/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +1735 -2
- tencentcloud/tcss/v20201101/tcss_client.py +92 -0
- tencentcloud/tdid/v20210519/errorcodes.py +143 -2
- tencentcloud/tdid/v20210519/models.py +1424 -788
- tencentcloud/tdid/v20210519/tdid_client.py +201 -112
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +261 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/teo/v20220901/errorcodes.py +13 -1
- tencentcloud/teo/v20220901/models.py +24 -22
- tencentcloud/tione/v20211111/errorcodes.py +12 -0
- tencentcloud/tione/v20211111/models.py +190 -32
- tencentcloud/tiw/v20190919/models.py +117 -10
- tencentcloud/tms/v20201229/models.py +562 -4
- tencentcloud/tms/v20201229/tms_client.py +23 -0
- tencentcloud/trp/v20210515/models.py +39 -1
- tencentcloud/trp/v20210515/trp_client.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +6 -0
- tencentcloud/trtc/v20190722/models.py +34 -5
- tencentcloud/trtc/v20190722/trtc_client.py +2 -0
- tencentcloud/tse/v20201207/models.py +512 -1
- tencentcloud/tse/v20201207/tse_client.py +115 -0
- tencentcloud/tsf/v20180326/models.py +216 -5
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +1018 -128
- tencentcloud/vod/v20180717/vod_client.py +165 -3
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +24 -0
- tencentcloud/wedata/v20210820/models.py +1353 -0
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/RECORD +114 -114
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/top_level.txt +0 -0
|
@@ -2807,12 +2807,15 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
2807
2807
|
:type Offset: int
|
|
2808
2808
|
:param _Limit: Limit 页面大小
|
|
2809
2809
|
:type Limit: int
|
|
2810
|
+
:param _CreationToken: 用户自定义名称
|
|
2811
|
+
:type CreationToken: str
|
|
2810
2812
|
"""
|
|
2811
2813
|
self._FileSystemId = None
|
|
2812
2814
|
self._VpcId = None
|
|
2813
2815
|
self._SubnetId = None
|
|
2814
2816
|
self._Offset = None
|
|
2815
2817
|
self._Limit = None
|
|
2818
|
+
self._CreationToken = None
|
|
2816
2819
|
|
|
2817
2820
|
@property
|
|
2818
2821
|
def FileSystemId(self):
|
|
@@ -2854,6 +2857,14 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
2854
2857
|
def Limit(self, Limit):
|
|
2855
2858
|
self._Limit = Limit
|
|
2856
2859
|
|
|
2860
|
+
@property
|
|
2861
|
+
def CreationToken(self):
|
|
2862
|
+
return self._CreationToken
|
|
2863
|
+
|
|
2864
|
+
@CreationToken.setter
|
|
2865
|
+
def CreationToken(self, CreationToken):
|
|
2866
|
+
self._CreationToken = CreationToken
|
|
2867
|
+
|
|
2857
2868
|
|
|
2858
2869
|
def _deserialize(self, params):
|
|
2859
2870
|
self._FileSystemId = params.get("FileSystemId")
|
|
@@ -2861,6 +2872,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
2861
2872
|
self._SubnetId = params.get("SubnetId")
|
|
2862
2873
|
self._Offset = params.get("Offset")
|
|
2863
2874
|
self._Limit = params.get("Limit")
|
|
2875
|
+
self._CreationToken = params.get("CreationToken")
|
|
2864
2876
|
memeber_set = set(params.keys())
|
|
2865
2877
|
for name, value in vars(self).items():
|
|
2866
2878
|
property_name = name[1:]
|
|
@@ -2077,31 +2077,6 @@ class CfwClient(AbstractClient):
|
|
|
2077
2077
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2078
2078
|
|
|
2079
2079
|
|
|
2080
|
-
def ModifyPublicIPSwitchStatus(self, request):
|
|
2081
|
-
"""已上新接口,支持串行
|
|
2082
|
-
|
|
2083
|
-
单个修改互联网边界防火墙开关
|
|
2084
|
-
|
|
2085
|
-
:param request: Request instance for ModifyPublicIPSwitchStatus.
|
|
2086
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyPublicIPSwitchStatusRequest`
|
|
2087
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyPublicIPSwitchStatusResponse`
|
|
2088
|
-
|
|
2089
|
-
"""
|
|
2090
|
-
try:
|
|
2091
|
-
params = request._serialize()
|
|
2092
|
-
headers = request.headers
|
|
2093
|
-
body = self.call("ModifyPublicIPSwitchStatus", params, headers=headers)
|
|
2094
|
-
response = json.loads(body)
|
|
2095
|
-
model = models.ModifyPublicIPSwitchStatusResponse()
|
|
2096
|
-
model._deserialize(response["Response"])
|
|
2097
|
-
return model
|
|
2098
|
-
except Exception as e:
|
|
2099
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2100
|
-
raise
|
|
2101
|
-
else:
|
|
2102
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
2080
|
def ModifyResourceGroup(self, request):
|
|
2106
2081
|
"""ModifyResourceGroup-资产中心资产组信息修改
|
|
2107
2082
|
|
|
@@ -7649,6 +7649,8 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
|
|
|
7649
7649
|
r"""
|
|
7650
7650
|
:param _Total: 总条数
|
|
7651
7651
|
:type Total: int
|
|
7652
|
+
:param _Data: 规则详情
|
|
7653
|
+
:type Data: list of IdsWhiteInfo
|
|
7652
7654
|
:param _ReturnCode: 返回状态码 0 成功 非0不成功
|
|
7653
7655
|
:type ReturnCode: int
|
|
7654
7656
|
:param _ReturnMsg: 返回信息 success 成功 其他 不成功
|
|
@@ -7657,6 +7659,7 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
|
|
|
7657
7659
|
:type RequestId: str
|
|
7658
7660
|
"""
|
|
7659
7661
|
self._Total = None
|
|
7662
|
+
self._Data = None
|
|
7660
7663
|
self._ReturnCode = None
|
|
7661
7664
|
self._ReturnMsg = None
|
|
7662
7665
|
self._RequestId = None
|
|
@@ -7669,6 +7672,14 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
|
|
|
7669
7672
|
def Total(self, Total):
|
|
7670
7673
|
self._Total = Total
|
|
7671
7674
|
|
|
7675
|
+
@property
|
|
7676
|
+
def Data(self):
|
|
7677
|
+
return self._Data
|
|
7678
|
+
|
|
7679
|
+
@Data.setter
|
|
7680
|
+
def Data(self, Data):
|
|
7681
|
+
self._Data = Data
|
|
7682
|
+
|
|
7672
7683
|
@property
|
|
7673
7684
|
def ReturnCode(self):
|
|
7674
7685
|
return self._ReturnCode
|
|
@@ -7696,6 +7707,12 @@ class DescribeIdsWhiteRuleResponse(AbstractModel):
|
|
|
7696
7707
|
|
|
7697
7708
|
def _deserialize(self, params):
|
|
7698
7709
|
self._Total = params.get("Total")
|
|
7710
|
+
if params.get("Data") is not None:
|
|
7711
|
+
self._Data = []
|
|
7712
|
+
for item in params.get("Data"):
|
|
7713
|
+
obj = IdsWhiteInfo()
|
|
7714
|
+
obj._deserialize(item)
|
|
7715
|
+
self._Data.append(obj)
|
|
7699
7716
|
self._ReturnCode = params.get("ReturnCode")
|
|
7700
7717
|
self._ReturnMsg = params.get("ReturnMsg")
|
|
7701
7718
|
self._RequestId = params.get("RequestId")
|
|
@@ -11521,6 +11538,105 @@ class IPDefendStatus(AbstractModel):
|
|
|
11521
11538
|
|
|
11522
11539
|
|
|
11523
11540
|
|
|
11541
|
+
class IdsWhiteInfo(AbstractModel):
|
|
11542
|
+
"""入侵防御规则白名单详情
|
|
11543
|
+
|
|
11544
|
+
"""
|
|
11545
|
+
|
|
11546
|
+
def __init__(self):
|
|
11547
|
+
r"""
|
|
11548
|
+
:param _Id: 白名单唯一ID
|
|
11549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11550
|
+
:type Id: int
|
|
11551
|
+
:param _SrcIp: 源IP
|
|
11552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11553
|
+
:type SrcIp: str
|
|
11554
|
+
:param _DstIp: 目的IP
|
|
11555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11556
|
+
:type DstIp: str
|
|
11557
|
+
:param _WhiteRuleType: 规则类型
|
|
11558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11559
|
+
:type WhiteRuleType: str
|
|
11560
|
+
:param _FwType: 白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
|
|
11561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11562
|
+
:type FwType: int
|
|
11563
|
+
:param _RuleId: 入侵防御规则ID
|
|
11564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11565
|
+
:type RuleId: str
|
|
11566
|
+
"""
|
|
11567
|
+
self._Id = None
|
|
11568
|
+
self._SrcIp = None
|
|
11569
|
+
self._DstIp = None
|
|
11570
|
+
self._WhiteRuleType = None
|
|
11571
|
+
self._FwType = None
|
|
11572
|
+
self._RuleId = None
|
|
11573
|
+
|
|
11574
|
+
@property
|
|
11575
|
+
def Id(self):
|
|
11576
|
+
return self._Id
|
|
11577
|
+
|
|
11578
|
+
@Id.setter
|
|
11579
|
+
def Id(self, Id):
|
|
11580
|
+
self._Id = Id
|
|
11581
|
+
|
|
11582
|
+
@property
|
|
11583
|
+
def SrcIp(self):
|
|
11584
|
+
return self._SrcIp
|
|
11585
|
+
|
|
11586
|
+
@SrcIp.setter
|
|
11587
|
+
def SrcIp(self, SrcIp):
|
|
11588
|
+
self._SrcIp = SrcIp
|
|
11589
|
+
|
|
11590
|
+
@property
|
|
11591
|
+
def DstIp(self):
|
|
11592
|
+
return self._DstIp
|
|
11593
|
+
|
|
11594
|
+
@DstIp.setter
|
|
11595
|
+
def DstIp(self, DstIp):
|
|
11596
|
+
self._DstIp = DstIp
|
|
11597
|
+
|
|
11598
|
+
@property
|
|
11599
|
+
def WhiteRuleType(self):
|
|
11600
|
+
return self._WhiteRuleType
|
|
11601
|
+
|
|
11602
|
+
@WhiteRuleType.setter
|
|
11603
|
+
def WhiteRuleType(self, WhiteRuleType):
|
|
11604
|
+
self._WhiteRuleType = WhiteRuleType
|
|
11605
|
+
|
|
11606
|
+
@property
|
|
11607
|
+
def FwType(self):
|
|
11608
|
+
return self._FwType
|
|
11609
|
+
|
|
11610
|
+
@FwType.setter
|
|
11611
|
+
def FwType(self, FwType):
|
|
11612
|
+
self._FwType = FwType
|
|
11613
|
+
|
|
11614
|
+
@property
|
|
11615
|
+
def RuleId(self):
|
|
11616
|
+
return self._RuleId
|
|
11617
|
+
|
|
11618
|
+
@RuleId.setter
|
|
11619
|
+
def RuleId(self, RuleId):
|
|
11620
|
+
self._RuleId = RuleId
|
|
11621
|
+
|
|
11622
|
+
|
|
11623
|
+
def _deserialize(self, params):
|
|
11624
|
+
self._Id = params.get("Id")
|
|
11625
|
+
self._SrcIp = params.get("SrcIp")
|
|
11626
|
+
self._DstIp = params.get("DstIp")
|
|
11627
|
+
self._WhiteRuleType = params.get("WhiteRuleType")
|
|
11628
|
+
self._FwType = params.get("FwType")
|
|
11629
|
+
self._RuleId = params.get("RuleId")
|
|
11630
|
+
memeber_set = set(params.keys())
|
|
11631
|
+
for name, value in vars(self).items():
|
|
11632
|
+
property_name = name[1:]
|
|
11633
|
+
if property_name in memeber_set:
|
|
11634
|
+
memeber_set.remove(property_name)
|
|
11635
|
+
if len(memeber_set) > 0:
|
|
11636
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11637
|
+
|
|
11638
|
+
|
|
11639
|
+
|
|
11524
11640
|
class InstanceInfo(AbstractModel):
|
|
11525
11641
|
"""// InstanceInfo 实例详情结果
|
|
11526
11642
|
type InstanceInfo struct {
|
|
@@ -14128,101 +14244,6 @@ class ModifyNatSequenceRulesResponse(AbstractModel):
|
|
|
14128
14244
|
self._RequestId = params.get("RequestId")
|
|
14129
14245
|
|
|
14130
14246
|
|
|
14131
|
-
class ModifyPublicIPSwitchStatusRequest(AbstractModel):
|
|
14132
|
-
"""ModifyPublicIPSwitchStatus请求参数结构体
|
|
14133
|
-
|
|
14134
|
-
"""
|
|
14135
|
-
|
|
14136
|
-
def __init__(self):
|
|
14137
|
-
r"""
|
|
14138
|
-
:param _FireWallPublicIP: 公网IP
|
|
14139
|
-
:type FireWallPublicIP: str
|
|
14140
|
-
:param _Status: 状态值,0: 关闭 ,1:开启
|
|
14141
|
-
:type Status: int
|
|
14142
|
-
"""
|
|
14143
|
-
self._FireWallPublicIP = None
|
|
14144
|
-
self._Status = None
|
|
14145
|
-
|
|
14146
|
-
@property
|
|
14147
|
-
def FireWallPublicIP(self):
|
|
14148
|
-
return self._FireWallPublicIP
|
|
14149
|
-
|
|
14150
|
-
@FireWallPublicIP.setter
|
|
14151
|
-
def FireWallPublicIP(self, FireWallPublicIP):
|
|
14152
|
-
self._FireWallPublicIP = FireWallPublicIP
|
|
14153
|
-
|
|
14154
|
-
@property
|
|
14155
|
-
def Status(self):
|
|
14156
|
-
return self._Status
|
|
14157
|
-
|
|
14158
|
-
@Status.setter
|
|
14159
|
-
def Status(self, Status):
|
|
14160
|
-
self._Status = Status
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
def _deserialize(self, params):
|
|
14164
|
-
self._FireWallPublicIP = params.get("FireWallPublicIP")
|
|
14165
|
-
self._Status = params.get("Status")
|
|
14166
|
-
memeber_set = set(params.keys())
|
|
14167
|
-
for name, value in vars(self).items():
|
|
14168
|
-
property_name = name[1:]
|
|
14169
|
-
if property_name in memeber_set:
|
|
14170
|
-
memeber_set.remove(property_name)
|
|
14171
|
-
if len(memeber_set) > 0:
|
|
14172
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
class ModifyPublicIPSwitchStatusResponse(AbstractModel):
|
|
14177
|
-
"""ModifyPublicIPSwitchStatus返回参数结构体
|
|
14178
|
-
|
|
14179
|
-
"""
|
|
14180
|
-
|
|
14181
|
-
def __init__(self):
|
|
14182
|
-
r"""
|
|
14183
|
-
:param _ReturnMsg: 接口返回信息
|
|
14184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
14185
|
-
:type ReturnMsg: str
|
|
14186
|
-
:param _ReturnCode: 接口返回错误码,0请求成功 非0失败
|
|
14187
|
-
:type ReturnCode: int
|
|
14188
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
14189
|
-
:type RequestId: str
|
|
14190
|
-
"""
|
|
14191
|
-
self._ReturnMsg = None
|
|
14192
|
-
self._ReturnCode = None
|
|
14193
|
-
self._RequestId = None
|
|
14194
|
-
|
|
14195
|
-
@property
|
|
14196
|
-
def ReturnMsg(self):
|
|
14197
|
-
return self._ReturnMsg
|
|
14198
|
-
|
|
14199
|
-
@ReturnMsg.setter
|
|
14200
|
-
def ReturnMsg(self, ReturnMsg):
|
|
14201
|
-
self._ReturnMsg = ReturnMsg
|
|
14202
|
-
|
|
14203
|
-
@property
|
|
14204
|
-
def ReturnCode(self):
|
|
14205
|
-
return self._ReturnCode
|
|
14206
|
-
|
|
14207
|
-
@ReturnCode.setter
|
|
14208
|
-
def ReturnCode(self, ReturnCode):
|
|
14209
|
-
self._ReturnCode = ReturnCode
|
|
14210
|
-
|
|
14211
|
-
@property
|
|
14212
|
-
def RequestId(self):
|
|
14213
|
-
return self._RequestId
|
|
14214
|
-
|
|
14215
|
-
@RequestId.setter
|
|
14216
|
-
def RequestId(self, RequestId):
|
|
14217
|
-
self._RequestId = RequestId
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
def _deserialize(self, params):
|
|
14221
|
-
self._ReturnMsg = params.get("ReturnMsg")
|
|
14222
|
-
self._ReturnCode = params.get("ReturnCode")
|
|
14223
|
-
self._RequestId = params.get("RequestId")
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
14247
|
class ModifyResourceGroupRequest(AbstractModel):
|
|
14227
14248
|
"""ModifyResourceGroup请求参数结构体
|
|
14228
14249
|
|
|
@@ -16611,13 +16632,13 @@ class RuleInfoData(AbstractModel):
|
|
|
16611
16632
|
:type Protocol: str
|
|
16612
16633
|
:param _Strategy: 策略, 0:观察,1:阻断,2:放行
|
|
16613
16634
|
:type Strategy: str
|
|
16614
|
-
:param _SourceType: 访问源类型,1是IP,3是域名,4是IP
|
|
16635
|
+
:param _SourceType: 访问源类型,1是IP,3是域名,4是IP地址模板,5是域名地址模板
|
|
16615
16636
|
:type SourceType: int
|
|
16616
16637
|
:param _Direction: 方向,0:出站,1:入站
|
|
16617
16638
|
:type Direction: int
|
|
16618
16639
|
:param _Detail: 描述
|
|
16619
16640
|
:type Detail: str
|
|
16620
|
-
:param _TargetType: 访问目的类型,1是IP,3是域名,4是IP
|
|
16641
|
+
:param _TargetType: 访问目的类型,1是IP,3是域名,4是IP地址模板,5是域名地址模板
|
|
16621
16642
|
:type TargetType: int
|
|
16622
16643
|
:param _Port: 端口
|
|
16623
16644
|
:type Port: str
|
|
@@ -18815,22 +18836,22 @@ class TLogInfo(AbstractModel):
|
|
|
18815
18836
|
|
|
18816
18837
|
|
|
18817
18838
|
class TemplateListInfo(AbstractModel):
|
|
18818
|
-
"""
|
|
18839
|
+
"""地址模板列表数据
|
|
18819
18840
|
|
|
18820
18841
|
"""
|
|
18821
18842
|
|
|
18822
18843
|
def __init__(self):
|
|
18823
18844
|
r"""
|
|
18824
|
-
:param _Uuid:
|
|
18845
|
+
:param _Uuid: 模板ID
|
|
18825
18846
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18826
18847
|
:type Uuid: str
|
|
18827
|
-
:param _Name:
|
|
18848
|
+
:param _Name: 模板名称
|
|
18828
18849
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18829
18850
|
:type Name: str
|
|
18830
18851
|
:param _Detail: 描述
|
|
18831
18852
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18832
18853
|
:type Detail: str
|
|
18833
|
-
:param _IpString: IP
|
|
18854
|
+
:param _IpString: IP模板
|
|
18834
18855
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18835
18856
|
:type IpString: str
|
|
18836
18857
|
:param _InsertTime: 插入时间
|
|
@@ -18839,7 +18860,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
18839
18860
|
:param _UpdateTime: 修改时间
|
|
18840
18861
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18841
18862
|
:type UpdateTime: str
|
|
18842
|
-
:param _Type:
|
|
18863
|
+
:param _Type: 模板类型
|
|
18843
18864
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18844
18865
|
:type Type: int
|
|
18845
18866
|
:param _RulesNum: 关联规则条数
|
|
@@ -26,6 +26,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
26
26
|
# LB状态异常。
|
|
27
27
|
FAILEDOPERATION_INVALIDLBSTATUS = 'FailedOperation.InvalidLBStatus'
|
|
28
28
|
|
|
29
|
+
# 正在操作指定的资源,请稍后重试。
|
|
30
|
+
FAILEDOPERATION_RESOURCEINOPERATING = 'FailedOperation.ResourceInOperating'
|
|
31
|
+
|
|
29
32
|
# 内部错误。
|
|
30
33
|
INTERNALERROR = 'InternalError'
|
|
31
34
|
|
|
@@ -54,7 +54,7 @@ class CloudauditClient(AbstractClient):
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
def CreateAuditTrack(self, request):
|
|
57
|
-
"""
|
|
57
|
+
"""创建操作审计跟踪集
|
|
58
58
|
|
|
59
59
|
:param request: Request instance for CreateAuditTrack.
|
|
60
60
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.CreateAuditTrackRequest`
|
|
@@ -100,7 +100,7 @@ class CloudauditClient(AbstractClient):
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
def DeleteAuditTrack(self, request):
|
|
103
|
-
"""
|
|
103
|
+
"""删除操作审计跟踪集
|
|
104
104
|
|
|
105
105
|
:param request: Request instance for DeleteAuditTrack.
|
|
106
106
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.DeleteAuditTrackRequest`
|
|
@@ -146,7 +146,7 @@ class CloudauditClient(AbstractClient):
|
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
def DescribeAuditTrack(self, request):
|
|
149
|
-
"""
|
|
149
|
+
"""查询操作审计跟踪集详情
|
|
150
150
|
|
|
151
151
|
:param request: Request instance for DescribeAuditTrack.
|
|
152
152
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.DescribeAuditTrackRequest`
|
|
@@ -169,7 +169,7 @@ class CloudauditClient(AbstractClient):
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
def DescribeAuditTracks(self, request):
|
|
172
|
-
"""
|
|
172
|
+
"""查询操作审计跟踪集列表
|
|
173
173
|
|
|
174
174
|
:param request: Request instance for DescribeAuditTracks.
|
|
175
175
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.DescribeAuditTracksRequest`
|
|
@@ -192,7 +192,7 @@ class CloudauditClient(AbstractClient):
|
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
def DescribeEvents(self, request):
|
|
195
|
-
"""
|
|
195
|
+
"""查询操作审计日志
|
|
196
196
|
|
|
197
197
|
:param request: Request instance for DescribeEvents.
|
|
198
198
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.DescribeEventsRequest`
|
|
@@ -376,7 +376,7 @@ class CloudauditClient(AbstractClient):
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
def ModifyAuditTrack(self, request):
|
|
379
|
-
"""
|
|
379
|
+
"""修改操作审计跟踪集
|
|
380
380
|
|
|
381
381
|
:param request: Request instance for ModifyAuditTrack.
|
|
382
382
|
:type request: :class:`tencentcloud.cloudaudit.v20190319.models.ModifyAuditTrackRequest`
|
|
@@ -89,13 +89,13 @@ INVALIDPARAMETERVALUE_AUDITNAMEERROR = 'InvalidParameterValue.AuditNameError'
|
|
|
89
89
|
# 跟踪集名称不支持修改。
|
|
90
90
|
INVALIDPARAMETERVALUE_AUDITTRACKNAMENOTSUPPORTMODIFY = 'InvalidParameterValue.AuditTrackNameNotSupportModify'
|
|
91
91
|
|
|
92
|
-
#
|
|
92
|
+
# 操作审计目前不支持输入的cmq地域
|
|
93
93
|
INVALIDPARAMETERVALUE_CMQREGIONERROR = 'InvalidParameterValue.CmqRegionError'
|
|
94
94
|
|
|
95
95
|
# 输入的cos存储桶名称不符合规范
|
|
96
96
|
INVALIDPARAMETERVALUE_COSNAMEERROR = 'InvalidParameterValue.CosNameError'
|
|
97
97
|
|
|
98
|
-
#
|
|
98
|
+
# 操作审计目前不支持输入的cos地域
|
|
99
99
|
INVALIDPARAMETERVALUE_COSREGIONERROR = 'InvalidParameterValue.CosRegionError'
|
|
100
100
|
|
|
101
101
|
# IsCreateNewBucket的有效取值范围是0和1,0代表不创建新的存储桶,1代表创建新的存储桶。
|
|
@@ -107,7 +107,7 @@ INVALIDPARAMETERVALUE_ISCREATENEWQUEUEERROR = 'InvalidParameterValue.IsCreateNew
|
|
|
107
107
|
# IsEnableCmqNotify的有效取值范围是0和1,0代表不开启投递cmq,1代表开启cmq投递。
|
|
108
108
|
INVALIDPARAMETERVALUE_ISENABLECMQNOTIFYERROR = 'InvalidParameterValue.IsEnableCmqNotifyError'
|
|
109
109
|
|
|
110
|
-
#
|
|
110
|
+
# 操作审计暂不支持该地域的KMS
|
|
111
111
|
INVALIDPARAMETERVALUE_KMSREGIONERROR = 'InvalidParameterValue.KmsRegionError'
|
|
112
112
|
|
|
113
113
|
# 日志前缀格式错误
|
|
@@ -164,5 +164,8 @@ RESOURCENOTFOUND = 'ResourceNotFound'
|
|
|
164
164
|
# 跟踪集不存在
|
|
165
165
|
RESOURCENOTFOUND_AUDITNOTEXIST = 'ResourceNotFound.AuditNotExist'
|
|
166
166
|
|
|
167
|
+
# cos桶不存在。
|
|
168
|
+
RESOURCENOTFOUND_COSNOTEXIST = 'ResourceNotFound.CosNotExist'
|
|
169
|
+
|
|
167
170
|
# 角色不存在。
|
|
168
171
|
RESOURCENOTFOUND_ROLENOTEXIST = 'ResourceNotFound.RoleNotExist'
|
|
@@ -491,7 +491,7 @@ class CreateAuditTrackRequest(AbstractModel):
|
|
|
491
491
|
:type EventNames: list of str
|
|
492
492
|
:param _Storage: 数据投递存储(目前支持 cos、cls)
|
|
493
493
|
:type Storage: :class:`tencentcloud.cloudaudit.v20190319.models.Storage`
|
|
494
|
-
:param _TrackForAllMembers: 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能)
|
|
494
|
+
:param _TrackForAllMembers: 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能)
|
|
495
495
|
:type TrackForAllMembers: int
|
|
496
496
|
"""
|
|
497
497
|
self._Name = None
|
|
@@ -1229,7 +1229,7 @@ class DescribeEventsRequest(AbstractModel):
|
|
|
1229
1229
|
:type NextToken: int
|
|
1230
1230
|
:param _MaxResults: 返回日志的最大条数(最大 50 条)
|
|
1231
1231
|
:type MaxResults: int
|
|
1232
|
-
:param _LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
|
|
1232
|
+
:param _LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
|
|
1233
1233
|
:type LookupAttributes: list of LookupAttribute
|
|
1234
1234
|
:param _IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回)
|
|
1235
1235
|
:type IsReturnLocation: int
|
|
@@ -2458,8 +2458,10 @@ class Resource(AbstractModel):
|
|
|
2458
2458
|
def __init__(self):
|
|
2459
2459
|
r"""
|
|
2460
2460
|
:param _ResourceType: 资源类型
|
|
2461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2461
2462
|
:type ResourceType: str
|
|
2462
2463
|
:param _ResourceName: 资源名称
|
|
2464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2463
2465
|
:type ResourceName: str
|
|
2464
2466
|
"""
|
|
2465
2467
|
self._ResourceType = None
|
|
@@ -2650,11 +2652,19 @@ class Storage(AbstractModel):
|
|
|
2650
2652
|
:type StorageName: str
|
|
2651
2653
|
:param _StoragePrefix: 存储目录前缀,cos日志文件前缀仅支持字母和数字的组合,3-40个字符
|
|
2652
2654
|
:type StoragePrefix: str
|
|
2655
|
+
:param _StorageAccountId: 被指定存储用户ID
|
|
2656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2657
|
+
:type StorageAccountId: str
|
|
2658
|
+
:param _StorageAppId: 被指定存储用户appid
|
|
2659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2660
|
+
:type StorageAppId: str
|
|
2653
2661
|
"""
|
|
2654
2662
|
self._StorageType = None
|
|
2655
2663
|
self._StorageRegion = None
|
|
2656
2664
|
self._StorageName = None
|
|
2657
2665
|
self._StoragePrefix = None
|
|
2666
|
+
self._StorageAccountId = None
|
|
2667
|
+
self._StorageAppId = None
|
|
2658
2668
|
|
|
2659
2669
|
@property
|
|
2660
2670
|
def StorageType(self):
|
|
@@ -2688,12 +2698,30 @@ class Storage(AbstractModel):
|
|
|
2688
2698
|
def StoragePrefix(self, StoragePrefix):
|
|
2689
2699
|
self._StoragePrefix = StoragePrefix
|
|
2690
2700
|
|
|
2701
|
+
@property
|
|
2702
|
+
def StorageAccountId(self):
|
|
2703
|
+
return self._StorageAccountId
|
|
2704
|
+
|
|
2705
|
+
@StorageAccountId.setter
|
|
2706
|
+
def StorageAccountId(self, StorageAccountId):
|
|
2707
|
+
self._StorageAccountId = StorageAccountId
|
|
2708
|
+
|
|
2709
|
+
@property
|
|
2710
|
+
def StorageAppId(self):
|
|
2711
|
+
return self._StorageAppId
|
|
2712
|
+
|
|
2713
|
+
@StorageAppId.setter
|
|
2714
|
+
def StorageAppId(self, StorageAppId):
|
|
2715
|
+
self._StorageAppId = StorageAppId
|
|
2716
|
+
|
|
2691
2717
|
|
|
2692
2718
|
def _deserialize(self, params):
|
|
2693
2719
|
self._StorageType = params.get("StorageType")
|
|
2694
2720
|
self._StorageRegion = params.get("StorageRegion")
|
|
2695
2721
|
self._StorageName = params.get("StorageName")
|
|
2696
2722
|
self._StoragePrefix = params.get("StoragePrefix")
|
|
2723
|
+
self._StorageAccountId = params.get("StorageAccountId")
|
|
2724
|
+
self._StorageAppId = params.get("StorageAppId")
|
|
2697
2725
|
memeber_set = set(params.keys())
|
|
2698
2726
|
for name, value in vars(self).items():
|
|
2699
2727
|
property_name = name[1:]
|
|
@@ -29,6 +29,8 @@ except ImportError:
|
|
|
29
29
|
|
|
30
30
|
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
|
31
31
|
from tencentcloud.common.common_client import CommonClient
|
|
32
|
+
from tencentcloud.common.profile.http_profile import HttpProfile
|
|
33
|
+
from tencentcloud.common.profile.client_profile import ClientProfile
|
|
32
34
|
|
|
33
35
|
class Credential(object):
|
|
34
36
|
def __init__(self, secret_id, secret_key, token=None):
|
|
@@ -159,8 +161,9 @@ class STSAssumeRoleCredential(object):
|
|
|
159
161
|
_region = "ap-guangzhou"
|
|
160
162
|
_version = '2018-08-13'
|
|
161
163
|
_service = "sts"
|
|
164
|
+
_endpoint = "sts.tencentcloudapi.com"
|
|
162
165
|
|
|
163
|
-
def __init__(self, secret_id, secret_key, role_arn, role_session_name, duration_seconds=7200):
|
|
166
|
+
def __init__(self, secret_id, secret_key, role_arn, role_session_name, duration_seconds=7200, endpoint=None):
|
|
164
167
|
"""
|
|
165
168
|
:param secret_id: 接口调用凭证id
|
|
166
169
|
:type secret_id: str
|
|
@@ -187,6 +190,8 @@ class STSAssumeRoleCredential(object):
|
|
|
187
190
|
|
|
188
191
|
self._last_role_arn = None
|
|
189
192
|
self._tmp_credential = None
|
|
193
|
+
if endpoint:
|
|
194
|
+
self._endpoint = endpoint
|
|
190
195
|
|
|
191
196
|
@property
|
|
192
197
|
def secretId(self):
|
|
@@ -232,8 +237,13 @@ class STSAssumeRoleCredential(object):
|
|
|
232
237
|
|
|
233
238
|
def get_sts_tmp_role_arn(self):
|
|
234
239
|
cred = Credential(self._long_secret_id, self._long_secret_key)
|
|
240
|
+
http_profile = HttpProfile()
|
|
241
|
+
http_profile.endpoint = self._endpoint
|
|
242
|
+
client_profile = ClientProfile()
|
|
243
|
+
client_profile.httpProfile = http_profile
|
|
235
244
|
|
|
236
|
-
common_client = CommonClient(credential=cred, region=self._region, version=self._version,
|
|
245
|
+
common_client = CommonClient(credential=cred, region=self._region, version=self._version,
|
|
246
|
+
service=self._service, profile=client_profile)
|
|
237
247
|
params = {
|
|
238
248
|
"RoleArn": self._role_arn,
|
|
239
249
|
"RoleSessionName": self._role_session_name,
|
|
@@ -247,7 +257,7 @@ class STSAssumeRoleCredential(object):
|
|
|
247
257
|
self._expired_time = rsp["Response"]["ExpiredTime"] - self._duration_seconds * 0.9
|
|
248
258
|
|
|
249
259
|
|
|
250
|
-
class EnvironmentVariableCredential():
|
|
260
|
+
class EnvironmentVariableCredential(object):
|
|
251
261
|
|
|
252
262
|
def get_credential(self):
|
|
253
263
|
"""Tencent Cloud EnvironmentVariableCredential.
|
|
@@ -270,7 +280,7 @@ class EnvironmentVariableCredential():
|
|
|
270
280
|
return Credential(self.secret_id, self.secret_key)
|
|
271
281
|
|
|
272
282
|
|
|
273
|
-
class ProfileCredential():
|
|
283
|
+
class ProfileCredential(object):
|
|
274
284
|
|
|
275
285
|
def get_credential(self):
|
|
276
286
|
"""Tencent Cloud ProfileCredential.
|
|
@@ -1061,6 +1061,9 @@ UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCETOTHISINSTANCEFAMILY = 'Unsupporte
|
|
|
1061
1061
|
# 请求不支持国际版账号
|
|
1062
1062
|
UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = 'UnsupportedOperation.UnsupportedInternationalUser'
|
|
1063
1063
|
|
|
1064
|
+
# 指定的Pool非法。
|
|
1065
|
+
UNSUPPORTEDOPERATION_UNSUPPORTEDPOOL = 'UnsupportedOperation.UnsupportedPool'
|
|
1066
|
+
|
|
1064
1067
|
# 用户限额操作的配额不足。
|
|
1065
1068
|
UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = 'UnsupportedOperation.UserLimitOperationExceedQuota'
|
|
1066
1069
|
|
|
@@ -9990,7 +9990,7 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
9990
9990
|
:param _Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
|
|
9991
9991
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9992
9992
|
:type Period: int
|
|
9993
|
-
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW
|
|
9993
|
+
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
9994
9994
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9995
9995
|
:type RenewFlag: str
|
|
9996
9996
|
"""
|
|
@@ -10415,7 +10415,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
|
10415
10415
|
:type Zone: str
|
|
10416
10416
|
:param _InstanceType: 实例机型。
|
|
10417
10417
|
:type InstanceType: str
|
|
10418
|
-
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br
|
|
10418
|
+
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li>`SPOTPAID`:表示竞价实例付费。
|
|
10419
10419
|
:type InstanceChargeType: str
|
|
10420
10420
|
:param _NetworkCard: 网卡类型,例如:25代表25G网卡
|
|
10421
10421
|
:type NetworkCard: int
|
|
@@ -10432,7 +10432,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
|
10432
10432
|
:type TypeName: str
|
|
10433
10433
|
:param _LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
|
10434
10434
|
:type LocalDiskTypeList: list of LocalDiskType
|
|
10435
|
-
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br
|
|
10435
|
+
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT:表示实例已售罄。
|
|
10436
10436
|
:type Status: str
|
|
10437
10437
|
:param _Price: 实例的售卖价格。
|
|
10438
10438
|
:type Price: :class:`tencentcloud.cvm.v20170312.models.ItemPrice`
|
|
@@ -10457,7 +10457,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
|
10457
10457
|
:type GpuCount: float
|
|
10458
10458
|
:param _Frequency: 实例的CPU主频信息
|
|
10459
10459
|
:type Frequency: str
|
|
10460
|
-
:param _StatusCategory: 描述库存情况。取值范围: <br><li> UnderStock:表示对应库存即将售罄<br
|
|
10460
|
+
:param _StatusCategory: 描述库存情况。取值范围: <br><li> UnderStock:表示对应库存即将售罄<br></li> NormalStock:表示对应库存供应有保障<br><li> EnoughStock:表示对应库存非常充足<br></li> WithoutStock:表示对应库存已经售罄
|
|
10461
10461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10462
10462
|
:type StatusCategory: str
|
|
10463
10463
|
"""
|
|
@@ -15708,9 +15708,9 @@ class ResetInstanceRequest(AbstractModel):
|
|
|
15708
15708
|
:type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
|
|
15709
15709
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
|
15710
15710
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
|
15711
|
-
:param _EnhancedService:
|
|
15711
|
+
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务;自定义镜像与镜像市场镜像默认不开启云监控,云安全服务,而使用镜像里保留的服务。
|
|
15712
15712
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
|
15713
|
-
:param _HostName: 重装系统时,可以指定修改实例的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
|
15713
|
+
:param _HostName: 重装系统时,可以指定修改实例的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:主机名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>
|
|
15714
15714
|
:type HostName: str
|
|
15715
15715
|
:param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
|
|
15716
15716
|
:type UserData: str
|